I'm making a script which makes smoke disappear and reappear but it doesn't seem to work. Does any one know what I did wrong? My script is above.
local smoke = game.Workspace.Smoke while true do wait (10) smoke.Opacity = 0.5 wait (5) smoke.Opacity = 0 wait(5) end
I'm making a script which makes smoke disappear and reappear but it doesn't seem to work. Does any one know what I did wrong? Here's my script:
so since all of this hasnt worked, here's a new way. Put the script inside of the smoke and copy and paste this new code.
local smoke = script.Parent while wait(10) do smoke.Opacity = 0.5 print(smoke.Opacity) -- like rabbi99 said, print opacity to see if it works wait(5) smoke.Opacity = 0 wait(5) print(smoke.Opacity) end
if that doesn't work, make sure the smoke actually does exist, remember roblox lua is case sensitive