I made a cutscene that shows up the Play button GUI, which allows people to play in but however, when pressed, nothing happens. Here is my code. But however, I never tried the Left Click instances before.

local Camera = game.Workspace.Camera
local Play = script.Parent

function MouseButton1Click(plr):Connect
	if MouseButton1Click Play then
		game.Workspace.Camera:Destroy()
	end
end

Please note that it didn't use any ClickDetection.

6 comments

0

well if you want to detect mouse button 1 click then you could use

0

local mouse = game.Players.LocalPlayer:GetMouse()

0

mouse.Button1Down:Connect(function()

0

CODE

0

end)

0

^^ Put that into an answer so it can be accepted.