Advertisement
Guest User

DevsPortal Rebirth Script

a guest
Oct 21st, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. game.ReplicatedStorage.Events.Rebirth.OnServerEvent:Connect(function(plr,e,gamee)
  2. local ls = plr:WaitForChild("leaderstats")
  3. local rb = ls:WaitForChild("⏱️ Rebirth")
  4. local coin = ls:WaitForChild("💰 Coins")
  5. local ss = plr:WaitForChild("SeviyeSistemi")
  6. local lvl = ss:WaitForChild("Seviye")
  7. local xp = ss:WaitForChild("Xp")
  8. local door = plr:WaitForChild("Door")
  9. local ardi = plr:WaitForChild("ArenaDivide")
  10. local cms = plr:WaitForChild("CamShop")
  11. local pit = cms:WaitForChild("PurchasedItems")
  12. local equ = cms:WaitForChild("Equipped")
  13. local cms2 = plr:WaitForChild("CamShop2")
  14. local pit2 = cms2:WaitForChild("PurchasedItems")
  15. local equ2 = cms2:WaitForChild("Equipped")
  16. if coin.Value >= rb.Value*100000 then
  17. --plr.PlayerGui.E.Enabled = false
  18. --plr.PlayerGui.Game.Enabled = false
  19. --e.Visible = false
  20. --gamee.Visible = false
  21. wait(1)
  22. pit.Value = ""
  23. equ.Value = ""
  24. pit2.Value = ""
  25. equ2.Value = ""
  26. coin.Value = 0
  27. lvl.Value = 1
  28. xp.Value = 0
  29. door.Value = 0
  30. ardi.Value = 0
  31. rb.Value = rb.Value + 1
  32. wait(1)
  33. plr:LoadCharacter()
  34. --plr.PlayerGui.E.Enabled = true
  35. --plr.PlayerGui.Game.Enabled = true
  36. --e.Visible = true
  37. --gamee.Visible = true
  38. end
  39. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement