It outputs no error, it should be working for my old ROBLOX game but it just doesn't work? The localscript:
script.Parent.MouseButton1Click:Connect(function() if game.Players.LocalPlayer.leaderstats.Tix.Value >= 25 then print("Sword bought!") game.Players.LocalPlayer.leaderstats.Tix.Value = game.Players.LocalPlayer.leaderstats.Tix.Value - 25 game.ReplicatedStorage.ClassicSword.Archivable = true local NewSword = game.ReplicatedStorage.ClassicSword:Clone() NewSword.Parent = game.Players.LocalPlayer.Backpack end end)