Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

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)
 
PREVIOUS NEXT
Tagged: #roblox #touch #script
ADD COMMENT
Topic
Name
4+3 =