Hello im making a menu and i want it to appear after the loading screen finishes keep in mind this scripts tweens are still being made thats why it is incomplete.
local player = game.Players.LocalPlayer
local character = player.CharacterAdded:Wait()
local mouse = player:GetMouse()
local camera = game.Workspace.CurrentCamera
local defaultcframe = camera.CFrame
local view = 150
local blur = game.Lighting.Blur
local tweenservice = game:GetService("TweenService")
local settingsbutton = script.Parent.FrameForButtons.Settings
local credits = script.Parent.FrameForButtons.Credits
local play = script.Parent.FrameForButtons.Play
local title = script.Parent.FrameForButtons.Title
local logo = script.Parent.FrameForButtons.Logo
blur.Size = 5
function updateCamera()
camera.CFrame = game.Workspace.MenuCamera.CFrame
end
game:GetService("RunService").RenderStepped:Connect(updateCamera)
script.Parent.FrameForButtons.Play.MouseButton1Click:Connect(function()
wait(0.2)
blur.Size = 1
game.Workspace.Sound_Folder.MenuMusic:Stop()
camera.CameraType = Enum.CameraType.Custom
script:Destroy()
script.Parent.FrameForButtons:Destroy()
script.Parent:Destroy()
end)
TweenInfo.new(5, Enum.EasingStyle.Quad, Enum.EasingDirection.In, 0, false, 0)
play:TweenPosition(UDim2.new(0.163, 0, 0.088, 0), Enum.EasingDirection.In, Enum.EasingStyle.Quad, 0.1, true)