Advertisement
SigmaBoy456

Roblox FE kill all GUI v4

Jul 28th, 2024
28,875
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.76 KB | None | 0 0
  1. -- Script Description:
  2. -- This script is designed for use in Roblox games and manipulates players' positions using client-sided CFrame adjustments.
  3. -- It allows you to move players to a specified range in front of your character and set their walk speed to 0.
  4. -- what does this mean it mean like you can use tool and thing for example you have sword and gun in game Which this script made for Manipulate Hitbox client sided
  5. -- you can use those tool to Damage/hit/kill player that Bringed to you
  6. --even though this script is client sided but even is client sided other player can still see themselves died/Hitted/damaged
  7. -- This may not work in games with robust anti-cheat systems or hitbox checks.
  8. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  9. local Window = OrionLib:MakeWindow({Name = "FE kill all GUI v4 by MawinCK", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
  10.  
  11. local Tab = Window:MakeTab({
  12.     Name = "Tab",
  13.     Icon = "rbxassetid://4483345998",
  14.     PremiumOnly = false
  15. })
  16.  
  17. local Section = Tab:AddSection({
  18.     Name = "Section"
  19. })
  20.  
  21. local player = game.Players.LocalPlayer
  22. local character = player.Character or player.CharacterAdded:Wait()
  23. local localroot = character:WaitForChild("HumanoidRootPart")
  24.  
  25. local tableEnemy = {}
  26. for _, v in pairs(game.Workspace:GetDescendants()) do
  27.     if v:IsA("Model") and v.Name ~= player.Name and v:FindFirstChild("HumanoidRootPart") then
  28.         table.insert(tableEnemy, v.Name)
  29.     end
  30. end
  31.  
  32. game:GetService("Workspace").ChildAdded:Connect(function()
  33.     tableEnemy = {}
  34.     for _, v in pairs(game.Workspace:GetDescendants()) do
  35.         if v:IsA("Model") and v.Name ~= player.Name and v:FindFirstChild("HumanoidRootPart") then
  36.             table.insert(tableEnemy, v.Name)
  37.         end
  38.     end
  39. end)
  40.  
  41. game:GetService("Workspace").ChildRemoved:Connect(function()
  42.     tableEnemy = {}
  43.     for _, v in pairs(game.Workspace:GetDescendants()) do
  44.         if v:IsA("Model") and v.Name ~= player.Name and v:FindFirstChild("HumanoidRootPart") then
  45.             table.insert(tableEnemy, v.Name)
  46.         end
  47.     end
  48. end)
  49.  
  50. local selectedEnemy = nil
  51. Tab:AddDropdown({
  52.     Name = "Select Objective Thing to bring",
  53.     Default = "",
  54.     Options = tableEnemy,
  55.     Callback = function(Value)
  56.         selectedEnemy = Value
  57.     end
  58. })
  59.  
  60. local InputNumber = -5
  61. Tab:AddTextbox({
  62.     Name = "Distance of Bring(MUST USE NEGATIVE NUMBER)",
  63.     Default = tostring(InputNumber),
  64.     TextDisappear = true,
  65.     Callback = function(Value)
  66.         InputNumber = tonumber(Value)
  67.     end
  68. })
  69.  
  70. local TargetSelectedEnemyToggle = false
  71. local function TargetSelectedEnemy()
  72.     if TargetSelectedEnemyToggle and selectedEnemy then
  73.         spawn(function()
  74.             while TargetSelectedEnemyToggle and selectedEnemy do
  75.                 local WorkEnemy = game.Workspace:FindFirstChild(selectedEnemy)
  76.                 if WorkEnemy then
  77.                     local EnemyRoot = WorkEnemy:FindFirstChild("HumanoidRootPart")
  78.                     local EnemyHumanoid = WorkEnemy:FindFirstChild("Humanoid")
  79.                     if EnemyRoot and EnemyHumanoid and EnemyHumanoid.Health > 0 then
  80.                         EnemyRoot.CFrame = localroot.CFrame * CFrame.new(0, 0, InputNumber)
  81.                     end
  82.                 end
  83.                 game:GetService("RunService").Heartbeat:Wait()
  84.             end
  85.         end)
  86.     end
  87. end
  88.  
  89. game.Players.LocalPlayer.CharacterAdded:Connect(function(char)
  90.     character = char
  91.     localroot = character:WaitForChild("HumanoidRootPart")
  92. end)
  93.  
  94. Tab:AddToggle({
  95.     Name = "Target Selected Object",
  96.     Default = false,
  97.     Callback = function(state)
  98.         TargetSelectedEnemyToggle = state
  99.         if state then
  100.             TargetSelectedEnemy()
  101.         end
  102.     end
  103. })
  104.  
  105. local TargetAllToggle = false
  106. local function TargetAll(state)
  107.     TargetAllToggle = state
  108.     if state then
  109.         for _, v in pairs(game.Players:GetPlayers()) do
  110.             if v ~= player and v.Character then
  111.                 local JN = v.Character:FindFirstChild("HumanoidRootPart")
  112.                 local WR = v.Character:FindFirstChild("Humanoid")
  113.                 if JN and WR and WR.Health > 0 then
  114.                     spawn(function()
  115.                         while TargetAllToggle and JN and WR.Health > 0 do
  116.                             JN.CFrame = localroot.CFrame * CFrame.new(0, 0, InputNumber)
  117.                             game:GetService("RunService").Heartbeat:Wait()
  118.                         end
  119.                     end)
  120.                 end
  121.             end
  122.         end
  123.     end
  124. end
  125.  
  126. Tab:AddToggle({
  127.     Name = "Target All",
  128.     Default = false,
  129.     Callback = function(state)
  130.         TargetAll(state)
  131.     end
  132. })
  133.  
  134. local TargetAllWithTeamCheckToggle = false
  135. local function targetAllWithTeamCheck(state)
  136.     TargetAllWithTeamCheckToggle = state
  137.     if state then
  138.         for _, v in pairs(game.Players:GetPlayers()) do
  139.             if v ~= player and v.Character then
  140.                 local JNR = v.Character:FindFirstChild("HumanoidRootPart")
  141.                 local JK = v.Character:FindFirstChild("Humanoid")
  142.                 if JNR and JK and JK.Health > 0 then
  143.                     spawn(function()
  144.                         while TargetAllWithTeamCheckToggle and JNR and JK.Health > 0 do
  145.                             JNR.CFrame = localroot.CFrame * CFrame.new(0, 0, InputNumber)
  146.                             game:GetService("RunService").Heartbeat:Wait()
  147.                         end
  148.                     end)
  149.                 end
  150.             end
  151.         end
  152.     end
  153. end
  154.  
  155. Tab:AddToggle({
  156.     Name = "Target All But With Team Check",
  157.     Default = false,
  158.     Callback = function(state)
  159.         targetAllWithTeamCheck(state)
  160.     end
  161. })
  162.  
  163. OrionLib:Init()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement