#is it possible to use a tweenservice inside of a while true loop?

1 messages · Page 1 of 1 (latest)

bitter garnet
#

i want it to be inside the while true loop, im curious if thats possible

rocky mortar
#

Yeah it is

#

You could do something like
For example:

Local TurnRedTween = Tweenservice:Create(loopingPart, tweeninfo, {Color = Color3.FromRGB(255, 0, 0)})

Local TurnWhiteTween = Tweenservice:Create(loopingPart, tweeninfo, {Color = Color3.FromRGB(255, 255, 255)})

While true do
TurnRedTween:Play()
Task.wait(1)
TurnWhiteTween:Play()
Task.wait(1)
end

bitter garnet
#

thats a very simple way to do it

#

thanks man

#

thought gonna be more complex cus of chatgpt trying to come up with a solution

rocky mortar
#

Woah

#

Yeah chatgpt is good but sometimes goes off the rails lol

bitter garnet
#

yeah, the moment someone said in a yt video use it as a tool, i did

#

before i wouldve used it way too much cus i didnt wanna learn a proper way of scripting

rocky mortar
#

Oo

#

So wait what did u end up using again

bitter garnet
#

i just wanted to know if its possible to use tweens efficently in a while true loop like you just did

rocky mortar
#

Ooh

bitter garnet
#

since im reading roblox api

#

and trying stuff on the go

rocky mortar
#

Alright

bitter garnet
#

ty for the help again

rocky mortar
#

Its fine

#

Honestly i should be thanking you cause i have nothing to do lol