KirchohexSX

fps eater loading screen

Jun 29th, 2025
161
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 1 0
  1. local TweenService = game:GetService("TweenService")
  2. local RunService = game:GetService("RunService")
  3. local SoundService = game:GetService("SoundService")
  4. local Lighting = game:GetService("Lighting")
  5. local CoreGui = game:GetService("CoreGui")
  6.  
  7. local DURATION = 8
  8. local TEXT = "Loading NeverLose by Shok Team..."
  9. local SPINNER_ID = "rbxassetid://6646175684" -- white spinner
  10. local SOUND_ID = "rbxassetid://103750838557977"
  11.  
  12. local sound = Instance.new("Sound")
  13. sound.SoundId = SOUND_ID
  14. sound.Volume = 1
  15. sound.Name = "ShokIntroSound"
  16. sound.Parent = SoundService
  17. sound:Play()
  18. game.Debris:AddItem(sound, DURATION + 3)
  19.  
  20. local blur = Instance.new("BlurEffect")
  21. blur.Size = 24
  22. blur.Name = "ShokBlur"
  23. blur.Parent = Lighting
  24.  
  25. local gui = Instance.new("ScreenGui")
  26. gui.IgnoreGuiInset = true
  27. gui.ResetOnSpawn = false
  28. gui.Name = "ShokIntroGui"
  29. gui.Parent = CoreGui
  30.  
  31. local bg = Instance.new("Frame")
  32. bg.Size = UDim2.fromScale(1, 1)
  33. bg.BackgroundColor3 = Color3.new(0, 0, 0)
  34. bg.BackgroundTransparency = 0.4
  35. bg.BorderSizePixel = 0
  36. bg.Parent = gui
  37.  
  38. local spinner = Instance.new("ImageLabel")
  39. spinner.Image = SPINNER_ID
  40. spinner.Size = UDim2.fromOffset(64, 64)
  41. spinner.Position = UDim2.fromScale(0.5, 0.5)
  42. spinner.AnchorPoint = Vector2.new(0.5, 0.5)
  43. spinner.BackgroundTransparency = 1
  44. spinner.ImageTransparency = 0
  45. spinner.Parent = bg
  46.  
  47. local label = Instance.new("TextLabel")
  48. label.Text = TEXT
  49. label.Font = Enum.Font.SourceSansBold
  50. label.TextSize = 28
  51. label.TextColor3 = Color3.new(1, 1, 1)
  52. label.BackgroundTransparency = 1
  53. label.Position = UDim2.fromScale(0.5, 0.65)
  54. label.AnchorPoint = Vector2.new(0.5, 0)
  55. label.Size = UDim2.new(1, 0, 0, 40)
  56. label.TextTransparency = 0
  57. label.Parent = bg
  58.  
  59. local angle = 0
  60. local rotateConnection = RunService.RenderStepped:Connect(function(dt)
  61. angle += dt * 200
  62. spinner.Rotation = angle % 360
  63. end)
  64.  
  65. task.delay(DURATION, function()
  66. -- are you here to learn or skid?
  67. local fadeInfo = TweenInfo.new(1)
  68. TweenService:Create(bg, fadeInfo, {BackgroundTransparency = 1}):Play()
  69. TweenService:Create(spinner, fadeInfo, {ImageTransparency = 1}):Play()
  70. TweenService:Create(label, fadeInfo, {TextTransparency = 1}):Play()
  71.  
  72. -- Tween blur out
  73. local blurTween = TweenService:Create(blur, fadeInfo, {Size = 0})
  74. blurTween:Play()
  75.  
  76. task.wait(1.1)
  77.  
  78. rotateConnection:Disconnect()
  79. gui:Destroy()
  80. blur:Destroy()
  81. end)
  82.  
Advertisement
Add Comment
Please, Sign In to add comment