0% found this document useful (0 votes)
574 views3 pages

Roblox FE Kill GUI Script

This document contains code for creating a GUI in Roblox that allows killing another player's character. It creates frames, labels, text boxes and buttons to design the GUI interface and find the targeted player by name to kill their character.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Topics covered

  • User Experience,
  • Humanoid,
  • UI Elements,
  • Accessory,
  • Velocity,
  • Game Environment,
  • Placeholder Text,
  • Font,
  • Massless,
  • CFrame
0% found this document useful (0 votes)
574 views3 pages

Roblox FE Kill GUI Script

This document contains code for creating a GUI in Roblox that allows killing another player's character. It creates frames, labels, text boxes and buttons to design the GUI interface and find the targeted player by name to kill their character.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Topics covered

  • User Experience,
  • Humanoid,
  • UI Elements,
  • Accessory,
  • Velocity,
  • Game Environment,
  • Placeholder Text,
  • Font,
  • Massless,
  • CFrame

local ScreenGui = Instance.

new("ScreenGui")
local ui = [Link]("Frame")
local title = [Link]("TextLabel")
local Frame = [Link]("Frame")
local Username = [Link]("TextBox")
local Kill = [Link]("TextButton")
local cred = [Link]("TextLabel")
--Properties:
[Link] = game:GetService("CoreGui")
[Link] = [Link]

[Link] = "ui"
[Link] = ScreenGui
[Link] = true
ui.BackgroundColor3 = [Link](30, 30, 30)
[Link] = 0.20000000298023
[Link] = 0
[Link] = [Link](0.254972845, 0, 0.419703096, 0)
[Link] = [Link](0, 535, 0, 283)

[Link] = "title"
[Link] = ui
title.BackgroundColor3 = [Link](1, 1, 1)
[Link] = 1
[Link] = 0
[Link] = [Link](0, 0, 0.0199999996, 0)
[Link] = [Link](1, 0, 0, 50)
[Link] = [Link]
[Link] = "FE Kill By Synn"
title.TextColor3 = [Link](0, 0, 0)
[Link] = true
[Link] = 14
[Link] = true

[Link] = title
Frame.BackgroundColor3 = [Link](30,30,30)
[Link] = 0
[Link] = [Link](0.25, 0, 0.860000014, 0)
[Link] = [Link](0.5, 0, 0, 3)

[Link] = "Tag"
[Link] = ui
Username.BackgroundColor3 = [Link](1, 1, 1)
[Link] = 0
[Link] = [Link](0.100000001, 0, 0.300000012, 0)
[Link] = [Link](0.800000012, 0, 0, 50)
[Link] = [Link]
[Link] = "Name"
[Link] = ""
Username.TextColor3 = [Link](0, 0, 0)
[Link] = true
[Link] = 14
[Link] = true

[Link] = "Kill"
[Link] = ui
Kill.BackgroundColor3 = [Link](1, 1, 1)
[Link] = 0.20000000298023
[Link] = 2
[Link] = [Link](0.25, 0, 0.529999971, 0)
[Link] = [Link](0.5, 0, 0, 50)
[Link] = [Link]
[Link] = "KILL THAT NIGGER"
Kill.TextColor3 = [Link](0, 0, 0)
[Link] = true
[Link] = 14
[Link] = true

local Players = game:GetService("Players")


local LocalPlayer = [Link]
local function RemoveSpaces(String)
return String:gsub("%s+", "") or String
end

local function FindPlayer(String)


String = RemoveSpaces(String)
for _, _Player in pairs(Players:GetPlayers()) do
if _Player.Name:lower():match('^'.. String:lower()) then
return _Player
end
end
return nil
end

Kill.MouseButton1Click:Connect(function()
local Target = FindPlayer([Link])
if Target and [Link] then
local Character = [Link] or
[Link]:Wait()
local Torso = Character:FindFirstChild("Torso") or
Character:FindFirstChild("UpperTorso")

local savepos =
[Link]:FindFirstChild("HumanoidRootPart").CFrame
[Link] = true
local tool = [Link]("Tool", [Link])
local hat = [Link]:FindFirstChildOfClass("Accessory")
local hathandle = [Link]
[Link] = tool
[Link] = true
[Link] = [Link](0, 9e99, 0)
[Link] = [Link]
repeat wait() until [Link]:FindFirstChildOfClass("Tool")
~= nil
[Link] = [Link]([Link](0, 0, 0))
[Link] = false
repeat [Link]:FindFirstChild("HumanoidRootPart").CFrame =
[Link]:FindFirstChild("HumanoidRootPart").CFrame wait()
until [Link] == nil or
[Link]:FindFirstChild("Humanoid").Health <= 0 or [Link] ==
nil or [Link]:FindFirstChild("Humanoid").Health <= 0 or
([Link]:FindFirstChild("HumanoidRootPart").[Link] -
[Link]:FindFirstChild("Humanoid").WalkSpeed) >
([Link]:FindFirstChild("Humanoid").WalkSpeed + 20)
[Link]:FindFirstChild("Humanoid"):UnequipTools()
[Link] = hat
[Link] = false
tool:Destroy()
[Link]:FindFirstChild("HumanoidRootPart").CFrame = savepos
else
warn''
end
end)

You might also like