local ReplicatedStorage = game:GetService("ReplicatedStorage")
local success, err = pcall(function()
local addRemote = ReplicatedStorage
:WaitForChild("Remote", 5)
:WaitForChild("Event", 5)
:WaitForChild("Race", 5)
:WaitForChild("AddCoinsOrWins", 5)
-- Change these values as you want
local amount = 1000 -- How many wins you want to add
local rewardType = "Wins" -- "Wins" or "Coins"
addRemote:FireServer(amount, rewardType)
print("✅ Sent request to add " .. amount .. " " .. rewardType)
end)
if not success then
warn("❌ Failed: " .. tostring(err))
end
Comments
works good, also can be used with Gems