-- To Make The Buttons Use This | -- Tab:CreateButton({Name="Button", Callback=function() --loadstring(game:HttpGet("Put Your Script Here", true))() --Notify("Script Ran") --end}) -- Rayfield Loader local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield", true))() local Window = Rayfield:CreateWindow({ Name = "PMC.C Hub", LoadingTitle = "PMC.C Hub", LoadingSubtitle = "by Prince Miguel" }) local StarterGui = game:GetService("StarterGui") local UserInputService = game:GetService("UserInputService") local Players = game:GetService("Players") local TeleportService = game:GetService("TeleportService") local LocalPlayer = Players.LocalPlayer -- Notification helper local function Notify(txt) pcall(function() StarterGui:SetCore("SendNotification", {Title="PMC.C Hub"; Text=txt; Duration=4}) end) end -- Placeholder movement/visual/misc functions local function forceWalk() task.spawn(function() local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local humanoid = char:WaitForChild("Humanoid") local DEFAULT_WALK, DEFAULT_JUMP = 16, 50 LocalPlayer.CharacterAdded:Connect(function(newChar) char = newChar humanoid = char:WaitForChild("Humanoid") end) while task.wait(0.0009) do if humanoid.WalkSpeed < DEFAULT_WALK then humanoid.WalkSpeed = DEFAULT_WALK end if humanoid.JumpPower < DEFAULT_JUMP then humanoid.JumpPower = DEFAULT_JUMP end end end) end local function enableFly(value) print("Fly:", value) end local function enableNoclip(value) print("Noclip:", value) end local function enableInfiniteJump(value) print("Infinite Jump:", value) end local function enablePlatform(value) print("Platform:", value) end local function enableESP(value) print("ESP:", value) end local function setFullbright(value) print("Fullbright:", value) end local function autoHeal() print("Auto Heal") end local function respawnPlayer() LocalPlayer.Character:BreakJoints() end local function unlockFPS() pcall(function() setfpscap(999) end) end local function rejoinSame() TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer) end local function rejoinNew() TeleportService:Teleport(game.PlaceId, LocalPlayer) end -- Main Tab local Tab = Window:CreateTab("Main", 4483362458) -- Player Movements Tab:CreateSection("Player Movements") Tab:CreateButton({Name="Force Walk / Jump", Callback=function() forceWalk() Notify("Force Walk Enabled") end}) Tab:CreateToggle({Name="Fly", CurrentValue=false, Callback=function(value) enableFly(value) end}) Tab:CreateToggle({Name="Noclip", CurrentValue=false, Callback=function(value) enableNoclip(value) end}) Tab:CreateToggle({Name="Infinite Jump", CurrentValue=false, Callback=function(value) enableInfiniteJump(value) end}) Tab:CreateToggle({Name="Platform", CurrentValue=false, Callback=function(value) enablePlatform(value) end}) -- Visuals Tab:CreateSection("Visuals") Tab:CreateToggle({Name="ESP", CurrentValue=false, Callback=function(value) enableESP(value) end}) Tab:CreateToggle({Name="Fullbright", CurrentValue=false, Callback=function(value) setFullbright(value) end}) -- Misc Tab:CreateSection("Misc") Tab:CreateButton({Name="Auto Heal", Callback=function() autoHeal() Notify("Auto Heal Enabled") end}) Tab:CreateButton({Name="Respawn", Callback=function() respawnPlayer() Notify("Respawning") end}) Tab:CreateButton({Name="Unlock FPS", Callback=function() unlockFPS() Notify("FPS Unlocked") end}) Tab:CreateButton({Name="Rejoin Same Server", Callback=function() rejoinSame() end}) Tab:CreateButton({Name="Rejoin New Server", Callback=function() rejoinNew() end}) -- PC-only Executor/Game Scripts Tab:CreateSection("Executors / Game Scripts") if UserInputService.KeyboardEnabled and UserInputService.MouseEnabled then Tab:CreateButton({Name="Superman", Callback=function() loadstring(game:HttpGet("https://raw.githubusercontent.com/Bac0nHck/Scripts/main/superman_fly.lua", true))() Notify("Superman Ran") end}) end Tab:CreateButton({Name="Infinite Yield", Callback=function() loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))() Notify("Infinite Yield Ran") end}) Tab:CreateButton({Name="c00lgui", Callback=function() loadstring(game:HttpGet("https://raw.githubusercontent.com/cfsmi2/c00lguiv1/refs/heads/main/Main.lua", true))() Notify("c00lgui Ran") end}) -- Game-specific scripts if game.PlaceId == 4924922222 then -- Brookhaven Tab:CreateButton({Name="Sander XY", Callback=function() loadstring(game:HttpGet("https://raw.githubusercontent.com/kigredns/testUIDK/refs/heads/main/panel.lua"))() Notify("Sander XY Ran") end}) elseif game.PlaceId == 189707 then -- NDS Tab:CreateButton({Name="Nullfire", Callback=function() loadstring(game:HttpGet("https://raw.githubusercontent.com/InfernusScripts/Null-Fire/main/Loader"))() Notify("Nullfire Ran") end}) elseif game.PlaceId == 126884695634066 or game.PlaceId == 6961824067 or game.PlaceId == 7845249823 then Tab:CreateButton({Name="Grow a Garden Auto Farm", Callback=function() loadstring(game:HttpGet("https://zaphub.xyz/Exec"))() Notify("Grow a Garden Auto Farm Ran") end}) end -- Get Services local RunService = game:GetService("RunService") local Workspace = game:GetService("Workspace") local Lighting = game:GetService("Lighting") local TweenService = game:GetService("TweenService") -- Character local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local humanoid = character:FindFirstChild("Humanoid") or character:WaitForChild("Humanoid") local rootPart = character:FindFirstChild("HumanoidRootPart") or character:WaitForChild("HumanoidRootPart") -- Vars local FlyEnabled, NoclipEnabled, InfiniteJumpEnabled, ESPEnabled, PlatformEnabled = false, false, false, false, false local FlySpeed, PlatformSpeed = 50, 10 local platformUp, platformDown = false, false local BodyVelocity, BodyGyro, NoclipConnection, InfiniteJumpConnection, ESPConnection, PlatformConnection, PlatformPart, ClickTPConn, RainbowConn = nil, nil, nil, nil, nil, nil, nil, nil, nil local MobileControls = nil local savedLighting = {} _G.PMCCHub_ESPObjects = _G.PMCCHub_ESPObjects or {} _G.PMCCHub_PlatformInputConnections = _G.PMCCHub_PlatformInputConnections or {} -- Character Update LocalPlayer.CharacterAdded:Connect(function(newChar) character = newChar humanoid = newChar:WaitForChild("Humanoid") rootPart = newChar:WaitForChild("HumanoidRootPart") end) -- Fly function enableFly(enable) FlyEnabled = enable if not enable then if BodyVelocity then BodyVelocity:Destroy(); BodyVelocity = nil end if BodyGyro then BodyGyro:Destroy(); BodyGyro = nil end return end if rootPart then BodyVelocity = Instance.new("BodyVelocity") BodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge) BodyVelocity.Velocity = Vector3.new(0,0,0) BodyVelocity.Parent = rootPart BodyGyro = Instance.new("BodyGyro") BodyGyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge) BodyGyro.CFrame = rootPart.CFrame BodyGyro.Parent = rootPart end end -- Noclip function enableNoclip(enable) NoclipEnabled = enable if not enable then if NoclipConnection then NoclipConnection:Disconnect(); NoclipConnection = nil end for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = true end end return end NoclipConnection = RunService.Stepped:Connect(function() for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end) end -- Infinite Jump function enableInfiniteJump(enable) InfiniteJumpEnabled = enable if not enable then if InfiniteJumpConnection then InfiniteJumpConnection:Disconnect(); InfiniteJumpConnection = nil end return end InfiniteJumpConnection = UserInputService.JumpRequest:Connect(function() if InfiniteJumpEnabled and humanoid then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end) end -- ESP function enableESP(enable) ESPEnabled = enable if not enable then if ESPConnection then ESPConnection:Disconnect(); ESPConnection = nil end for _, obj in pairs(_G.PMCCHub_ESPObjects) do if obj.Highlight then obj.Highlight:Destroy() end if obj.BillboardGui then obj.BillboardGui:Destroy() end end _G.PMCCHub_ESPObjects = {} return end local function addESP(plr) if plr == LocalPlayer then return end local function setupESP(char) if not char then return end local head = char:FindFirstChild("Head") if not head then return end local highlight = Instance.new("Highlight") highlight.Adornee = head highlight.FillColor = Color3.fromRGB(255,255,255) highlight.OutlineColor = Color3.fromRGB(0,0,0) highlight.FillTransparency = 0.6 highlight.Parent = head local billboard = Instance.new("BillboardGui") billboard.Adornee = head billboard.Size = UDim2.new(0,100,0,25) billboard.StudsOffset = Vector3.new(0,2,0) billboard.AlwaysOnTop = true billboard.Parent = head local distanceLabel = Instance.new("TextLabel") distanceLabel.Size = UDim2.new(1,0,1,0) distanceLabel.BackgroundTransparency = 1 distanceLabel.Text = "0 studs" distanceLabel.TextColor3 = Color3.fromRGB(255,255,255) distanceLabel.Font = Enum.Font.GothamBold distanceLabel.TextSize = 14 distanceLabel.Parent = billboard _G.PMCCHub_ESPObjects[plr] = {Highlight=highlight, BillboardGui=billboard, DistanceLabel=distanceLabel} end if plr.Character then setupESP(plr.Character) end plr.CharacterAdded:Connect(setupESP) end for _, p in pairs(Players:GetPlayers()) do addESP(p) end ESPConnection = Players.PlayerAdded:Connect(function(p) if ESPEnabled then addESP(p) end end) RunService.RenderStepped:Connect(function() if not ESPEnabled then return end local localRoot = rootPart if not localRoot then return end for plr, obj in pairs(_G.PMCCHub_ESPObjects) do local pr = plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") if pr and obj.DistanceLabel then local dist = (localRoot.Position - pr.Position).Magnitude obj.DistanceLabel.Text = string.format("%.1f studs", dist) end end end) end -- Platform function enablePlatform(enable) PlatformEnabled = enable if not enable then if PlatformConnection then PlatformConnection:Disconnect(); PlatformConnection = nil end if PlatformPart then PlatformPart:Destroy(); PlatformPart=nil end for _, conn in pairs(_G.PMCCHub_PlatformInputConnections) do conn:Disconnect() end _G.PMCCHub_PlatformInputConnections = {} platformUp, platformDown=false,false return end if rootPart then PlatformPart = Instance.new("Part") PlatformPart.Size = Vector3.new(6,0.5,6) PlatformPart.Position = rootPart.Position - Vector3.new(0,3,0) PlatformPart.Anchored = true PlatformPart.CanCollide = true PlatformPart.BrickColor = BrickColor.new("Institutional white") PlatformPart.Parent = Workspace PlatformConnection = RunService.RenderStepped:Connect(function(dt) if PlatformEnabled and rootPart and PlatformPart then PlatformPart.Position = Vector3.new(rootPart.Position.X, PlatformPart.Position.Y, rootPart.Position.Z) if platformUp then PlatformPart.Position += Vector3.new(0, PlatformSpeed*dt,0) elseif platformDown then PlatformPart.Position -= Vector3.new(0, PlatformSpeed*dt,0) end end end) if UserInputService.KeyboardEnabled then table.insert(_G.PMCCHub_PlatformInputConnections, UserInputService.InputBegan:Connect(function(input, processed) if processed or not PlatformEnabled then return end if input.KeyCode==Enum.KeyCode.E then platformUp=true elseif input.KeyCode==Enum.KeyCode.Q then platformDown=true end end)) table.insert(_G.PMCCHub_PlatformInputConnections, UserInputService.InputEnded:Connect(function(input) if input.KeyCode==Enum.KeyCode.E then platformUp=false elseif input.KeyCode==Enum.KeyCode.Q then platformDown=false end end)) end end end -- Fullbright function setFullbright(enable) if enable then savedLighting.Brightness = Lighting.Brightness savedLighting.Ambient = Lighting.Ambient savedLighting.ClockTime = Lighting.ClockTime savedLighting.GlobalShadows = Lighting.GlobalShadows Lighting.Brightness = 2 Lighting.Ambient = Color3.fromRGB(200,200,200) Lighting.GlobalShadows = false else if savedLighting.Brightness then Lighting.Brightness=savedLighting.Brightness end if savedLighting.Ambient then Lighting.Ambient=savedLighting.Ambient end if savedLighting.ClockTime then Lighting.ClockTime=savedLighting.ClockTime end if savedLighting.GlobalShadows~=nil then Lighting.GlobalShadows=savedLighting.GlobalShadows end end end --[[ WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk! ]] -- Rayfield Loader local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield", true))() local Window = Rayfield:CreateWindow({ Name = "PMC.C Hub", LoadingTitle = "PMC.C Hub", LoadingSubtitle = "by Prince Miguel" }) local StarterGui = game:GetService("StarterGui") local UserInputService = game:GetService("UserInputService") local Players = game:GetService("Players") local TeleportService = game:GetService("TeleportService") local LocalPlayer = Players.LocalPlayer -- Notification helper local function Notify(txt) pcall(function() StarterGui:SetCore("SendNotification", {Title="PMC.C Hub"; Text=txt; Duration=4}) end) end -- Placeholder movement/visual/misc functions local function forceWalk() task.spawn(function() local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local humanoid = char:WaitForChild("Humanoid") local DEFAULT_WALK, DEFAULT_JUMP = 16, 50 LocalPlayer.CharacterAdded:Connect(function(newChar) char = newChar humanoid = char:WaitForChild("Humanoid") end) while task.wait(0.0009) do if humanoid.WalkSpeed < DEFAULT_WALK then humanoid.WalkSpeed = DEFAULT_WALK end if humanoid.JumpPower < DEFAULT_JUMP then humanoid.JumpPower = DEFAULT_JUMP end end end) end local function enableFly(value) print("Fly:", value) end local function enableNoclip(value) print("Noclip:", value) end local function enableInfiniteJump(value) print("Infinite Jump:", value) end local function enablePlatform(value) print("Platform:", value) end local function enableESP(value) print("ESP:", value) end local function setFullbright(value) print("Fullbright:", value) end local function autoHeal() print("Auto Heal") end local function respawnPlayer() LocalPlayer.Character:BreakJoints() end local function unlockFPS() pcall(function() setfpscap(999) end) end local function rejoinSame() TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer) end local function rejoinNew() TeleportService:Teleport(game.PlaceId, LocalPlayer) end -- Main Tab local Tab = Window:CreateTab("Main", 4483362458) -- Player Movements Tab:CreateSection("Player Movements") Tab:CreateButton({Name="Force Walk / Jump", Callback=function() forceWalk() Notify("Force Walk Enabled") end}) Tab:CreateToggle({Name="Fly", CurrentValue=false, Callback=function(value) enableFly(value) end}) Tab:CreateToggle({Name="Noclip", CurrentValue=false, Callback=function(value) enableNoclip(value) end}) Tab:CreateToggle({Name="Infinite Jump", CurrentValue=false, Callback=function(value) enableInfiniteJump(value) end}) Tab:CreateToggle({Name="Platform", CurrentValue=false, Callback=function(value) enablePlatform(value) end}) -- Visuals Tab:CreateSection("Visuals") Tab:CreateToggle({Name="ESP", CurrentValue=false, Callback=function(value) enableESP(value) end}) Tab:CreateToggle({Name="Fullbright", CurrentValue=false, Callback=function(value) setFullbright(value) end}) -- Misc Tab:CreateSection("Misc") Tab:CreateButton({Name="Auto Heal", Callback=function() autoHeal() Notify("Auto Heal Enabled") end}) Tab:CreateButton({Name="Respawn", Callback=function() respawnPlayer() Notify("Respawning") end}) Tab:CreateButton({Name="Unlock FPS", Callback=function() unlockFPS() Notify("FPS Unlocked") end}) Tab:CreateButton({Name="Rejoin Same Server", Callback=function() rejoinSame() end}) Tab:CreateButton({Name="Rejoin New Server", Callback=function() rejoinNew() end}) -- PC-only Executor/Game Scripts Tab:CreateSection("Executors / Game Scripts") if UserInputService.KeyboardEnabled and UserInputService.MouseEnabled then Tab:CreateButton({Name="Superman", Callback=function() loadstring(game:HttpGet("https://raw.githubusercontent.com/Bac0nHck/Scripts/main/superman_fly.lua", true))() Notify("Superman Ran") end}) end Tab:CreateButton({Name="Infinite Yield", Callback=function() loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))() Notify("Infinite Yield Ran") end}) Tab:CreateButton({Name="c00lgui", Callback=function() loadstring(game:HttpGet("https://raw.githubusercontent.com/cfsmi2/c00lguiv1/refs/heads/main/Main.lua", true))() Notify("c00lgui Ran") end}) Tab:CreateButton({Name="Invisible", Callback=function() loadstring(game:HttpGet('https://pastebin.com/raw/3Rnd9rHf'))() Notify("Invisble ran") end}) Tab:CreateButton({Name="Part Orbit", Callback=function() loadstring(game:HttpGet("https://pastebin.com/raw/aZjaAr6F", true))() Notify("Orbit Ran") end}) -- Game-specific scripts if game.PlaceId == 4924922222 then -- Brookhaven Tab:CreateButton({Name="Sander XY", Callback=function() loadstring(game:HttpGet("https://raw.githubusercontent.com/kigredns/testUIDK/refs/heads/main/panel.lua"))() Notify("Sander XY Ran") end}) elseif game.PlaceId == 189707 then -- NDS Tab:CreateButton({Name="Nullfire", Callback=function() loadstring(game:HttpGet("https://raw.githubusercontent.com/InfernusScripts/Null-Fire/main/Loader"))() Notify("Nullfire Ran") end}) elseif game.PlaceId == 126884695634066 or game.PlaceId == 6961824067 or game.PlaceId == 7845249823 then Tab:CreateButton({Name="Grow a Garden Auto Farm", Callback=function() loadstring(game:HttpGet("https://zaphub.xyz/Exec"))() Notify("Grow a Garden Auto Farm Ran") end}) end -- Get Services local RunService = game:GetService("RunService") local Workspace = game:GetService("Workspace") local Lighting = game:GetService("Lighting") local TweenService = game:GetService("TweenService") -- Character local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local humanoid = character:FindFirstChild("Humanoid") or character:WaitForChild("Humanoid") local rootPart = character:FindFirstChild("HumanoidRootPart") or character:WaitForChild("HumanoidRootPart") -- Vars local FlyEnabled, NoclipEnabled, InfiniteJumpEnabled, ESPEnabled, PlatformEnabled = false, false, false, false, false local FlySpeed, PlatformSpeed = 50, 10 local platformUp, platformDown = false, false local BodyVelocity, BodyGyro, NoclipConnection, InfiniteJumpConnection, ESPConnection, PlatformConnection, PlatformPart, ClickTPConn, RainbowConn = nil, nil, nil, nil, nil, nil, nil, nil, nil local MobileControls = nil local savedLighting = {} _G.PMCCHub_ESPObjects = _G.PMCCHub_ESPObjects or {} _G.PMCCHub_PlatformInputConnections = _G.PMCCHub_PlatformInputConnections or {} -- Character Update LocalPlayer.CharacterAdded:Connect(function(newChar) character = newChar humanoid = newChar:WaitForChild("Humanoid") rootPart = newChar:WaitForChild("HumanoidRootPart") end) -- Fly function enableFly(enable) FlyEnabled = enable if not enable then if BodyVelocity then BodyVelocity:Destroy(); BodyVelocity = nil end if BodyGyro then BodyGyro:Destroy(); BodyGyro = nil end return end if rootPart then BodyVelocity = Instance.new("BodyVelocity") BodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge) BodyVelocity.Velocity = Vector3.new(0,0,0) BodyVelocity.Parent = rootPart BodyGyro = Instance.new("BodyGyro") BodyGyro.MaxTorque = Vector3.new(math.huge, math.huge, math.huge) BodyGyro.CFrame = rootPart.CFrame BodyGyro.Parent = rootPart end end -- Noclip function enableNoclip(enable) NoclipEnabled = enable if not enable then if NoclipConnection then NoclipConnection:Disconnect(); NoclipConnection = nil end for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = true end end return end NoclipConnection = RunService.Stepped:Connect(function() for _, part in pairs(character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end) end -- Infinite Jump function enableInfiniteJump(enable) InfiniteJumpEnabled = enable if not enable then if InfiniteJumpConnection then InfiniteJumpConnection:Disconnect(); InfiniteJumpConnection = nil end return end InfiniteJumpConnection = UserInputService.JumpRequest:Connect(function() if InfiniteJumpEnabled and humanoid then humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end) end -- ESP function enableESP(enable) ESPEnabled = enable if not enable then if ESPConnection then ESPConnection:Disconnect(); ESPConnection = nil end for _, obj in pairs(_G.PMCCHub_ESPObjects) do if obj.Highlight then obj.Highlight:Destroy() end if obj.BillboardGui then obj.BillboardGui:Destroy() end end _G.PMCCHub_ESPObjects = {} return end local function addESP(plr) if plr == LocalPlayer then return end local function setupESP(char) if not char then return end local head = char:FindFirstChild("Head") if not head then return end local highlight = Instance.new("Highlight") highlight.Adornee = head highlight.FillColor = Color3.fromRGB(255,255,255) highlight.OutlineColor = Color3.fromRGB(0,0,0) highlight.FillTransparency = 0.6 highlight.Parent = head local billboard = Instance.new("BillboardGui") billboard.Adornee = head billboard.Size = UDim2.new(0,100,0,25) billboard.StudsOffset = Vector3.new(0,2,0) billboard.AlwaysOnTop = true billboard.Parent = head local distanceLabel = Instance.new("TextLabel") distanceLabel.Size = UDim2.new(1,0,1,0) distanceLabel.BackgroundTransparency = 1 distanceLabel.Text = "0 studs" distanceLabel.TextColor3 = Color3.fromRGB(255,255,255) distanceLabel.Font = Enum.Font.GothamBold distanceLabel.TextSize = 14 distanceLabel.Parent = billboard _G.PMCCHub_ESPObjects[plr] = {Highlight=highlight, BillboardGui=billboard, DistanceLabel=distanceLabel} end if plr.Character then setupESP(plr.Character) end plr.CharacterAdded:Connect(setupESP) end for _, p in pairs(Players:GetPlayers()) do addESP(p) end ESPConnection = Players.PlayerAdded:Connect(function(p) if ESPEnabled then addESP(p) end end) RunService.RenderStepped:Connect(function() if not ESPEnabled then return end local localRoot = rootPart if not localRoot then return end for plr, obj in pairs(_G.PMCCHub_ESPObjects) do local pr = plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") if pr and obj.DistanceLabel then local dist = (localRoot.Position - pr.Position).Magnitude obj.DistanceLabel.Text = string.format("%.1f studs", dist) end end end) end -- Platform function enablePlatform(enable) PlatformEnabled = enable if not enable then if PlatformConnection then PlatformConnection:Disconnect(); PlatformConnection = nil end if PlatformPart then PlatformPart:Destroy(); PlatformPart=nil end for _, conn in pairs(_G.PMCCHub_PlatformInputConnections) do conn:Disconnect() end _G.PMCCHub_PlatformInputConnections = {} platformUp, platformDown=false,false return end if rootPart then PlatformPart = Instance.new("Part") PlatformPart.Size = Vector3.new(6,0.5,6) PlatformPart.Position = rootPart.Position - Vector3.new(0,3,0) PlatformPart.Anchored = true PlatformPart.CanCollide = true PlatformPart.BrickColor = BrickColor.new("Institutional white") PlatformPart.Parent = Workspace PlatformConnection = RunService.RenderStepped:Connect(function(dt) if PlatformEnabled and rootPart and PlatformPart then PlatformPart.Position = Vector3.new(rootPart.Position.X, PlatformPart.Position.Y, rootPart.Position.Z) if platformUp then PlatformPart.Position += Vector3.new(0, PlatformSpeed*dt,0) elseif platformDown then PlatformPart.Position -= Vector3.new(0, PlatformSpeed*dt,0) end end end) if UserInputService.KeyboardEnabled then table.insert(_G.PMCCHub_PlatformInputConnections, UserInputService.InputBegan:Connect(function(input, processed) if processed or not PlatformEnabled then return end if input.KeyCode==Enum.KeyCode.E then platformUp=true elseif input.KeyCode==Enum.KeyCode.Q then platformDown=true end end)) table.insert(_G.PMCCHub_PlatformInputConnections, UserInputService.InputEnded:Connect(function(input) if input.KeyCode==Enum.KeyCode.E then platformUp=false elseif input.KeyCode==Enum.KeyCode.Q then platformDown=false end end)) end end end -- Fullbright function setFullbright(enable) if enable then savedLighting.Brightness = Lighting.Brightness savedLighting.Ambient = Lighting.Ambient savedLighting.ClockTime = Lighting.ClockTime savedLighting.GlobalShadows = Lighting.GlobalShadows Lighting.Brightness = 2 Lighting.Ambient = Color3.fromRGB(200,200,200) Lighting.GlobalShadows = false else if savedLighting.Brightness then Lighting.Brightness=savedLighting.Brightness end if savedLighting.Ambient then Lighting.Ambient=savedLighting.Ambient end if savedLighting.ClockTime then Lighting.ClockTime=savedLighting.ClockTime end if savedLighting.GlobalShadows~=nil then Lighting.GlobalShadows=savedLighting.GlobalShadows end end end local Players = game:GetService("Players") local LP = Players.LocalPlayer local Camera = workspace.CurrentCamera ------------------------------------------------- -- TELEPORT TO PLAYER ------------------------------------------------- Tab:CreateSection("Teleport to Player") local Players = game:GetService("Players") local LP = Players.LocalPlayer local Camera = workspace.CurrentCamera local function getPlayerNames() local names = {} for _, p in pairs(Players:GetPlayers()) do if p ~= LP then table.insert(names, p.Name) end end return names end local targetPlayerName = nil local TPDropdown = Tab:CreateDropdown({ Name = "Select Player", Options = getPlayerNames(), CurrentOption = "None", Flag = "TPPlayer", Callback = function(option) targetPlayerName = option end }) Players.PlayerAdded:Connect(function() TPDropdown:UpdateOptions(getPlayerNames()) end) Players.PlayerRemoving:Connect(function() TPDropdown:UpdateOptions(getPlayerNames()) end) Tab:CreateButton({ Name = "Teleport To Player", Callback = function() if not targetPlayerName then Notify("No player selected") return end local char = LP.Character local root = char and char:FindFirstChild("HumanoidRootPart") if not root then Notify("Your character not ready") return end local targetPlayer = Players:FindFirstChild(targetPlayerName) if not targetPlayer then Notify("Target player not found") return end local targetChar = targetPlayer.Character or targetPlayer.CharacterAdded:Wait() local targetRoot = targetChar:WaitForChild("HumanoidRootPart", 5) if not targetRoot then Notify("Target took too long to load") return end root.CFrame = targetRoot.CFrame + Vector3.new(0, 3, 0) Notify("Teleported to " .. targetPlayerName) end }) ------------------------------------------------- -- SPECTATE ------------------------------------------------- Tab:CreateSection("Spectate") Tab:CreateButton({ Name = "Spectate Selected Player", Callback = function() if not targetPlayerName then Notify("No player selected") return end local targetPlayer = Players:FindFirstChild(targetPlayerName) if targetPlayer and targetPlayer.Character then local hum = targetPlayer.Character:FindFirstChildOfClass("Humanoid") if hum then Camera.CameraSubject = hum Notify("Spectating " .. targetPlayerName) end end end }) Tab:CreateButton({ Name = "Stop Spectate", Callback = function() local char = LP.Character if char then local hum = char:FindFirstChildOfClass("Humanoid") if hum then Camera.CameraSubject = hum Notify("Stopped spectating") end end end }) LP.CharacterAdded:Connect(function(char) local hum = char:WaitForChild("Humanoid") hum.WalkSpeed = savedWalk hum.JumpPower = savedJump end) local Tab = Window:CreateTab("Misc", 4483362458) local Players = game:GetService("Players") local TeleportService = game:GetService("TeleportService") local LP = Players.LocalPlayer local StarterGui = game:GetService("StarterGui") -- Misc Tab:CreateSection("Misc") Tab:CreateButton({Name="Auto Heal", Callback=function() autoHeal() Notify("Auto Heal Enabled") end}) Tab:CreateButton({Name="Respawn", Callback=function() respawnPlayer() Notify("Respawning") end}) Tab:CreateButton({Name="Unlock FPS", Callback=function() unlockFPS() Notify("FPS Unlocked") end}) Tab:CreateButton({Name="Rejoin Same Server", Callback=function() rejoinSame() end}) Tab:CreateButton({Name="Rejoin New Server", Callback=function() rejoinNew() end}) -- Private / Restrictive Server Button Tab:CreateButton({ Name = "Create Private Server", Callback = function() -- Notify player pcall(function() StarterGui:SetCore("SendNotification", { Title = "PMC.C Hub", Text = "Creating a private server...", Duration = 4 }) end) -- Kick all other players immediately for _, plr in pairs(Players:GetPlayers()) do if plr ~= LP then plr:Kick("This server is now private!") end end -- Listen for new players joining and kick them Players.PlayerAdded:Connect(function(plr) if plr ~= LP then plr:Kick("This server is private!") end end) -- Optionally teleport yourself to the same game to ensure server exclusivity TeleportService:Teleport(game.PlaceId, LP) end }) local Tab = Window:CreateTab("Movement", 4483362458) local Players = game:GetService("Players") local TeleportService = game:GetService("TeleportService") local LP = Players.LocalPlayer local StarterGui = game:GetService("StarterGui") ------------------------------------------------- -- MOVEMENT ------------------------------------------------- Tab:CreateSection("Movement") local savedWalk = 16 local savedJump = 50 Tab:CreateSlider({ Name = "WalkSpeed", Range = {16, 200}, Increment = 1, CurrentValue = savedWalk, Callback = function(v) savedWalk = v local hum = LP.Character and LP.Character:FindFirstChildOfClass("Humanoid") if hum then hum.WalkSpeed = v end end }) Tab:CreateSlider({ Name = "JumpPower", Range = {50, 300}, Increment = 5, CurrentValue = savedJump, Callback = function(v) savedJump = v local hum = LP.Character and LP.Character:FindFirstChildOfClass("Humanoid") if hum then hum.JumpPower = v end end })