I'm trying to disable a script inside of my tool using a Local Script but it isn't working. Any thoughts?
if game.Players.LocalPlayer:FindFirstChild("PlayerGui").ScreenGui.Energy.Yee.Swinginging.Value == 0 then
script.Parent.Server.Disabled = true
else script.Parent.Server.Disabled = false
end

6 comments
when you disable the script it will only disable it for that client this is your goal right?
Yes, i'm trying to disable the script that allows for my tool to fire once a certain condition is met.
You would have to use another script and remote events, but why are you trying to disable a script from a local script anyway? Surely there's a better way to do what you're trying to achieve.
If you know a better way, id love to know.
I would be able to give you a better way if you explain what you're trying to do and also provide both of your scripts.
I included the script above.