local UserInputService = game:GetService("UserInputService") local player = game.Players.LocalPlayer -- Create the ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Parent = player:WaitForChild("PlayerGui") -- Main Frame local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0.3, 0, 0.5, 0) mainFrame.Position = UDim2.new(0.35, 0, 0.25, 0) mainFrame.BackgroundTransparency = 0.5 mainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) mainFrame.BorderSizePixel = 2 mainFrame.Parent = screenGui -- Tabs Frame local tabsFrame = Instance.new("Frame") tabsFrame.Size = UDim2.new(0.2, 0, 1, 0) tabsFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) tabsFrame.BackgroundTransparency = 0.5 tabsFrame.Parent = mainFrame -- Content Frame local contentFrame = Instance.new("Frame") contentFrame.Size = UDim2.new(0.8, 0, 1, 0) contentFrame.Position = UDim2.new(0.2, 0, 0, 0) contentFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) contentFrame.BackgroundTransparency = 0.5 contentFrame.Parent = mainFrame -- Tab Button Function local function createTab(tabName, position) local tabButton = Instance.new("TextButton") tabButton.Size = UDim2.new(1, 0, 0.1, 0) tabButton.Text = tabName tabButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50) tabButton.BackgroundTransparency = 0.5 tabButton.TextColor3 = Color3.fromRGB(255, 255, 255) tabButton.Position = position tabButton.Parent = tabsFrame -- Content Frame for Each Tab local tabContent = Instance.new("Frame") tabContent.Size = UDim2.new(1, 0, 1, 0) tabContent.BackgroundTransparency = 1 tabContent.Visible = false tabContent.Parent = contentFrame -- Button Click tabButton.MouseButton1Click:Connect(function() for _, child in ipairs(contentFrame:GetChildren()) do if child:IsA("Frame") then child.Visible = false end end tabContent.Visible = true end) return tabContent end -- Creating Teleport Tab local teleportTab = createTab("Teleport", UDim2.new(0, 0, 0, 0)) -- Teleport Toggle Button local toggleButton = Instance.new("TextButton") toggleButton.Size = UDim2.new(0.5, 0, 0.1, 0) toggleButton.Position = UDim2.new(0.25, 0, 0.1, 0) -- Moved the button slightly lower toggleButton.Text = "Mountains: OFF" toggleButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70) toggleButton.BackgroundTransparency = 0.5 toggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) toggleButton.Parent = teleportTab local toggleState = false toggleButton.MouseButton1Click:Connect(function() toggleState = not toggleState toggleButton.Text = "Mountains: " .. (toggleState and "ON" or "OFF") end) UserInputService.InputBegan:Connect(function(input, gameProcessed) if not gameProcessed and toggleState then local character = player.Character or player.CharacterAdded:Wait() local rootPart = character:WaitForChild("HumanoidRootPart") if input.KeyCode == Enum.KeyCode.One then local originalPosition = rootPart.CFrame wait(1) rootPart.CFrame = CFrame.new(0, 652, -352) wait(2) rootPart.CFrame = originalPosition elseif input.KeyCode == Enum.KeyCode.Two then wait(1) rootPart.CFrame = CFrame.new(0, 652, -352) end end end) -- Instruction Text Below Toggles (Stayed in position) local instructionText = Instance.new("TextLabel") instructionText.Size = UDim2.new(1, 0, 0.2, 0) instructionText.Position = UDim2.new(0, 0, 0.2, 0) -- Instruction text stays here instructionText.Text = "Use on Hero Hunter.\n1 teleports other people and brings you back.\n2 teleports both of you." instructionText.TextColor3 = Color3.fromRGB(255, 255, 255) instructionText.BackgroundTransparency = 1 instructionText.TextWrapped = true instructionText.Parent = teleportTab -- Grand Downslam Toggle Button (Moved further down) local downslamButton = Instance.new("TextButton") downslamButton.Size = UDim2.new(0.5, 0, 0.1, 0) downslamButton.Position = UDim2.new(0.25, 0, 0.5, 0) -- Moved lower than before downslamButton.Text = "Grand Downslam: OFF" downslamButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70) downslamButton.BackgroundTransparency = 0.5 downslamButton.TextColor3 = Color3.fromRGB(255, 255, 255) downslamButton.Parent = teleportTab local downslamState = false downslamButton.MouseButton1Click:Connect(function() downslamState = not downslamState downslamButton.Text = "Grand Downslam: " .. (downslamState and "ON" or "OFF") end) UserInputService.InputBegan:Connect(function(input, gameProcessed) if not gameProcessed and downslamState then if input.KeyCode == Enum.KeyCode.Two then wait(1.9) local character = player.Character or player.CharacterAdded:Wait() local rootPart = character:WaitForChild("HumanoidRootPart") local currentPosition = rootPart.Position rootPart.CFrame = CFrame.new(currentPosition.X, currentPosition.Y + 100, currentPosition.Z) end end end) -- Add text below Downslam button local heroHunterText = Instance.new("TextLabel") heroHunterText.Size = UDim2.new(1, 0, 0.1, 0) heroHunterText.Position = UDim2.new(0, 0, 0.65, 0) -- Positioned below Grand Downslam button heroHunterText.Text = "Use Hero Hunter 2nd Move" heroHunterText.TextColor3 = Color3.fromRGB(255, 255, 255) heroHunterText.BackgroundTransparency = 1 heroHunterText.TextWrapped = true heroHunterText.Parent = teleportTab -- Yeet Toggle Button local yeetButton = Instance.new("TextButton") yeetButton.Size = UDim2.new(0.5, 0, 0.1, 0) yeetButton.Position = UDim2.new(0.25, 0, 0.75, 0) -- Positioned below the Hero Hunter text yeetButton.Text = "Yeet: OFF" yeetButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70) yeetButton.BackgroundTransparency = 0.5 yeetButton.TextColor3 = Color3.fromRGB(255, 255, 255) yeetButton.Parent = teleportTab local yeetState = false local yeetScriptEnabled = false yeetButton.MouseButton1Click:Connect(function() yeetState = not yeetState yeetButton.Text = "Yeet: " .. (yeetState and "ON" or "OFF") -- Toggle the Yeet script if yeetState then -- Enable the Yeet script yeetScriptEnabled = true else -- Disable the Yeet script yeetScriptEnabled = false end end) -- Add text below Yeet button local heroHunter1stMoveText = Instance.new("TextLabel") heroHunter1stMoveText.Size = UDim2.new(1, 0, 0.1, 0) heroHunter1stMoveText.Position = UDim2.new(0, 0, 0.85, 0) -- Positioned below the Yeet button heroHunter1stMoveText.Text = "Use HeroHunter 1st Move" heroHunter1stMoveText.TextColor3 = Color3.fromRGB(255, 255, 255) heroHunter1stMoveText.BackgroundTransparency = 1 heroHunter1stMoveText.TextWrapped = true heroHunter1stMoveText.Parent = teleportTab -- Yeet script functionality local function onYeetScript() local character = player.Character or player.CharacterAdded:Wait() local humanoidRootPart = character:WaitForChild("HumanoidRootPart") local originalPosition -- To store your original position UserInputService.InputBegan:Connect(function(input, isTyping) if isTyping then return end if input.KeyCode == Enum.KeyCode.One and yeetScriptEnabled then originalPosition = humanoidRootPart.Position -- Save original position -- Wait 1.9 seconds before jumping task.wait(1.9) -- Increase Y position by 1000 relative to the current position humanoidRootPart.CFrame = humanoidRootPart.CFrame + Vector3.new(0, 10000, 0) -- Wait 0.2 seconds before teleporting back task.wait(0.2) -- Teleport back to original position humanoidRootPart.CFrame = CFrame.new(originalPosition) end end) end -- Start Yeet script functionality when enabled onYeetScript() -- Toggle the visibility of the GUI using Right Control local guiVisible = true UserInputService.InputBegan:Connect(function(input, gameProcessed) if input.KeyCode == Enum.KeyCode.RightControl and not gameProcessed then guiVisible = not guiVisible screenGui.Enabled = guiVisible end end) -- Show the first tab (Teleport) by default contentFrame:GetChildren()[1].Visible = true -- Create the "Player" Tab and move it lower local playerTab = createTab("Player", UDim2.new(0, 0, 0.5, 0)) -- Adjusted Y position -- Function to create player buttons local function createPlayerButton(playerName, position) local playerButton = Instance.new("TextButton") playerButton.Size = UDim2.new(1, 0, 0.1, 0) playerButton.Position = position playerButton.Text = playerName playerButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) playerButton.BackgroundTransparency = 0.5 playerButton.TextColor3 = Color3.fromRGB(255, 255, 255) playerButton.Parent = playerTab playerButton.MouseButton1Click:Connect(function() -- Teleport to the clicked player local targetPlayer = game.Players:FindFirstChild(playerName) if targetPlayer and targetPlayer.Character then local targetHumanoidRootPart = targetPlayer.Character:WaitForChild("HumanoidRootPart") player.Character:WaitForChild("HumanoidRootPart").CFrame = targetHumanoidRootPart.CFrame end end) end -- Handle Player List Updates (Add and Remove Players) local function updatePlayerList() -- Clear existing player buttons for _, child in ipairs(playerTab:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end -- Recreate the player buttons for all other players local yPosition = 0 for _, otherPlayer in pairs(game.Players:GetPlayers()) do if otherPlayer ~= player then createPlayerButton(otherPlayer.Name, UDim2.new(0, 0, yPosition, 0)) yPosition = yPosition + 0.1 -- Move the next button down end end end -- Listen for player joining and leaving game.Players.PlayerAdded:Connect(updatePlayerList) game.Players.PlayerRemoving:Connect(updatePlayerList) -- Initial update updatePlayerList()