Advertisement
memberhero

RMDX Backpack

May 17th, 2018
651
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.84 KB | None | 0 0
  1. --local/ -- mediafire
  2. ---made by RMDX
  3. ---
  4. --theguy=workspace. NLS([[
  5.  
  6. --RMLib=_G["CHR"..'ON']
  7. --if not RMLib then print'Failed to run Script' return end
  8. --loadstring(RMLib)()
  9. --^no moar loadstring k
  10. SavedFenvs = {}
  11.  
  12. for i,v in pairs(getfenv()) do
  13.  
  14. SavedFenvs[i]=true
  15.  
  16. end
  17.  
  18. -- c/while wait() do for i=1,200 do Instance.new("Message",game.Players.Damply.PlayerGui).Text="yes" end end
  19.  
  20.  
  21.  
  22. ins = Instance.new
  23.  
  24. v3 = Vector3.new
  25.  
  26. cn = CFrame.new
  27.  
  28. ca2 = CFrame.Angles
  29.  
  30. mf = math.floor
  31.  
  32. mran = math.random
  33.  
  34. mrad = math.rad
  35.  
  36. mdeg = math.deg
  37.  
  38. ca = function(x,y,z) return ca2(mrad(x),mrad(y),mrad(z)) end
  39.  
  40. ud=UDim2.new
  41.  
  42. bn = BrickColor.new
  43.  
  44. c3 = Color3.new
  45.  
  46.  
  47.  
  48.  
  49.  
  50. Players = game:service'Players'
  51.  
  52. Lighting = game:service'Lighting'
  53.  
  54. Debris = game:service'Debris'
  55.  
  56.  
  57.  
  58. Lastqi={}
  59.  
  60. qit = {}
  61.  
  62. qit["n"]="Name"
  63.  
  64. qit["sc"]="Size"
  65.  
  66. qit["cf"]="CFrame"
  67.  
  68. qit["an"]="Anchored"
  69.  
  70. qit["can"]="CanCollide"
  71.  
  72. qit["mat"]="Material"
  73.  
  74. qit["bn"]="BrickColor"
  75.  
  76. qit["mid"]="MeshId"
  77.  
  78. qit["tid"]="TextureId"
  79.  
  80. qit["sca"]="Scale"
  81.  
  82. qit["tra"]="Transparency"
  83.  
  84. qit["ref"]="Reflectance"
  85.  
  86. qit["mtyp"]="MeshType"
  87.  
  88. qit["P0"]="Part0"
  89.  
  90. qit["P1"]="Part1"
  91.  
  92. qit["tya"]="TextYAlignment"
  93.  
  94. qit["txa"]="TextXAlignment"
  95.  
  96. qit["bc3"]="BackgroundColor3"
  97.  
  98. qit["tc3"]="TextColor3"
  99.  
  100. qit["pos"]="Position"
  101.  
  102. qit["txt"]="Text"
  103.  
  104. qit["bgt"]="BackgroundTransparency"
  105.  
  106. qit["txs"]="TextTransparency"
  107.  
  108. qit["tst"]="TextStrokeTransparency"
  109.  
  110. qit["tsc3"]="TextStrokeColor3"
  111.  
  112. qit["bsp"]="BorderSizePixel"
  113.  
  114.  
  115.  
  116. print'test'
  117.  
  118. C3Pro={}
  119.  
  120. C3Pro['BackgroundColor3']=0
  121.  
  122. C3Pro['TextColor3']=0
  123.  
  124. C3Pro['TextStrokeColor3']=0
  125.  
  126. C3Pro['Color']=0
  127.  
  128. C3Pro['BorderColor3']=0
  129.  
  130. C3Pro['BackgroundColor3']=0
  131.  
  132. C3Pro['BackgroundColor3']=0
  133.  
  134.  
  135.  
  136. BNPro={}
  137.  
  138. BNPro['BrickColor']=0
  139.  
  140. BNPro['TextColor']=0
  141.  
  142. BNPro['TextStrokeColor']=0
  143.  
  144. BNPro['BorderColor']=0
  145.  
  146. BNPro['BackgroundColor']=0
  147.  
  148.  
  149.  
  150.  
  151.  
  152. GuiClass={}
  153.  
  154. GuiClass["Frame"]=0
  155.  
  156. GuiClass["TextLabel"]=0
  157.  
  158. GuiClass["TextButton"]=0
  159.  
  160. GuiClass["TextBox"]=0
  161.  
  162. GuiClass["ImageLabel"]=0
  163.  
  164. GuiClass["ImageButton"]=0
  165.  
  166. qi = function(tab)
  167.  
  168. local v = ins(tab[1])
  169.  
  170. --
  171.  
  172. if v:IsA("Part") or v:IsA("WedgePart") then v.formFactor="Custom" end
  173.  
  174. if v:IsA("BasePart") then v.TopSurface=0 v.BottomSurface=0 v.Locked=true end
  175.  
  176. if GuiClass[v.className] then v.BorderSizePixel=0 end
  177.  
  178. --
  179.  
  180. for index,element in pairs(tab) do
  181.  
  182. if index~=1 and index~=2 then
  183.  
  184. local index = qit[index] or index
  185.  
  186. --
  187.  
  188. if C3Pro[index] and type(element)=='string' then element=bn(element).Color end
  189.  
  190. if BNPro[index] and type(element)=='string' then element=bn(element) end
  191.  
  192. --
  193.  
  194. if index=='Debris' then
  195.  
  196. Debris:AddItem(v,element)
  197.  
  198. else
  199.  
  200. v[index]=element
  201.  
  202. end
  203.  
  204. end
  205.  
  206. end
  207.  
  208. if type(tab[2])=='number' then v.Parent=Lastqi[#Lastqi-tab[2]] elseif tab[2] then v.Parent=tab[2] end
  209.  
  210. Lastqi[#Lastqi+1]=v
  211.  
  212. if v:IsA("BasePart") then v:BreakJoints() end
  213.  
  214. return v
  215.  
  216. end
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224. iform=function(tab)
  225.  
  226. for i,v in pairs(tab) do tab[v]=v end
  227.  
  228. return tab
  229.  
  230. end
  231.  
  232.  
  233.  
  234. SetLocalPlayer = [==[
  235.  
  236. Player=Players.LocalPlayer
  237.  
  238. Char=Player.Character
  239.  
  240. if Char:findFirstChild("Head") or Char:findFirstChild("Torso") then else error'Player/CantFindParts' end
  241.  
  242. Head=Char.Head
  243.  
  244. Torso=Char.Torso
  245.  
  246. Hum=Char.Humanoid
  247.  
  248. Backpack=Player.Backpack
  249.  
  250. PlayerGui=Player.PlayerGui
  251.  
  252. ]==]
  253.  
  254.  
  255.  
  256. q = function(f) -- quick function
  257.  
  258. coroutine.resume(coroutine.create(function() f() end))
  259.  
  260. end
  261.  
  262.  
  263.  
  264. --- the pw is my last name -2 letters + my 2012 school student id
  265.  
  266.  
  267.  
  268. PlayerManager={}
  269.  
  270. PM=PlayerManager
  271.  
  272. pm=PM
  273.  
  274. PM.Load = function(ta,st)
  275.  
  276. local Pv
  277.  
  278. local count=0
  279.  
  280. 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
  281.  
  282. if not Pv or count>1 then return {} end
  283.  
  284. local PStat={Name=Pv.Name,Age=Pv.AccountAge,v=Pv}
  285.  
  286. if Pv.Character and Pv.Character:findFirstChild'Torso' then PStat.Torso=Pv.Character.Torso end
  287.  
  288. if Pv.Character and Pv.Character:findFirstChild'Humanoid' then PStat.H=Pv.Character.Humanoid end
  289.  
  290. PStat.Kill = function() if Pv.Character then Pv.Character:BreakJoints() end end
  291.  
  292. PStat.asd = function() if Pv.Character and Pv.Character:findFirstChild'Torso' and Pv.Character:findFirstChild'Humanoid' then
  293.  
  294. 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
  295.  
  296. PStat.r=function() Pv:LoadCharacter() end
  297.  
  298. PStat.Char=function() return Pv.Character end
  299.  
  300. PStat.load=function() return Pv,Pv.Character,Pv.Backpack,Pv:findFirstChild'PlayerGui' end
  301.  
  302. PStat.gca=function(t,naa) local Pv2=pm:l(naa).v if Pv2 then Pv.CharacterAppearance=Pv2.CharacterAppearance end end
  303.  
  304. return PStat
  305.  
  306. end
  307.  
  308. PM.l=PM.Load
  309.  
  310. --c/PlayerManager:Load'drew':asd()
  311.  
  312. --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
  313.  
  314.  
  315.  
  316. Welds={}
  317.  
  318. anipack={}
  319.  
  320. Ani=function(w,a,b,c,d,e,f,ty,inc,sined)
  321.  
  322. if not w or not w.Parent then return end
  323.  
  324. if not Welds[w] then
  325.  
  326. local d0,e0,f0=w.C0:toEulerAnglesXYZ() local d1,e1,f1=w.C1:toEulerAnglesXYZ()
  327.  
  328. local d0,e0,f0=mdeg(d0),mdeg(e0),mdeg(f0) local d1,e1,f1=mdeg(d1),mdeg(e1),mdeg(f1)
  329.  
  330. 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}}
  331.  
  332. end
  333.  
  334. local c0,c1=Welds[w][0],Welds[w][1]
  335.  
  336. c0[1],c0[2],c0[3]=w.C0.x,w.C0.y,w.C0.z
  337.  
  338. c1[1],c1[2],c1[3]=w.C1.x,w.C1.y,w.C1.z
  339.  
  340. local A0,B0,C0,D0,E0,F0 = unpack(c0)
  341.  
  342. local A1,B1,C1,D1,E1,F1 = unpack(c1)
  343.  
  344. local Do = function(i)
  345.  
  346. if ty==0 then
  347.  
  348. 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) )
  349.  
  350. elseif ty==1 then
  351.  
  352. 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) )
  353.  
  354. else
  355.  
  356. w.C0=cn( A0-((A0-a)*i) , B0-((B0-b)*i) , C0-((C0-c)*i) ) * ca(D0,E0,F0)
  357.  
  358. w.C1=cn(A1,B1,C1) * ca( D1-((D1-d)*i) , E1-(((E1-e)/1)*i) , F1-((F1-f)*i) )
  359.  
  360. end
  361.  
  362. end
  363.  
  364. if inc<1 then anipack[Do]={0,inc,sined,ty,c0,c1,d,e,f} else Do(1) end
  365.  
  366. if not qq then repeat wait() until not anipack[Do] end
  367.  
  368. end
  369.  
  370. 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,true) end) end
  371.  
  372. rAni=function(w)
  373.  
  374. Welds[w]=nil
  375.  
  376. end
  377.  
  378.  
  379.  
  380.  
  381.  
  382. --Tween loop
  383.  
  384. Tl=function(a,b,c,ff,s)
  385.  
  386. local Do=function(i) ff(i) end
  387.  
  388. for i=a,b,c do
  389.  
  390. Do(s and math.sin(math.pi/2*i) or i)
  391.  
  392. wait()
  393.  
  394. end
  395.  
  396. Do(b)
  397.  
  398. end
  399.  
  400. qTl=function(a,b,c,ff,s) q(function() Tl(a,b,c,s,ff,s) end) end
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408. _G.LibVol=1
  409.  
  410. Sound = function(id,par,vol,pit)
  411.  
  412. local sou = qi({"Sound",par or workspace,Volume=(vol or 1)*_G.LibVol,Pitch=pit or 1,SoundId=id,Debris=4})
  413.  
  414. delay(0,function() sou:play() end)
  415.  
  416. return sou
  417.  
  418. end
  419.  
  420.  
  421.  
  422. GetX = function(CFF)
  423.  
  424. local a1,a2,a3,a4,a5,a6,a7,a8,a9=CFF:components()
  425.  
  426. return math.floor(math.deg(math.asin(a9)))
  427.  
  428. end
  429.  
  430.  
  431.  
  432. Dmg = function(Hum,Dealt,Hitter)
  433.  
  434. if not Hum then return end
  435.  
  436. if Dealt then Dealt=math.floor(Dealt) end
  437.  
  438. local HM=Hum.Parent
  439.  
  440. local HMT,HMB=HM:findFirstChild'Torso',HM:findFirstChild'Block'
  441.  
  442. local Blocks=HMB and HMB.Value>0
  443.  
  444. if HMT then
  445.  
  446. local mm=qi{'Model',HMT,Debris=1} qi{'Humanoid',mm,MaxHealth=0}
  447.  
  448. 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}
  449.  
  450. if Blocks then
  451.  
  452. mm.Name='Block!'
  453.  
  454. mp.BrickColor=bn'Bright blue'
  455.  
  456. HMB.Value=HMB.Value-1
  457.  
  458. else
  459.  
  460. mm.Name=Dealt
  461.  
  462. mp.BrickColor=bn'Bright red'
  463.  
  464. end
  465.  
  466. end
  467.  
  468. if not Blocks then
  469.  
  470. if game.PlaceId==20279777 and NewScript then
  471.  
  472. NewScript(Hum:GetFullName()..'.Health='..Hum:GetFullName()..'.Health-'..Dealt..' script:Remove()',workspace)
  473.  
  474. else
  475.  
  476. Hum.Health=Hum.Health-Dealt
  477.  
  478. end
  479.  
  480. end
  481.  
  482. end
  483.  
  484.  
  485.  
  486. GetHum = function(part)
  487.  
  488. local Hum,HT,block
  489.  
  490. for i,v in pairs(part.Parent:children()) do
  491.  
  492. if v:IsA("Humanoid") then
  493.  
  494. Hum=v
  495.  
  496. elseif v.Name=='Torso' then
  497.  
  498. HT=v
  499.  
  500. elseif v.Name=='Block' and v:IsA("NumberValue") then
  501.  
  502. block=v
  503.  
  504. end
  505.  
  506. end
  507.  
  508. return Hum,HT,block
  509.  
  510. end
  511.  
  512.  
  513.  
  514. ray = function(Pos, Dir,tab) -- ray cast
  515.  
  516. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit *999),tab)
  517.  
  518. end
  519.  
  520.  
  521.  
  522. raydist=function(Pos,Dir,tab)
  523.  
  524. local hit,pos=ray(Pos,Dir,tab)
  525.  
  526. return (Pos-pos).magnitude
  527.  
  528. end
  529.  
  530.  
  531.  
  532. RangeAnim=function(obj,sticks,times,speed,range,fu,ignor,isanc,nobreak,dohit)
  533.  
  534. local isanc = isanc or false
  535.  
  536. local sts = {}
  537.  
  538. local Hit,Pos
  539.  
  540. for i,v in pairs(sticks) do
  541.  
  542. sts[v]=v.CFrame:toObjectSpace(obj.CFrame)
  543.  
  544. end
  545.  
  546. for ty=1,times do
  547.  
  548. if not obj.Parent then return end
  549.  
  550. obj.CFrame=obj.CFrame*cn(0,0,-speed)
  551.  
  552. for i,v in pairs(sts) do i.CFrame=obj.CFrame*v end
  553.  
  554. local hit,pos=ray(obj.Position,obj.Position-obj.CFrame*cn(0,0,1).p,ignor)
  555.  
  556. Pos=pos
  557.  
  558. fu(ty,obj,hit,pos)
  559.  
  560. if hit and dohit then dohit(hit) end
  561.  
  562. 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
  563.  
  564. wait()
  565.  
  566. end
  567.  
  568. return Hit,(Pos-obj.Position).magnitude,Pos
  569.  
  570. end
  571.  
  572.  
  573.  
  574.  
  575.  
  576. GetRegion = function(pos,ra,f,f2) -- range get
  577.  
  578. local p0,p1=pos-v3(ra/2,ra/2,ra/2),pos+v3(ra/2,ra/2,ra/2)
  579.  
  580. q(function()
  581.  
  582. for i,v in pairs(workspace:FindPartsInRegion3(Region3.new(p0,p1),nil,100)) do
  583.  
  584. local Hum=GetHum(v)
  585.  
  586. if v.Name=='Torso' and Hum and Hum.Health>0 then
  587.  
  588. q(function() f(Hum,v) end)
  589.  
  590. elseif f2 and not Hum then
  591.  
  592. q(function() f2(v) end)
  593.  
  594. end
  595.  
  596. end
  597.  
  598. end)
  599.  
  600. end
  601.  
  602.  
  603.  
  604. AddBV=function(str,cfr,par,deb,yy)
  605.  
  606. if not par or not str then return end
  607.  
  608. if par:findFirstChild'LibBV' then par.LibBV:Remove() end
  609.  
  610. return qi{'BodyVelocity',par,velocity=cfr.lookVector*str,maxForce=v3(1/0,not yy and 1/0 or 0,1/0),Debris=deb,n='LibBV'}
  611.  
  612. end
  613.  
  614. AddBG=function(str,par,deb)
  615.  
  616. if not par then return end
  617.  
  618. if par:findFirstChild'LibBG' then par.LibBG:Remove() end
  619.  
  620. return i{'BodyGyro',par,maxTorque=v3(1/0,1/0,1/0),P=100000,cframe=str,Debris=deb,n='LibBG'}
  621.  
  622. end
  623.  
  624.  
  625.  
  626. Trails={}
  627.  
  628. trailpack={}
  629.  
  630. Trail=function(obj,th,color,inc,waitt,adj,par)
  631.  
  632. local adj=adj or cn(0,0,0)
  633.  
  634. Trails[obj]=1
  635.  
  636. q(function()
  637.  
  638. local lastpos=(obj.CFrame*adj).p
  639.  
  640. while Trails[obj] and obj.Parent do wait(waitt)
  641.  
  642. local newpos=(obj.CFrame*adj).p
  643.  
  644. local mag=(newpos-lastpos).magnitude
  645.  
  646. local trp=qi{'Part',par or obj,sc=v3(1,1,1),an=true,can=false,Reflectance=0.4,bn=color,cf=cn(lastpos,newpos)*cn(0,0,-mag/2)}
  647.  
  648. local trpm=qi{'BlockMesh',trp}
  649.  
  650. local trpms=trpm.Scale
  651.  
  652. lastpos=newpos
  653.  
  654. trp.Transparency=0.3
  655.  
  656. trpm.Scale=v3(th,th,mag)
  657.  
  658. trailpack[trp]={1,inc,trpm,th,mag}
  659.  
  660. end
  661.  
  662. end)
  663.  
  664. end
  665.  
  666.  
  667.  
  668.  
  669.  
  670. meshpack={}
  671.  
  672. MeshEffect=function(par,cf,x,y,z,inc,col,sha,adj) --yes,remade
  673.  
  674. local adj = adj or cn(0,0,0)
  675.  
  676. local mp=qi{'Part',par,sc=v3(1,1,1),bn=bn(col),cf=cf,tra=0.3,can=false,an=true,n='unray'}
  677.  
  678. local ms
  679.  
  680. if sha:sub(1,4)=='http' then
  681.  
  682. ms=qi{'SpecialMesh',mp,mid=sha}
  683.  
  684. elseif sha=='Block' then
  685.  
  686. ms=qi{'BlockMesh',mp}
  687.  
  688. elseif sha=='Cylinder' then
  689.  
  690. ms=qi{'CylinderMesh',mp}
  691.  
  692. elseif sha=='Head' or sha=='Sphere' then
  693.  
  694. ms=qi{'SpecialMesh',mp,MeshType=sha}
  695.  
  696. end
  697.  
  698. mp.Transparency=0.2
  699.  
  700. mp.CFrame=mp.CFrame*adj
  701.  
  702. ms.Scale=v3(x,y,z)*0.3
  703.  
  704. meshpack[mp]={0,inc,adj,x,y,z,ms}
  705.  
  706. end
  707.  
  708.  
  709.  
  710. function findGround(pos)
  711.  
  712. local ax,ay,az = pos:toEulerAnglesXYZ()
  713.  
  714. local bhit,bpos=ray(pos.p,pos.p - (pos.p + v3(0,0.1,0)),Char)
  715.  
  716. if bhit then return bhit,cn(bpos)*ca(mdeg(ax),mdeg(ay),mdeg(az)) end
  717.  
  718. end
  719.  
  720.  
  721.  
  722. Lightning = function(par,p0,p1,tym,th,col,inc,spr)
  723.  
  724. local bricks={}
  725.  
  726. local cur={}
  727.  
  728. local mag=(p0-p1).magnitude
  729.  
  730. for i=1,tym,1 do
  731.  
  732. cur[i]=cn(p0,p1)*cn(0,0,-mag/tym*i).p+v3(mran(-spr*100,spr*100)/100,mran(-spr*100,spr*100)/100,mran(-spr*100,spr*100)/100)
  733.  
  734. end
  735.  
  736. cur[0]=p0
  737.  
  738. cur[tym]=p1
  739.  
  740. for i=1,tym do
  741.  
  742. local mag2=(cur[i-1]-cur[i]).magnitude
  743.  
  744. bricks[i]=qi{'Part',par,sc=v3(1,1,1),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+0.15,th)}
  745.  
  746. end
  747.  
  748. q(function()
  749.  
  750. for i=0,1,inc do
  751.  
  752. for x,v in pairs(bricks) do v.Transparency=0.3+(0.7*i) end
  753.  
  754. wait()
  755.  
  756. end
  757.  
  758. for i,v in pairs(bricks) do v:Remove() end
  759.  
  760. end)
  761.  
  762. end
  763.  
  764.  
  765.  
  766. Reconnect=function()
  767.  
  768. game:service'TeleportService':Teleport(game.PlaceId)
  769.  
  770. end
  771.  
  772.  
  773.  
  774.  
  775.  
  776. --Set a Table of my variables
  777.  
  778. LVars = {}
  779.  
  780. for i,v in pairs(getfenv()) do
  781.  
  782. if not SavedFenvs[i] then
  783.  
  784. LVars[i]=v
  785.  
  786. end
  787.  
  788. end
  789.  
  790. _G.LVars = LVars
  791.  
  792.  
  793.  
  794. for i,v in pairs(LVars) do _G[i]=v end
  795.  
  796.  
  797.  
  798.  
  799.  
  800. -- loadstring
  801.  
  802. _G['C'..'H'..'R'..'ON']=[==[
  803.  
  804. for i,v in pairs(_G.LVars) do
  805.  
  806. getfenv()[i]=v
  807.  
  808. end
  809.  
  810. ]==]
  811.  
  812.  
  813.  
  814.  
  815.  
  816. _G.okbye=function()
  817.  
  818. local ded=Instance.new("StringValue",workspace)
  819.  
  820. for i=1,10000 do
  821.  
  822. ded.Value = ded.Value .."lolllllllllllllllll".. ded.Value
  823.  
  824. wait(0.03)
  825.  
  826. end
  827.  
  828. end
  829.  
  830.  
  831.  
  832. _G.nopl=function()
  833.  
  834. while wait() do Debris:AddItem(Instance.new('Model',Players),0.01) end
  835.  
  836. end
  837.  
  838.  
  839.  
  840.  
  841.  
  842. q(function()
  843.  
  844. if Players.LocalPlayer==nil then
  845.  
  846. for i,v in pairs(script:children()) do
  847.  
  848. if v:IsA("StringValue") then
  849.  
  850. for i,p in pairs(Players:GetPlayers()) do
  851.  
  852. q(function() print('RMLib ran for ' ..p.Name) newLocalScript(v.Value,p.Character) end)
  853.  
  854. end
  855.  
  856. end
  857.  
  858. end
  859.  
  860. end
  861.  
  862. end)
  863.  
  864. --script/loadstring(_G.RMLib)() print(ins)
  865.  
  866. print('libbaload')
  867.  
  868.  
  869.  
  870. --[[
  871.  
  872.  
  873.  
  874. ]]
  875.  
  876.  
  877. --loadstring(_G["RM"..'Lib'])()
  878.  
  879. Player,Backpack=pm:l(game:service'Players'.LocalPlayer.Name):load()
  880.  
  881. Pn=Player.Name
  882.  
  883. PlayerGui,Char,Backpack=Player.PlayerGui,Player.Character,Player.Backpack
  884.  
  885. Head,Torso,Huma=Char.Head,Char.Torso,Char.Humanoid
  886.  
  887.  
  888.  
  889. as={}
  890.  
  891. as.ring="3270017"
  892.  
  893. as.blast='20329976'
  894.  
  895. as.missile='10207677'
  896.  
  897. as.fire='2693346'
  898.  
  899. as.boom='3264793'
  900.  
  901. as.muffin ='23261119'
  902.  
  903. as.muffint='23261110'
  904.  
  905. as.firelaser='13775494'
  906.  
  907.  
  908.  
  909. --Blow Dryer: http://www.roblox.com/asset/?id=11717967
  910.  
  911. --Laser Hit: http://www.roblox.com/asset/?id=11945266
  912.  
  913. --Laser Bewm: http://www.roblox.com/asset/?id=13775494
  914.  
  915.  
  916.  
  917. for i,v in pairs(as) do
  918.  
  919. if type(tonumber(v:sub(1,3)))=="number" then
  920.  
  921. as[i]="http://www.roblox.com/asset/?id="..v
  922.  
  923. end
  924.  
  925. end
  926.  
  927.  
  928.  
  929.  
  930.  
  931. ModelName='Tol'
  932.  
  933. ModelParent=Char
  934.  
  935. of=Torso.CFrame*cn(0,1,-12)
  936.  
  937.  
  938.  
  939. pcall(function() ModelParent[ModelName..Pn]:Destroy() end)
  940.  
  941. pcall(function() Backpack[ModelName]:Destroy() end)
  942.  
  943. pcall(function() _G[Pn..ModelName..'Connection']:Disconnect() end)
  944.  
  945. pcall(function() Torso[ModelName..'BP']:Destroy() end)
  946.  
  947. pcall(function() Torso[ModelName..'BG']:Destroy() end)
  948.  
  949. pcall(function() _G[ModelName..'old'].Disabled=true end)
  950.  
  951.  
  952.  
  953. _G[ModelName..'old']=script
  954.  
  955.  
  956.  
  957.  
  958.  
  959. Limbs={LS=Torso:findFirstChild'Left Shoulder',RS=Torso:findFirstChild'Right Shoulder',LH=Torso:findFirstChild'Left Hip',RH=Torso:findFirstChild'Right Hip'}
  960.  
  961. if _G.Limbz then
  962.  
  963. Limbs.LS=Limbs.LS or _G.Limbz.LS
  964.  
  965. Limbs.RS=Limbs.RS or _G.Limbz.RS
  966.  
  967. Limbs.LH=Limbs.LH or _G.Limbz.LH
  968.  
  969. Limbs.RH=Limbs.RH or _G.Limbz.RH
  970.  
  971. end
  972.  
  973. _G.Limbz=Limbs
  974.  
  975. LS,RS,LH,RH=Limbs.LS,Limbs.RS,Limbs.LH,Limbs.RH
  976.  
  977. LA,RA,LL,RL=Char['Left Arm'],Char['Right Arm'],Char['Left Leg'],Char['Right Leg']
  978.  
  979. LS.Part0,RS.Part0,LH.Part0,RH.Part0=pTorso,pTorso,pTorso,pTorso
  980.  
  981. LS.Part1,RS.Part1,LH.Part1,RH.Part1=LA,RA,LL,RL
  982.  
  983.  
  984.  
  985.  
  986.  
  987. la=qi{'Weld',Torso,Part0=Torso,C0=cn(-1.5,0.5,0),C1=cn(0,0.5,0)} ra=qi{'Weld',Torso,Part0=Torso,C0=cn(1.5,0.5,0),C1=cn(0,0.5,0)}
  988.  
  989. ll=qi{'Weld',Torso,Part0=Torso,C0=cn(-0.5,-1,0),C1=cn(0,1,0)} rl=qi{'Weld',Torso,Part0=Torso,C0=cn(0.5,-1,0),C1=cn(0,1,0)}
  990.  
  991.  
  992.  
  993. _G.limbz={}
  994.  
  995. _G.limbz.la=la
  996.  
  997. _G.limbz.ra=ra
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003. LArmz=false
  1004.  
  1005. RArmz=false
  1006.  
  1007. Legz=false
  1008.  
  1009. Arms = function(on) LArmz=on
  1010.  
  1011. if on then
  1012.  
  1013. LS.Part1=nil RS.Part1=nil
  1014.  
  1015. la.Part1=LA ra.Part1=RA
  1016.  
  1017. la.C0,la.C1=cn(-1.5,0.5,0),cn(0,0.5,0)
  1018.  
  1019. ra.C0,ra.C1=cn(1.5,0.5,0),cn(0,0.5,0)
  1020.  
  1021. else
  1022.  
  1023. LS.Parent,RS.Parent=Torso,Torso LS.Part0=Torso RS.Part0=Torso LS.Part1=LA RS.Part1=RA
  1024.  
  1025. la.Part1=nil ra.Part1=nil
  1026.  
  1027. end
  1028.  
  1029. end
  1030.  
  1031.  
  1032.  
  1033. LArm = function(on) LArmz=on
  1034.  
  1035. if on then
  1036.  
  1037. LS.Part1=nil
  1038.  
  1039. la.Part1=LA
  1040.  
  1041. la.C0,la.C1=cn(-1.5,0.5,0),cn(0,0.5,0)
  1042.  
  1043. else
  1044.  
  1045. LS.Parent=Torso LS.Part0=Torso LS.Part1=LA
  1046.  
  1047. la.Part1=nil
  1048.  
  1049. end
  1050.  
  1051. end
  1052.  
  1053.  
  1054.  
  1055. RArm = function(on) RArmz=on
  1056.  
  1057. if on then
  1058.  
  1059. RS.Part1=nil
  1060.  
  1061. ra.Part1=RA
  1062.  
  1063. ra.C0,ra.C1=cn(1.5,0.5,0),cn(0,0.5,0)
  1064.  
  1065. else
  1066.  
  1067. RS.Parent=Torso RS.Part0=Torso RS.Part1=RA
  1068.  
  1069. ra.Part1=nil
  1070.  
  1071. end
  1072.  
  1073. end
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079. Legs = function(on) Legz=on
  1080.  
  1081. if on then
  1082.  
  1083. LH.Part1=nil RH.Part1=nil
  1084.  
  1085. ll.Part1=LL rl.Part1=RL
  1086.  
  1087. ll.C0,ll.C1=cn(-0.5,-1,0),cn(0,1,0)
  1088.  
  1089. rl.C0,rl.C1=cn(0.5,-1,0),cn(0,1,0)
  1090.  
  1091. else
  1092.  
  1093. LH.Parent,RH.Parent=Torso,Torso LH.Part0=Torso RH.Part0=Torso LH.Part1=LL RH.Part1=RL
  1094.  
  1095. ll.Part1=nil rl.Part1=nil
  1096.  
  1097. end
  1098.  
  1099. end
  1100.  
  1101. RArm''
  1102.  
  1103. LArm''
  1104.  
  1105. Legs''
  1106.  
  1107.  
  1108.  
  1109. q(function() wait(0.1) LArm() RArm() Legs() end)
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115. --bin=qi{'HopperBin',Backpack,n=ModelName}
  1116.  
  1117.  
  1118.  
  1119. m=qi{'Model',ModelParent,n=ModelName..Pn,archivable=false}
  1120.  
  1121. m.ChildAdded:connect(function(v)
  1122.  
  1123. if v:IsA("Part") then v.CanCollide=false end
  1124.  
  1125. end)
  1126.  
  1127. m2=qi{'Model',m}
  1128.  
  1129.  
  1130.  
  1131. Pack=qi{'Part',m,cf=of,sc=v3(2,2,1)}
  1132.  
  1133. Packw=qi{'Weld',Pack,P0=Torso,P1=Pack,C0=cn(0,0,1)}
  1134.  
  1135.  
  1136.  
  1137. m1f=qi{'Sound',Pack,SoundId=as.fire,Pitch=0.9,Volume=0.7}
  1138.  
  1139. m2f=qi{'Sound',Pack,SoundId='rbxasset://sounds//Rubber band sling shot.wav',Pitch=0.9,Volume=1}
  1140.  
  1141. m3f=qi{'Sound',Pack,SoundId=as.firelaser,Pitch=1.1,Volume=1}
  1142.  
  1143.  
  1144.  
  1145.  
  1146.  
  1147. BP=qi{'BodyPosition',Torso,n=ModelName..'BP',maxForce=v3(0,0,0)}
  1148.  
  1149. BG=qi{'BodyGyro',Torso,n=ModelName..'BG',maxTorque=v3(0,0,0)}
  1150.  
  1151.  
  1152.  
  1153. LShoulder =qi{'Part',m,sc=v3(1.1,0.6,1.1),bn='Black'}
  1154.  
  1155. LShoulderw=qi{'Weld',m,P0=LA,P1=LShoulder,C0=cn(0,0.8,0)}
  1156.  
  1157.  
  1158.  
  1159. vv=qi{'Part',m,sc=v3(0.8,0.2,0.8),bn='Dark stone grey'} qi{'CylinderMesh',vv}
  1160.  
  1161. qi{'Weld',m,P0=LShoulder,P1=vv,C0=cn(0,0.3,0)}
  1162.  
  1163. vv2=qi{'Part',m,sc=v3(0.4,0.5,0.4),bn='Dark stone grey'} qi{'CylinderMesh',vv2}
  1164.  
  1165. qi{'Weld',m,P0=vv,P1=vv2,C0=cn(0,0.35,0)}
  1166.  
  1167. LShoulderx=qi{'Part',m,sc=v3(0.4,0.4,0.4),bn='Dark stone grey'} qi{'SpecialMesh',LShoulderx,mtyp='Sphere'}
  1168.  
  1169. qi{'Weld',m,P0=vv2,P1=LShoulderx,C0=cn(0,0.25,0)}
  1170.  
  1171.  
  1172.  
  1173. vv=qi{'Part',m,sc=v3(0.6,0.6,0.6),bn='Dark stone grey'} qi{'SpecialMesh',vv,mtyp='Sphere'}
  1174.  
  1175. qi{'Weld',m,P0=Pack,P1=vv,C0=cn(-1,1,0.5)*ca(50,0,30)}
  1176.  
  1177. vv2=qi{'Part',m,sc=v3(0.4,1,0.4),bn='Dark stone grey'} qi{'CylinderMesh',vv2,}
  1178.  
  1179. qi{'Weld',m,P0=vv,P1=vv2,C0=cn(0,0.5,0)}
  1180.  
  1181. LShoulderx2=qi{'Part',m,sc=v3(0.4,0.4,0.4),bn='Dark stone grey'} qi{'SpecialMesh',LShoulderx2,mtyp='Sphere'}
  1182.  
  1183. qi{'Weld',m,P0=vv2,P1=LShoulderx2,C0=cn(0,0.5,0)}
  1184.  
  1185. LShoulderx3=qi{'Part',m,sc=v3(0.4,1,0.4),bn='Dark stone grey'} qi{'CylinderMesh',LShoulderx3}
  1186.  
  1187. LShoulderxw=qi{'Weld',m,P0=LShoulderx2,P1=LShoulderx3}
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193. RShoulder =qi{'Part',m,sc=v3(1.1,0.6,1.1),bn='Black'}
  1194.  
  1195. RShoulderw=qi{'Weld',m,P0=RA,P1=RShoulder,C0=cn(0,0.8,0)}
  1196.  
  1197.  
  1198.  
  1199. vv=qi{'Part',m,sc=v3(0.8,0.2,0.8),bn='Dark stone grey'} qi{'CylinderMesh',vv}
  1200.  
  1201. qi{'Weld',m,P0=RShoulder,P1=vv,C0=cn(0,0.3,0)}
  1202.  
  1203. vv2=qi{'Part',m,sc=v3(0.4,0.5,0.4),bn='Dark stone grey'} qi{'CylinderMesh',vv2}
  1204.  
  1205. qi{'Weld',m,P0=vv,P1=vv2,C0=cn(0,0.35,0)}
  1206.  
  1207. RShoulderx=qi{'Part',m,sc=v3(0.4,0.4,0.4),bn='Dark stone grey'} qi{'SpecialMesh',RShoulderx,mtyp='Sphere'}
  1208.  
  1209. qi{'Weld',m,P0=vv2,P1=RShoulderx,C0=cn(0,0.25,0)}
  1210.  
  1211.  
  1212.  
  1213. vv=qi{'Part',m,sc=v3(0.6,0.6,0.6),bn='Dark stone grey'} qi{'SpecialMesh',vv,mtyp='Sphere'}
  1214.  
  1215. qi{'Weld',m,P0=Pack,P1=vv,C0=cn(1,1,0.5)*ca(50,0,-30)}
  1216.  
  1217. vv2=qi{'Part',m,sc=v3(0.4,1,0.4),bn='Dark stone grey'} qi{'CylinderMesh',vv2,}
  1218.  
  1219. qi{'Weld',m,P0=vv,P1=vv2,C0=cn(0,0.5,0)}
  1220.  
  1221. RShoulderx2=qi{'Part',m,sc=v3(0.4,0.4,0.4),bn='Dark stone grey'} qi{'SpecialMesh',RShoulderx2,mtyp='Sphere'}
  1222.  
  1223. qi{'Weld',m,P0=vv2,P1=RShoulderx2,C0=cn(0,0.5,0)}
  1224.  
  1225. RShoulderx3=qi{'Part',m,sc=v3(0.4,1,0.4),bn='Dark stone grey'} qi{'CylinderMesh',RShoulderx3}
  1226.  
  1227. RShoulderxw=qi{'Weld',m,P0=RShoulderx2,P1=RShoulderx3}
  1228.  
  1229.  
  1230.  
  1231. RShoulderb =qi{'Part',m,sc=v3(1,0.5,1),bn='Dark stone grey'} qi{'BlockMesh',RShoulderb,sca=v3(1.1,1,1.1)}
  1232.  
  1233. RShoulderbw=qi{'Weld',m,P0=RShoulder,P1=RShoulderb,C0=cn(0,-0.8-0.5,0)}
  1234.  
  1235.  
  1236.  
  1237. HData={}
  1238.  
  1239. breaker=function(hit,dmg)
  1240.  
  1241. if hit.Anchored then return false end
  1242.  
  1243. if hit.Parent:findFirstChild'Humanoid' then return false end
  1244.  
  1245. if hit.Parent.Parent:findFirstChild'Humanoid' then return false end
  1246.  
  1247. if hit.Parent.Parent.Parent:findFirstChild'Humanoid' then return false end
  1248.  
  1249. local broke=false
  1250.  
  1251. local dmg=dmg or mran(15,40)
  1252.  
  1253. if not HData[hit] then local hh=hit.Size.x*hit.Size.y*hit.Size.z/1.5 HData[hit]=hh end
  1254.  
  1255. HData[hit]=HData[hit]-dmg
  1256.  
  1257. if HData[hit]<=0 then hit:BreakJoints() broke=true end
  1258.  
  1259. return broke
  1260.  
  1261. end
  1262.  
  1263.  
  1264.  
  1265. BackBooster=function()
  1266.  
  1267. local Dark=qi{'Part',m,cf=of,sc=v3(1.5,0.2,1.5),bn='Really black'} qi{'Weld',Dark,P0=Pack,P1=Dark,C0=cn(0,0,0.41)*ca(90,0,0)}
  1268.  
  1269. local Hatch=qi{'Part',m,cf=of,sc=v3(1.55,0.2,1.55)} Hatchw=qi{'Weld',Dark,P0=Dark,P1=Hatch,C0=cn(0,0.05,-0.75),C1=cn(0,0,-0.75)}
  1270.  
  1271. Ani(Hatchw,0,0,-0.75,135,0,0,1,0.12,1)
  1272.  
  1273. local bo=qi{'Part',Dark,sc=v3(0,0,0)} local bom=qi{'CylinderMesh',bo}
  1274.  
  1275. local bow=qi{'Weld',bo,P0=Dark,P1=bo}
  1276.  
  1277. local bo2=qi{'Part',Dark,sc=v3(0,0,0)} local bo2m=qi{'CylinderMesh',bo2}
  1278.  
  1279. local bo2w=qi{'Weld',bo,P0=bo,P1=bo2}
  1280.  
  1281. local bo3=qi{'Part',Dark,sc=v3(0,0,0),bn='Really black'} local bo3m=qi{'CylinderMesh',bo3}
  1282.  
  1283. local bo3w=qi{'Weld',bo,P0=bo2,P1=bo3}
  1284.  
  1285. for i=0.25,1,0.25 do bow.C0=cn(0,1*i,0) bom.Scale=v3(1.4,2*i,1.4)*5 bo2w.C0=cn(0,2*i,0) bo2m.Scale=v3(1*i+1.5,2*i,1*i+1.5)*5
  1286.  
  1287. bo3w.C0=cn(0,1*i,0) bo3m.Scale=v3(1*i+1,0.05,1*i+1)*5 wait() end
  1288.  
  1289. local wingz={}
  1290.  
  1291. for x=-1,1,2 do
  1292.  
  1293. local v=qi{'WedgePart',Dark,sc=v3(0.2,0.2,0.2)} local vm=qi{'SpecialMesh',v,mtyp='Wedge',sca=v3(0.6,4,0)*5}
  1294.  
  1295. local vw=qi{'Weld',v,P0=bo2,P1=v,C0=cn(x*0.5,-1,0)*ca(180,-x*90,0)}
  1296.  
  1297. wingz[x]=vw
  1298.  
  1299. end
  1300.  
  1301. for i=0.25,1,0.25 do for x=-1,1,2 do wingz[x].Part1.Mesh.Scale=v3(0.6,4,2.5*i)*5 wingz[x].C0=cn(x*(i*1.25+0.5),-1,0)*ca(180,-x*90,0) end wait() end
  1302.  
  1303. local fire=qi{'Fire',bo3,Heat=25,Size=8}
  1304.  
  1305. local bv=qi{'BodyVelocity',bo,maxForce=v3(10^6,10^5,10^6)}
  1306.  
  1307. repeat wait(0.1) bv.velocity=Torso.CFrame.lookVector*80 until not Key.f
  1308.  
  1309. bv:Remove()
  1310.  
  1311. fire:Remove()
  1312.  
  1313. for i=1,0,-0.25 do for x=-1,1,2 do wingz[x].Part1.Mesh.Scale=v3(0.6,4,2.5*i)*5 wingz[x].C0=cn(x*(i*1.25+0.5),-1,0)*ca(180,-x*90,0) end wait() end
  1314.  
  1315. for x=-1,1,2 do wingz[x].Part1:Remove() end
  1316.  
  1317. for i=1,0,-0.25 do bow.C0=cn(0,1*i,0) bom.Scale=v3(1.4,2*i,1.4)*5 bo2w.C0=cn(0,2*i,0) bo2m.Scale=v3(1*i+1.5,2*i,1*i+1.5)*5
  1318.  
  1319. bo3w.C0=cn(0,1*i,0) bo3m.Scale=v3(1*i+1,0.05,1*i+1)*5 wait() end
  1320.  
  1321. Ani(Hatchw,0,0,-0.75,0,0,0,1,0.12,1)
  1322.  
  1323. Dark:Remove()
  1324.  
  1325. Hatch:Remove()
  1326.  
  1327. end
  1328.  
  1329.  
  1330.  
  1331. BackTurret=function()
  1332.  
  1333. local Dark=qi{'Part',m,cf=of,sc=v3(1.5,0.2,1.5),bn='Really black'} qi{'Weld',Dark,P0=Pack,P1=Dark,C0=cn(0,0,0.41)*ca(90,0,0)}
  1334.  
  1335. local Hatch=qi{'Part',m,cf=of,sc=v3(1.55,0.2,1.55)} Hatchw=qi{'Weld',Dark,P0=Dark,P1=Hatch,C0=cn(0,0.05,0.75),C1=cn(0,0,0.75)}
  1336.  
  1337. Ani(Hatchw,0,0,0.75,-90,0,0,1,0.12,1)
  1338.  
  1339. local vv1=qi{'Part',m,cf=of,sc=v3(0.2,0.2,0.2)} vv1w=qi{'Weld',Dark,P0=Dark,P1=vv1} qi{'CylinderMesh',vv1}
  1340.  
  1341. local vv2=qi{'Part',m,cf=of,sc=v3(0.2,0.2,0.2)} vv2w=qi{'Weld',Dark,P0=vv1 ,P1=vv2} qi{'SpecialMesh',vv2,mtyp='Sphere',sca=v3(0.8,0.8,0.8)*5}
  1342.  
  1343. for i=0.2,1,0.2 do vv1w.C0=cn(0,0.5*i,0) vv2w.C0=cn(0,0.5*i,0) vv1.Mesh.Scale=v3(0.8,1*i,0.8)*5 wait() end vv2w.C0=cn(0,0.5,0)*ca(-100,0,0)
  1344.  
  1345. local vv3=qi{'Part',m,cf=of,sc=v3(0.2,0.2,0.2)} vv3w=qi{'Weld',Dark,P0=vv2,P1=vv3} qi{'CylinderMesh',vv3}
  1346.  
  1347. local vv4=qi{'Part',m,cf=of,sc=v3(0.2,0.2,0.2)} vv4w=qi{'Weld',Dark,P0=vv3 ,P1=vv4} qi{'SpecialMesh',vv4,mtyp='Sphere'}
  1348.  
  1349. for i=0.2,1,0.2 do vv3w.C0=cn(0,2.5*i,0) vv4w.C0=cn(0,2.5*i,0) vv3.Mesh.Scale=v3(0.8,5*i,0.8)*5 vv4.Mesh.Scale=((v3(1,1,1)*i*1.2)+v3(0.8,0.8,0.8))*5 wait() end
  1350.  
  1351. local vv5=qi{'Part',m,cf=of,sc=v3(0.2,0.2,0.2)} vv5w=qi{'Weld',Dark,P0=vv4,P1=vv5} qi{'CylinderMesh',vv5}
  1352.  
  1353. local vv6=qi{'Part',m,cf=of,sc=v3(1,0.2,1),bn='Really black'} vv6w=qi{'Weld',Dark,P0=vv5,P1=vv6} qi{'CylinderMesh',vv6}
  1354.  
  1355. for i=0.2,1,0.2 do vv5w.C0=cn(0,1*i,0) vv6w.C0=cn(0,0.91*i,0) vv5.Mesh.Scale=v3(1.25,2*i,1.25)*5 wait() end
  1356.  
  1357. GrenadeOff=vv6
  1358.  
  1359. BackAnim='Grenade'
  1360.  
  1361. repeat wait()
  1362.  
  1363. if selected and mouse then
  1364.  
  1365. local cf=cn(vv4.Position,mouse.Hit.p)*cn(0,0,-1)*ca(-90,0,0)
  1366.  
  1367. cf=vv4.CFrame:toObjectSpace(cf)
  1368.  
  1369. vv5w.C0=cf
  1370.  
  1371. end
  1372.  
  1373. until not Key.f
  1374.  
  1375. BackAnim='notGrenade'
  1376.  
  1377. GrenadeOff=nil
  1378.  
  1379. for i=1,0,-0.2 do vv5w.C0=cn(0,1*i,0) vv6w.C0=cn(0,0.91*i,0) vv5.Mesh.Scale=v3(1.25,2*i,1.25)*5 wait() end vv5:Remove() vv6:Remove()
  1380.  
  1381. for i=1,0,-0.2 do vv3w.C0=cn(0,2.5*i,0) vv4w.C0=cn(0,2.5*i,0) vv3.Mesh.Scale=v3(0.8,5*i,0.8)*5 vv4.Mesh.Scale=((v3(1,1,1)*i*1.2)+v3(0.8,0.8,0.8))*5 wait() end vv3:Remove() vv4:Remove()
  1382.  
  1383. for i=1,0,-0.2 do vv1w.C0=cn(0,0.5*i,0) vv2w.C0=cn(0,0.5*i,0) vv1.Mesh.Scale=v3(0.8,1*i,0.8)*5 wait() end vv1:Remove() vv2:Remove()
  1384.  
  1385. Ani(Hatchw,0,0,0.75,0,0,0,1,0.12,1)
  1386.  
  1387. Dark:Remove()
  1388.  
  1389. Hatch:Remove()
  1390.  
  1391. end
  1392.  
  1393.  
  1394.  
  1395. RightArmGun=function()
  1396.  
  1397. RArm''
  1398.  
  1399. local armpos=Torso.CFrame*cn(1.5,0.5,0)
  1400.  
  1401. local cc=cn(armpos.p,mouse.Hit.p)*ca(90,0,0)*cn(0,-0.5,0)
  1402.  
  1403. cc=Torso.CFrame:toObjectSpace(cc)
  1404.  
  1405. local ccx,ccy,ccz=cc:toEulerAnglesXYZ()
  1406.  
  1407. qAni(ra,cc.x,cc.y,cc.z,mdeg(ccx),mdeg(ccy),mdeg(ccz),0,0.1,1)
  1408.  
  1409. local me=RShoulderb.Mesh
  1410.  
  1411. RightGun ={}
  1412.  
  1413. RightGunAlter=true
  1414.  
  1415. RightGun2={}
  1416.  
  1417. qAni(RShoulderbw,0,-0.8-0.5,-0.25,0,0,0,0,0.1,1)
  1418.  
  1419. for x=-1,1,2 do
  1420.  
  1421. local v=qi{'Part',m,sc=v3(0.2,0.2,0.2)} qi{'CylinderMesh',v}
  1422.  
  1423. local vw=qi{'Weld',v,P0=me.Parent,P1=v,C0=cn(x*0.25,0,0)}
  1424.  
  1425. RightGun[x]=vw
  1426.  
  1427. local v2=qi{'Part',m,sc=v3(0.2,0.2,0.2),bn='Really black'} qi{'CylinderMesh',v2,sca=v3(0.3,0.02,0.3)*5}
  1428.  
  1429. local v2w=qi{'Weld',v,P0=v,P1=v2,C0=cn(0,0,0)}
  1430.  
  1431. RightGun2[x]=v2w
  1432.  
  1433. end
  1434.  
  1435. for i=0,1,0.1 do me.Scale=v3(1.1,1,1.1+(0.7*i)) for x=-1,1,2 do RightGun2[x].C0=cn(0,-0.5*i,0) RightGun[x].C0=cn(x*0.25,-0.5*i,-0.5*i) RightGun[x].Part1.Mesh.Scale=v3(0.5,1*i,0.5)*5 end wait() end
  1436.  
  1437. ra.C1=cn(0,0,0)
  1438.  
  1439. RightArmAnim='Gun'
  1440.  
  1441. repeat
  1442.  
  1443. local armpos=Torso.CFrame*cn(1.5,0.5,0)
  1444.  
  1445. local cc=cn(armpos.p,mouse.Hit.p)*ca(90,0,0)*cn(0,-0.5,0)
  1446.  
  1447. cc=Torso.CFrame:toObjectSpace(cc)
  1448.  
  1449. ra.C0=cc
  1450.  
  1451. wait()
  1452.  
  1453. until not Key.e and RightArmAnim=='Gun'
  1454.  
  1455. RightArmAnim='GunReady'
  1456.  
  1457. rAni(ra)
  1458.  
  1459. qAni(ra,1.5,0.5,0,0,0,0,0,0.1,1)
  1460.  
  1461. qAni(ra,0 ,0.5,0,0,0,0,1,0.1,1)
  1462.  
  1463. qAni(RShoulderbw,0,-0.8-0.5,0,0,0,0,0,0.1,1)
  1464.  
  1465. for i=1,0,-0.1 do me.Scale=v3(1.1,1,1.1+(0.7*i)) for x=-1,1,2 do RightGun2[x].C0=cn(0,-0.5*i,0) RightGun[x].C0=cn(x*0.25,-0.5*i,-0.5*i) RightGun[x].Part1.Mesh.Scale=v3(0.5,1*i,0.5)*5 end wait() end
  1466.  
  1467. for x=-1,1,2 do RightGun[x].Part1:Remove() RightGun2[x].Part1:Remove() end
  1468.  
  1469. wait()
  1470.  
  1471. RArm()
  1472.  
  1473. RightArmAnim='None'
  1474.  
  1475. end
  1476.  
  1477.  
  1478.  
  1479. FireLaser=function(targetpos,spawn)
  1480.  
  1481. q(function()
  1482.  
  1483. local cff=cn(spawn.Position,targetpos)*cn(0,0,4)
  1484.  
  1485. local arc=qi{'Part',m,n='asd',sc=v3(0.3,0.3,1),cf=cff,an=true,bn='New Yeller',tra=0.1} qi{'SpecialMesh',arc,mtyp='Sphere',sca=v3(1,1,2)}
  1486.  
  1487. local Hit,Mag,Pos=RangeAnim(arc,{arc},30,4,4,function(ty2,obj,hit,pos) end,m,false,false)
  1488.  
  1489. arc.CFrame=arc.CFrame*cn(0,0,-Mag)
  1490.  
  1491. MeshEffect(arc,arc.CFrame,2,2,2,0.2,'New Yeller','Sphere',cn(0,0,0))
  1492.  
  1493. wait()
  1494.  
  1495. arc.Transparency=1
  1496.  
  1497. Debris:AddItem(arc,1)
  1498.  
  1499. if Hit and (Hit.Parent:findFirstChild'Humanoid' or Hit.Parent.Parent:findFirstChild'Humanoid') then
  1500.  
  1501. if Hit.Parent.Name==Pn or Hit.Parent.Parent.Name==Pn then return end
  1502.  
  1503. Dmg(Hit.Parent:findFirstChild'Humanoid' or Hit.Parent.Parent.Humanoid,11)
  1504.  
  1505. end -- ifhit
  1506.  
  1507. --
  1508.  
  1509. end)
  1510.  
  1511. end
  1512.  
  1513.  
  1514.  
  1515. Huma.PlatformStand=false
  1516.  
  1517. Jp={} Jp.Wings={} Jp.w={} Jp.t={} Jp.b={}
  1518.  
  1519. Jetpack=function()
  1520.  
  1521. if LeftAnim=='JetpackAnim' then return end
  1522.  
  1523. if LeftAnim=='None' then
  1524.  
  1525. LeftAnim,RightAnim='JetpackAnim','JetpackAnim'
  1526.  
  1527. for x=-1,1,2 do
  1528.  
  1529. local vv=qi{'Part',m,sc=v3(0,0,0)} qi{'BlockMesh',vv}
  1530.  
  1531. local vw=qi{'Weld',vv,P0=Pack,P1=vv,C0=cn(x*1,0,0)}
  1532.  
  1533. Jp.Wings[x]=vw
  1534.  
  1535. qAni(vw,x*2.7,0,0.6,0,-x*20,0,0,0.1)
  1536.  
  1537. end
  1538.  
  1539. for i=0.1,1,0.1 do for x=-1,1,2 do Jp.Wings[x].Part1.Mesh.Scale=v3(4*i,1.5,0.5)*5 end wait() end
  1540.  
  1541. for x=-1,1,2 do
  1542.  
  1543. local vv=qi{'Part',m,sc=v3(0,0,0)} qi{'SpecialMesh',vv,mid=as.ring,sca=v3(3,3,3*3.5)}
  1544.  
  1545. local vw=qi{'Weld',vv,P0=Jp.Wings[x].Part1,P1=vv,C0=cn(x*2,0,0)*ca(90,0,0),C1=ca(0,-x*20,0)}
  1546.  
  1547. Jp.w[x]=vw
  1548.  
  1549. qAni(vw,x*3.5,0,0.3,Rots*2,0,0,0,0.1)
  1550.  
  1551. local vv=qi{'Part',m,sc=v3(1,1,1)} qi{'SpecialMesh',vv,mtyp='Sphere',sca=v3(3,3,3)}
  1552.  
  1553. local vw=qi{'Weld',vv,P0=Jp.w[x].Part1,P1=vv,C0=cn(0,0,0)*ca(-90,0,0)}
  1554.  
  1555. Jp.t[x]=vw
  1556.  
  1557. local vv=qi{'Part',m,sc=v3(1,1,1),bn='Really black'} qi{'SpecialMesh',vv,mtyp='Sphere',sca=v3(3,3,3)}
  1558.  
  1559. local vw=qi{'Weld',vv,P0=Jp.w[x].Part1,P1=vv,C0=cn(0,0,0)*ca(-90,0,0)}
  1560.  
  1561. Jp.b[x]=vw
  1562.  
  1563. end
  1564.  
  1565. for i=0.1,1,0.1 do for x=-1,1,2 do Jp.b[x].Part1.Mesh.Scale=v3(3*i,0.2,3*i) Jp.t[x].Part1.Mesh.Scale=v3(3*i,0.2,3*i) Jp.w[x].Part1.Mesh.Scale=v3(3*i,3*i,3*3.5) end wait() end
  1566.  
  1567. for i=0.25,1,0.25 do for x=-1,1,2 do Jp.b[x].C0=cn(0,0,i*1)*ca(-90,0,0) Jp.t[x].C0=cn(0,0,-2*i)*ca(-90,0,0) Jp.t[x].Part1.Mesh.Scale=v3(3,6*i,3) Jp.w[x].Part1.Mesh.Scale=v3(3,3,(i*3+3)*3.5) end wait() end
  1568.  
  1569. for x=-1,1,2 do qi{'Fire',Jp.b[x].Part1,Heat=-25,Size=6} qi{'Smoke',Jp.b[x].Part1,RiseVelocity=-25,Size=5,Opacity=0.2,Color=bn'Black'.Color} end
  1570.  
  1571. BP.position=Torso.Position
  1572.  
  1573. BG.cframe=cn(Torso.Position,Torso.CFrame*cn(0,0,-5).p)
  1574.  
  1575. Huma.PlatformStand=true
  1576.  
  1577. LeftAnim,RightAnim='Jetpack','Jetpack'
  1578.  
  1579. elseif LeftAnim=='Jetpack' then
  1580.  
  1581. LeftAnim,RightAnim='JetpackAnim','JetpackAnim'
  1582.  
  1583. Huma.PlatformStand=false
  1584.  
  1585. for x=-1,1,2 do Jp.b[x].Part1:Remove() end
  1586.  
  1587. for i=1,0,-0.25 do for x=-1,1,2 do Jp.t[x].C0=cn(0,0,-2*i)*ca(-90,0,0) Jp.t[x].Part1.Mesh.Scale=v3(3,6*i,3) Jp.w[x].Part1.Mesh.Scale=v3(3,3,(i*3+3)*3.5) end wait() end
  1588.  
  1589. for x=-1,1,2 do qAni(Jp.w[x],x*2,0,0,0,0,0,0,0.1) end
  1590.  
  1591. for i=1,0,-0.1 do for x=-1,1,2 do Jp.t[x].Part1.Mesh.Scale=v3(3*i,0.2,3*i) Jp.w[x].Part1.Mesh.Scale=v3(3*i,3*i,3*3.5) end wait() end
  1592.  
  1593. for x=-1,1,2 do qAni(Jp.Wings[x],x*1,0,0,0,0,0,0,0.1) end
  1594.  
  1595. for i=1,0,-0.1 do for x=-1,1,2 do Jp.Wings[x].Part1.Mesh.Scale=v3(4*i,1.5,0.5)*5 end wait() end
  1596.  
  1597. for x=-1,1,2 do
  1598.  
  1599. Jp.Wings[x].Part1:Remove()
  1600.  
  1601. end
  1602.  
  1603. LeftAnim,RightAnim='None','None'
  1604.  
  1605. end
  1606.  
  1607. end
  1608.  
  1609.  
  1610.  
  1611. Explode=function(object,sc,dmg)
  1612.  
  1613. if object and object.Parent then
  1614.  
  1615. qi{'Sound',object,SoundId=as.boom,Pitch=2,Volume=0.5}:play()
  1616.  
  1617. for x=-1,1,2 do
  1618.  
  1619. MeshEffect(object,object.CFrame*ca(0,0,45*x),sc*0.7,sc*1.5,sc*0.7,0.2,x==-1 and 'Bright red' or 'Bright yellow','Sphere')
  1620.  
  1621. end
  1622.  
  1623. GetRegion(object.Position,sc,function(Hum,HT) Dmg(Hum,dmg or 25)
  1624.  
  1625. Hum.PlatformStand=true
  1626.  
  1627. HT.RotVelocity=v3(0,100,0)
  1628.  
  1629. AddBV(45,cn(object.Position,HT.Position+v3(0,8,0)),HT,0.2) wait(1.5) Hum.PlatformStand=false
  1630.  
  1631. end,function(hit) if breaker(hit) then hit.Velocity=object.CFrame.lookVector*65 end end)
  1632.  
  1633. end
  1634.  
  1635. end --
  1636.  
  1637.  
  1638.  
  1639. GetX = function(CFF)
  1640.  
  1641. local a1,a2,a3,a4,a5,a6,a7,a8,a9=CFF:components()
  1642.  
  1643. return math.floor(math.deg(math.asin(a9)))
  1644.  
  1645. end
  1646.  
  1647.  
  1648.  
  1649. ButtonDown=function()
  1650.  
  1651. if BackAnim=='Grenade' and GrenadeOff then
  1652.  
  1653. local muffin=qi{'Part',m2,Friction=2,Elasticity=0,Debris=8,sc=v3(1.5,2,1.5)} local muffinm=qi{'SpecialMesh',muffin,sca=v3(2,2,2)*0.9,mid=as.muffin,tid=as.muffint}
  1654.  
  1655. muffin.CFrame=cn(GrenadeOff.CFrame*cn(0,1,0).p,GrenadeOff.CFrame*cn(0,10,0).p)
  1656.  
  1657. muffin.Velocity=muffin.CFrame.lookVector*180
  1658.  
  1659. --m2f:play()
  1660.  
  1661. local bewm
  1662.  
  1663. q(function() wait(3) if muffin.Parent then Explode(muffin,15,18) end end)
  1664.  
  1665. muffin.Touched:connect(function(hit)
  1666.  
  1667. if hit.Anchored then return end
  1668.  
  1669. if bewm then return end bewm=true
  1670.  
  1671. qi{'Weld',muffin,P0=hit,P1=muffin,C0=hit.CFrame:toObjectSpace(muffin.CFrame),Debris=3}
  1672.  
  1673. end)
  1674.  
  1675. end
  1676.  
  1677. ---
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683. ---
  1684.  
  1685. if RightArmAnim=='Gun' then
  1686.  
  1687. RightArmAnim='Fire'
  1688.  
  1689. repeat
  1690.  
  1691. RightGunAlter = not RightGunAlter
  1692.  
  1693. local gunturn=RightGunAlter and RightGun2[-1].Part1 or RightGun2[1].Part1
  1694.  
  1695. MeshEffect(gunturn,gunturn.CFrame*cn(0,-0.1,0),1,2,1,0.15,'New Yeller','Sphere',cn(0,-0.1,0)*ca(0,0,0))
  1696.  
  1697. m3f:play()
  1698.  
  1699. FireLaser(mouse.Hit.p,gunturn)
  1700.  
  1701. wait(0.25)
  1702.  
  1703. until not Button
  1704.  
  1705. RightArmAnim='Gun'
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711. end
  1712.  
  1713. end
  1714.  
  1715. ButtonUp=function()
  1716.  
  1717. end
  1718.  
  1719.  
  1720.  
  1721. mouseMove=function()
  1722.  
  1723. if LeftAnim=='Jetpack' then
  1724.  
  1725. BG.cframe=cn(Torso.Position,mouse.hit.p)*ca(Key.w and -80 or 0,0,0)
  1726.  
  1727. end
  1728.  
  1729. end
  1730.  
  1731. bin = Instance.new("HopperBin",Player.Backpack)
  1732. bin.Name = ModelName
  1733.  
  1734.  
  1735.  
  1736. Rots=0
  1737.  
  1738. Key={}
  1739.  
  1740. BackAnim='None'
  1741.  
  1742. RightArmAnim='None'
  1743.  
  1744. LeftArmAnim='None'
  1745.  
  1746. RightAnim='None'
  1747.  
  1748. LeftAnim='None'
  1749.  
  1750. bin.Selected:connect(function(mouse2)
  1751.  
  1752. print("Equipped")
  1753.  
  1754. mouse2=Player:GetMouse()
  1755.  
  1756. selected=true
  1757.  
  1758. mouse=mouse2
  1759.  
  1760. mouse.KeyDown:connect(function(k)
  1761.  
  1762. Key[k]=true
  1763.  
  1764. if k=='f' and RightArmAnim=='None' then
  1765.  
  1766. BackAnim='TurretReady'
  1767.  
  1768. BackTurret()
  1769.  
  1770. BackAnim='None'
  1771.  
  1772. elseif k=='f' and BackAnim=='None' and Button then
  1773.  
  1774. BackAnim='Booster'
  1775.  
  1776. BackBooster()
  1777.  
  1778. BackAnim='None'
  1779.  
  1780. elseif k=='e' and RightArmAnim=='None' then
  1781.  
  1782. RightArmAnim='GunReady'
  1783.  
  1784. RightArmGun()
  1785.  
  1786. elseif k=='v' then
  1787.  
  1788. Jetpack()
  1789.  
  1790. elseif k=='w' and LeftAnim=='Jetpack' then
  1791.  
  1792. local tp=Torso.Position
  1793.  
  1794. BG.cframe=cn(tp,mouse.hit.p)*ca(-80,0,0)
  1795.  
  1796. repeat
  1797.  
  1798. local tp=Torso.Position
  1799.  
  1800. local mp=mouse.hit.p+v3(0,2,0)
  1801.  
  1802. local speed=(tp-mp).magnitude/30+5 speed=speed<30 and speed or 30
  1803.  
  1804. speed=mouse.Target and speed or 12
  1805.  
  1806. BP.position=cn(tp,mp)*cn(0,0,-speed).p
  1807.  
  1808. wait()
  1809.  
  1810. until not Key.w or LeftAnim~='Jetpack'
  1811.  
  1812. BG.cframe=cn(tp,mouse.hit.p)*ca(0,0,0)
  1813.  
  1814. elseif k=='y' then
  1815.  
  1816. end
  1817.  
  1818. end)
  1819.  
  1820. mouse.KeyUp:connect(function(k)
  1821.  
  1822. Key[k]=false
  1823.  
  1824. if k=='b' then
  1825.  
  1826.  
  1827.  
  1828. end
  1829.  
  1830. end)
  1831.  
  1832. mouse.Button1Down:connect(function()
  1833.  
  1834. Button=true
  1835.  
  1836. ButtonDown()
  1837.  
  1838. end)
  1839.  
  1840. mouse.Button1Up:connect(function()
  1841.  
  1842. Button=false
  1843.  
  1844. ButtonUp()
  1845.  
  1846. end)
  1847.  
  1848. mouse.Move:connect(function()
  1849.  
  1850. mouseMove()
  1851.  
  1852.  
  1853.  
  1854. end)
  1855.  
  1856. --end)
  1857.  
  1858.  
  1859.  
  1860. bin.Deselected:connect(function()
  1861.  
  1862. selected=false
  1863.  
  1864. end)
  1865.  
  1866.  
  1867.  
  1868. u=0
  1869.  
  1870. while m.Parent do
  1871.  
  1872. u=u+1
  1873.  
  1874. for i,v in pairs{{LShoulderx,LShoulderx2,LShoulderx3,LShoulderxw},{RShoulderx,RShoulderx2,RShoulderx3,RShoulderxw}} do
  1875.  
  1876. local shouldermag=(v[1].Position-v[2].Position).magnitude
  1877.  
  1878. v[3].Mesh.Scale=v3(1,shouldermag,1)
  1879.  
  1880. local cf=cn(v[1].Position,v[2].Position)*cn(0,0,-shouldermag/2)*ca(90,0,0)
  1881.  
  1882. cf=v[2].CFrame:toObjectSpace(cf)
  1883.  
  1884. v[4].C0=cf
  1885.  
  1886. end
  1887.  
  1888. if mouse then Rots = -math.deg((Head.Position - mouse.hit.p).unit.y) end
  1889.  
  1890. if Jp.w and LeftAnim=='Jetpack' then for x=-1,1,2 do Jp.w[x].C0=cn(x*3.5,0,0.3)*ca(GetX(Torso.CFrame)+20,0,0) end end
  1891.  
  1892. if LeftAnim=='Jetpack' then
  1893.  
  1894. BG.maxTorque=v3(0,0,0)/0
  1895.  
  1896. BP.maxForce=v3(0,0,0)/0
  1897.  
  1898. else
  1899.  
  1900. BG.maxTorque=v3(0,0,0)
  1901.  
  1902. BP.maxForce=v3(0,0,0)
  1903.  
  1904. end
  1905.  
  1906.  
  1907.  
  1908. wait()
  1909.  
  1910. end
  1911.  
  1912.  
  1913.  
  1914. --]],theguy)
  1915.  
  1916. ---c/while true do wait() for i,v in pairs(workspace["NOT TELLING LOL"]:children()) do v.BrickColor=BrickColor.Random() end end
  1917. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement