Is there a way you can disable a script forever for script.Disabled = true it works until you reset or rejoin then its enabled again please someone help me keep it disabled even when they reset or rejoin im trying to make it so everytime a player clicks on a textbutton to buy a tool they can never use it again.
Here is the script:
player = script.Parent.Parent.Parent.Parent.Parent.Parent cash = player.leaderstats.Cash price = 100 tool = game.ServerStorage.Tools:FindFirstChild("BlueDuck") infoFrame =script.Parent.Parent
function buy() if cash.Value >= price then player.Backpack.RubberDuck:Destroy() player.StarterGear.RubberDuck:Destroy() cash.Value = cash.Value - price local clone = tool:Clone() clone.Parent = player.Backpack local clone2 = tool:Clone() clone2.Parent = player.StarterGear script.Disabled = true end end script.Parent.MouseButton1Click:Connect(buy)

2 comments
Yes
When asking question please provide your script so we have something to work with.