Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.PlaceId == 113323927469374 then
- local StarterGui = game:GetService("StarterGui")
- StarterGui:SetCore("SendNotification", {
- Title = "Script Made By",
- Text = "GhostPlayer",
- Icon = "rbxassetid://29819383",
- Duration = 2.5,
- })
- -- Admin Detector in Server
- loadstring(game:HttpGet('https://raw.githubusercontent.com/MainScripts352/MainScripts352/main/Admin'))()
- -- GUI
- local ScreenGui1 = Instance.new("ScreenGui")
- ScreenGui1.Parent = game.CoreGui
- local Frame1 = Instance.new("Frame")
- Frame1.Parent = ScreenGui1
- Frame1.BackgroundColor3 = Color3.fromRGB(199, 172, 120)
- Frame1.Position = UDim2.new(0.6, 0, 0.1, 0)
- Frame1.Size = UDim2.new(0.25, 0, 0.35, 0)
- Frame1.Draggable = true
- Frame1.Active = true
- Instance.new("UICorner", Frame1).CornerRadius = UDim.new(0.1, 0)
- Instance.new("UIStroke", Frame1).Color = Color3.fromRGB(248, 248, 248)
- local TextLabel1 = Instance.new("TextLabel")
- TextLabel1.Parent = Frame1
- TextLabel1.BackgroundTransparency = 1
- TextLabel1.Size = UDim2.new(1, 0, 0.3, 0)
- TextLabel1.Font = Enum.Font.SourceSansBold
- TextLabel1.TextColor3 = Color3.fromRGB(248, 248, 248)
- TextLabel1.Text = "Musical Chairs"
- TextLabel1.TextSize = 20
- local Frame2 = Instance.new("Frame")
- Frame2.Parent = Frame1
- Frame2.BackgroundColor3 = Color3.fromRGB(199, 172, 120)
- Frame2.Position = UDim2.new(0.1, 0, 0.35, 0)
- Frame2.Size = UDim2.new(0.8, 0, 0.5, 0)
- Instance.new("UICorner", Frame2).CornerRadius = UDim.new(0.1, 0)
- Instance.new("UIStroke", Frame2).Color = Color3.fromRGB(248, 248, 248)
- local TextButton1 = Instance.new("TextButton")
- TextButton1.Parent = Frame2
- TextButton1.BackgroundTransparency = 1
- TextButton1.Size = UDim2.new(0.98, 0, 0.98, 0)
- TextButton1.Position = UDim2.new(0.01, 0, 0.01, 0)
- TextButton1.Font = Enum.Font.SourceSansBold
- TextButton1.TextColor3 = Color3.fromRGB(248, 248, 248)
- TextButton1.Text = "Auto Sit"
- TextButton1.TextSize = 18
- TextButton1.TextScaled = true
- TextButton1.MouseButton1Down:Connect(function()
- Frame2.BackgroundColor3 = Color3.fromRGB(202, 191, 163)
- end)
- TextButton1.MouseLeave:Connect(function()
- Frame2.BackgroundColor3 = Color3.fromRGB(199, 172, 120)
- end)
- local AutoSit = false
- TextButton1.MouseButton1Click:Connect(function()
- AutoSit = not AutoSit
- TextButton1.Text = AutoSit and "UnAuto Sit" or "Auto Sit"
- end)
- -- Auto Sit Logic
- game:GetService("RunService").RenderStepped:Connect(function()
- if AutoSit then
- for _, v in pairs(workspace:WaitForChild("SpinnerStuff"):WaitForChild("ChairSpots"):GetDescendants()) do
- if v:IsA("BasePart") and v.Name == "Seat" and not v:FindFirstChild("SeatWeld") then
- v.Parent.Base.CanCollide = false
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.Parent.Base.CFrame * CFrame.new(0, 3, 0)
- end
- end
- end
- end)
- else
- -- Fake disconnect GUI
- local gui = Instance.new("ScreenGui", game.CoreGui)
- gui.Name = "FakeDisconnect"
- local frame = Instance.new("Frame", gui)
- frame.Size = UDim2.new(1, 0, 1.2, 0)
- frame.Position = UDim2.new(0, 0, -0.2, 0)
- frame.BackgroundColor3 = Color3.new(0, 0, 0)
- frame.BackgroundTransparency = 0.5
- local frame1 = Instance.new("Frame", frame)
- frame1.Size = UDim2.new(0.43, 0, 0.48, 0)
- frame1.Position = UDim2.new(0.27, 0, 0.28, 0)
- frame1.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- local line = Instance.new("Frame", frame1)
- line.Position = UDim2.new(0.1, 0, 0.28, 0)
- line.Size = UDim2.new(0.78, 0, 0.0001, 0)
- line.BackgroundColor3 = Color3.new(0, 0, 0)
- local function createLabel(parent, pos, text)
- local lbl = Instance.new("TextLabel", parent)
- lbl.BackgroundTransparency = 1
- lbl.Position = pos
- lbl.Size = UDim2.new(0.8, 0, 0.1, 0)
- lbl.TextColor3 = Color3.new(1, 1, 1)
- lbl.Font = Enum.Font.SourceSansLight
- lbl.TextScaled = true
- lbl.TextWrapped = true
- lbl.Text = text
- end
- local function createButton(parent, pos, txt, callback)
- local btn = Instance.new("TextButton", parent)
- btn.Position = pos
- btn.Size = UDim2.new(0.37, 0, 0.15, 0)
- btn.BackgroundColor3 = Color3.new(1, 1, 1)
- btn.TextColor3 = Color3.new(0, 0, 0)
- btn.Font = Enum.Font.SourceSansLight
- btn.TextScaled = true
- btn.Text = txt
- btn.MouseButton1Click:Connect(callback)
- end
- createLabel(frame1, UDim2.new(0.1, 0, 0.07, 0), "GhostPlayer")
- createLabel(frame1, UDim2.new(0.1, 0, 0.34, 0), "This Script is not Allowed in this Game")
- createLabel(frame1, UDim2.new(0.1, 0, 0.43, 0), "Do you want to Teleport in the game Script?")
- createLabel(frame1, UDim2.new(0.1, 0, 0.55, 0), "(Error Code: 267)")
- createButton(frame1, UDim2.new(0.1, 0, 0.7, 0), "Join", function()
- gui:Destroy()
- game:GetService("TeleportService"):Teleport(113323927469374)
- end)
- createButton(frame1, UDim2.new(0.52, 0, 0.7, 0), "No", function()
- gui:Destroy()
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment