Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Walkspeed
- game:GetService("Players").LocalPlayer.Character.LocalHumanoid.WalkSpeed = 100
- --Aimlock
- --[AimBot Settings]--
- local FreeForAll = false
- local AimingFor = "Head"
- local AutoAim = false
- local Chams = true
- local PointToAiming = false
- local IgnoreFOV = false
- --[End AimBot Settings]--
- --[AimBot HotKeys]--
- local ModeSwitch = "Q" --Changes whether games FFA or TDM (shoot at all or only enemies).
- local AimSwitch = "E" --Change where to shoot at the 'Head' or 'HumanoidRootPart'.
- local AutoAimKey = "P" --Change whether you manually lockon or auto-lockon.
- local ChamSwitch = "T" --Change whether chams(esp) is disabled or enabled)
- local PointSwitch = "I" --Change wherer to render a line between you and who you're aiming at.
- local WallSwitch = "Y" --Change whether to be able to aim at people through walls.
- --[End AimBot HotKeys]--
- --[[
- NOTHING BELOW HERE NEEDS TO BE EDITED
- NOTHING BELOW HERE NEEDS TO BE EDITED
- NOTHING BELOW HERE NEEDS TO BE EDITED
- NOTHING BELOW HERE NEEDS TO BE EDITED
- --]]
- --[[
- /$$$$$$ /$$ /$$ /$$$$$$$ /$$$$$$ /$$
- /$$__ $$ | $$ | $$ | $$__ $$ /$$__ $$ | $$
- | $$ \__/ /$$$$$$ /$$$$$$$ /$$$$$$ /$$$$$$$ | $$ \ $$ /$$ /$$ /$$ | $$ \__/ /$$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$ /$$$$$$
- | $$ /$$__ $$ /$$__ $$ /$$__ $$ /$$__ $$ | $$$$$$$ | $$ | $$|__/ | $$$$$$ /$$_____/ |____ $$ /$$__ $$|_ $$_/ /$$__ $$ /$$__ $$
- | $$ | $$ \ $$| $$ | $$| $$$$$$$$| $$ | $$ | $$__ $$| $$ | $$ \____ $$| $$ /$$$$$$$| $$ \ $$ | $$ | $$$$$$$$| $$ \__/
- | $$ $$| $$ | $$| $$ | $$| $$_____/| $$ | $$ | $$ \ $$| $$ | $$ /$$ /$$ \ $$| $$ /$$__ $$| $$ | $$ | $$ /$$| $$_____/| $$
- | $$$$$$/| $$$$$$/| $$$$$$$| $$$$$$$| $$$$$$$ | $$$$$$$/| $$$$$$$|__/ | $$$$$$/| $$$$$$$| $$$$$$$| $$$$$$$/ | $$$$/| $$$$$$$| $$
- \______/ \______/ \_______/ \_______/ \_______/ |_______/ \____ $$ \______/ \_______/ \_______/| $$____/ \___/ \_______/|__/
- /$$ | $$ | $$
- | $$$$$$/ | $$
- \______/ |__/
- --]]
- warn("[ScapAssist] Your Hotkeys Are: ModeSwitch["..ModeSwitch.."], AimSwitch["..AimSwitch.."], AutoAimKey["..AutoAimKey.."], ChamSwitch["..ChamSwitch.."], PointSwitch["..PointSwitch.."], WallSwitch["..WallSwitch.."]")
- --[Aimbot Hooks]--
- local AimingAt = nil
- local Distance = 0
- local Camera = game.Workspace.CurrentCamera
- local Mouse = game.Players.LocalPlayer:GetMouse()
- local MouseDown = false
- local Vals = {}
- local Dist = {}
- --[End Aimbot Hooks]--
- --[Aimbot Framework]--
- game:GetService("RunService").RenderStepped:connect(function()
- if game.Workspace:FindFirstChild(game.Players.LocalPlayer.Name) then
- for i,c in pairs(Vals) do
- table.remove(Vals, i)
- end
- for i,c in pairs(Dist) do
- table.remove(Dist, i)
- end
- for _,v in pairs(game.Players:GetChildren()) do
- if game.Workspace:FindFirstChild(v.Name) then
- if FreeForAll == true then
- if v.Name ~= game.Players.LocalPlayer.Name and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild(AimingFor) and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
- local Distance = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position-v.Character.HumanoidRootPart.Position).magnitude
- local Position,Bool = Camera:WorldToScreenPoint(v.Character[AimingFor].Position)
- if IgnoreFOV == false then
- if Bool == true then
- table.insert(Vals, {v.Name, Distance})
- table.insert(Dist, Distance)
- end
- else
- table.insert(Vals, {v.Name, Distance})
- table.insert(Dist, Distance)
- end
- end
- elseif FreeForAll == false then
- if v.Name ~= game.Players.LocalPlayer.Name and v.TeamColor ~= game.Players.LocalPlayer.TeamColor and v.Character:FindFirstChild("HumanoidRootPart") and v.Character:FindFirstChild(AimingFor) and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
- local Distance = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position-v.Character.HumanoidRootPart.Position).magnitude
- local Position,Bool = Camera:WorldToScreenPoint(v.Character[AimingFor].Position)
- if IgnoreFOV == false then
- if Bool == true then
- table.insert(Vals, {v.Name, Distance})
- table.insert(Dist, Distance)
- end
- else
- table.insert(Vals, {v.Name, Distance})
- table.insert(Dist, Distance)
- end
- end
- end
- end
- end
- for _,t in pairs(Vals) do
- if t[2] == math.min(unpack(Dist)) then
- AimingAt = t[1]
- end
- end
- if AutoAim == true or MouseDown == true and AimingAt ~= nil and game.Players[AimingAt].Character:FindFirstChild(AimingFor) and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
- local Position,Bool = Camera:WorldToScreenPoint(game.Players[AimingAt].Character[AimingFor].Position)
- if IgnoreFOV == true then
- if game.Players[AimingAt].Character:FindFirstChild(AimingFor) then
- Camera.CoordinateFrame = CFrame.new(Camera.Focus.p, game.Players[AimingAt].Character[AimingFor].Position)
- end
- elseif IgnoreFOV == false then
- if game.Players[AimingAt].Character:FindFirstChild(AimingFor) and Bool == true then
- Camera.CoordinateFrame = CFrame.new(Camera.Focus.p, game.Players[AimingAt].Character[AimingFor].Position)
- end
- end
- end
- if PointToAiming and AimingAt ~= nil and game.Players[AimingAt].Character:FindFirstChild(AimingFor) and game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
- if game.Players[AimingAt].Character[AimingFor]:FindFirstChild("Attachment") then
- game.Players[AimingAt].Character[AimingFor].Attachment:Destroy()
- end
- local Attach = Instance.new("Attachment")
- Attach.Parent = game.Players[AimingAt].Character[AimingFor]
- if game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("Attachment") then
- game.Players.LocalPlayer.Character.HumanoidRootPart.Attachment:Destroy()
- end
- local Attach2 = Instance.new("Attachment")
- Attach.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- if game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("RodConstraint") then
- game.Players.LocalPlayer.Character.HumanoidRootPart.RodConstraint:Destroy()
- end
- local Con = Instance.new("RodConstraint")
- Con.Attachment0 = Attach
- Con.Attachment1 = Attach2
- Con.Visible = true
- Con.Thickness = 5
- Con.Color = BrickColor.new("Lime green")
- Con.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- elseif not PointToAiming then
- if game.Players.LocalPlayer.Character.HumanoidRootPart:FindFirstChild("RodConstraint") then
- game.Players.LocalPlayer.Character.HumanoidRootPart.RodConstraint:Destroy()
- end
- end
- if Chams and AimingAt ~= nil and game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
- for _,q in pairs(Camera:GetChildren()) do
- if q:IsA("BoxHandleAdornment") then
- q:Destroy()
- end
- end
- for _,v in pairs(game.Players:GetChildren()) do
- if v.Name ~= game.Players.LocalPlayer.Name and game.Workspace:FindFirstChild(v.Name) then
- for _,c in pairs(v.Character:GetChildren()) do
- if c:IsA("BasePart") then
- if v.TeamColor == game.Players.LocalPlayer.TeamColor then
- local esp = Instance.new("BoxHandleAdornment", Camera)
- esp.Color3 = Color3.new(0, 255, 0)
- esp.Size = c.Size
- esp.AlwaysOnTop = true
- esp.ZIndex = 1
- esp.Adornee = c
- elseif v.TeamColor ~= game.Players.LocalPlayer.TeamColor then
- local esp = Instance.new("BoxHandleAdornment", Camera)
- esp.Color3 = Color3.new(255, 0, 0)
- esp.Size = c.Size
- esp.AlwaysOnTop = true
- esp.ZIndex = 1
- esp.Adornee = c
- end
- end
- end
- end
- end
- elseif not Chams then
- for _,q in pairs(Camera:GetChildren()) do
- if q:IsA("BoxHandleAdornment") then
- q:Destroy()
- end
- end
- end
- end
- end)
- game:GetService("UserInputService").InputBegan:connect(function(key)
- if key.UserInputType == Enum.UserInputType.Keyboard then
- if key.KeyCode == Enum.KeyCode[ModeSwitch] then
- if FreeForAll == true then
- FreeForAll = false
- warn("[ScapAssist] FreeForAll set to: false")
- else
- FreeForAll = true
- warn("[ScapAssist] FreeForAll set to: true")
- end
- elseif key.KeyCode == Enum.KeyCode[AimSwitch] then
- if AimingFor == "Head" then
- AimingFor = "HumanoidRootPart"
- elseif AimingFor == "HumanoidRootPart" then
- AimingFor = "Head"
- end
- warn("[ScapAssist] AimingFor set to: "..AimingFor)
- elseif key.KeyCode == Enum.KeyCode[AutoAimKey] then
- if AutoAim == true then
- AutoAim = false
- warn("[ScapAssist] AutoAim set to: false")
- else
- AutoAim = true
- warn("[ScapAssist] AutoAim set to: true")
- end
- elseif key.KeyCode == Enum.KeyCode[ChamSwitch] then
- if Chams == true then
- Chams = false
- warn("[ScapAssist] Chams set to: false")
- else
- Chams = true
- warn("[ScapAssist] Chams set to: true")
- end
- end
- end
- end)
- Mouse.Button2Down:connect(function()
- MouseDown = true
- end)
- Mouse.Button2Up:connect(function()
- MouseDown = false
- end)
- --ESP
- -- -----------------------------------
- -- ___ _ _ _ --
- -- / __| ___| |_| |_(_)_ _ __ _ ___--
- -- \__ \/ -_) _| _| | ' \/ _` (_-<--
- -- |___/\___|\__|\__|_|_||_\__, /__/--
- -- |___/ --
- -- -----------------------------------
- -- -----------------------------------
- ALLYCOLOR = {0,255,255} --//Color of the ESP of people on the same team
- ENEMYCOLOR = {255,0,0} --//Color of the ESP of people on NOT the same team
- TRANSPARENCY = 0.5 --//Transparency of the ESP
- HEALTHBAR_ACTIVATED = true --//Renders the Healthbar
- --
- --
- -- !!!Don't Change Anything Below Here Unless You Know What You're Doing!!!
- function createFlex()
- -- -----------------------------------------------------------------------------------
- --[VARIABLES] //Changing may result in Errors!
- players = game:GetService("Players") --//Required for PF
- faces = {"Front","Back","Bottom","Left","Right","Top"} --//Every possible Enum face
- currentPlayer = nil --//Used for the Team-Check
- lplayer = players.LocalPlayer --//The LocalPlayer
- -- -----------------------------------------------------------------------------------
- players.PlayerAdded:Connect(function(p)
- currentPlayer = p
- p.CharacterAdded:Connect(function(character) --//For when a new Player joins the game
- createESP(character)
- end)
- end)
- -- -----------------------------------------------------------------------------------
- function checkPart(obj) if (obj:IsA("Part") or obj:IsA("MeshPart")) and obj.Name~="HumanoidRootPart" then return true end end --//Check if the Part is suitable
- -- -----------------------------------------------------------------------------------
- function actualESP(obj)
- for i=0,5 do
- surface = Instance.new("SurfaceGui",obj) --//Creates the SurfaceGui
- surface.Face = Enum.NormalId[faces[i+1]] --//Adjusts the Face and chooses from the face table
- surface.AlwaysOnTop = true
- frame = Instance.new("Frame",surface) --//Creates the viewable Frame
- frame.Size = UDim2.new(1,0,1,0)
- frame.BorderSizePixel = 0
- frame.BackgroundTransparency = TRANSPARENCY
- if currentPlayer.Team == players.LocalPlayer.Team then --//Checks the Players Team
- frame.BackgroundColor3 = Color3.new(ALLYCOLOR[1],ALLYCOLOR[2],ALLYCOLOR[3]) --//If in same Team
- else
- frame.BackgroundColor3 = Color3.new(ENEMYCOLOR[1],ENEMYCOLOR[2],ENEMYCOLOR[3]) --//If in another Team
- end
- end
- end
- -- -----------------------------------------------------------------------------------
- function createHealthbar(hrp)
- board =Instance.new("BillboardGui",hrp) --//Creates the BillboardGui with HumanoidRootPart as the Parent
- board.Name = "total"
- board.Size = UDim2.new(1,0,1,0)
- board.StudsOffset = Vector3.new(3,1,0)
- board.AlwaysOnTop = true
- bar = Instance.new("Frame",board) --//Creates the red background
- bar.BackgroundColor3 = Color3.new(255,0,0)
- bar.BorderSizePixel = 0
- bar.Size = UDim2.new(0.2,0,4,0)
- bar.Name = "total2"
- health = Instance.new("Frame",bar) --//Creates the changing green Frame
- health.BackgroundColor3 = Color3.new(0,255,0)
- health.BorderSizePixel = 0
- health.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0)
- hrp.Parent.Humanoid.Changed:Connect(function(property) --//Triggers when any Property changed
- hrp.total.total2.Frame.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0) --//Adjusts the size of the green Frame
- end)
- end
- -- -----------------------------------------------------------------------------------
- function createESP(c) --//Checks and calls the proper function
- bugfix = c:WaitForChild("Head") --// *Used so the children of the character arent nil.
- for i,v in pairs(c:GetChildren()) do
- if checkPart(v) then
- actualESP(v)
- end
- end
- if HEALTHBAR_ACTIVATED then --//If the user decided to
- createHealthbar(c:WaitForChild("HumanoidRootPart")) --//Calls the function of the creation
- end
- end
- -- -----------------------------------------------------------------------------------
- for i,people in pairs(players:GetChildren())do
- if people ~= players.LocalPlayer then
- currentPlayer = people
- --//Used for Players already in the Game
- createESP(people.Character)
- people.CharacterAdded:Connect(function(character)
- createESP(character)
- end)
- end
- end
- -- -----------------------------------------------------------------------------------
- end --//End of the entire function
- createFlex() --// Does exactly that :)
- --CTRLCLICK delete
- --[[
- Delete With Undo v1 by angeld23
- Default keybinds:
- [Right Click + Left Ctrl] - Deletes part that your mouse is pointing at.
- [Right Click + X] - Undo last deletion. Can be repeated until all parts are returned.
- [Right Click + C] - Undo all deletions. This will return every part at once.
- (You cannot hold the key and then right click, you must hold right click first. If anyone can fix that, it would be highly appreciated!)
- Set custom keybinds in the settings below.
- Report any bugs to angeld23 on v3rm (or Synapse Forums).
- My Discord: angeld23#5601
- --]]
- --Settings
- deleteKey = Enum.KeyCode.LeftControl --Key to delete the part you are looking at.
- undoKey = Enum.KeyCode.X --Key to undo last deletion.
- undoAllKey = Enum.KeyCode.C --Key to undo all deletions.
- --Variables
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- input = game:GetService("UserInputService")
- storage = game:GetService("ReplicatedStorage")
- undoTable = {}
- --Folder to hold deleted parts
- if not storage:FindFirstChild("DeleteWithUndo") then
- folder = Instance.new("Folder", storage)
- folder.Name = "DeleteWithUndo"
- end
- --Click detection
- clicking = false
- mouse.Button2Down:connect(function()
- clicking = true
- end)
- mouse.Button2Up:connect(function()
- clicking = false
- end)
- --Input detection
- input.InputBegan:connect(function(key)
- if key.KeyCode == deleteKey and clicking then
- local targetPart = mouse.Target
- print("Deleted "..targetPart.Name)
- if not targetPart or not targetPart:IsA("BasePart")then return end
- local clone = targetPart:Clone()
- clone.Parent = folder
- local savedParent = Instance.new("ObjectValue", clone)
- savedParent.Name = "S_P"
- savedParent.Value = targetPart.Parent
- targetPart:Destroy()
- table.insert(undoTable, #undoTable + 1, clone)
- end
- if key.KeyCode == undoKey and #undoTable > 0 and clicking then
- local targetPart = undoTable[#undoTable]
- if not targetPart.S_P.Value then print("This part's parent was deleted! Setting parent to game.Workspace.") targetPart.Parent = workspace targetPart.S_P:Destroy() table.remove(undoTable, #undoTable) else
- print("Undone deletion of "..targetPart.Name)
- targetPart.Parent = targetPart.S_P.Value
- targetPart.S_P:Destroy()
- table.remove(undoTable, #undoTable)
- end
- end
- if key.KeyCode == undoAllKey and clicking then
- for i = 1, #undoTable do
- local targetPart = undoTable[#undoTable]
- print(targetPart.Name)
- if not targetPart.S_P.Value then print("This part's parent was deleted! Setting parent to game.Workspace.") targetPart.Parent = workspace targetPart.S_P:Destroy() table.remove(undoTable, #undoTable) else
- targetPart.Parent = targetPart.S_P.Value
- targetPart.S_P:Destroy()
- table.remove(undoTable, #undoTable)
- end
- end
- print("Undone deletion of all parts.")
- end
- end)
- --Noclip
- local noclip = true char = game.Players.LocalPlayer.Character while true do if noclip == true then for _,v in pairs(char:children()) do pcall(function() if v.className == "Part" then v.CanCollide = false elseif v.ClassName == "Model" then v.Head.CanCollide = false end end) end end game:service("RunService").Stepped:wait() end
- --Health
- while wait(0)
- local humanoid = game:GetService"Players".LocalPlayer.Character:FindFirstChild"Humanoid"
- if humanoid then humanoid.Health = humanoid.MaxHealth
- end
- end
- --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement