Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Loading aPlaySoloFinobeSCRIPT by sandboxed...")
- Player = nil
- SG = Instance.new("ScreenGui", game.CoreGui)
- SG.Name = "playSoloGui"
- Btn = Instance.new("ImageButton", SG)
- Btn.Name = "PlaySoloBtn"
- Btn.Position = UDim2.new(0.5, -40, 0, 0)
- Btn.Size = UDim2.new(0, 52, 0, 60)
- Btn.BackgroundColor3 = Color3.new(1, 1, 1)
- Btn.BorderColor3 = Color3.new(0, 0, 0)
- Btn.BackgroundTransparency = 0.5
- Btn.Image = "rbxassetid://408721206"
- Btn.ZIndex = 10
- Btn.Visible = true
- TL1 = Instance.new("TextLabel", SG)
- TL1.Name = "PlaySoloText"
- TL1.Position = UDim2.new(0.5, 20, 0, 20)
- TL1.Size = UDim2.new(0, 150, 0, 20)
- TL1.BackgroundColor3 = Color3.new(1, 1, 1)
- TL1.BorderColor3 = Color3.new(0, 0, 0)
- TL1.BackgroundTransparency = 0.7
- TL1.Text = "<- Click me to Play Solo!"
- TL1.ZIndex = 10
- TL1.TextScaled = true
- TL1.Visible = false
- TL2 = Instance.new("TextButton", SG)
- TL2.Name = "DieReminderText"
- TL2.Position = UDim2.new(0.25, 0, 0, 0)
- TL2.Size = UDim2.new(0.5, 0, 0, 62)
- TL2.BackgroundColor3 = Color3.new(1, 1, 1)
- TL2.BorderColor3 = Color3.new(0, 0, 0)
- TL2.BackgroundTransparency = 0.7
- TL2.Text = "Exit Play Solo - [Enter Edit Mode]"
- TL2.ZIndex = 10
- TL2.TextScaled = true
- TL2.Visible = false
- LocalText = Instance.new("TextButton", SG)
- LocalText.Name = "DieReminderText"
- LocalText.Position = UDim2.new(0.1, 0, 0.25, 0)
- LocalText.Size = UDim2.new(0.8, 0, 0.5, 0)
- LocalText.BackgroundColor3 = Color3.new(1, 1, 1)
- LocalText.BorderColor3 = Color3.new(0, 0, 0)
- LocalText.BackgroundTransparency = 0
- LocalText.Text = "Unfortunately, it is impossible to use Play Solo again due to limitations with the Roblox / Finobe Engine."
- LocalText.ZIndex = 10
- LocalText.TextScaled = true
- LocalText.Visible = false
- LocalText.MouseButton1Down:connect(function()
- SG:Remove()
- end)
- function main()
- debounce = false
- game.CoreGui.playSoloGui.PlaySoloBtn.Visible = false
- game.CoreGui.playSoloGui.PlaySoloText.Visible = false
- local function main0()
- Player = game.Players:CreateLocalPlayer(0)
- end
- success, errorM = pcall(main0)
- if not success then
- Player = "no"
- print("-----------------------------")
- print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
- print("An error occurred: " .. errorM)
- print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
- print("-----------------------------")
- if Player == "no" then
- Btn.Visible = false
- TL1.Visible = false
- TL2.Visible = false
- LocalText.Visible = true
- wait(0.1)
- Btn.Visible = false
- TL1.Visible = false
- end
- end
- if Player ~= "no" then
- game:GetService("RunService"):run()
- Player:LoadCharacter()
- TL2.Visible = true
- wait(0.1)
- TL1.Visible = false
- Player.Character.Humanoid.Died:connect(function()
- if not debounce then
- debounce = true
- wait(5.1)
- Player:LoadCharacter()
- wait(0.1)
- game:GetService("RunService"):run()
- end
- end)
- wait(0.9)
- TL2.MouseButton1Down:connect(function()
- Btn.Visible = true
- TL1.Visible = false
- TL2.Visible = false
- wait(0.1)
- Btn.Position = UDim2.new(0.5, -40, 1, -60)
- TL1.Position = UDim2.new(0.5, 20, 1, -40)
- game.Workspace.Player:Remove()
- game.Players.Player:Remove()
- game.Workspace.CurrentCamera:Remove()
- game.CoreGui.RobloxGui:Remove()
- Player = "no"
- wait(0.1)
- game:GetService("RunService"):reset()
- end)
- end
- end
- function main2()
- TL1.Visible = true
- end
- function main3()
- TL1.Visible = false
- end
- wait(0.1)
- TL1.Visible = false
- Btn.MouseButton1Down:connect(main)
- Btn.MouseEnter:connect(main2)
- Btn.MouseLeave:connect(main3)
- print("aPlaySoloFinobeSCRIPT by sandboxed has loaded.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement