Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Strucid = Instance.new("ScreenGui")
- local MainGUI = Instance.new("Frame")
- local AIMBOT = Instance.new("TextButton")
- local ESP = Instance.new("TextButton")
- local NOSPREAD = Instance.new("TextButton")
- local HEADING = Instance.new("TextLabel")
- --Properties:
- Strucid.Name = "Strucid"
- Strucid.Parent = game.CoreGui
- MainGUI.Active = true
- MainGUI.Draggable = true
- MainGUI.Name = "MainGUI"
- MainGUI.Parent = Strucid
- MainGUI.BackgroundColor3 = Color3.new(0.760784, 0.760784, 0.760784)
- MainGUI.BackgroundTransparency = 0.25
- MainGUI.BorderColor3 = Color3.new(0.666667, 0.666667, 1)
- MainGUI.BorderSizePixel = 2
- MainGUI.Position = UDim2.new(0.383633614, 0, 0.327118635, 0)
- MainGUI.Size = UDim2.new(0, 177, 0, 228)
- AIMBOT.Name = "AIMBOT"
- AIMBOT.Parent = MainGUI
- AIMBOT.BackgroundColor3 = Color3.new(1, 0.666667, 1)
- AIMBOT.Position = UDim2.new(0.0790960416, 0, 0.162280694, 0)
- AIMBOT.Size = UDim2.new(0, 149, 0, 50)
- AIMBOT.Font = Enum.Font.SciFi
- AIMBOT.Text = "AIMBOT"
- AIMBOT.TextColor3 = Color3.new(0, 0, 0)
- AIMBOT.TextScaled = true
- AIMBOT.TextSize = 14
- AIMBOT.TextWrapped = true
- AIMBOT.MouseButton1Click:connect (function()--thanks Cyrus#6117 for help with the aimbot :)
- local gsCoreGui = game:GetService'CoreGui'
- local gsPlayers = game:GetService'Players'
- local gsRunService = game:GetService'RunService'
- local LP = gsPlayers.LocalPlayer
- local Mouse = LP:GetMouse()
- local FREE_FOR_ALL = false
- local AIM_AT = 'Head'
- local enabled = false
- local CC = workspace.CurrentCamera
- local function GetNearestPlayerToMouse()
- local PLAYERS = {}
- local PLAYER_HOLD = {}
- local DISTANCES = {}
- for i, v in pairs(gsPlayers:GetPlayers()) do
- if v ~= LP then
- table.insert(PLAYERS, v)
- end
- end
- for i, v in pairs(PLAYERS) do
- if FREE_FOR_ALL == false then
- if v and (v.Character) and v.TeamColor ~= LP.TeamColor then
- local AIM = v.Character:FindFirstChild(AIM_AT)
- if AIM then
- local DISTANCE = (AIM.Position - workspace.CurrentCamera.CoordinateFrame.p).magnitude
- local RAY = Ray.new(workspace.CurrentCamera.CoordinateFrame.p, (Mouse.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
- local HIT,POS = workspace:FindPartOnRay(RAY, workspace)
- local DIFF = math.floor((POS - AIM.Position).magnitude)
- PLAYER_HOLD[v.Name .. i] = {}
- PLAYER_HOLD[v.Name .. i].dist = DISTANCE
- PLAYER_HOLD[v.Name .. i].LP = v
- PLAYER_HOLD[v.Name .. i].diff = DIFF
- table.insert(DISTANCES, DIFF)
- end
- end
- elseif FREE_FOR_ALL then
- local AIM = v.Character:FindFirstChild(AIM_AT)
- if AIM then
- local DISTANCE = (AIM.Position - workspace.CurrentCamera.CoordinateFrame.p).magnitude
- local RAY = Ray.new(workspace.CurrentCamera.CoordinateFrame.p, (Mouse.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
- local HIT,POS = workspace:FindPartOnRay(RAY, workspace)
- local DIFF = math.floor((POS - AIM.Position).magnitude)
- PLAYER_HOLD[v.Name .. i] = {}
- PLAYER_HOLD[v.Name .. i].dist = DISTANCE
- PLAYER_HOLD[v.Name .. i].LP = v
- PLAYER_HOLD[v.Name .. i].diff = DIFF
- table.insert(DISTANCES, DIFF)
- end
- end
- end
- if unpack(DISTANCES) == nil then
- return false
- end
- local L_DISTANCE = math.floor(math.min(unpack(DISTANCES)))
- if L_DISTANCE > 20 then
- return false
- end
- for i, v in pairs(PLAYER_HOLD) do
- if v.diff == L_DISTANCE then
- return v.LP
- end
- end
- return false
- end
- Mouse.Button2Down:Connect(function(KEY)
- enabled = true
- end)
- Mouse.Button2Up:Connect(function(KEY)
- enabled = false
- end)
- gsRunService.RenderStepped:Connect(function()
- pcall(function()
- if enabled then
- local TARGET = GetNearestPlayerToMouse()
- if TARGET:IsFriendsWith(LP.UserId) then
- elseif (TARGET ~= false) then
- local AIM = TARGET.Character:FindFirstChild(AIM_AT)
- if AIM then
- CC.CoordinateFrame = CFrame.new(CC.CoordinateFrame.p, AIM.CFrame.p)
- end
- end
- end
- end)
- end)
- end)
- ESP.Name = "ESP"
- ESP.Parent = MainGUI
- ESP.BackgroundColor3 = Color3.new(1, 0.666667, 1)
- ESP.Position = UDim2.new(0.0790960416, 0, 0.421052635, 0)
- ESP.Size = UDim2.new(0, 149, 0, 50)
- ESP.Font = Enum.Font.SciFi
- ESP.Text = "ESP"
- ESP.TextColor3 = Color3.new(0, 0, 0)
- ESP.TextScaled = true
- ESP.TextSize = 14
- ESP.TextWrapped = true
- ESP.MouseButton1Click:connect (function()
- local plrs = game:service'Players';
- local function epic_esp(model)
- local human = model:WaitForChild('Humanoid',5);
- if human then
- human.HealthDisplayDistance = math.huge;
- human.HealthDisplayType = Enum.HumanoidHealthDisplayType.AlwaysOn;
- human.NameDisplayDistance = math.huge;
- human.NameOcclusion = Enum.NameOcclusion.NoOcclusion;
- end;
- end;
- for _,p in next,plrs:GetPlayers() do
- if p.Character~=nil then epic_esp(p.Character) end;
- p.CharacterAdded:Connect(function(c) epic_esp(c) end);
- end;
- plrs.PlayerAdded:Connect(function(p)
- p.CharacterAdded:Connect(function(c) epic_esp(c) end) ;
- end);
- end)
- NOSPREAD.Name = "NOSPREAD"
- NOSPREAD.Parent = MainGUI
- NOSPREAD.BackgroundColor3 = Color3.new(1, 0.666667, 1)
- NOSPREAD.Position = UDim2.new(0.0790960416, 0, 0.688596487, 0)
- NOSPREAD.Size = UDim2.new(0, 149, 0, 50)
- NOSPREAD.Font = Enum.Font.SciFi
- NOSPREAD.Text = "NOSPREAD (coming soon?)"
- NOSPREAD.TextColor3 = Color3.new(0, 0, 0)
- NOSPREAD.TextScaled = true
- NOSPREAD.TextSize = 14
- NOSPREAD.TextWrapped = true
- NOSPREAD.MouseButton1Click:connect (function()
- end)
- HEADING.Name = "HEADING"
- HEADING.Parent = MainGUI
- HEADING.BackgroundColor3 = Color3.new(1, 1, 1)
- HEADING.BackgroundTransparency = 1
- HEADING.BorderSizePixel = 0
- HEADING.Position = UDim2.new(0.0790960789, 0, 0.0263157897, 0)
- HEADING.Size = UDim2.new(0, 149, 0, 23)
- HEADING.Font = Enum.Font.Arcade
- HEADING.Text = "SuicidaL GUI"
- HEADING.TextColor3 = Color3.new(1, 0, 1)
- HEADING.TextScaled = true
- HEADING.TextSize = 16
- HEADING.TextWrapped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement