Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent.MouseButton1Click:connect(function()
- local RS = game:GetService("ReplicatedStorage")
- local item = RS:WaitForChild("Item Name Here")
- local price = 0 -- Change Your Price Here
- local player = game.Players.LocalPlayer
- local stats = player:WaitForChild("leaderstats")
- if stats.Money.Value == price then -- Change the Money to your Currency Name
- stats.Money.Value = stats.Money.Value - price
- local cloned = item:Clone()
- local cloned2 = item:Clone()
- cloned2.Parent = player.Backpack
- cloned.Parent = player.StarterGear
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement