Roblox on touch script

This article is tagged with: Roblox on touch script and 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)

This article is tagged with: Roblox on touch script and lua