Hello, as you can see in the video below, when the platform changes direction, it does abruptly. I would like the rope to change direction naturally. Do you have any idea how I could achieve this from the code I’m posting below? Thanks for your help
while task.wait() do
for i, Balance in workspace.Balances:GetChildren() do
local Rotation = Balance.Rotation
local Config = Balance.Configuration
if Config.Sens.Value == false then
if Rotation.Orientation.X < 70 then
Rotation.CFrame = Rotation.CFrame * CFrame.Angles(math.rad(Config.Speed.Value),0,0)
else
Config.Sens.Value = true -- Change direction
end
else
if Rotation.Orientation.X > -70 then
Rotation.CFrame = Rotation.CFrame * CFrame.Angles(math.rad(-Config.Speed.Value),0,0)
else
Config.Sens.Value = false -- Change direction
end
end
end
end