What I want to happen here is the player touches a brick. The brick causes a cutscene and in the cutscene, I want a GUI to appear on a computer screen that the cutscene is looking at. Then I want an explosion to appear after that.
-- Variables --
local explosion = script.Parent.Parent.Parent.Computer.Screen.Explosion
local hello = script.Parent.Parent.Parent.Computer.Screen.Error.Text
-- Variables --
function OnTouched(hit)
wait(2)
if hello.Visible == false then -- Enables the text on computer screen --
hello.Visible = true
wait(2)
explosion.Visible = true -- Causes the explosions --
end
end
script.Parent.Parent.Parent.Chair.Seat.Touched:Connect(function(OnTouched)

2 comments
why dont you instance an explosion instead of making it visible
Even if I do that, still nothing happens.