OR4NG3-FRU1T

FULL SCRIPTS

Mar 17th, 2026
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()
  2.  
  3. local Window = Rayfield:CreateWindow({
  4. Name = "Zh4sk Ultimate FPS Optimizer",
  5. LoadingTitle = "Zh4sk Performance System",
  6. LoadingSubtitle = "Optimizing Device",
  7. ConfigurationSaving = {
  8. Enabled = true,
  9. FolderName = "Zh4skFPS",
  10. FileName = "Zh4skConfig"
  11. }
  12. })
  13.  
  14. local FPS = 0
  15. local RunService = game:GetService("RunService")
  16. local Stats = game:GetService("Stats")
  17. local UserInputService = game:GetService("UserInputService")
  18.  
  19. local fpsEnabled = false
  20. local autoBoost = false
  21. local ultraBoost = false
  22.  
  23. local FPSBox = Instance.new("Frame")
  24. FPSBox.Size = UDim2.new(0,160,0,60)
  25. FPSBox.Position = UDim2.new(0,10,0,200)
  26. FPSBox.BackgroundTransparency = 0.35
  27. FPSBox.BackgroundColor3 = Color3.fromRGB(30,30,30)
  28. FPSBox.Visible = false
  29. FPSBox.Parent = game.CoreGui
  30.  
  31. local Blur = Instance.new("UIStroke")
  32. Blur.Color = Color3.fromRGB(200,200,200)
  33. Blur.Thickness = 1
  34. Blur.Parent = FPSBox
  35.  
  36. local FPSLabel = Instance.new("TextLabel")
  37. FPSLabel.Size = UDim2.new(1,0,1,0)
  38. FPSLabel.BackgroundTransparency = 1
  39. FPSLabel.TextScaled = true
  40. FPSLabel.Font = Enum.Font.SourceSansBold
  41. FPSLabel.Text = "FPS: 0"
  42. FPSLabel.Parent = FPSBox
  43.  
  44. local dragging = false
  45. local dragInput
  46. local dragStart
  47. local startPos
  48.  
  49. FPSBox.InputBegan:Connect(function(input)
  50. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  51. dragging = true
  52. dragStart = input.Position
  53. startPos = FPSBox.Position
  54. input.Changed:Connect(function()
  55. if input.UserInputState == Enum.UserInputState.End then
  56. dragging = false
  57. end
  58. end)
  59. end
  60. end)
  61.  
  62. FPSBox.InputChanged:Connect(function(input)
  63. if input.UserInputType == Enum.UserInputType.MouseMovement then
  64. dragInput = input
  65. end
  66. end)
  67.  
  68. UserInputService.InputChanged:Connect(function(input)
  69. if input == dragInput and dragging then
  70. local delta = input.Position - dragStart
  71. FPSBox.Position = UDim2.new(startPos.X.Scale,startPos.X.Offset + delta.X,startPos.Y.Scale,startPos.Y.Offset + delta.Y)
  72. end
  73. end)
  74.  
  75. RunService.RenderStepped:Connect(function()
  76. FPS = math.floor(1 / RunService.RenderStepped:Wait())
  77. if fpsEnabled then
  78. FPSLabel.Text = "FPS: "..FPS
  79. if FPS >= 80 then
  80. FPSLabel.TextColor3 = Color3.fromRGB(0,255,0)
  81. elseif FPS >= 45 then
  82. FPSLabel.TextColor3 = Color3.fromRGB(255,255,0)
  83. else
  84. FPSLabel.TextColor3 = Color3.fromRGB(255,0,0)
  85. end
  86. end
  87. end)
  88.  
  89. local MainTab = Window:CreateTab("Performance")
  90.  
  91. MainTab:CreateToggle({
  92. Name = "FPS Counter",
  93. CurrentValue = false,
  94. Callback = function(v)
  95. fpsEnabled = v
  96. FPSBox.Visible = v
  97. end
  98. })
  99.  
  100. MainTab:CreateToggle({
  101. Name = "Auto FPS Boost",
  102. CurrentValue = false,
  103. Callback = function(v)
  104. autoBoost = v
  105. end
  106. })
  107.  
  108. MainTab:CreateButton({
  109. Name = "Ultra FPS Boost",
  110. Callback = function()
  111. ultraBoost = true
  112. for i,v in pairs(game:GetDescendants()) do
  113. if v:IsA("ParticleEmitter") or v:IsA("Trail") then
  114. v.Enabled = false
  115. end
  116. if v:IsA("BasePart") then
  117. v.Material = Enum.Material.Plastic
  118. v.Reflectance = 0
  119. end
  120. end
  121. local lighting = game:GetService("Lighting")
  122. lighting.GlobalShadows = false
  123. lighting.FogEnd = 9e9
  124. settings().Rendering.QualityLevel = "Level01"
  125. end
  126. })
  127.  
  128. local UnlockTab = Window:CreateTab("FPS Unlocker")
  129.  
  130. UnlockTab:CreateButton({
  131. Name = "Unlock 120+ FPS",
  132. Callback = function()
  133. setfpscap(120)
  134. end
  135. })
  136.  
  137. UnlockTab:CreateButton({
  138. Name = "Unlock 240 FPS",
  139. Callback = function()
  140. setfpscap(240)
  141. end
  142. })
  143.  
  144. local StatsTab = Window:CreateTab("Stats")
  145.  
  146. StatsTab:CreateParagraph({
  147. Title = "Performance",
  148. Content = "Use the FPS Counter to monitor performance and enable Auto Boost for smoother gameplay."
  149. })
  150.  
  151. while true do
  152. task.wait(2)
  153. if autoBoost then
  154. if FPS < 40 then
  155. for i,v in pairs(game:GetDescendants()) do
  156. if v:IsA("ParticleEmitter") then
  157. v.Enabled = false
  158. end
  159. end
  160. end
  161. end
  162. end
Tags: fps
Advertisement
Add Comment
Please, Sign In to add comment