Answers for "roblox on touch script"

Lua
2

roblox on touch script

script.Parent.Touched:Connect(function(player)
local part = script.Parent
 
part.CFrame = part.CFrame + Vector3.new(0, -8, 0)
player.leaderstats.Power.Value = player.leaderstats.Power.Value + 4
 
wait(120)
	 
part.CFrame = part.CFrame + Vector3.new(0, 8, 0)
	 
end)
Posted by: Guest on September-15-2020

Browse Popular Code Answers by Language