game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList,false)game.ReplicatedStorage.GameTrackIntro:Play()local w=UDim2.new(.377,0,.272,0)game.Lighting.IntroBlur.Enabled=true script.IntroGui.Enabled=true local I=game.Players.LocalPlayer game.StarterGui["\082\101\097\108\105\115\109 \077\111\100"].Sprint.Enabled=false local y=script.IntroGui local p=game.Lighting y.ButtonFrame:TweenPosition(UDim2.new(.4,0,.696,0),"\073\110","\083\105\110\101",.5)y.ButtonFrame.PlayButton.MouseButton1Click:Connect(function()y.ButtonFrame:TweenPosition(UDim2.new(0,0,-1,-1),"\073\110","\083\105\110\101",.5)wait(.5)SetValue=true game.StarterGui["\082\101\097\108\105\115\109 \077\111\100"].Sprint.Enabled=true p.IntroBlur.Enabled=false y.Enabled=false workspace.CurrentCamera.CameraSubject=I.Character.Humanoid workspace.CurrentCamera.CameraType=Enum.CameraType.Custom workspace.CurrentCamera.CFrame=I.Character.HumanoidRootPart.CFrame game.ReplicatedStorage.GameTrackIntro:Stop()game.ReplicatedStorage.GameplayAudio:Play()end)y.ButtonFrame.SettingButton.MouseButton1Click:Connect(function()y.ButtonFrame:TweenPosition(UDim2.new(0,0,-1,-1),"\073\110\079\117\116","\083\105\110\101",.5)wait(.5)workspace.CurrentCamera.CameraSubject=I.Character.Humanoid workspace.CurrentCamera.CameraType=Enum.CameraType.Scriptable workspace.CurrentCamera.CFrame=workspace.IntroCamera2.CFrame y.SettingsFrame:TweenPosition(w,"\073\110\079\117\116","\083\105\110\101",.5)end)y.ButtonFrame.ChangelogButton.MouseButton1Click:Connect(function()y.ButtonFrame:TweenPosition(UDim2.new(0,0,-1,-1),"\073\110\079\117\116","\083\105\110\101",.5)wait(.5)y.ChangelogFrame:TweenPosition(w,"\073\110\079\117\116","\083\105\110\101",.5)workspace.CurrentCamera.CameraSubject=I.Character.Humanoid workspace.CurrentCamera.CameraType=Enum.CameraType.Scriptable workspace.CurrentCamera.CFrame=workspace.IntroCamera3.CFrame end)
--[[ # YAY CONTROLING THE ENTIRE INTRO FROM HERE! # ]]
--
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)

game.ReplicatedStorage.GameTrackIntro:Play()

local settingsFramePos = UDim2.new(0.377, 0, 0.272, 0)

game.Lighting.IntroBlur.Enabled = true

script.IntroGui.Enabled = true

local player = game.Players.LocalPlayer

game.StarterGui["Realism Mod"].Sprint.Enabled = false

local IntroGui = script.IntroGui
local lighting = game.Lighting
IntroGui.ButtonFrame:TweenPosition(UDim2.new(0.4, 0, 0.696, 0), "In", "Sine", 0.5)

IntroGui.ButtonFrame.PlayButton.MouseButton1Click:Connect(function() --[[ PLAY ]] --
	IntroGui.ButtonFrame:TweenPosition(UDim2.new(0, 0, -1, -1), "In", "Sine", 0.5)
	wait(0.5)
	SetValue = true
	game.StarterGui["Realism Mod"].Sprint.Enabled = true
	--[[ THIS PART OF THE SCRIPT USED TO BE A CONTROLLING CAMERA ]]
	--
	lighting.IntroBlur.Enabled = false
	IntroGui.Enabled = false
	workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
	workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
	workspace.CurrentCamera.CFrame = player.Character.HumanoidRootPart.CFrame
	game.ReplicatedStorage.GameTrackIntro:Stop()
	game.ReplicatedStorage.GameplayAudio:Play()
end)
IntroGui.ButtonFrame.SettingButton.MouseButton1Click:Connect(function() --[[ SETTINGS ]] --
	IntroGui.ButtonFrame:TweenPosition(UDim2.new(0, 0, -1, -1), "InOut", "Sine", 0.5)
	wait(0.5)
	workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
	workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
	workspace.CurrentCamera.CFrame = workspace.IntroCamera2.CFrame
	IntroGui.SettingsFrame:TweenPosition(settingsFramePos, "InOut", "Sine", 0.5)
end)
IntroGui.ButtonFrame.ChangelogButton.MouseButton1Click:Connect(function() --[[ CHANGELOGS ]] --
	IntroGui.ButtonFrame:TweenPosition(UDim2.new(0, 0, -1, -1), "InOut", "Sine", 0.5)
	wait(0.5)
	IntroGui.ChangelogFrame:TweenPosition(settingsFramePos, "InOut", "Sine", 0.5)
	workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
	workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
	workspace.CurrentCamera.CFrame = workspace.IntroCamera3.CFrame
end)
