![]() ![]() ![]() while true doĪlthough many scripters may disagree with your code i reformatted, i use this on all camera shakes and have seen the same results on all devices with different fps. Camera shakes are better off with manual/controllable loops. If a player has FPS unlocker they will have a quicker camera shake. The shake would be alot more janky and would have less shakes making it less smooth. This would be the same on lower end devices that get lower fps. If your shaking the camera using RenderStepped (which you are) you will receive a different result. Local cf = CFrame.new(Vector3.new(x, y, 0), Vector3.new(x*0.95, y*0.95, z)) + Ĭamera.CFrame = camera.CFrame:Lerp(cf *, smoothness) ![]() Local y = math.sin(t * speed) * intensity RunService.RenderStepped:Connect(function() Local Players = game:GetService("Players") The Script local RunService = game:GetService("RunService") Is there a way to lock the bobbing effect when Players are playing around 60 FPS or more? The higher the FPS, the more stronger the intensity gets. Video of script running at around 240 FPSīut when I cap the script at 60 FPS, the intensity is more weaker. I ran the camera script with using Roblox Fps Unlocker and the Intensity of the Bobbing is much more Stronger. Because of Roblox FPS unlocker, I want to lock the camera shake for all the Players who are playing at around 60 FPS or more. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |