Advertisement
Guest User

reach

a guest
Jul 22nd, 2023
608
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.65 KB | None | 0 0
  1. Couple of Reach scripts I have found
  2. ("This one is More of a damage amp script basically it pulls the body to the tip of your sword (Note this cant be clipped as the bodies disappear on your screen")
  3.  
  4. _G.Reach = 0
  5. _G.KeyBindHigher = "["
  6. _G.KeyBindLower = "]"
  7. _G.ReachOff = false -- Set this to true if you want to disable the reach lol
  8.  
  9. game:GetService"RunService".Stepped:Connect(function()
  10. if _G.ReachOff then return end
  11. pcall(function()
  12. Sword = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Handle
  13. for i,v in pairs(game.Players:GetPlayers()) do
  14. if v ~= game.Players.LocalPlayer and v.Character:FindFirstChild("Left Arm") then
  15. if (game.Players.LocalPlayer.Character.Torso.Position - v.Character.Torso.Position).Magnitude <= _G.Reach then
  16. v.Character['Left Arm']:BreakJoints()
  17. v.Character['Left Arm'].Transparency = 1
  18. v.Character['Left Arm'].CanCollide = false
  19. v.Character['Left Arm'].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,0,-3.5)
  20. v.Character['Left Leg']:BreakJoints()
  21. v.Character['Left Leg'].Transparency = 1
  22. v.Character['Left Leg'].CanCollide = false
  23. v.Character['Left Leg'].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,0,-3.5)
  24. end
  25. end
  26. end
  27. end)
  28. end)
  29.  
  30. local Mouse = game.Players.LocalPlayer:GetMouse()
  31. Mouse.KeyDown:Connect(function(key)
  32. if key == _G.KeyBindHigher then
  33. _G.Reach = _G.Reach + 1
  34. game.StarterGui:SetCore("SendNotification", {
  35. Title = "H0ndu's Reach v1";
  36. Text = "Reach set to " .. _G.Reach;
  37. Icon = "";
  38. Duration = 0.3;})
  39. end
  40. end)
  41.  
  42.  
  43. local Mouse = game.Players.LocalPlayer:GetMouse()
  44. Mouse.KeyDown:Connect(function(key)
  45. if key == _G.KeyBindLower then
  46. _G.Reach = _G.Reach - 1
  47. game.StarterGui:SetCore("SendNotification", {
  48. Title = "H0ndu's Reach v1";
  49. Text = "Reach set to " .. _G.Reach;
  50. Icon = "";
  51. Duration = 0.3;})
  52. end
  53. end)
  54.  
  55. ==========================================================================================================================================
  56. ("This is a bit more advanced as it could bypass some anti cheats") (Features include Handle Bypass and Auto Clicker also a notfication disabler can be handy do bypass some reach inspections")
  57.  
  58. getgenv().Circle = {
  59. ["Size"] = 10,
  60. ["Enabled"] = true,
  61. ["Random FTI"] = false,
  62. ["Whitelisted Limbs"] = {"Left Arm","Right Arm","Left Leg","Right Leg","Head","Torso","HumanoidRootPart"}
  63. }
  64.  
  65. getgenv().Configuration = {
  66. ["Active"] = true,
  67. ["Increase Size"] = 11.0,
  68. ["Decrease Size"] = 0.25,
  69. ["Notifications"] = true,
  70. ["Auto Clicker"] = false,
  71. ["Transparency Check"] = false,
  72. ["Team Check"] = false,
  73. ["Fake Handle FTI"] = false -- if true, will only trigger if a fake handle is present (use for advanced antis)
  74. }
  75.  
  76. getgenv().Keybinds = {
  77. ["Toggle Reach"] = "R",
  78. ["Toggle AC"] = "E",
  79. ["Increase Reach"] = "J",
  80. ["Decrease Reach"] = "K",
  81. ["Toggle Script"] = "Z",
  82. ["Notifications Toggle"] = "N",
  83. ["Fake Handle FTI Toggle"] = "F"
  84. }
  85.  
  86. local StarterGui = game:GetService("StarterGui")
  87. local Players = game:GetService("Players")
  88. local LocalPlayer = Players.LocalPlayer
  89.  
  90. local function SendNotification(Ti,Te)
  91. StarterGui:SetCore('SendNotification', {Title = tostring(Ti), Text = tostring(Te)})
  92. end
  93.  
  94. local Mouse = LocalPlayer:GetMouse()
  95.  
  96. Mouse.KeyDown:Connect(function(key)
  97. if key == string.lower(getgenv().Keybinds["Toggle Reach"]) then
  98. if getgenv().Configuration["Active"] == false then return end
  99. getgenv().Circle["Enabled"] = not getgenv().Circle["Enabled"]
  100. if getgenv().Configuration["Notifications"] == true then
  101. SendNotification("Xen-Zone","Reach = "..tostring(getgenv().Circle["Enabled"]))
  102. end
  103. elseif key == string.lower(getgenv().Keybinds["Toggle AC"]) then
  104. if getgenv().Configuration["Active"] == false then return end
  105. getgenv().Configuration["Auto Clicker"] = not getgenv().Configuration["Auto Clicker"]
  106. if getgenv().Configuration["Notifications"] == true then
  107. SendNotification("Xen-Zone","AutoClicker = "..tostring(getgenv().Configuration["Auto Clicker"]))
  108. end
  109. elseif key == string.lower(getgenv().Keybinds["Fake Handle FTI Toggle"]) then
  110. if getgenv().Configuration["Active"] == false then return end
  111. getgenv().Configuration["Fake Handle FTI"] = not getgenv().Configuration["Fake Handle FTI"]
  112. if getgenv().Configuration["Notifications"] == true then
  113. SendNotification("Xen-Zone","Fake Handle FTI = "..tostring(getgenv().Configuration["Fake Handle FTI"]))
  114. end
  115. elseif key == string.lower(getgenv().Keybinds["Increase Reach"]) then
  116. if getgenv().Configuration["Active"] == false then return end
  117. getgenv().Circle["Size"] = getgenv().Circle["Size"] + getgenv().Configuration["Increase Size"]
  118. if getgenv().Configuration["Notifications"] == true then
  119. SendNotification("Xen-Zone","Size = "..getgenv().Circle["Size"])
  120. end
  121. elseif key == string.lower(getgenv().Keybinds["Decrease Reach"]) then
  122. if getgenv().Configuration["Active"] == false then return end
  123. getgenv().Circle["Size"] = getgenv().Circle["Size"] - getgenv().Configuration["Decrease Size"]
  124. if getgenv().Configuration["Notifications"] == true then
  125. SendNotification("Xen-Zone","Size = "..getgenv().Circle["Size"])
  126. end
  127. elseif key == string.lower(getgenv().Keybinds["Notifications Toggle"]) then
  128. getgenv().Configuration["Notifications"] = not getgenv().Configuration["Notifications"]
  129. SendNotification("Xen-Zone","Notifications = "..tostring(getgenv().Configuration["Notifications"]))
  130. elseif key == string.lower(getgenv().Keybinds["Toggle Script"]) then
  131. getgenv().Configuration["Active"] = not getgenv().Configuration["Active"]
  132. if getgenv().Configuration["Notifications"] == true then
  133. SendNotification("Xen-Zone","Script = "..tostring(getgenv().Configuration["Active"]))
  134. end
  135. end
  136. end)
  137.  
  138. hookfunction(gcinfo or collectgarbage, function(...)
  139. if getgenv().Configuration["Active"] == false then return end
  140. return math.random(200,400)
  141. end)
  142.  
  143. local HPHook;
  144.  
  145. HPHook = hookmetamethod(game, "__index", function(H, HP)
  146. if not checkcaller() then
  147. if tostring(H) == "Humanoid" and tostring(HP) == "Health" then
  148. return 0
  149. end
  150. end
  151. return HPHook(H, HP)
  152. end)
  153.  
  154. local HitParts = {}
  155. local t = tick()
  156.  
  157. local FTI = function(hit,handle)
  158. local Humanoid = hit.Parent:FindFirstChild("Humanoid")
  159. if Humanoid and Humanoid.Health ~= 0 and hit.Parent.Name ~= LocalPlayer.Character.Name then
  160. if getgenv().Configuration["Transparency Check"] == true then if hit.Transparency > 0.8 then return end end
  161. local Region = Region3.new(handle.Position + Vector3.new(-1,-1,-1), handle.Position + Vector3.new(1,1,1))
  162. local InRegion = game:GetService("Workspace"):FindPartsInRegion3(Region)
  163. if getgenv().Configuration["Fake Handle FTI"] then
  164. for _,v in pairs(InRegion) do
  165. if v:IsA("Part") and v:FindFirstChildOfClass("TouchTransmitter") and v.Name ~= "Handle" then
  166. if getgenv().Circle["Random FTI"] == true then
  167. for i,parts in pairs(hit.Parent:GetChildren()) do
  168. if parts:IsA("Part") then
  169. if table.find(getgenv().Circle["Whitelisted Limbs"],parts.Name) then
  170. if not table.find(HitParts,parts.Name) then
  171. if #HitParts >= 6 then table.clear(HitParts) end
  172. table.insert(HitParts,parts.Name)
  173. if math.abs(tick() - t) < 0.05 then return end
  174. t = tick()
  175. firetouchinterest(parts,handle,0)
  176. firetouchinterest(parts,handle,1)
  177. firetouchinterest(parts,v,0)
  178. firetouchinterest(parts,v,1)
  179. end
  180. end
  181. end
  182. end
  183. else
  184. for i,parts in pairs(hit.Parent:GetChildren()) do
  185. if parts:IsA("Part") then
  186. if table.find(getgenv().Circle["Whitelisted Limbs"],parts.Name) then
  187. firetouchinterest(parts,handle,0)
  188. firetouchinterest(parts,handle,1)
  189. firetouchinterest(parts,v,0)
  190. firetouchinterest(parts,v,1)
  191. end
  192. end
  193. end
  194. end
  195. end
  196. end
  197. else
  198. for _,v in pairs(InRegion) do
  199. if v:IsA("Part") and v:FindFirstChildOfClass("TouchTransmitter") then
  200. if getgenv().Circle["Random FTI"] == true then
  201. for i,parts in pairs(hit.Parent:GetChildren()) do
  202. if parts:IsA("Part") then
  203. if table.find(getgenv().Circle["Whitelisted Limbs"],parts.Name) then
  204. if not table.find(HitParts,parts.Name) then
  205. if #HitParts >= 6 then table.clear(HitParts) end
  206. table.insert(HitParts,parts.Name)
  207. if math.abs(tick() - t) < 0.05 then return end
  208. t = tick()
  209. firetouchinterest(parts,v,0)
  210. firetouchinterest(parts,v,1)
  211. end
  212. end
  213. end
  214. end
  215. else
  216. for i,parts in pairs(hit.Parent:GetChildren()) do
  217. if parts:IsA("Part") then
  218. if table.find(getgenv().Circle["Whitelisted Limbs"],parts.Name) then
  219. firetouchinterest(parts,v,0)
  220. firetouchinterest(parts,v,1)
  221. end
  222. end
  223. end
  224. end
  225. end
  226. end
  227. end
  228. end
  229. end
  230.  
  231. local IsTeam = function(Player)
  232. if Player.Team == LocalPlayer.Team then
  233. return true
  234. else
  235. return false
  236. end
  237. end
  238.  
  239. game:GetService("RunService").RenderStepped:Connect(function()
  240. if getgenv().Configuration["Active"] == false then return end
  241. if getgenv().Circle["Enabled"] == false then return end
  242. local Tool = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Tool")
  243. if Tool then
  244. if getgenv().Configuration["Auto Clicker"] and LocalPlayer.Character.Humanoid.Health ~= 0 then Tool:Activate() Tool:Activate() end
  245. local Handle = Tool:FindFirstChild("Handle")
  246. if Handle then
  247. local Size = getgenv().Circle["Size"]
  248. if getgenv().Configuration["Team Check"] == true then
  249. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  250. if IsTeam(v) == false then
  251. local HRP = v.Character and v.Character:FindFirstChild("HumanoidRootPart")
  252. if HRP then
  253. local Distance = (HRP.Position - Handle.Position).Magnitude
  254. if Distance <= Size then
  255. FTI(HRP,Handle)
  256. end
  257. end
  258. end
  259. end
  260. else
  261. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  262. local HRP = v.Character and v.Character:FindFirstChild("HumanoidRootPart")
  263. if HRP then
  264. local Distance = (HRP.Position - Handle.Position).Magnitude
  265. if Distance <= Size then
  266. FTI(HRP,Handle)
  267. end
  268. end
  269. end
  270. end
  271. end
  272. end
  273. end)
  274.  
  275. ==========================================================================================================================================
  276. More scripts will be added if im productive enough to do this again.
  277.  
  278.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement