roblox on touch code example
Example: 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)