Advertisement
Guest User

s3

a guest
Sep 15th, 2019
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. local a=setmetatable({},{__index=function(b,c)return game:GetService(c)end})local d=mousemoverel;local e=nil;local f=true;local g=false;local h=false;_G.xaimoffset=0;_G.maxdistfromcross=179;local i=a.Workspace.CurrentCamera;local j=a.Players.LocalPlayer;local k=a.Players.LocalPlayer.Character;local l=function(m)return i:WorldToScreenPoint(m)end;local n=function(o,p)local q=i.ViewportSize;local r=q.X;local s=q.Y;local t=r/2;local u=s/2;local v=o-t;local w=p-u;local x=math.sqrt(math.pow(v,2)+math.pow(w,2))return x end;local y=function()local z,m=a.Players:GetPlayers()local A=75;local B=math.huge;local C="none"for D=1,#z do m=z[D]if m~=a.Players.LocalPlayer then if m.Character and m.Character:WaitForChild("Head",10)then if m.TeamColor~=a.Players.LocalPlayer.TeamColor and h then local E=l(m.Character.Head.Position)local F=n(E.X,E.Y)if F<B and F<_G.maxdistfromcross then B=F;C=m end elseif not h then local E=l(m.Character.Head.Position)local F=n(E.X,E.Y)if F<B and F<_G.maxdistfromcross then B=F;C=m end end end end end;return C,B end;local G=function(o,p)local q=i.ViewportSize;local r=q.X;local s=q.Y;local t=r/2;local u=s/2;local H=2;local I;local J;if o~=0 then if o>t then I=-(t-o)I=I/H;if I+t>t*2 then I=0 end end;if o<t then I=o-t;I=I/H;if I+t<0 then I=0 end end end;if p~=0 then if p>u then J=-(u-p)J=J/H;if J+u>u*2 then J=0 end end;if p<u then J=p-u;J=J/H;if J+u<0 then J=0 end end end;return I,J end;local K=function()local L=a.Players.LocalPlayer;local M=L:GetMouse()local N=M.ViewSizeX;local O=M.ViewSizeY;local P=N/2;local Q=O/2;local R=M.X;local S=M.Y;local T=P-R;local U=Q-S;local V=a.Workspace.Camera;local W=a.Players.LocalPlayer:GetMouse().X;local X=a.Players.LocalPlayer:GetMouse().Y;local Y=y()if L.Character.Humanoid.Health>0 then if Y~="none"then local Z=Y.Character:WaitForChild("Head",10)if Z then local _=V:WorldToScreenPoint(Z.Position)local a0,a1=G(_.X+_G.xaimoffset,_.Y+35)d(T+a0,U+a1)end end end end;local C=a.Players.LocalPlayer;local M=C:GetMouse()MB2Held=false;function onKeyPress(a2,a3)if a2.UserInputType==Enum.UserInputType.MouseButton2 then MB2Held=true;while MB2Held do wait()if f then K()end end end end;function onKeyRelease(a2,a3)if a2.UserInputType==Enum.UserInputType.MouseButton2 then MB2Held=false end end;game:GetService("UserInputService").InputBegan:connect(onKeyPress)game:GetService("UserInputService").InputEnded:connect(onKeyRelease)game:GetService("StarterGui"):SetCore("SendNotification",{Title="strucid aimbotty",Text="0x59 is sexy btw",Duration=5})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement