My script rotates the part with noise, but I can’t figure out how to stop it from syncing.
If I run two loops they spin the same way, but I don’t want it to do that as it looks weird and also ‘rushed’
local noise = math.noise
local rad = math.rad
local clock = os.time
local xseed = math.random(10000,100000)
local yseed = math.random(10000,100000)
local zseed = math.random(10000,100000)
local speen = coroutine.create(function()
while true do
local x = noise(xseed, clock() % 1000 * 0.5) * 360
local y = noise(yseed, clock() % 1000 * 0.2) * 360
local z = noise(zseed, clock() % 1000 * 0.7) * 360
p1.CFrame = CFrame.new(p1.Position) * CFrame.Angles(rad(x), rad(y), rad(z))
wait()
end
end)
local speen2 = coroutine.create(function()
while true do
local x = noise(xseed, clock() % 1000 * 0.8) * 360
local y = noise(yseed, clock() % 1000 * 0.7) * 360
local z = noise(zseed, clock() % 1000 * 0.4) * 360
p2.CFrame = CFrame.new(p2.Position) * CFrame.Angles(rad(x), rad(y), rad(z))
wait()
end
end)
I don’t know anymore information to add minus the fact it’s a serverscript and it uses the os time + seeds for it.
I just don’t want it synced.