Trying to make characters screen shake when a remote is fired, not getting any errors in output.
script.Parent.Destruction.OnServerEvent:Connect(function()
plrs = game.Players:GetPlayers()
for i,v in pairs (plrs) do
for i = 1,1000 do
wait(.0000002)
local a = math.random(-100,100)/100
local b = math.random(-100,100)/100
local c = math.random(-100,100)/100
v.Character.Humanoid.CameraOffset = Vector3.new(a,b,c)
end
end
end)
Camera is local, but you’re trying to shake it via the server ? Try to make the shake local and that is toggled when something happens
Roblox limit is 60 FPS, it’s pointless to be that precise on something no one will be able to fully see it, so consider lowering it, or something that plays according to client’s FPS