Perhaps they’re causing issues. Also this will get fast quickly, perhaps set a max speed.
local RobuxIcon = script.Parent
local speed = 1
While true do
speed = speed + 1
RobuxIcon.Cframe = RobuxIcon.Cframe * Cframe.Angles(--the rest)
task.wait()
end
local speed = 1
local RobuxsIcon = script.Parent
local RobuxIconCFrame = RobuxsIcon.CFrame
while true do
speed += 1
RobuxsIcon.CFrame = RobuxIconCFrame * CFrame.Angles(0, math.rad(speed), 0)
task.wait()
end
Doing this like you’re suggesting would only cause the MeshPart to spin very fast:
local speed = 1
local RobuxsIcon = script.Parent
while true do
speed += 1
RobuxsIcon.CFrame = RobuxsIcon.CFrame * CFrame.Angles(0, math.rad(speed), 0)
task.wait()
end
@Joeys2Valid At this point the only possible option I can think of is that another script is blocking the MeshPart from rotating, but unfortunately this means you’ll need to carefully check every script inside of your game to find the culprit
The only thing i can think of might be some other meshparts I put code in to move slightly
local TweenService = game:GetService("TweenService")
local Grass = script.Parent
local i = 0
while true do
local tween = TweenService:Create(Grass, TweenInfo.new(0.3), {Rotation = Vector3.new(i, 0, 0)})
tween:Play()
i = i + 0.2
wait(0.3)
i = i - 0.1
tween:Play()
i = i + 0.2
if i >= 3 then
i = 0
tween:Play()
end
wait(0)
end
I don’t think this script is causing the problem since the RobuxsIcon isn’t present, unless the loop is being run in the same script as the one that rotates the RobuxsIcon