Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local TeleportService = game:GetService("TeleportService")
- local ChatService = game:GetService("TextChatService")
- local HttpService = game:GetService("HttpService")
- local RunService = game:GetService("RunService")
- local Workspace = game:GetService("Workspace")
- local Players = game:GetService("Players")
- local Player = Players.LocalPlayer
- local PlayerGui = Player.PlayerGui
- local Admin = PlayerGui.Admin
- local PlaceId, JobId = game.PlaceId, game.JobId
- local Stalls = Workspace.Stalls
- _G.Configurations = {
- Prefix = ".",
- Whitelist = {985143698, 2745881210, 3078981620, 5454784383},
- Hide = false,
- LoopBring = false,
- Spectate = false,
- Axis = {X = 0, Y = -12, X = 0}
- }
- function Shorten(Username)
- local PlayerList = {}
- for _, CPlayer in pairs(Players:GetPlayers()) do
- if CPlayer.Name:lower():sub(1, #Username) == Username:lower() or CPlayer.DisplayName:lower():sub(1, #Username) == Username:lower() then
- table.insert(PlayerList, CPlayer)
- end
- end
- return PlayerList
- end
- function Say(Message)
- ChatService.TextChannels.RBXGeneral:SendAsync(Message)
- end
- function Hop()
- pcall(function()
- local Servers = {}
- for _, v in ipairs(HttpService:JSONDecode(game:HttpGetAsync("https://games.roblox.com/v1/games/" .. PlaceId .. "/servers/Public?sortOrder=Asc&limit=100")).data) do
- if type(v) == "table" and v.maxPlayers > v.playing and v.Id ~= JobId then
- Servers[#Servers + 1] = v.id
- end
- end
- if #Servers > 0 then
- TeleportService:TeleportToPlaceInstance(PlaceId, Servers[math.random(1, #Servers)])
- else
- print("Server not found.")
- end
- end)
- end
- function FindPlayer(Target)
- pcall(function()
- local FoundMyTargetC = false
- for _, v in ipairs(Players:GetPlayers()) do
- if v.Name == Target then
- FoundMyTargetC = true
- General:SendAsync("Server Found!")
- break
- end
- end
- if not FoundMyTargetC then
- Hop()
- end
- end)
- end
- function View(Target)
- _G.Configurations.Spectate = true
- while _G.Configurations.Spectate do task.wait()
- pcall(function()
- if _G.Configurations.Spectate then
- Workspace.CurrentCamera.CameraSubject = Target.Character.Humanoid
- end
- local Viewing = Players.ChildRemoved:Connect(function(Child)
- pcall(function()
- if Child.Name == Target.Name then
- _G.Configurations.Spectate = false
- Workspace.CurrentCamera.CameraSubject = Player.Character.Humanoid
- end
- Viewing:Disconnect()
- end)
- end)
- end)
- end
- end
- function UnView()
- pcall(function()
- _G.Configurations.Spectate = false
- Workspace.CurrentCamera.CameraSubject = Player.Character.Humanoid
- end)
- end
- for _, v in next, Admin:GetChildren() do
- if v.Name ~= "TextLabel" then
- v.Visible = true
- end
- end
- ChatService.MessageReceived:Connect(function(Message)
- for _, FoundPlayer in next, Players:GetPlayers() do
- if FoundPlayer ~= Player and table.find(_G.Configurations.Whitelist, FoundPlayer.UserId) then
- if Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "disconnect" then
- Player:Kick("You have been disconnected.")
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "bring" then
- Player.Character.HumanoidRootPart.CFrame = FoundPlayer.Character.HumanoidRootPart.CFrame
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "reset" then
- Player.Character:BreakJoints()
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "rejoin" then
- TeleportService:TeleportToPlaceInstance(PlaceId, JobId, Player)
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "hide" then
- _G.Configurations.Hide = true
- _G.Configurations.LoopBring = false
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "unhide" then
- _G.Configurations.Hide = false
- Player.Character.HumanoidRootPart.CFrame = FoundPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "loopbring" then
- _G.Configurations.LoopBring = true
- _G.Configurations.Hide = false
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "unloopbring" then
- _G.Configurations.LoopBring = false
- Player.Character.HumanoidRootPart.CFrame = FoundPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "hop" or Message.Text == _G.Configurations.Prefix .. "serverhop" then
- Hop()
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "findplayer" then
- FindPlayer("ChrisEsMiPapi")
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "spawn" then
- _G.Configurations.LoopBring = false
- _G.Configurations.Hide = false
- Player.Character.HumanoidRootPart.CFrame = FoundPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "unspawn" then
- Player.Character.HumanoidRootPart.CFrame = CFrame.new(25, 7.5, 86)
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "jump" then
- Player.Character.Humanoid:ChangeState("Jumping")
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "view" then
- View(FoundPlayer)
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "unview" then
- UnView()
- elseif Message.TextSource.UserId == FoundPlayer.UserId and Message.Text == _G.Configurations.Prefix .. "bypassvc" or Message.Text == _G.Configurations.Prefix .. "bypassvoicechat" then
- Say("Loading.")
- task.wait(.1)
- Say("Loading..")
- task.wait(.1)
- Say("Loading...")
- task.wait(.1)
- Say("Wait 1 Second(s) to bypass Voice Chat.")
- task.wait(1)
- Say("Roblox VoiceChat has been successfully bypassed.")
- end
- end
- end
- end)
- while task.wait() do
- pcall(function()
- if _G.Configurations.Hide then
- for _, FoundPlayer in next, Players:GetPlayers() do
- if FoundPlayer ~= Player and table.find(_G.Configurations.Whitelist, FoundPlayer.UserId) then
- Player.Character.HumanoidRootPart.Velocity = Vector3.new()
- Player.Character.HumanoidRootPart.CFrame = FoundPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(_G.Configurations.Axis.X, _G.Configurations.Axis.Y, _G.Configurations.Axis.Z)
- end
- end
- elseif _G.Configurations.LoopBring then
- for _, FoundPlayer in next, Players:GetPlayers() do
- if FoundPlayer ~= Player and table.find(_G.Configurations.Whitelist, FoundPlayer.UserId) then
- Player.Character.HumanoidRootPart.Velocity = Vector3.new()
- Player.Character.HumanoidRootPart.CFrame = FoundPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0)
- end
- end
- end
- end)
- pcall(function()
- for Iter = 1, 5 do
- Stalls["Stall" .. Iter].ProxPart.ProximityPrompt.Enabled = true
- Stalls["Stall" .. Iter].ProxPart.ProximityPrompt.HoldDuration = 0
- Stalls["Stall" .. Iter].ProxPart.ProximityPrompt.RequiresLineOfSight = false
- Stalls["Stall" .. Iter].ProxPart.ProximityPrompt.MaxActivationDistance = 25
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement