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)
Code Example |
---|
Lua :: roblox loop players |
Lua :: luau loop all players |
Lua :: roblox tween part |
Lua :: Pass values to functions from Onclicks roblox |
Lua :: lua loop |
Lua :: luau table.find() |
Lua :: roblox studio mouse |
Lua :: lua printing |
Lua :: string to int lua |
Lua :: return lua |
Lua :: lua random number |
Lua :: how to print a variable in lua |
Lua :: lua for loops |
Lua :: Tool script example for lua |
Lua :: convert number to string lua |
Lua :: svelte template vite |
Lua :: lua ban |
Lua :: lua code |
Lua :: enable http service roblox |
Matlab :: matlab measure time |
Matlab :: matlab complex numbers |
Matlab :: octave a:b:c range |
Basic :: watch starward ascii command |
Basic :: visual basic how to dynamically change a button to bold |
Elixir :: elixir enum all |
Elixir :: elixir with else |
Scala :: get first string from list scala |
Actionscript :: mount_osxfuse : Input/output error |
Excel :: excel and formula |
Perl :: len perl |