--// ULTIMATE R6 GUI - NO FLY --// Place as a LocalScript in StarterPlayer > StarterPlayerScripts local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") --==================================================== -- CLEAN OLD GUI --==================================================== local old = PlayerGui:FindFirstChild("UltimateR6GUI") if old then old:Destroy() end --==================================================== -- MAIN GUI --==================================================== local GUI = Instance.new("ScreenGui") GUI.Name = "UltimateR6GUI" GUI.ResetOnSpawn = false GUI.IgnoreGuiInset = true GUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling GUI.Parent = PlayerGui local Main = Instance.new("Frame") Main.Name = "Main" Main.Size = UDim2.fromOffset(520, 600) Main.Position = UDim2.new(0.5, -260, 0.5, -300) Main.BackgroundColor3 = Color3.fromRGB(20, 21, 29) Main.BorderSizePixel = 0 Main.ClipsDescendants = true Main.Parent = GUI local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0, 16) MainCorner.Parent = Main local Stroke = Instance.new("UIStroke") Stroke.Color = Color3.fromRGB(65, 100, 180) Stroke.Thickness = 2 Stroke.Parent = Main --==================================================== -- BACKGROUND DECORATIONS --==================================================== local Circle1 = Instance.new("Frame") Circle1.Size = UDim2.fromOffset(280, 280) Circle1.Position = UDim2.new(1, -100, -0.25, 0) Circle1.BackgroundColor3 = Color3.fromRGB(45, 100, 220) Circle1.BackgroundTransparency = 0.88 Circle1.BorderSizePixel = 0 Circle1.ZIndex = 1 Circle1.Parent = Main Instance.new("UICorner", Circle1).CornerRadius = UDim.new(1, 0) local Circle2 = Instance.new("Frame") Circle2.Size = UDim2.fromOffset(220, 220) Circle2.Position = UDim2.new(-0.18, 0, 0.75, 0) Circle2.BackgroundColor3 = Color3.fromRGB(140, 60, 220) Circle2.BackgroundTransparency = 0.9 Circle2.BorderSizePixel = 0 Circle2.ZIndex = 1 Circle2.Parent = Main Instance.new("UICorner", Circle2).CornerRadius = UDim.new(1, 0) --==================================================== -- TITLE --==================================================== local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, -70, 0, 45) Title.Position = UDim2.fromOffset(15, 5) Title.BackgroundTransparency = 1 Title.Text = "Player" Title.TextColor3 = Color3.new(1, 1, 1) Title.TextSize = 22 Title.Font = Enum.Font.GothamBold Title.TextXAlignment = Enum.TextXAlignment.Left Title.ZIndex = 10 Title.Parent = Main --==================================================== -- CLOSE BUTTON --==================================================== local Close = Instance.new("TextButton") Close.Size = UDim2.fromOffset(40, 40) Close.Position = UDim2.new(1, -50, 0, 7) Close.BackgroundColor3 = Color3.fromRGB(190, 55, 65) Close.BorderSizePixel = 0 Close.Text = "X" Close.TextColor3 = Color3.new(1, 1, 1) Close.TextSize = 18 Close.Font = Enum.Font.GothamBold Close.ZIndex = 20 Close.Parent = Main Instance.new("UICorner", Close).CornerRadius = UDim.new(0, 9) --==================================================== -- OPEN BUTTON --==================================================== local OpenButton = Instance.new("ImageButton") OpenButton.Size = UDim2.fromOffset(64, 64) OpenButton.Position = UDim2.fromOffset(20, 200) OpenButton.BackgroundColor3 = Color3.fromRGB(25, 25, 35) OpenButton.BorderSizePixel = 0 OpenButton.Image = "rbxassetid://49230609" OpenButton.Visible = false OpenButton.ZIndex = 50 OpenButton.Parent = GUI Instance.new("UICorner", OpenButton).CornerRadius = UDim.new(1, 0) local OpenStroke = Instance.new("UIStroke") OpenStroke.Color = Color3.fromRGB(70, 140, 255) OpenStroke.Thickness = 3 OpenStroke.Parent = OpenButton --==================================================== -- TABS --==================================================== local Tabs = Instance.new("Frame") Tabs.Size = UDim2.new(1, -30, 0, 42) Tabs.Position = UDim2.fromOffset(15, 55) Tabs.BackgroundTransparency = 1 Tabs.ZIndex = 10 Tabs.Parent = Main local TabLayout = Instance.new("UIListLayout") TabLayout.FillDirection = Enum.FillDirection.Horizontal TabLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center TabLayout.Padding = UDim.new(0, 5) TabLayout.Parent = Tabs local function CreateTab(text) local Button = Instance.new("TextButton") Button.Size = UDim2.new(0.25, -4, 1, 0) Button.BackgroundColor3 = Color3.fromRGB(43, 44, 53) Button.BorderSizePixel = 0 Button.Text = text Button.TextColor3 = Color3.new(1, 1, 1) Button.TextSize = 12 Button.Font = Enum.Font.GothamBold Button.ZIndex = 15 Button.Parent = Tabs Instance.new("UICorner", Button).CornerRadius = UDim.new(0, 8) return Button end local PlayerTab = CreateTab("Player") local AnimationTab = CreateTab("Animations") local GamesTab = CreateTab("Mini Games") local PlayersTab = CreateTab("Players") --==================================================== -- PAGES --==================================================== local function CreatePage() local Page = Instance.new("Frame") Page.Size = UDim2.new(1, -30, 1, -115) Page.Position = UDim2.fromOffset(15, 105) Page.BackgroundTransparency = 1 Page.Visible = false Page.ZIndex = 5 Page.Parent = Main return Page end local PlayerPage = CreatePage() local AnimationPage = CreatePage() local GamesPage = CreatePage() local PlayersPage = CreatePage() PlayerPage.Visible = true PlayerTab.BackgroundColor3 = Color3.fromRGB(55, 110, 220) --==================================================== -- BUTTON / TEXTBOX HELPERS --==================================================== local function CreateButton(parent, text, y, color) local Button = Instance.new("TextButton") Button.Size = UDim2.new(1, 0, 0, 44) Button.Position = UDim2.fromOffset(0, y) Button.BackgroundColor3 = color or Color3.fromRGB(55, 110, 220) Button.BorderSizePixel = 0 Button.Text = text Button.TextColor3 = Color3.new(1, 1, 1) Button.TextSize = 14 Button.Font = Enum.Font.GothamBold Button.ZIndex = 10 Button.Parent = parent Instance.new("UICorner", Button).CornerRadius = UDim.new(0, 8) return Button end local function CreateBox(parent, placeholder, y) local Box = Instance.new("TextBox") Box.Size = UDim2.new(1, 0, 0, 42) Box.Position = UDim2.fromOffset(0, y) Box.BackgroundColor3 = Color3.fromRGB(40, 41, 50) Box.BorderSizePixel = 0 Box.Text = "" Box.PlaceholderText = placeholder Box.PlaceholderColor3 = Color3.fromRGB(150, 150, 160) Box.TextColor3 = Color3.new(1, 1, 1) Box.TextSize = 15 Box.Font = Enum.Font.Gotham Box.ClearTextOnFocus = false Box.ZIndex = 10 Box.Parent = parent Instance.new("UICorner", Box).CornerRadius = UDim.new(0, 8) return Box end --==================================================== -- PLAYER TAB --==================================================== local SpeedBox = CreateBox(PlayerPage, "WalkSpeed - default 16", 10) local SpeedButton = CreateButton(PlayerPage, "SET WALK SPEED", 62) local JumpBox = CreateBox(PlayerPage, "JumpPower - default 50", 116) local JumpButton = CreateButton(PlayerPage, "SET JUMP POWER", 168) SpeedButton.MouseButton1Click:Connect(function() local Character = LocalPlayer.Character local Humanoid = Character and Character:FindFirstChildOfClass("Humanoid") local Value = tonumber(SpeedBox.Text) if Humanoid and Value then Humanoid.WalkSpeed = math.clamp(Value, 0, 200) end end) JumpButton.MouseButton1Click:Connect(function() local Character = LocalPlayer.Character local Humanoid = Character and Character:FindFirstChildOfClass("Humanoid") local Value = tonumber(JumpBox.Text) if Humanoid and Value then Humanoid.UseJumpPower = true Humanoid.JumpPower = math.clamp(Value, 0, 250) end end) --==================================================== -- ANIMATIONS --==================================================== local StopAnimation = CreateButton( AnimationPage, "⏹ STOP ANIMATION", 0, Color3.fromRGB(190, 55, 65) ) local AnimationScroll = Instance.new("ScrollingFrame") AnimationScroll.Size = UDim2.new(1, 0, 1, -55) AnimationScroll.Position = UDim2.fromOffset(0, 55) AnimationScroll.BackgroundTransparency = 1 AnimationScroll.BorderSizePixel = 0 AnimationScroll.ScrollBarThickness = 5 AnimationScroll.AutomaticCanvasSize = Enum.AutomaticSize.Y AnimationScroll.CanvasSize = UDim2.new() AnimationScroll.ZIndex = 10 AnimationScroll.Parent = AnimationPage local AnimationLayout = Instance.new("UIListLayout") AnimationLayout.Padding = UDim.new(0, 7) AnimationLayout.Parent = AnimationScroll local CurrentTrack local function StopCurrentAnimation() if CurrentTrack then pcall(function() CurrentTrack:Stop(0.15) CurrentTrack:Destroy() end) CurrentTrack = nil end local Character = LocalPlayer.Character local Humanoid = Character and Character:FindFirstChildOfClass("Humanoid") if Humanoid then local Animator = Humanoid:FindFirstChildOfClass("Animator") if Animator then for _, Track in ipairs(Animator:GetPlayingAnimationTracks()) do if Track.Priority == Enum.AnimationPriority.Action then pcall(function() Track:Stop(0.15) end) end end end end end StopAnimation.MouseButton1Click:Connect(function() StopCurrentAnimation() StopAnimation.Text = "✓ ANIMATION STOPPED" task.delay(0.7, function() if StopAnimation.Parent then StopAnimation.Text = "⏹ STOP ANIMATION" end end) end) -- Only known example IDs are included. -- Replace/add IDs that you own or that your experience -- is permitted to use. local Animations = { {"Classic R6 Idle", "180435571"}, {"Classic R6 Walk", "180426354"}, {"Classic R6 Jump", "125750702"}, {"Classic R6 Fall", "180436148"}, {"Classic R6 Climb", "180436334"}, } local function PlayAnimation(Name, ID, Button) local Character = LocalPlayer.Character local Humanoid = Character and Character:FindFirstChildOfClass("Humanoid") if not Humanoid then return end StopCurrentAnimation() local Animator = Humanoid:FindFirstChildOfClass("Animator") if not Animator then Animator = Instance.new("Animator") Animator.Parent = Humanoid end local Animation = Instance.new("Animation") Animation.AnimationId = "rbxassetid://" .. ID local Success, Track = pcall(function() return Animator:LoadAnimation(Animation) end) Animation:Destroy() if not Success or not Track then Button.Text = "Unavailable" task.delay(0.8, function() if Button.Parent then Button.Text = Name end end) return end CurrentTrack = Track Track.Priority = Enum.AnimationPriority.Action Track.Looped = true Track:Play(0.15) Button.Text = "▶ " .. Name task.delay(0.8, function() if Button.Parent then Button.Text = Name end end) end for _, Data in ipairs(Animations) do local Button = Instance.new("TextButton") Button.Size = UDim2.new(1, -5, 0, 42) Button.BackgroundColor3 = Color3.fromRGB(42, 43, 52) Button.BorderSizePixel = 0 Button.Text = Data[1] Button.TextColor3 = Color3.new(1, 1, 1) Button.TextSize = 13 Button.Font = Enum.Font.GothamBold Button.ZIndex = 15 Button.Parent = AnimationScroll Instance.new("UICorner", Button).CornerRadius = UDim.new(0, 8) Button.MouseButton1Click:Connect(function() PlayAnimation(Data[1], Data[2], Button) end) end --==================================================== -- MINI GAMES --==================================================== local GameInfo = Instance.new("TextLabel") GameInfo.Size = UDim2.new(1, 0, 0, 70) GameInfo.Position = UDim2.fromOffset(0, 10) GameInfo.BackgroundTransparency = 1 GameInfo.Text = "🎮 Press PLAY for a random mini-game!" GameInfo.TextColor3 = Color3.fromRGB(205, 205, 215) GameInfo.TextSize = 16 GameInfo.TextWrapped = true GameInfo.Font = Enum.Font.Gotham GameInfo.ZIndex = 10 GameInfo.Parent = GamesPage local GameScore = Instance.new("TextLabel") GameScore.Size = UDim2.new(1, 0, 0, 55) GameScore.Position = UDim2.fromOffset(0, 85) GameScore.BackgroundTransparency = 1 GameScore.Text = "" GameScore.TextColor3 = Color3.fromRGB(100, 200, 255) GameScore.TextSize = 20 GameScore.Font = Enum.Font.GothamBold GameScore.ZIndex = 10 GameScore.Parent = GamesPage local GameButton = CreateButton( GamesPage, "🎲 PLAY RANDOM GAME", 155 ) local GameRunning = false local GameConnection local GameToken = 0 local function EndGame() GameRunning = false GameToken += 1 if GameConnection then GameConnection:Disconnect() GameConnection = nil end GameButton.Text = "🎲 PLAY RANDOM GAME" end local function ReactionGame() GameRunning = true GameToken += 1 local Token = GameToken GameInfo.Text = "Wait..." GameScore.Text = "" GameButton.Text = "WAIT" task.delay(math.random(1, 3), function() if not GameRunning or Token ~= GameToken then return end local StartTime = os.clock() GameInfo.Text = "⚡ CLICK NOW!" GameButton.Text = "CLICK!" GameConnection = GameButton.MouseButton1Click:Connect(function() GameScore.Text = string.format("%.3f seconds", os.clock() - StartTime) GameInfo.Text = "Reaction time!" EndGame() end) end) end local function ClickGame() GameRunning = true local Clicks = 0 GameInfo.Text = "Click 10 times!" GameScore.Text = "0 / 10" GameButton.Text = "🎯 CLICK" GameConnection = GameButton.MouseButton1Click:Connect(function() Clicks += 1 GameScore.Text = Clicks .. " / 10" if Clicks >= 10 then GameInfo.Text = "🎉 Finished!" EndGame() end end) end local function LuckyGame() GameRunning = true GameInfo.Text = "Generate your lucky number!" GameScore.Text = "???" GameButton.Text = "GENERATE" GameConnection = GameButton.MouseButton1Click:Connect(function() GameScore.Text = tostring(math.random(1, 100)) GameInfo.Text = "🍀 Your lucky number!" EndGame() end) end local function CoinGame() GameRunning = true GameInfo.Text = "Flip the coin!" GameScore.Text = "🪙" GameButton.Text = "FLIP" GameConnection = GameButton.MouseButton1Click:Connect(function() GameScore.Text = math.random(1, 2) == 1 and "HEADS!" or "TAILS!" GameInfo.Text = "Coin flipped!" EndGame() end) end local Games = { ReactionGame, ClickGame, LuckyGame, CoinGame } GameButton.MouseButton1Click:Connect(function() if GameRunning then return end local Game = Games[math.random(1, #Games)] Game() end) --==================================================== -- PLAYERS / SPECTATE --==================================================== local StopSpectate = CreateButton( PlayersPage, "⏹ STOP SPECTATING", 0, Color3.fromRGB(190, 55, 65) ) local PlayerScroll = Instance.new("ScrollingFrame") PlayerScroll.Size = UDim2.new(1, 0, 1, -60) PlayerScroll.Position = UDim2.fromOffset(0, 60) PlayerScroll.BackgroundTransparency = 1 PlayerScroll.BorderSizePixel = 0 PlayerScroll.ScrollBarThickness = 5 PlayerScroll.AutomaticCanvasSize = Enum.AutomaticSize.Y PlayerScroll.CanvasSize = UDim2.new() PlayerScroll.ZIndex = 10 PlayerScroll.Parent = PlayersPage local PlayerLayout = Instance.new("UIListLayout") PlayerLayout.Padding = UDim.new(0, 6) PlayerLayout.Parent = PlayerScroll local Spectating local function StopSpectating() Spectating = nil local Character = LocalPlayer.Character local Humanoid = Character and Character:FindFirstChildOfClass("Humanoid") if Humanoid then workspace.CurrentCamera.CameraSubject = Humanoid end end StopSpectate.MouseButton1Click:Connect(StopSpectating) local function Spectate(Player) if Player == LocalPlayer then return end local Character = Player.Character local Humanoid = Character and Character:FindFirstChildOfClass("Humanoid") if Humanoid then Spectating = Player workspace.CurrentCamera.CameraSubject = Humanoid end end local function RefreshPlayers() for _, Child in ipairs(PlayerScroll:GetChildren()) do if Child:IsA("TextButton") then Child:Destroy() end end for _, Player in ipairs(Players:GetPlayers()) do if Player ~= LocalPlayer then local Button = Instance.new("TextButton") Button.Size = UDim2.new(1, -5, 0, 48) Button.BackgroundColor3 = Color3.fromRGB(42, 43, 52) Button.BorderSizePixel = 0 Button.Text = "👤 " .. Player.DisplayName .. " @" .. Player.Name Button.TextColor3 = Color3.new(1, 1, 1) Button.TextSize = 13 Button.Font = Enum.Font.GothamBold Button.TextXAlignment = Enum.TextXAlignment.Left Button.ZIndex = 15 Button.Parent = PlayerScroll local Padding = Instance.new("UIPadding") Padding.PaddingLeft = UDim.new(0, 12) Padding.Parent = Button Instance.new("UICorner", Button).CornerRadius = UDim.new(0, 8) Button.MouseButton1Click:Connect(function() Spectate(Player) end) end end end Players.PlayerAdded:Connect(RefreshPlayers) Players.PlayerRemoving:Connect(function(Player) if Spectating == Player then StopSpectating() end RefreshPlayers() end) RefreshPlayers() --==================================================== -- TAB SYSTEM --==================================================== local Pages = { Player = PlayerPage, Animations = AnimationPage, ["Mini Games"] = GamesPage, Players = PlayersPage } local TabsList = { {PlayerTab, "Player"}, {AnimationTab, "Animations"}, {GamesTab, "Mini Games"}, {PlayersTab, "Players"} } local function SelectTab(Page, Tab, Name) for _, Info in pairs(TabsList) do Info[1].BackgroundColor3 = Color3.fromRGB(43, 44, 53) end for _, PageObject in pairs(Pages) do PageObject.Visible = false end Page.Visible = true Tab.BackgroundColor3 = Color3.fromRGB(55, 110, 220) Title.Text = Name end PlayerTab.MouseButton1Click:Connect(function() SelectTab(PlayerPage, PlayerTab, "Player") end) AnimationTab.MouseButton1Click:Connect(function() SelectTab(AnimationPage, AnimationTab, "Animations") end) GamesTab.MouseButton1Click:Connect(function() SelectTab(GamesPage, GamesTab, "Mini Games") end) PlayersTab.MouseButton1Click:Connect(function() SelectTab(PlayersPage, PlayersTab, "Players") RefreshPlayers() end) --==================================================== -- OPEN / CLOSE --==================================================== local Closing = false Close.MouseButton1Click:Connect(function() if Closing then return end Closing = true local Tween = TweenService:Create( Main, TweenInfo.new( 0.25, Enum.EasingStyle.Back, Enum.EasingDirection.In ), { Size = UDim2.fromOffset(20, 20), Position = UDim2.new(0.5, -10, 0.5, -10), Rotation = 8 } ) Tween:Play() task.delay(0.26, function() Main.Visible = false OpenButton.Visible = true Main.Size = UDim2.fromOffset(520, 600) Main.Position = UDim2.new(0.5, -260, 0.5, -300) Main.Rotation = 0 Closing = false end) end) OpenButton.MouseButton1Click:Connect(function() OpenButton.Visible = false Main.Visible = true Main.Size = UDim2.fromOffset(20, 20) Main.Position = UDim2.new(0.5, -10, 0.5, -10) Main.Rotation = -8 TweenService:Create( Main, TweenInfo.new( 0.35, Enum.EasingStyle.Back, Enum.EasingDirection.Out ), { Size = UDim2.fromOffset(520, 600), Position = UDim2.new(0.5, -260, 0.5, -300), Rotation = 0 } ):Play() end) --==================================================== -- CHARACTER RESET --==================================================== LocalPlayer.CharacterAdded:Connect(function() CurrentTrack = nil Spectating = nil end) print("Ultimate R6 GUI loaded successfully.")