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 Button = Instance.new("TextButton")
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ResetOnSpawn = false
- Frame.Size = UDim2.new(0, 200, 0, 100)
- Frame.Position = UDim2.new(0.5, -100, 0.5, -50)
- Frame.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
- Frame.Parent = ScreenGui
- Frame.Active = true
- Frame.Draggable = true
- Button.Size = UDim2.new(0, 180, 0, 50)
- Button.Position = UDim2.new(0, 10, 0, 25)
- Button.Text = "Invisible"
- Button.BackgroundColor3 = Color3.new(0.4, 0.4, 0.4)
- Button.TextColor3 = Color3.new(1, 1, 1)
- Button.Font = Enum.Font.SourceSans
- Button.TextSize = 24
- Button.Parent = Frame
- local function Inv()
- local player = game.Players.LocalPlayer
- local position = player.Character.HumanoidRootPart.Position
- player.Character:MoveTo(position + Vector3.new(0, 1000000, 0))
- wait(0.1)
- local humanoidrootpart = player.Character.HumanoidRootPart:Clone()
- wait(0.1)
- player.Character.HumanoidRootPart:Destroy()
- humanoidrootpart.Parent = player.Character
- player.Character:MoveTo(position)
- wait()
- player.Character.Torso.Transparency = 0.5
- player.Character.Head.Transparency = 0.5
- player.Character["Left Arm"].Transparency = 0.5
- player.Character["Right Arm"].Transparency = 0.5
- player.Character["Left Leg"].Transparency = 0.5
- player.Character["Right Leg"].Transparency = 0.5
- player.Character.Humanoid:RemoveAccessories()
- player.Character.Head.face:Destroy()
- end
- Button.MouseButton1Click:Connect(function()
- Inv()
- game:GetService("StarterGui"):SetCore("SendNotification", {
- Title = "Invisible Gui",
- Text = "Made By the_king.78",
- Duration = 12
- })
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement