Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local message = require(game.ReplicatedStorage.Library.Client.Message) message.Error("GEMS SPAWNER💎 (UPDATED)") Directory = require(game:GetService("ReplicatedStorage").Library.Directory)
- local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/random%202"))()
- local One = library:Window("Gem Spawner")
- local desiredAmount = 0
- One:Box("Gems =", "Type Here!", function(inputText)
- desiredAmount = tonumber(inputText) or 0
- end)
- One:Button("Start Spawning Gems", function()
- if desiredAmount > 0 then
- local library = require(game.ReplicatedStorage.Library.Client.CurrencyCmds)
- local originalGetFunction = library.Get
- local currentDiamonds = originalGetFunction("Diamonds")
- library.Get = function(currencyId)
- if currencyId == "Diamonds" then
- return currentDiamonds + desiredAmount
- else
- return originalGetFunction(currencyId)
- end
- end
- local newDiamonds = currentDiamonds + desiredAmount
- library.Set("Diamonds", newDiamonds)
- print("Diamonds increased by: " .. desiredAmount)
- else
- warn("Invalid amount entered")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement