Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made by SWP360_Hacked
- -- Objects
- local player = game.Players.LocalPlayer
- local ControlGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextButton = Instance.new("TextButton")
- local PlayerUser = Instance.new("TextBox")
- local Credits = Instance.new("TextLabel")
- -- Properties
- ControlGui.Name = "ControlGui"
- ControlGui.Parent = player.PlayerGui
- Frame.Parent = ControlGui
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.BackgroundTransparency = 0.5
- Frame.Position = UDim2.new(0.26081425, 0, 0.313559324, 0)
- Frame.Size = UDim2.new(0, 376, 0, 198)
- Frame.Draggable = true
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton.BackgroundTransparency = 0.5
- TextButton.Position = UDim2.new(0.224734023, 0, 0.590909123, 0)
- TextButton.Size = UDim2.new(0, 206, 0, 50)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Control"
- TextButton.TextColor3 = Color3.new(1, 1, 1)
- TextButton.TextScaled = true
- TextButton.TextSize = 14
- TextButton.TextWrapped = true
- TextButton.MouseButton1Down:connect(function()
- TextButton.MouseButton1Down:connect(function()
- if TextButton.Text == "Control" then
- TextButton.Text = "UnControl"
- workspace[PlayerUser.Text].Humanoid.PlatformStand = true
- W1 = Instance.new("Weld",workspace)
- W1.Name = "Weld1"
- W1.Part0 = player.Character.Torso
- W1.Part1 = workspace[PlayerUser.Text].Torso
- W2 = Instance.new("Weld",workspace)
- W2.Name = "Weld2"
- W2.Part0 = player.Character.Head
- W2.Part1 = workspace[PlayerUser.Text].Head
- W3 = Instance.new("Weld",workspace)
- W3.Name = "Weld3"
- W3.Part0 = player.Character.HumanoidRootPart
- W3.Part1 = workspace[PlayerUser.Text].HumanoidRootPart
- W4 = Instance.new("Weld",workspace)
- W4.Name = "Weld4"
- W4.Part0 = player.Character["Left Arm"]
- W4.Part1 = workspace[PlayerUser.Text]["Left Arm"]
- W5 = Instance.new("Weld",workspace)
- W5.Name = "Weld5"
- W5.Part0 = player.Character["Left Leg"]
- W5.Part1 = workspace[PlayerUser.Text]["Left Leg"]
- W6 = Instance.new("Weld",workspace)
- W6.Name = "Weld6"
- W6.Part0 = player.Character["Right Arm"]
- W6.Part1 = workspace[PlayerUser.Text]["Right Arm"]
- W7 = Instance.new("Weld",workspace)
- W7.Name = "Weld7"
- W7.Part0 = player.Character["Right Leg"]
- W7.Part1 = workspace[PlayerUser.Text]["Right Leg"]
- for i,v in pairs(player.Character:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = 1
- end
- player.Character.HumanoidRootPart.Transparency = 1
- if v.ClassName == "Accessory" then
- v.Handle.Transparency = 1
- end
- player.Character.Humanoid.NameOcclusion = "NoOcclusion"
- end
- elseif TextButton.Text == "UnControl" then
- TextButton.Text = "Control"
- workspace[PlayerUser.Text].Humanoid.PlatformStand = false
- workspace.Weld1:Remove()
- workspace.Weld2:Remove()
- workspace.Weld3:Remove()
- workspace.Weld4:Remove()
- workspace.Weld5:Remove()
- workspace.Weld6:Remove()
- workspace.Weld7:Remove()
- for i,v in pairs(player.Character:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = 0
- end
- player.Character.HumanoidRootPart.Transparency = 1
- if v.ClassName == "Accessory" then
- v.Handle.Transparency = 0
- end
- player.Character.Humanoid.NameOcclusion = "OccludeAll"
- end
- end
- end)
- end)
- PlayerUser.Parent = Frame
- PlayerUser.BackgroundColor3 = Color3.new(0, 0, 0)
- PlayerUser.BackgroundTransparency = 0.5
- PlayerUser.Position = UDim2.new(0.039893616, 0, 0.12626262, 0)
- PlayerUser.Size = UDim2.new(0, 345, 0, 50)
- PlayerUser.Font = Enum.Font.SourceSans
- PlayerUser.Text = "Username"
- PlayerUser.TextColor3 = Color3.new(1, 1, 1)
- PlayerUser.TextScaled = true
- PlayerUser.TextSize = 14
- PlayerUser.TextWrapped = true
- Credits.Name = "Credits"
- Credits.Parent = Frame
- Credits.BackgroundColor3 = Color3.new(1, 1, 1)
- Credits.BackgroundTransparency = 5
- Credits.Position = UDim2.new(0, 0, 0.843434334, 0)
- Credits.Size = UDim2.new(0, 376, 0, 31)
- Credits.Font = Enum.Font.SourceSans
- Credits.Text = "Made by: SWP360_Hacked"
- Credits.TextColor3 = Color3.new(1, 1, 1)
- Credits.TextScaled = true
- Credits.TextSize = 14
- Credits.TextWrapped = true
- ----- Warns -------
- warn("Made by: SWP360_Hacked")
- warn("Welcome to Control GUI, "..game:GetService("Players").LocalPlayer.Name.." Suh dude")
- warn("SWP360_Hacked made this not you...")
- warn("Do you know who sucks? "..game:GetService("Players").LocalPlayer.Name.." Yup you suck...")
- ----- End of warns-------
- --------- Yourself Control--------
- TextButton.MouseButton1Down:connect(function()
- if PlayerUser.Text == game.Players.LocalPlayer.Name then
- Credits.Text = "You can't control yourself!"
- wait(2)
- Credits.Text = "You will break the GUI if you continue!"
- TextButton.Active = false
- ControlGui:Remove()
- wait(5)
- Credits.Text = "Made by: SWP360_Hacked"
- TextButton.Active = true
- else
- wait()
- end
- end)
- ---------- Not done yet... -------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement