RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"if click tool then enable part if click again disable part"
-- local script local tool = script.Parent local part = tool.Part local enabled = false tool.Equipped:Connect(function() if enabled then enabled = false part.Enabled = false else enabled = true part.Enabled = true end end)