📜  lua 代码示例的工具脚本示例

📅  最后修改于: 2022-03-11 14:54:55.593000             🧑  作者: Mango

代码示例1
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