1 | -- loadstring(game:HttpGet("https://pastecode.dev/raw/ze2ryqz3/paste1.txt"))() |
2 | |
3 | local active = true |
4 | local trueActive = true |
5 | local dmgEnabled = true |
6 | local visualizerEnabled = false |
7 | local reachType = "Sphere" |
8 | local reach = 3.2 |
9 | |
10 | local visualizer = Instance.new("Part") |
11 | visualizer.BrickColor = BrickColor.Blue() |
12 | visualizer.Transparency = 0.3 |
13 | visualizer.Anchored = true |
14 | visualizer.CanCollide = false |
15 | visualizer.Size = Vector3.new(0.5,0.5,0.5) |
16 | visualizer.BottomSurface = Enum.SurfaceType.Smooth |
17 | visualizer.TopSurface = Enum.SurfaceType.Smooth |
18 | visualizer.Material = Enum.Material.ForceField |
19 | |
20 | local visualizer2 = Instance.new("Part") |
21 | visualizer2.Color = Color3.fromRGB(255, 255, 255) |
22 | visualizer2.Transparency = 1 |
23 | visualizer2.Anchored = true |
24 | visualizer2.CanCollide = false |
25 | visualizer2.Size = Vector3.new(4, 0.05, 4) |
26 | visualizer2.BottomSurface = Enum.SurfaceType.Smooth |
27 | visualizer2.TopSurface = Enum.SurfaceType.Smooth |
28 | |
29 | local selectionbox = Instance.new("SelectionBox") |
30 | selectionbox.Parent = visualizer2 |
31 | selectionbox.Adornee = visualizer2 |
32 | selectionbox.Color3 = Color3.fromRGB(255, 255, 255) |
33 | selectionbox.SurfaceColor3 = Color3.fromRGB(255, 255, 255) |
34 | selectionbox.Transparency = 0 |
35 | selectionbox.SurfaceTransparency = 0.9 |
36 | selectionbox.Visible = true |
37 | |
38 | |
39 | local ProjectSFF = Instance.new("ScreenGui") |
40 | local main = Instance.new("Frame") |
41 | local Title = Instance.new("TextLabel") |
42 | local Line = Instance.new("TextLabel") |
43 | local E = Instance.new("TextLabel") |
44 | local Etext = Instance.new("TextLabel") |
45 | local Q = Instance.new("TextLabel") |
46 | local Qtext = Instance.new("TextLabel") |
47 | local R = Instance.new("TextLabel") |
48 | local Rtext = Instance.new("TextLabel") |
49 | local T = Instance.new("TextLabel") |
50 | local Ttext = Instance.new("TextLabel") |
51 | local main2 = Instance.new("Frame") |
52 | local TextBox = Instance.new("TextBox") |
53 | local TextButton = Instance.new("TextButton") |
54 | local Custom = Instance.new("TextLabel") |
55 | local F = Instance.new("TextLabel") |
56 | local Ftext = Instance.new("TextLabel") |
57 | local Line2 = Instance.new("TextLabel") |
58 | |
59 | |
60 | |
61 | ProjectSFF.Name = "Project SFF" |
62 | ProjectSFF.Parent = game.CoreGui |
63 | ProjectSFF.ZIndexBehavior = Enum.ZIndexBehavior.Sibling |
64 | |
65 | main.Name = "main" |
66 | main.Parent = ProjectSFF |
67 | main.Active = true |
68 | main.BackgroundColor3 = Color3.fromRGB(37, 36, 40) |
69 | main.BackgroundTransparency = 0.200 |
70 | main.Draggable = true |
71 | main.Position = UDim2.new(0.346640825, -52, 0.354844391, -78) |
72 | main.Size = UDim2.new(0, 519, 0, 312) |
73 | main.Visible = false |
74 | |
75 | Title.Name = "Title" |
76 | Title.Parent = main |
77 | Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
78 | Title.BackgroundTransparency = 1.000 |
79 | Title.BorderSizePixel = 0 |
80 | Title.Size = UDim2.new(0, 519, 0, 50) |
81 | Title.Font = Enum.Font.SciFi |
82 | Title.Text = "Woot Reach" |
83 | Title.TextColor3 = Color3.fromRGB(255, 255, 255) |
84 | Title.TextSize = 50.000 |
85 | |
86 | Line.Name = "Line" |
87 | Line.Parent = main |
88 | Line.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
89 | Line.BackgroundTransparency = 1.000 |
90 | Line.BorderSizePixel = 0 |
91 | Line.Position = UDim2.new(0, 0, 0.160256416, 0) |
92 | Line.Size = UDim2.new(0, 519, 0, 7) |
93 | Line.Font = Enum.Font.SciFi |
94 | Line.Text = "-------------------------------------" |
95 | Line.TextColor3 = Color3.fromRGB(255, 255, 255) |
96 | Line.TextSize = 50.000 |
97 | |
98 | E.Name = "E " |
99 | E.Parent = main |
100 | E.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
101 | E.BackgroundTransparency = 1.000 |
102 | E.BorderSizePixel = 0 |
103 | E.Position = UDim2.new(0, 0, 0.205128208, 0) |
104 | E.Size = UDim2.new(0, 53, 0, 50) |
105 | E.Font = Enum.Font.SciFi |
106 | E.Text = "E" |
107 | E.TextColor3 = Color3.fromRGB(255, 255, 255) |
108 | E.TextSize = 50.000 |
109 | |
110 | Etext.Name = "E text" |
111 | Etext.Parent = main |
112 | Etext.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
113 | Etext.BackgroundTransparency = 1.000 |
114 | Etext.BorderSizePixel = 0 |
115 | Etext.Position = UDim2.new(0.294797689, 0, 0.205128208, 0) |
116 | Etext.Size = UDim2.new(0, 210, 0, 50) |
117 | Etext.Font = Enum.Font.SciFi |
118 | Etext.Text = "Activate reach" |
119 | Etext.TextColor3 = Color3.fromRGB(255, 255, 255) |
120 | Etext.TextSize = 25.000 |
121 | |
122 | Q.Name = "Q" |
123 | Q.Parent = main |
124 | Q.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
125 | Q.BackgroundTransparency = 1.000 |
126 | Q.BorderSizePixel = 0 |
127 | Q.Position = UDim2.new(0, 0, 0.365384638, 0) |
128 | Q.Size = UDim2.new(0, 53, 0, 50) |
129 | Q.Font = Enum.Font.SciFi |
130 | Q.Text = "Q" |
131 | Q.TextColor3 = Color3.fromRGB(255, 255, 255) |
132 | Q.TextSize = 50.000 |
133 | |
134 | Qtext.Name = "Q text" |
135 | Qtext.Parent = main |
136 | Qtext.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
137 | Qtext.BackgroundTransparency = 1.000 |
138 | Qtext.BorderSizePixel = 0 |
139 | Qtext.Position = UDim2.new(0.321772635, 0, 0.365384638, 0) |
140 | Qtext.Size = UDim2.new(0, 210, 0, 50) |
141 | Qtext.Font = Enum.Font.SciFi |
142 | Qtext.Text = "Deactivate reach" |
143 | Qtext.TextColor3 = Color3.fromRGB(255, 255, 255) |
144 | Qtext.TextSize = 25.000 |
145 | |
146 | R.Name = "R" |
147 | R.Parent = main |
148 | R.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
149 | R.BackgroundTransparency = 1.000 |
150 | R.BorderSizePixel = 0 |
151 | R.Position = UDim2.new(0, 0, 0.525641084, 0) |
152 | R.Size = UDim2.new(0, 53, 0, 50) |
153 | R.Font = Enum.Font.SciFi |
154 | R.Text = "R" |
155 | R.TextColor3 = Color3.fromRGB(255, 255, 255) |
156 | R.TextSize = 50.000 |
157 | |
158 | Rtext.Name = "R text" |
159 | Rtext.Parent = main |
160 | Rtext.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
161 | Rtext.BackgroundTransparency = 1.000 |
162 | Rtext.BorderSizePixel = 0 |
163 | Rtext.Position = UDim2.new(0.296724468, 0, 0.525641084, 0) |
164 | Rtext.Size = UDim2.new(0, 210, 0, 50) |
165 | Rtext.Font = Enum.Font.SciFi |
166 | Rtext.Text = "Increase range (+0.5)" |
167 | Rtext.TextColor3 = Color3.fromRGB(255, 255, 255) |
168 | Rtext.TextSize = 25.000 |
169 | |
170 | T.Name = "T" |
171 | T.Parent = main |
172 | T.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
173 | T.BackgroundTransparency = 1.000 |
174 | T.BorderSizePixel = 0 |
175 | T.Position = UDim2.new(0, 0, 0.68589747, 0) |
176 | T.Size = UDim2.new(0, 53, 0, 50) |
177 | T.Font = Enum.Font.SciFi |
178 | T.Text = "T" |
179 | T.TextColor3 = Color3.fromRGB(255, 255, 255) |
180 | T.TextSize = 50.000 |
181 | |
182 | Ttext.Name = "T text" |
183 | Ttext.Parent = main |
184 | Ttext.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
185 | Ttext.BackgroundTransparency = 1.000 |
186 | Ttext.BorderSizePixel = 0 |
187 | Ttext.Position = UDim2.new(0.296724468, 0, 0.68589747, 0) |
188 | Ttext.Size = UDim2.new(0, 210, 0, 50) |
189 | Ttext.Font = Enum.Font.SciFi |
190 | Ttext.Text = "Decrease range (-0.5)" |
191 | Ttext.TextColor3 = Color3.fromRGB(255, 255, 255) |
192 | Ttext.TextSize = 25.000 |
193 | |
194 | main2.Name = "main2" |
195 | main2.Parent = main |
196 | main2.BackgroundColor3 = Color3.fromRGB(37, 36, 40) |
197 | main2.BackgroundTransparency = 0.200 |
198 | main2.Position = UDim2.new(-0.000179930226, 0, 0.999075055, 0) |
199 | main2.Size = UDim2.new(0, 519, 0, 65) |
200 | |
201 | TextBox.Parent = main2 |
202 | TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
203 | TextBox.BackgroundTransparency = 0.500 |
204 | TextBox.Position = UDim2.new(0.308003008, 0, 0.127493978, 0) |
205 | TextBox.Size = UDim2.new(0, 200, 0, 42) |
206 | TextBox.Font = Enum.Font.SciFi |
207 | TextBox.Text = "" |
208 | TextBox.TextColor3 = Color3.fromRGB(0, 0, 0) |
209 | TextBox.TextSize = 25.000 |
210 | |
211 | TextButton.Parent = main2 |
212 | TextButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0) |
213 | TextButton.BackgroundTransparency = 0.700 |
214 | TextButton.Position = UDim2.new(0.715201735, 0, 0.127205133, 0) |
215 | TextButton.Size = UDim2.new(0, 47, 0, 42) |
216 | TextButton.Font = Enum.Font.SciFi |
217 | TextButton.Text = "Apply" |
218 | TextButton.TextColor3 = Color3.fromRGB(255, 255, 255) |
219 | TextButton.TextSize = 18.000 |
220 | |
221 | Custom.Name = "Custom" |
222 | Custom.Parent = main2 |
223 | Custom.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
224 | Custom.BackgroundTransparency = 1.000 |
225 | Custom.BorderSizePixel = 0 |
226 | Custom.Position = UDim2.new(0.0327553004, 0, 0.11474359, 0) |
227 | Custom.Size = UDim2.new(0, 125, 0, 50) |
228 | Custom.Font = Enum.Font.SciFi |
229 | Custom.Text = "Custom Range" |
230 | Custom.TextColor3 = Color3.fromRGB(255, 255, 255) |
231 | Custom.TextSize = 25.000 |
232 | |
233 | F.Name = "F" |
234 | F.Parent = main |
235 | F.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
236 | F.BackgroundTransparency = 1.000 |
237 | F.BorderSizePixel = 0 |
238 | F.Position = UDim2.new(0, 0, 0.836538494, 0) |
239 | F.Size = UDim2.new(0, 53, 0, 50) |
240 | F.Font = Enum.Font.SciFi |
241 | F.Text = "F" |
242 | F.TextColor3 = Color3.fromRGB(255, 255, 255) |
243 | F.TextSize = 50.000 |
244 | |
245 | Ftext.Name = "F text" |
246 | Ftext.Parent = main |
247 | Ftext.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
248 | Ftext.BackgroundTransparency = 1.000 |
249 | Ftext.BorderSizePixel = 0 |
250 | Ftext.Position = UDim2.new(0.296724468, 0, 0.836538494, 0) |
251 | Ftext.Size = UDim2.new(0, 210, 0, 50) |
252 | Ftext.Font = Enum.Font.SciFi |
253 | Ftext.Text = "Hide/Show hitboxes" |
254 | Ftext.TextColor3 = Color3.fromRGB(255, 255, 255) |
255 | Ftext.TextSize = 25.000 |
256 | |
257 | Line2.Name = "Line2" |
258 | Line2.Parent = main |
259 | Line2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) |
260 | Line2.BackgroundTransparency = 1.000 |
261 | Line2.BorderSizePixel = 0 |
262 | Line2.Position = UDim2.new(-0.00385356462, 0, 0.974359035, 0) |
263 | Line2.Size = UDim2.new(0, 519, 0, 7) |
264 | Line2.Font = Enum.Font.SciFi |
265 | Line2.Text = "-------------------------------------" |
266 | Line2.TextColor3 = Color3.fromRGB(255, 255, 255) |
267 | Line2.TextSize = 50.000 |
268 | |
269 | repeat wait() until game.Players.LocalPlayer |
270 | |
271 | |
272 | |
273 | game:GetService("StarterGui"):SetCore("SendNotification", { |
274 | Title = "Woot Reach Loaded!"; |
275 | Text = "Press X to view controls"; |
276 | Icon = ""; |
277 | Duration = 8; |
278 | }) |
279 | |
280 | local mouse = game.Players.LocalPlayer:GetMouse() |
281 | |
282 | bindx = "x" |
283 | mouse.KeyDown:connect(function(keyx) |
284 | if keyx == bindx then |
285 | if main.Visible == false then |
286 | main.Visible = true |
287 | elseif main.Visible == true then |
288 | main.Visible = false |
289 | end |
290 | end |
291 | end) |
292 | |
293 | binde = "e" |
294 | mouse.KeyDown:connect(function(keye) |
295 | if keye == binde then |
296 | dmgEnabled = true |
297 | visualizerEnabled = true |
298 | end |
299 | end) |
300 | |
301 | bindq = "q" |
302 | mouse.KeyDown:connect(function(keyq) |
303 | if keyq == bindq then |
304 | dmgEnabled = false |
305 | visualizerEnabled = false |
306 | end |
307 | end) |
308 | |
309 | bindf = "f" |
310 | mouse.KeyDown:connect(function(keyf) |
311 | if keyf == bindf then |
312 | visualizerEnabled = not visualizerEnabled |
313 | end |
314 | end) |
315 | |
316 | local plr = game.Players.LocalPlayer |
317 | |
318 | local function onHit(part, handle) |
319 | local victim = part.Parent:FindFirstChildOfClass("Humanoid") |
320 | if victim and victim.Parent ~= game.Players.LocalPlayer.Character then |
321 | if dmgEnabled then |
322 | for _, v in pairs(part.Parent:GetChildren()) do |
323 | if v:IsA("Part") then |
324 | firetouchinterest(v, handle, 0) |
325 | firetouchinterest(v, handle, 1) |
326 | end |
327 | end |
328 | else |
329 | firetouchinterest(part, handle, 0) |
330 | firetouchinterest(part, handle, 1) |
331 | end |
332 | end |
333 | end |
334 | |
335 | local function getWhiteList() |
336 | local wl = {} |
337 | for _,v in pairs(game.Players:GetPlayers()) do |
338 | if v ~= plr then |
339 | local char = v.Character |
340 | if char then |
341 | for _,q in pairs(char:GetChildren()) do |
342 | if q:IsA("Part") then |
343 | table.insert(wl,q) |
344 | end |
345 | end |
346 | end |
347 | end |
348 | end |
349 | return wl |
350 | -- nah get out of here bro |
351 | end |
352 | |
353 | TextButton.MouseButton1Down:connect(function() |
354 | reach = TextBox.Text |
355 | end) |
356 | |
357 | bindr = "r" |
358 | mouse.KeyDown:connect(function(keyr) |
359 | if keyr == bindr then |
360 | reach = reach + 0.5 |
361 | end |
362 | end) |
363 | |
364 | bindt = "t" |
365 | mouse.KeyDown:connect(function(keyt) |
366 | if keyt == bindt then |
367 | reach = reach - 0.5 |
368 | end |
369 | end) |
370 | local cooldown = false |
371 | game:GetService("RunService").RenderStepped:connect(function() |
372 | if not active or not trueActive then return end |
373 | local character = plr.Character |
374 | local rootPart = character and character:FindFirstChild("HumanoidRootPart") |
375 | if not rootPart then return end |
376 | |
377 | if visualizerEnabled then |
378 | visualizer.Parent = workspace |
379 | visualizer2.Parent = workspace |
380 | else |
381 | visualizer.Parent = nil |
382 | visualizer2.Parent = nil |
383 | end |
384 | |
385 | if reach then |
386 | if reachType == "Sphere" then |
387 | visualizer2.Size = Vector3.new(reach*2, 0.05, reach*2) |
388 | visualizer.CFrame = rootPart.CFrame |
389 | |
390 | -- Find parts in a region around the character |
391 | local region = Region3.new(rootPart.Position - Vector3.new(reach, reach, reach), rootPart.Position + Vector3.new(reach, reach, reach)) |
392 | local parts = workspace:FindPartsInRegion3(region, nil, 100) |
393 | |
394 | for _, part in ipairs(parts) do |
395 | local mag = (part.Position - rootPart.Position).magnitude |
396 | if mag <= reach and cooldown == false then |
397 | cooldown = true |
398 | onHit(part, nil) -- You may adjust the onHit function call here |
399 | wait(0.1) |
400 | cooldown = false |
401 | end |
402 | end |
403 | end |
404 | end |
405 | end) |
406 | |
407 | local i = 0 |
408 | while wait() do |
409 | if i >= 0.99 then |
410 | i = 0 |
411 | elseif i < 1 then |
412 | i = i+0.009 |
413 | end |
414 | |
415 | local h = tonumber(i) |
416 | local color = Color3.fromHSV(h, 1, 0.8) |
417 | |
418 | visualizer.Color = color |
419 | selectionbox.Color3 = color |
420 | selectionbox.SurfaceColor3 = color |
421 | end |