Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- if game.CoreGui:findFirstChild("FE GUI") then
- game.CoreGui["FE GUI"]:remove()
- end
- local FEGUI = Instance.new("ScreenGui")
- local Open = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local FEKill = Instance.new("TextButton")
- local FEPunish = Instance.new("TextButton")
- local PlayerName = Instance.new("TextBox")
- local CG = game.CoreGui
- -- Properties
- FEGUI.Name = "FE GUI"
- FEGUI.Parent = CG
- local CGG = CG["FE GUI"]
- Open.Name = "Open"
- Open.Parent = FEGUI
- Open.BackgroundColor3 = Color3.new(1, 1, 1)
- Open.Position = UDim2.new(0, 0, 0, 350)
- Open.Size = UDim2.new(0, 105, 0, 25)
- Open.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- Open.Font = Enum.Font.Cartoon
- Open.FontSize = Enum.FontSize.Size18
- Open.Text = "Open \/ Close"
- Open.TextSize = 18
- Frame.Parent = FEGUI
- Frame.BackgroundColor3 = Color3.new(1, 0.760784, 0.423529)
- Frame.Position = UDim2.new(0, 400, 0, 200)
- Frame.Size = UDim2.new(0, 300, 0, 300)
- Frame.Active = true
- Frame.Draggable = true
- Frame.Visible = false
- Title.Name = "Title"
- Title.Parent = Frame
- Title.BackgroundColor3 = Color3.new(1, 0.482353, 0.482353)
- Title.Size = UDim2.new(0, 300, 0, 30)
- Title.Font = Enum.Font.Code
- Title.FontSize = Enum.FontSize.Size18
- Title.Text = "FE Gui"
- Title.TextSize = 16
- FEKill.Name = "FEKill"
- FEKill.Parent = Frame
- FEKill.BackgroundColor3 = Color3.new(0.368627, 0.654902, 1)
- FEKill.Position = UDim2.new(0, 25, 0, 100)
- FEKill.Size = UDim2.new(0, 100, 0, 30)
- FEKill.Font = Enum.Font.Fantasy
- FEKill.FontSize = Enum.FontSize.Size18
- FEKill.Text = "FE Kill"
- FEKill.TextColor3 = Color3.new(1, 1, 1)
- FEKill.TextSize = 18
- FEPunish.Name = "FEPunish"
- FEPunish.Parent = Frame
- FEPunish.BackgroundColor3 = Color3.new(0.368627, 0.654902, 1)
- FEPunish.Position = UDim2.new(0, 175, 0, 100)
- FEPunish.Size = UDim2.new(0, 100, 0, 30)
- FEPunish.Font = Enum.Font.Fantasy
- FEPunish.FontSize = Enum.FontSize.Size18
- FEPunish.Text = "FE Punish"
- FEPunish.TextColor3 = Color3.new(1, 1, 1)
- FEPunish.TextSize = 18
- PlayerName.Name = "PlayerName"
- PlayerName.Parent = Frame
- PlayerName.BackgroundColor3 = Color3.new(1, 0.764706, 0.286275)
- PlayerName.Position = UDim2.new(0, 75, 0, 50)
- PlayerName.Size = UDim2.new(0, 150, 0, 30)
- PlayerName.Font = Enum.Font.SciFi
- PlayerName.FontSize = Enum.FontSize.Size18
- PlayerName.Text = "Player"
- PlayerName.TextColor3 = Color3.new(1, 1, 1)
- PlayerName.TextSize = 18
- CGG.Frame.FEKill.MouseButton1Down:connect(function()
- if PlayerName.Text == "all" then
- for i,v in pairs(game.Players:GetChildren()) do
- local char = game.Players[v].Character
- local target = game.Players[v]
- repeat
- wait()
- target:Move(Vector3.new(math.huge*0))
- until target.Character:FindFirstChild'Head' == nil
- end
- elseif PlayerName.Text == "others" then
- for i,v in pairs(game.Players:GetChildren()) do
- if not v.Name == game.Players.LocalPlayer.Name then
- local char = game.Players[v].Character
- local target = game.Players[v]
- repeat
- wait()
- target:Move(Vector3.new(math.huge*0))
- until target.Character:FindFirstChild'Head' == nil
- end
- end
- else
- local char = game.Players[PlayerName.Text].Character
- local target = game.Players[PlayerName.Text]
- repeat
- wait()
- target:Move(Vector3.new(math.huge*0))
- until target.Character:FindFirstChild'Head' == nil
- end
- end)
- Open.MouseButton1Down:connect(function()
- Frame.Visible = not Frame.Visible
- end)
- CGG.Frame.FEPunish.MouseButton1Down:connect(function()
- local lpChar = game.Players[PlayerName.Text].Character.Torso
- for i,plr in pairs (game.Players:GetChildren()) do
- if plr.Name ~= game.Players[PlayerName.Text].Name then
- for i,v in pairs (game.Players[PlayerName.Text].Character:GetChildren()) do
- if v.ClassName == 'Part' then
- if v.Name ~= 'Head' then
- v.Anchored = true
- end
- end
- end
- local w = Instance.new("Weld", lpChar)
- w.Part0 = lpChar
- w.Part1 = plr.Character.Torso
- w.C0 = lpChar.CFrame
- w.C1 = lpChar.CFrame * CFrame.new(0, 99999999, 0)
- wait(0.1)
- w:Destroy()
- for i,v in pairs (game.Players[PlayerName.Text].Character:GetChildren()) do
- if v.ClassName == 'Part' then
- if v.Name ~= 'Head' then
- v.Anchored = false
- end
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement