--[[function v3:crouch(p1)
	local v38 = true;
	if v2.crouching == true then
		for v39, v40 in pairs((workspace:GetPartsInPart(l__Collision__11, v32))) do
			if v40.CollisionGroupId == 9 then
				v38 = false;
			end;
		end;
	end;
	if v38 == true and v2.camlock == nil and v2.stopcam == false then
		if p1 ~= nil then
			v2.crouching = p1;
		else
			v2.crouching = not v2.crouching;
		end;
		if v2.crouching == true then
			v34.Crouch:Play(0.2, 1, 0);
			v2.spring:Impulse(Vector3.new(math.random(-2, 2), -10, math.random(-2, 2)));
			v3.updatespeed();
			v33.Crouch.ImageTransparency = 0;
			v33.Crouch.Image = "rbxassetid://8571432274";
			if v5() ~= "mobile" then
				v33.Crouch.BackgroundTransparency = 1;
				l__TweenService__8:Create(v33.Crouch, TweenInfo.new(1, Enum.EasingStyle.Exponential, Enum.EasingDirection.In), {
					BackgroundTransparency = 1, 
					ImageTransparency = 0.5
				}):Play();
				return;
			else
				v33.Crouch.BackgroundTransparency = 0.35;
				v33.Crouch.ImageTransparency = 0;
				return;
			end;
		end;
		v34.Crouch:Stop(0.2);
		v2.spring:Impulse(Vector3.new(math.random(-2, 2), 5, math.random(-2, 2)));
		v3.updatespeed();
		v33.Crouch.ImageTransparency = 0;
		v33.Crouch.Image = "rbxassetid://8571378399";
		if v5() ~= "mobile" then
			v33.Crouch.BackgroundTransparency = 1;
			l__TweenService__2:Create(v33.Crouch, TweenInfo.new(1, Enum.EasingStyle.Exponential, Enum.EasingDirection.In), {
				BackgroundTransparency = 1, 
				ImageTransparency = 1
			}):Play();
			return;
		else
			v33.Crouch.BackgroundTransparency = 0.35;
			v33.Crouch.ImageTransparency = 0;
		end;
	end;
end;

function v3.updatespeed()
	--u1 = l__Humanoid__9:GetAttribute("SpeedBoost");
	if l__Humanoid__9:GetAttribute("SpeedBoostExtra") then
		--u1 = u1 + l__Humanoid__9:GetAttribute("SpeedBoostExtra");
	end;
	if l__Humanoid__9:GetAttribute("SpeedBoostBehind") then
		--u1 = u1 + l__Humanoid__9:GetAttribute("SpeedBoostBehind");
	end;
	u2 = 15;
	if u3 == true then
		u2 = 11;
	end;
	if v2.crouching == true then
		u2 = 10;
		l__Collision__11.CollisionGroupId = 10;
		l__HumanoidRootPart__12.CollisionGroupId = 10;
	else
		l__Collision__11.CollisionGroupId = 2;
		l__HumanoidRootPart__12.CollisionGroupId = 2;
	end;
--	l__Humanoid__9.WalkSpeed = u2 + tonumber(u1);
end;
l__Humanoid__9:GetAttributeChangedSignal("SpeedBoost"):Connect(v3.updatespeed);
l__Humanoid__9:GetAttributeChangedSignal("SpeedBoostExtra"):Connect(v3.updatespeed);
l__Humanoid__9:GetAttributeChangedSignal("SpeedBoostBehind"):Connect(v3.updatespeed);
v3.updatespeed();
l__UserInputService__7.InputBegan:connect(function(p2, p3)
	if p2.UserInputType == Enum.UserInputType.MouseButton2 then
	end;
	if p3 == true then
		return;
	end;
	if p2.KeyCode == Enum.KeyCode.C or p2.KeyCode == Enum.KeyCode.ButtonB or p2.KeyCode == Enum.KeyCode.LeftControl or p2.KeyCode == Enum.KeyCode.LeftShift then
		v3.crouch();
	end;
end);
l__UserInputService__7.InputEnded:connect(function(p4)
	if p4.KeyCode == Enum.KeyCode.Space then
		v2.holdjump = false;
	end;
	if p4.UserInputType == Enum.UserInputType.MouseButton2 then
	-- nil
	end;
end);--]]

