Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local v0,v1=game,workspace;local v2,v3,v4,v5,v6,v7,v8,v9=getrawmetatable,getmetatable,setmetatable,pcall,getgenv,next,tick,select;local v10,v11,v12,v13=Vector2.new,Vector3.new,CFrame.new,CFrame.Angles;local v14,v15,v16,v17=math.clamp,math.lerp,math.rad,math.random;local v18=(v5(function() return v0:GetService("Players").LocalPlayer;end) and v0:GetService("Players").LocalPlayer) or nil ;local v19=v1.CurrentCamera;local v20=v0:GetService("UserInputService");local v21=v0:GetService("RunService");local v22=(v5(function() return v0:GetService("Players");end) and v0:GetService("Players")) or nil ;local v23=false;local v24=1564 -(500 + 1063) ;local v25=0;local v26=5;local v27=Drawing or require("Drawing") ;local v28={};local function v29() for v63,v64 in pairs(v28) do v64:Remove();end v28={};end local function v30(v36,v37) local v38=0;local v39;while true do if (v38==(2 + 0)) then v39.To=v37;v39.Visible=true;v38=3;end if (v38==(1065 -(68 + 997))) then v39=v27.new("Line");v39.Thickness=1272 -(226 + 1044) ;v38=1;end if (v38==3) then table.insert(v28,v39);break;end if (v38==(4 -3)) then v39.Color=Color3.new(118 -(32 + 85) ,0,0 + 0 );v39.From=v36;v38=2;end end end local function v31(v40) local v41=0 + 0 ;local v42;while true do if (v41==0) then if not v40 then return false;end v42=v40.Character;v41=958 -(892 + 65) ;end if (v41==(2 -1)) then return v42 and v42:FindFirstChild("HumanoidRootPart") and v42:FindFirstChildOfClass("Humanoid") ;end end end local function v32(v43) local v44=0 -0 ;local v45;local v46;while true do if (v44==(1 -0)) then if (v45 and v46) then return v45~=v46 ;end return true;end if (v44==(350 -(87 + 263))) then if ( not v22 or not v18) then return false;end v45,v46=v43.Team,v18.Team;v44=181 -(67 + 113) ;end end end local function v33() if not v22 then return nil;end local v47=nil;local v48=math.huge;local v49=v20:GetMouseLocation();for v65,v66 in ipairs(v22:GetPlayers()) do if ((v66~=v18) and v31(v66) and v32(v66)) then local v77=v66.Character.HumanoidRootPart;local v78,v79=v19:WorldToViewportPoint(v77.Position);if v79 then local v80=0;local v81;while true do if (v80==0) then v81=(v10(v78.X,v78.Y) -v49).Magnitude;if (v81<v48) then local v83=0;while true do if (v83==0) then v48=v81;v47=v66;break;end end end break;end end end end end return v47;end local function v34(v50) local v51=v50.Character;if not v51 then return;end local v52=v51:FindFirstChild("Head");if not v52 then return;end local v53,v54=v19:WorldToViewportPoint(v52.Position);if not v54 then return;end local v55=v20:GetMouseLocation();local v56=v10(v53.X,v53.Y);local v57=(v56-v55) * v24 ;v57=v10(v57.X,v57.Y);mousemoverel(v57.X,v57.Y);end local function v35(v58) if v31(v58) then v34(v58);end end v21.RenderStepped:Connect(function() if v23 then local v67=0 + 0 ;local v68;while true do if (v67==(0 -0)) then v68=v33();if v68 then v35(v68);end break;end end else v29();end end);v20.InputBegan:Connect(function(v59,v60) if ( not v60 and (v59.KeyCode==Enum.KeyCode.E)) then v23=true;end end);v20.InputEnded:Connect(function(v61,v62) if ( not v62 and (v61.KeyCode==Enum.KeyCode.E)) then v23=false;end end);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement