Basically, whenever you click a button in a gui it enables a disabled script in a tool (the script in the tool is a client script but the script in the gui is a local script)
It re-enables the script but the script still functions as if it were disabled still.
Here is the local script that re-enables the client script inside the tool.
local plr = game.Players.LocalPlayer
local ToolThing = plr.Character.ToolThing or plr.Backpack.ToolThing
local ExplodeScript = ToolThing.Main
local AnchorScript = ToolThing.AnchorMain
script.Parent.MouseButton1Click:Connect(function()
ExplodeScript.Enabled = true
AnchorScript.Enabled = false
end)
By client script, do you actually mean a server script (a client script is the same as a local script) or do you mean a script with RunContext set to Client? If it’s the former, then you can’t enable a server script from a local script without a remote event because the server wouldn’t see that it got enabled.