Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

All Of My Script Is Correct But Its Not Running For Some Reason?

Hi This Straight Of Pisses Me Off Cause There is No Errors And The Script Is Not Running. And The Script Is Activated. This Is In A Script Please Tell Me What I Can Do For This Thanks!


if game.Workspace.GameStatus.GameProgress == "IN_GAME" then
	print("why does nothing run for me!")
	wait(1)
	script.Parent.Monitor.effect:Play()
	script.Parent.Monitor.SurfaceGui.TextLabel.Text = "Well Hello There Welcome To Untitled Game! :D"
	wait(2)
	script.Parent.Monitor.effect:Play()
	script.Parent.Monitor.SurfaceGui.TextLabel.Text = "Im Going To Give You A Rundown If You Have Not Played This Before"
	wait(2)
	script.Parent.Monitor.effect:Play()
	script.Parent.Monitor.SurfaceGui.TextLabel.Text = "So Pay Close Attetion If You Want To Get Out Alive."
	wait(2)
	script.Parent.Monitor.effect:Play()
	script.Parent.Monitor.SurfaceGui.TextLabel.Text = "1.You Are Given A Time Limit To Beat The Room."
	wait(2)
	script.Parent.Monitor.effect:Play()
	script.Parent.Monitor.SurfaceGui.TextLabel.Text = "2.The Time Limit May Change Due To The Diffuclty You Set."
	wait(2)
	script.Parent.Monitor.effect:Play()
	script.Parent.Monitor.SurfaceGui.TextLabel.Text = "3.Don't Overthink Puzzles There Are Simple For Example || = 14 ???? Puzzles Can Get Harder Due To Diffculty." 
	wait(2)
	script.Parent.Monitor.effect:Play()
	script.Parent.Monitor.SurfaceGui.TextLabel.Text = "4.Try Interacting With Objects. They May Have Something Useful To Help You Escape."
	wait(2)
	script.Parent.Monitor.effect:Play()
	script.Parent.Monitor.SurfaceGui.TextLabel.Text = "5.Item Postions Generate Randomly. So A Things Postion Wont Stay The Same."
	wait(2)
	script.Parent.Monitor.effect:Play()
	script.Parent.Monitor.SurfaceGui.TextLabel.Text = "Thanks You For Participating in My Quick Rundown"
	wait(2)
end

3 comments

0

What type of script is this in? Is it in a loop?

0

Its Not In a Loop And Its A Script

0

whats the output

1 answer

✓ Accepted answer

I hope this helps :D I added a loop, and .Value to GameProgress

while true do
	if game.Workspace.GameStatus.GameProgress.Value == "IN_GAME" then
	    print("why does nothing run for me!")
	    wait(1)
	    script.Parent.Monitor.effect:Play()
	    script.Parent.Monitor.SurfaceGui.TextLabel.Text = "Well Hello There Welcome To Untitled Game! :D"
	    wait(2)
	    script.Parent.Monitor.effect:Play()
	    script.Parent.Monitor.SurfaceGui.TextLabel.Text = "Im Going To Give You A Rundown If You Have Not Played This Before"
	    wait(2)
	    script.Parent.Monitor.effect:Play()
	    script.Parent.Monitor.SurfaceGui.TextLabel.Text = "So Pay Close Attetion If You Want To Get Out Alive."
	    wait(2)
	    script.Parent.Monitor.effect:Play()
	    script.Parent.Monitor.SurfaceGui.TextLabel.Text = "1.You Are Given A Time Limit To Beat The Room."
	    wait(2)
	    script.Parent.Monitor.effect:Play()
	    script.Parent.Monitor.SurfaceGui.TextLabel.Text = "2.The Time Limit May Change Due To The Diffuclty You Set."
	    wait(2)
	    script.Parent.Monitor.effect:Play()
	    script.Parent.Monitor.SurfaceGui.TextLabel.Text = "3.Don't Overthink Puzzles There Are Simple For Example || = 14 ???? Puzzles Can Get Harder Due To Diffculty." 
	    wait(2)
	    script.Parent.Monitor.effect:Play()
	    script.Parent.Monitor.SurfaceGui.TextLabel.Text = "4.Try Interacting With Objects. They May Have Something Useful To Help You Escape."
	    wait(2)
	    script.Parent.Monitor.effect:Play()
	    script.Parent.Monitor.SurfaceGui.TextLabel.Text = "5.Item Postions Generate Randomly. So A Things Postion Wont Stay The Same."
	    wait(2)
	    script.Parent.Monitor.effect:Play()
	    script.Parent.Monitor.SurfaceGui.TextLabel.Text = "Thanks You For Participating in My Quick Rundown"
	    wait(2)
	end
	wait()
end

1 comment

0

Still Does Not Work Thanks For The Help.

This discussion is preserved as it was. New answers, comments, and votes are closed.