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

How to fix this Start Menu last made in 2017?

Asked by 5 years ago
Edited 5 years ago

So I found this video on how to make a menu gui where there is a camera in the middle a little blurred out and when you hit "play" it removes the blurness and starts you off. But yet when I click it nothing really happens. please help. Ive Tried Removing the script from connect: to Connect: But I believe its not really a difference.( Original Script was last edited 2017 ) [Scripts]

Play Button Script - https://imgur.com/a/5L4RbW7

Main camera Script - https://imgur.com/a/eCQB4Lp

0
On the Play Button Script, i'm pretty sure that the event you want is MouseButton1Click, not MouseButtonClick MegaManSam1 207 — 5y
0
I also don't see the need for the repeat loop on the Main camera Script MegaManSam1 207 — 5y

1 answer

Log in to vote
0
Answered by
KDarren12 705 Donator Moderation Voter
5 years ago

Try changing "MouseButtonClicked" in your Play script to "MouseButton1Clicked". This determines if 1 (The left button of the mouse) is clicked, like i did so:

script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.Enabled = false
workspace.CurrentCamera.CameraType=Enum.CameraType.Custom
workspace.CurrentCamera.Blur.Enabled = false 
end)

If I am wrong, please reply right away and I will try to fix it.

Ad

Answer this question