iOSdeveloper

Untitled

Jan 29th, 2025
40,585
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. local player = game:GetService("Players").LocalPlayer
  2. local st = player.PlayerGui.Style.BG.StyleTxt
  3. local Slot = player.PlayerGui.Style.BG.Slots.ScrollingFrame.Slot1.Text
  4. local des = player.PlayerGui.Style.BG.Desc
  5.  
  6. while true do
  7. -- Change the text and color for StyleTxt
  8. st.Text = "CR7"
  9. st.TextColor3 = Color3.fromRGB(255, 0, 0) -- Corrected fromRBG to fromRGB
  10.  
  11. -- Change the text and color for Slot
  12. Slot.Text = "CR7"
  13. Slot.TextColor3 = Color3.fromRGB(255, 0, 0) -- Corrected fromRBG to fromRGB
  14.  
  15. -- Change the text for Desc
  16. des.Text = "The best player in the world!"
  17.  
  18. -- Wait for a short duration to prevent performance issues
  19. wait() -- Adjust the wait time as needed
  20. end
Add Comment
Please, Sign In to add comment