Hello! So I was following tutorials on how to make a main menu, but the script is not working. Can someone tell me why (also im not copying them im just using their script to learn off of it)
anyways, here is the script
local player = game.Players.LocalPLayer
local character = player.CharacterAdded
local Mouse = player:GetMouse()
local camera = game.Workspace.CurrentCamera
local defaultCframe = camera.CFrame
local view = 150
local blur = game.Lighting.Blur
blur.Size = 20
function updateCamera()
camera.CFrame = game.Workspace.MenuCamera.CFrame
end
game:GetService("RunService").RenderStepped:Connect(updateCamera)
script.Parent.Framce.Play.MouseButton1Click:Connect(function()
wait(0.2)
blur.Size = 0
camera.CameraType = Enum.CameraType.Custom
script.Parent.Frame:Destroy()
end)

1 comment
Oops sorry. I was such in a rush I forgot to put the whole input in the description.