Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Put this LocalScript inside Buy Sword TextButton --
- Player = game.Players.LocalPlayer
- script.Parent.MouseButton1Click:Connect(function()
- if Player.leaderstats.Money.Value >= 25 then
- Player.leaderstats.Money.Value = Player.leaderstats.Money.Value - 25
- game.ReplicatedStorage.ClassicSword:clone().Parent = Player:WaitForChild("Backpack")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement