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)

2 comments
Try using GetService("Players").LocalPlayer instead. It most likely won't change anything, but it's my suggestion.
Oh ok, thank you!