MaxproGlitcher

Tourner un icone en bas a droite de écran

Feb 20th, 2026
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1.  
  2. local plr = game:GetService("Players").LocalPlayer
  3. local plrgui = plr:WaitForChild("PlayerGui")
  4.  
  5. -- destroy old icon if exists
  6. if plrgui:FindFirstChild("Icon") then
  7. plrgui:FindFirstChild("Icon"):Destroy()
  8. end
  9.  
  10. local rotation_speed = 0 -- 0 is the fastest, higher = slower
  11. local icon_image = "142123722" -- ur image id here (as default its a epic face)
  12.  
  13. -- the rotating icon
  14. local Icon = Instance.new("ScreenGui")
  15. local IMAGE = Instance.new("ImageLabel")
  16.  
  17. Icon.Name = "Icon"
  18. Icon.Parent = plrgui
  19. Icon.ZIndexBehavior = Enum.ZIndexBehavior.Global
  20. Icon.Enabled = true
  21. Icon.IgnoreGuiInset = true
  22. Icon.DisplayOrder = 999999
  23.  
  24. IMAGE.Name = "IMAGE"
  25. IMAGE.Parent = Icon
  26. IMAGE.BackgroundColor3 = Color3.new(1, 1, 1)
  27. IMAGE.BackgroundTransparency = 1
  28. IMAGE.BorderColor3 = Color3.new(0, 0, 0)
  29. IMAGE.BorderSizePixel = 0
  30. IMAGE.Position = UDim2.new(0.876447856, 0, 0.809069216, 0)
  31. IMAGE.Size = UDim2.new(0, 130, 0, 130)
  32. IMAGE.Image = "rbxassetid://" .. icon_image
  33. IMAGE.Visible = true
  34. IMAGE.ZIndex = 999999
  35. IMAGE.ImageColor3 = Color3.new(1, 1, 1)
  36. IMAGE.ImageTransparency = 0
  37.  
  38. -- rotate it
  39. while true do
  40. IMAGE.Rotation = IMAGE.Rotation + 1
  41. if rotation_speed == 0 then
  42. task.wait()
  43. else
  44. task.wait(rotation_speed)
  45. end
  46. end
Advertisement
Add Comment
Please, Sign In to add comment