Horje
roblox on touch script Code 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)




10

Related
lua loop through table Code Example lua loop through table Code Example
lua click detection Code Example lua click detection Code Example
roblox key pressed script Code Example roblox key pressed script Code Example
lua for each in table Code Example lua for each in table Code Example
roblox check if player has gamepass Code Example roblox check if player has gamepass Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10