Error: Players.Player.PlayerGui.Intro.Main.StartBackground.StartText.InvisibleButton.L:31: 'end' expected (to close 'while' at line 17) near 'else'
NOTE: This isn't the full script, this is just what I am having a problem with.
while true do script.Parent.MouseButton1Down:connect(function() disabled = true end) if not disabled then camera.CoordinateFrame = CFrame.new(target.Position) * CFrame.Angles(0, angle, 0) * CFrame.new(0, 0, 20) angle = angle + math.rad(0.65) game:GetService("RunService").RenderStepped:wait() end wait(1) script.Parent.Parent.Parent.Parent.Parent.Main.InfoBackground.NameText:TweenPosition(UDim2.new(0.7, 0, 0.4, 0), "InOut", "Quad", 1.5) script.Parent.Parent.Parent.Parent.Parent.Main.InfoBackground.CreatorText:TweenPosition(UDim2.new(0.62, 0, 0.5, 0), "InOut", "Quad", 1.5) wait(1.5) script.Parent.Parent.Parent:TweenPosition(UDim2.new(0.43, 0, 0.8, 0), "InOut", "Quad", 1.5) else break end