scripting tutorial for lua code example
Example: Tool script example for lua
local Tool = script.Parent --Put This Script "INSIDE" Your Tool
Tool.Activated:Connect(function()
print("You Clicked Me")
end)
Tool.Deactivated:Connect(function()
print("The Tool Got UnEquiped : D")
end)
Tool.Equipped:Connect(function()
print("Thanks For Equiping me!")
end) --Officially Made By Rigby#9052 on Discord