function v3.titlelocation(p1)
	coroutine.wrap(function()
		local v6 = l__Parent__1.MainFrame.Intro:Clone();
		if l__Parent__1.MainFrame:FindFirstChild("LiveIntro") then
			l__Parent__1.MainFrame:FindFirstChild("LiveIntro"):Destroy();
		end;
		local v7 = game:GetService("ReplicatedStorage").Sounds:FindFirstChild("LA_" .. p1);
		if v7 then
			v7:Play();
		end;
		v6.Name = "LiveIntro";
		v6.Visible = true;
		v6.Text = p1;
		v6.Parent = l__Parent__1.MainFrame;
		l__TweenService__2:Create(v6, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
			TextTransparency = 0, 
			TextStrokeTransparency = 1
		}):Play();
		l__TweenService__2:Create(v6.Underline, TweenInfo.new(3, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), {
			Size = UDim2.new(0.5, 0, 0, 6)
		}):Play();
		wait(1);
		l__TweenService__2:Create(v6, TweenInfo.new(7, Enum.EasingStyle.Exponential, Enum.EasingDirection.In), {
			BackgroundTransparency = 1, 
			TextTransparency = 1, 
			TextStrokeTransparency = 2
		}):Play();
		l__TweenService__2:Create(v6.Underline, TweenInfo.new(7, Enum.EasingStyle.Exponential, Enum.EasingDirection.In), {
			Size = UDim2.new(0.25, 0, 0, 6), 
			ImageTransparency = 1
		}):Play();
		game.Debris:AddItem(v6, 10);
	end)();
end;
local u3 = {};
local u4 = 0;
function v3.remind(p2, p3)
	coroutine.wrap(function()
		if table.find(u3, p2) ~= nil then
			return;
		end;
		table.insert(u3, p2);
		if u4 >= 1 then
			u4 = u4 + 1;
			wait((u4 - 1) * 6);
		end;
		u4 = u4 + 1;
		local v8 = l__Parent__1.MainFrame.Tip:Clone();
		if p3 == true then
			v8 = l__Parent__1.MainFrame.Warning:Clone();
		end;
		v8.Name = "LiveTip";
		v8.Visible = true;
		v8.Text = p2;
		v8.Parent = l__Parent__1.MainFrame;
		l__TweenService__2:Create(v8, TweenInfo.new(0.8, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
			Position = UDim2.new(0.5, 0, 0.9, 0)
		}):Play();
		l__TweenService__2:Create(v8.Glow, TweenInfo.new(2, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, 0, true), {
			Size = UDim2.new(2, 0, 10, 0), 
			ImageTransparency = 0
		}):Play();
		wait(6);
		l__TweenService__2:Create(v8, TweenInfo.new(1.2, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {
			TextTransparency = 1, 
			TextStrokeTransparency = 1
		}):Play();
		game.Debris:AddItem(v8, 10);
		u4 = u4 - 1;
	end)();
end;
function v3.caption(p4, p5, p6)
	local u5 = p6;
	coroutine.wrap(function()
		local v9 = l__Parent__1.MainFrame.Caption:Clone();
		if l__Parent__1:FindFirstChild("LiveCaption") then
			l__Parent__1:FindFirstChild("LiveCaption"):Destroy();
		end;
		if p5 == true then
			v9 = l__Parent__1.MainFrame.Caption:Clone();
		end;
		v9.Name = "LiveCaption";
		v9.Visible = true;
		v9.Text = p4;
		v9.Parent = l__Parent__1;
		if not u5 then
			u5 = 7;
		end;
		l__TweenService__2:Create(v9, TweenInfo.new(u5, Enum.EasingStyle.Exponential, Enum.EasingDirection.In), {
			BackgroundTransparency = 1, 
			TextTransparency = 1, 
			TextStrokeTransparency = 2
		}):Play();
		l__TweenService__2:Create(v9, TweenInfo.new(1.5, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), {
			BackgroundColor3 = Color3.new(0, 0, 0)
		}):Play();
		script.Caption:Play();
		game.Debris:AddItem(v9, 10);
	end)();
end;

return v3;