Advertisement
Bruh445

Rebirth counter

Sep 27th, 2022 (edited)
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9.  
  10. --Properties:
  11.  
  12. ScreenGui.Parent = game.CoreGui
  13.  
  14. Frame.Parent = game.StarterGui.ScreenGui
  15. Frame.BackgroundColor3 = Color3.fromRGB(56, 56, 56)
  16. Frame.Position = UDim2.new(0.555136681, 0, 0.37475729, 0)
  17. Frame.Size = UDim2.new(0, 225, 0, 87)
  18. Frame.Active = true
  19. Frame.Draggable = true
  20.  
  21. TextLabel.Parent = Frame
  22. TextLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  23. TextLabel.Position = UDim2.new(0.0399999991, 0, 0.126436785, 0)
  24. TextLabel.Size = UDim2.new(0, 205, 0, 68)
  25. TextLabel.Font = Enum.Font.SourceSans
  26. TextLabel.Text = "Rebirth Counter"
  27. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  28. TextLabel.TextSize = 22.000
  29.  
  30. -- Scripts:
  31.  
  32. local function PTKG_fake_script() -- TextLabel.LocalScript
  33. local script = Instance.new('LocalScript', TextLabel)
  34.  
  35. local player = game.Players.LocalPlayer
  36.  
  37. while wait() do
  38. script.Parent.Text = "Rebirths: "..player:WaitForChild("leaderstats"):FindFirstChild("Rebirths").Value
  39. end
  40. end
  41. coroutine.wrap(PTKG_fake_script)()
  42.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement