Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My main menu play script is malfunctioning. What do i do?

Asked by 5 years ago

Now, this must seem like another stupid question from me but, my script seems to malfunction. It does not error, but it does not work once clicked. If you are willing to help go post it down there in the comments or answers. I will get back to it soon.

script.Parent.MouseButton1Click:Connect(function()
print("hi")
    script.Parent.Parent.Sound:Stop()
    script.Parent.Parent.JS:Play()
    wait(3)
    script.Parent.Parent.JSP.Visible = true
    wait(2)
    script.Parent.Parent.JSP.Visible = false
    script.Parent.Parent[" Blackness"].Visible = true
    script.Parent.Parent.Start2:Play()
    print("hi")
    end)
0
Do the prints come through? Also, on line 9 you have a whitespace whilst indexing but your syntax choice makes it seem purposeful, so probably not the problem.. Goulstem 8144 — 5y
0
Prints don't come, nor does it work. User#22722 20 — 5y
0
Is it active? Try a print on line 1 ABK2017 406 — 5y
0
Well if line 2 really isn't printing then you need to make sure it's 1. Parented correctly     2. Not Disabled 3. If there's stuff above this part of the script, make sure it isn't hanging the script Vulkarin 581 — 5y

Answer this question