I know there's a simpler way to do this, but I don't know what to search to get an answer. Here's my script:
local base = game.Workspace.Part
while true do
base.Transparency = 0
wait(.1)
base.Transparency = 0.25
wait(.1)
base.Transparency = 0.5
wait(.1)
base.Transparency = 0.75
wait(.1)
base.Transparency = 1
wait(.1)
base.Transparency = 0.75
wait(.1)
base.Transparency = 0.5
wait(.1)
base.Transparency = 0.25
wait(.1)
end
How can I make this shorter and give it a smoother transition?

1 comment
Read up on TweenService: https://developer.roblox.com/en-us/api-reference/class/TweenService