Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local Close = Instance.new("TextButton")
- local Teleport = Instance.new("TextButton")
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ScreenGui.Enabled = false
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0.223529, 0.223529, 0.223529)
- Frame.Position = UDim2.new(0.400000006, 0, 0.389929742, 0)
- Frame.Size = UDim2.new(0, 250, 0, 187)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(0.172549, 0.172549, 0.172549)
- TextLabel.Size = UDim2.new(0, 250, 0, 50)
- TextLabel.Font = Enum.Font.SourceSansSemibold
- TextLabel.Text = "Plane has arrived"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 30
- Close.Name = "Close"
- Close.Parent = Frame
- Close.BackgroundColor3 = Color3.new(0.172549, 0.172549, 0.172549)
- Close.Position = UDim2.new(0.100000009, 0, 0.668235302, 0)
- Close.Size = UDim2.new(0, 200, 0, 50)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "Close"
- Close.TextColor3 = Color3.new(1, 1, 1)
- Close.TextSize = 20
- Teleport.Name = "Teleport"
- Teleport.Parent = Frame
- Teleport.BackgroundColor3 = Color3.new(0.172549, 0.172549, 0.172549)
- Teleport.Position = UDim2.new(0.100000001, 0, 0.362036705, 0)
- Teleport.Size = UDim2.new(0, 200, 0, 50)
- Teleport.Font = Enum.Font.SourceSansSemibold
- Teleport.Text = "Teleport"
- Teleport.TextColor3 = Color3.new(1, 1, 1)
- Teleport.TextSize = 20
- -- Scripts:
- function SCRIPT_UKCP85_FAKESCRIPT() -- Close.Close
- local script = Instance.new('LocalScript')
- script.Parent = Close
- script.Parent.MouseButton1Click:Connect(function()
- script.Parent.Parent.Parent.Enabled = false
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_UKCP85_FAKESCRIPT))
- function SCRIPT_MWOT65_FAKESCRIPT() -- Teleport.Teleport
- local script = Instance.new('LocalScript')
- script.Parent = Teleport
- script.Parent.MouseButton1Click:Connect(function()
- CargoPlanePos = game.Workspace.CargoPlane.Plane.Tele1.CFrame
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.CargoPlane.Plane.Tele1.CFrame
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_MWOT65_FAKESCRIPT))
- while wait(1) do
- Plane = game.Workspace.CargoPlane:FindFirstChild("Plane")
- if Plane then
- ScreenGui.Enabled = true
- while Plane do
- Plane = game.Workspace.CargoPlane:FindFirstChild("Plane")
- wait(1)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement