I have written the following code:
local nono = 1 while nono <5 do game.Workspace:FindFirstChild ("SpawnLocation"). Transparency = 1 wait (0.5) game.Workspace:FindFirstChild ("SpawnLocation").Transparency = 0 wait (0.5) end
my goal is to make the SpawnLocation visible and invisible. Why isn't this working
Uh there you go
Use a code block next time
local nono = 1 if not game.Workspace:FindFirstChild("SpawnLocation") then Instance.new("SpawnLocation",workspace) end while nono<5 do game.Workspace:FindFirstChild("SpawnLocation").Transparency=1 wait(0.5) game.Workspace:FindFirstChild("SpawnLocation").Transparency = 0 wait (0.5) end