PLEASE FIX THIS SCRIPT :( I WANNA MAKE A HORROR GAME BUT I CANT DO THIS
local Song = script:FindFirstChild("Caretaker stage 1")
if game.StarterGui.MenuGui.Frame.Visible = false then
script.Song:Play()
end
PLEASE FIX THIS SCRIPT :( I WANNA MAKE A HORROR GAME BUT I CANT DO THIS
local Song = script:FindFirstChild("Caretaker stage 1")
if game.StarterGui.MenuGui.Frame.Visible = false then
script.Song:Play()
end
In if statements, equals must be ==. Also, If you mentioned a variable, dont do script.Song, just Song Fixed Code:
local Song = script:FindFirstChild("Caretaker stage 1")
if game.StarterGui.MenuGui.Frame.Visible == false then
Song:Play()
end
what line causes the error
line 3 but somebody already solved it thanks for trying to help :)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
oh
TYSN i was panik