Well, I have a problem with the while do, and that is that it does not work because it simply does not give or print or anything
local Circulo = script.Parent:WaitForChild("BarLoadRing")
local tweenInfo = TweenInfo.new(0.6, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0)
local TweenService = game:GetService("TweenService")
local Enabled = script.Parent:WaitForChild("Enabled")
local CircularDIrection = script.Parent:WaitForChild("CircularOne")
while wait() and Enabled.Value == true do
print("anmdoansda")
if CircularDIrection.Value == false then
local tween4 = TweenService:Create(Circulo, tweenInfo, {Rotation = 360})
tween4:Play()
tween4.Completed:Wait()
Circulo.Rotation = 0
elseif CircularDIrection.Value == true then
local tween4 = TweenService:Create(Circulo, tweenInfo, {Rotation = -360})
tween4:Play()
tween4.Completed:Wait()
Circulo.Rotation = 0
end
end