Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local function CreateMultipliers(Player: Player)
- local RingMultiplier = Instance.new("IntValue", Player)
- RingMultiplier.Name = "RingMultiplier"
- RingMultiplier.Value = 1
- local XPMultiplier = Instance.new("IntValue", Player)
- XPMultiplier.Name = "XPMultiplier"
- XPMultiplier.Value = 1
- local RebirthValue = Player:WaitForChild("leaderstats"):WaitForChild("Rebirth")
- XPMultiplier.Value = 1 + RebirthValue.Value
- RebirthValue.Changed:Connect(function()
- XPMultiplier.Value = 1 + RebirthValue.Value
- end)
- end
- Players.PlayerAdded:Connect(CreateMultipliers)
Advertisement
Add Comment
Please, Sign In to add comment