1 | _G.Reach = "9" |
2 | _G.KeyBindHigher = "r" |
3 | _G.KeyBindLower = "e" |
4 | _G.ReachOff = false |
5 | |
6 | game:GetService"RunService".Stepped:Connect(function() |
7 | if _G.ReachOff then return end |
8 | pcall(function() |
9 | Sword = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Handle |
10 | for i,v in pairs(game.Players:GetPlayers()) do |
11 | if v ~= game.Players.LocalPlayer and v.Character:FindFirstChild("Left Arm") then |
12 | if (game.Players.LocalPlayer.Character.Torso.Position - v.Character.Torso.Position).Magnitude <= _G.Reach then |
13 | v.Character['Right Leg']:BreakJoints() |
14 | v.Character['Right Leg'].Transparency = 1 |
15 | v.Character['Right Leg'].CanCollide = false |
16 | v.Character['Right Leg'].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,0,-3.5) |
17 | end |
18 | end |
19 | end |
20 | end) |
21 | end) |
22 | |
23 | local Mouse = game.Players.LocalPlayer:GetMouse() |
24 | Mouse.KeyDown:Connect(function(key) |
25 | if key == _G.KeyBindHigher then |
26 | _G.Reach = _G.Reach + 1 |
27 | game.StarterGui:SetCore("SendNotification", { |
28 | Title = "Calidad de graficos"; |
29 | Text = "Aumento hasta " .. _G.Reach; |
30 | Icon = ""; |
31 | Duration = 1;}) |
32 | end |
33 | end) |
34 | |
35 | |
36 | local Mouse = game.Players.LocalPlayer:GetMouse() |
37 | Mouse.KeyDown:Connect(function(key) |
38 | if key == _G.KeyBindLower then |
39 | _G.Reach = _G.Reach - 1 |
40 | game.StarterGui:SetCore("SendNotification", { |
41 | Title = "Calidad de graficos"; |
42 | Text = "Bajo hasta " .. _G.Reach; |
43 | Icon = ""; |
44 | Duration = 1;}) |
45 | end |
46 | end) |