Gillranveer12

No Lag Script!

Feb 16th, 2023
28
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 1 0
  1. _G.Stop = false --stop the script
  2. local function FOV()
  3. if game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("CameraPositioner") then
  4. game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("CameraPositioner"):Destroy()
  5. end
  6. local part = Instance.new("Part")
  7. part.Name = "CameraPositioner"
  8. part.Anchored = true
  9. part.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  10. part.CanCollide = false
  11. game:GetService("RunService").RenderStepped:Connect(function()
  12. part.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame*CFrame.new(1,-100000000,-100)
  13. end)
  14. local camera = workspace.CurrentCamera
  15. camera.CameraSubject = part
  16. for _,v in pairs(workspace:GetDescendants()) do
  17. if v:IsA("ParticleEmitter") then
  18. v:Destroy()
  19. end
  20. if v:IsA("Decal") then v:Destroy() end
  21. if v:IsA("BasePart") then v.Material = Enum.Material.SmoothPlastic end
  22. end
  23. if _G.Stop then
  24. camera.CameraSubject=game.Players.LocalPlayer.Character.Humanoid
  25. end
  26. end
  27.  
  28. FOV()
  29.  
Tags: #nolag
Add Comment
Please, Sign In to add comment