I've been stumped for over a month on how to do this. Here's the script, probably wrong but I need some insight, Thanks!

local player = game.Players.LocalPlayer

script.Parent.Parent.MouseButton1Click:Connect(function(click) if player.leaderstats.Simucoins.Value >= 50 then player.leaderstats.Simucoins.Value = player.leaderstats.Simucoins.Value - 50

	game.Workspace.Scripts.NStorage.Disabled = false and game.Workspace.Scripts.BStorage.Disabled == true
end

end)

2 comments

0

What exactly is wrong, is it that the backpack doesn't upgrade or that the upgrade doesn't save?

0

the backpack won't even been equipped. all it does is take my (Money) Simucoins.