local rad = math.rad
local clock = os.clock
local noise = math.noise
local random = math.random
local xseed = random(10000, 100000)
local yseed = random(10000, 100000)
local zseed = random(10000, 100000)
local Roughness = 5
game:GetService("RunService").Heartbeat:Connect(function()
local x = noise(xseed, clock() % 1000 * 0.5) * Roughness
local y = noise(yseed, clock() % 1000 * 0.5) * Roughness
local z = noise(zseed, clock() % 1000 * 0.5) * Roughness
Cam.CFrame *= CFrame.Angles(rad(x),rad(y),rad(z))
end)
Holy cow this works! I just need to tweak it a little bit and the result will be much smoother (and not too aggressive). Thanks a lot, you are my life saver!