So i made a cloud and i want it to move it slowly up and down so like its's kinda floating what's the best way to do this. I tried CFrame but it wasn't so effective any help?
yourFloatingObject = -- set this to your cloud floatDuration = 5 -- set this to how often you want the cloud to float floatHeight = 5 -- how high should the cloud go? teenDna = TweenInfo.new( floatDuration, Enum.EasingStyle.Linear, Enum.EasingDuration.Out, -1, true, 0 ) teen = game:GetService("TweenService"):Create( yourFloatingObject, teenDna, {Position:yourFloatingObject.Position + Vector3.new(0,floatHeight,0)} )
Closed as Primarily Opinion-Based by DeceptiveCaster and JakyeRU
This question has been closed because it is a discussion about a topic focused on diverse opinions, which isn't a good fit for our Q&A format.
Why was this question closed?