Advertisement
Daniel_Jackson

master hand

Jul 3rd, 2016
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.27 KB | None | 0 0
  1. -- Th3RedDevil
  2.  
  3. wt = 0.05 s = script it = Instance.new v3 = Vector3.new c3 = Color3.new ud = UDim2.new cf = CFrame.new ca = CFrame.Angles pi = math.pi rd = math.rad
  4.  
  5. bc = BrickColor.new ab = math.abs de = math.deg ts = tostring tn = tonumber ti = table.insert tr = table.remove
  6.  
  7. cr = coroutine.resume cc = coroutine.create
  8.  
  9. asset = "http://www.roblox.com/asset/?id="
  10.  
  11. sr = string.reverse sl = string.lower su = string.upper
  12.  
  13. Serv = {} Serv.p = game:GetService(sr("sreyalP")) Serv.l = game:GetService(sr("gnithgiL"))
  14.  
  15. Serv.is = game:GetService(sr("ecivreStresnI")) if game:findFirstChild(sr("revreSkrowteN")) then Serv.ns = game:GetService(sr("revreSkrowteN")) else NetworkServer = nil end
  16.  
  17. Serv.sg = game:GetService(sr("iuGretratS")) Serv.sp = game:GetService(sr("kcaPretratS")) Serv.d = game:GetService(sr("sirbeD"))
  18.  
  19. Decs = {}
  20.  
  21. Decs.Crack = "49173398" Decs.Cloud = "1095708" Decs.Spike = "1033714" Decs.Rock = "1290033" Decs.Crown = "1323306"
  22.  
  23. function ft(tablez,item) if not tablez or not item then return nil end for i=1,#tablez do if tablez[i] == item then return i end end return nil end
  24.  
  25. function re(par,obj) if type(par) ~= "userdata" or type(obj) ~= "string" then return nil end if par:findFirstChild(obj) then par[obj]:Remove() end end
  26.  
  27. function pa(pa,sh,x,y,z,c,a,tr,re,bc2) local fp = nil if sh ~= "Wedge" and sh ~= "CornerWedge" then fp = it("Part",pa) fp.Shape = sh fp.formFactor = "Custom" elseif sh == "Wedge" then fp = it("WedgePart",pa) fp.formFactor = "Custom"
  28.  
  29. elseif sh == "CornerWedge" then fp = it("CornerWedgePart",pa) end fp.Size = v3(x,y,z) fp.CanCollide = c fp.Anchored = false fp.BrickColor = bc(bc2) fp.Transparency = tr fp.Reflectance = re fp.BottomSurface = 0
  30.  
  31. fp.TopSurface = 0 fp.CFrame = t.CFrame + Vector3.new(0,50,0) fp.Velocity = Vector3.new(0,10,0) fp:BreakJoints() return fp end
  32.  
  33. function clearit(tab) for xx=1,#tab do tab[xx]:Remove() end end
  34.  
  35. function weld(pa,p0,p1,x,y,z,a,b,c) local fw = it("Weld",pa) fw.Part0 = p0 fw.Part1 = p1 fw.C0 = cf(x,y,z) *ca(a,b,c) return fw end
  36.  
  37. function spm(ty,pa,ss) local sp = it("SpecialMesh",pa) sp.MeshType = ty sp.Scale = Vector3.new(ss,ss,ss) end function mbm(pa,sx,sy,sz) local bm = Instance.new("BlockMesh",pa) bm.Scale = Vector3.new(sx,sy,sz) end
  38.  
  39. function ra(mn,mx,dc) local tms = 1 if dc == nil then dc = 0 end if type(dc) == "number" and dc > 5 then dc = 5 end for zx=1,dc do tms = tms*10 end return math.random(mn*tms,mx*tms)/tms end
  40.  
  41.  
  42. p = Serv.p.WhiteMMO
  43.  
  44. bp = p.Backpack
  45.  
  46. pg = p.PlayerGui
  47.  
  48. c = p.Character
  49.  
  50. he = c.Head
  51.  
  52. t = c.Torso
  53.  
  54. hu = c.Humanoid
  55.  
  56. mou = nil
  57.  
  58. re(c,"Hand")
  59.  
  60. s = 2
  61.  
  62.  
  63.  
  64. --tool var
  65.  
  66. Equip = false
  67.  
  68. HTrans = 0
  69.  
  70. HRef = 0
  71.  
  72. HCol = "a"
  73.  
  74. LaserCol = "New Yeller"
  75.  
  76. LaserCol2 = "Really red"
  77.  
  78. LaserCol3 = "Alder"
  79.  
  80. Posing = "Follow"
  81.  
  82. Facing = "Owner"
  83.  
  84. Anim = {}
  85.  
  86. Anim.a = "None"
  87.  
  88. Anim.b = "None"
  89.  
  90. Anim.Welding = 0
  91.  
  92. local fingwide = 1.5*s
  93.  
  94. local finghei = 2.8
  95.  
  96. local tiphei = 2.55
  97.  
  98. handoffset = v3(5,18,-8)*s
  99.  
  100. bgx,bgy,bgz = -90,0,0
  101.  
  102. w = {}
  103.  
  104. Button = false
  105.  
  106. --
  107.  
  108. BlastMesh = it("FileMesh")
  109.  
  110. BlastMesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  111.  
  112. RingMesh = it("FileMesh")
  113.  
  114. RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  115.  
  116. RockMesh = it("FileMesh")
  117.  
  118. DiamondMesh = it("FileMesh")
  119.  
  120. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  121.  
  122.  
  123. m = Instance.new("Model",c) m.Name = "Hand"
  124.  
  125. Palm = pa(m,"Block",6*s,7*s,fingwide*2,true,false,HTrans,HRef,HCol) mbm(Palm,1,1,0.6)
  126.  
  127. local x,y,z = Palm.Size.x,Palm.Size.y,Palm.Size.z
  128.  
  129. bPoint1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  130.  
  131. Point1 = weld(bPoint1,Palm,bPoint1,-x/2+(fingwide/2),y/2,0,0,0,0)
  132.  
  133. pPoint1 = pa(m,"Block",fingwide,finghei*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPoint1,0.9,1,0.9)
  134.  
  135. wPoint1 = weld(pPoint1,bPoint1,pPoint1,0,pPoint1.Size.y/2,0,0,0,0)
  136.  
  137. bPoint2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  138.  
  139. Point2 = weld(bPoint2,pPoint1,bPoint2,0,pPoint1.Size.y/2,0,0,0,0)
  140.  
  141. pPoint2 = pa(m,"Block",fingwide,finghei*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPoint2,0.9,1,0.9)
  142.  
  143. wPoint2 = weld(pPoint2,bPoint2,pPoint2,0,pPoint1.Size.y/2,0,0,0,0)
  144.  
  145. bPoint3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  146.  
  147. Point3 = weld(bPoint3,pPoint2,bPoint3,0,pPoint2.Size.y/2,0,0,0,0)
  148.  
  149. pPoint3 = pa(m,"Block",fingwide,tiphei*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPoint3,0.9,1,0.9)
  150.  
  151. wPoint3 = weld(pPoint3,bPoint3,pPoint3,0,pPoint3.Size.y/2,0,0,0,0)
  152.  
  153. bMid1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  154.  
  155. Mid1 = weld(bMid1,Palm,bMid1,-x/2+((fingwide/2)+((fingwide)*1)),y/2,0,0,0,0)
  156.  
  157. pMid1 = pa(m,"Block",fingwide,(finghei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pMid1,0.9,1,0.9)
  158.  
  159. wMid1 = weld(pMid1,bMid1,pMid1,0,pMid1.Size.y/2,0,0,0,0)
  160.  
  161. bMid2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  162.  
  163. Mid2 = weld(bMid2,pMid1,bMid2,0,pMid1.Size.y/2,0,0,0,0)
  164.  
  165. pMid2 = pa(m,"Block",fingwide,(finghei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pMid2,0.9,1,0.9)
  166.  
  167. wMid2 = weld(pMid2,bMid2,pMid2,0,pMid1.Size.y/2,0,0,0,0)
  168.  
  169. bMid3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  170.  
  171. Mid3 = weld(bMid3,pMid2,bMid3,0,pMid2.Size.y/2,0,0,0,0)
  172.  
  173. pMid3 = pa(m,"Block",fingwide,(tiphei*1.1)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pMid3,0.9,1,0.9)
  174.  
  175. wMid3 = weld(pMid3,bMid3,pMid3,0,pMid3.Size.y/2,0,0,0,0)
  176.  
  177. bRing1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  178.  
  179. Ring1 = weld(bRing1,Palm,bRing1,-x/2+((fingwide/2)+((fingwide)*2)),y/2,0,0,0,0)
  180.  
  181. pRing1 = pa(m,"Block",fingwide,(finghei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pRing1,0.9,1,0.9)
  182.  
  183. wRing1 = weld(pRing1,bRing1,pRing1,0,pRing1.Size.y/2,0,0,0,0)
  184.  
  185. bRing2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  186.  
  187. Ring2 = weld(bRing2,pRing1,bRing2,0,pRing1.Size.y/2,0,0,0,0)
  188.  
  189. pRing2 = pa(m,"Block",fingwide,(finghei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pRing2,0.9,1,0.9)
  190.  
  191. wRing2 = weld(pRing2,bRing2,pRing2,0,pRing1.Size.y/2,0,0,0,0)
  192.  
  193. bRing3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  194.  
  195. Ring3 = weld(bRing3,pRing2,bRing3,0,pRing2.Size.y/2,0,0,0,0)
  196.  
  197. pRing3 = pa(m,"Block",fingwide,(tiphei*0.98)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pRing3,0.9,1,0.9)
  198.  
  199. wRing3 = weld(pRing3,bRing3,pRing3,0,pRing3.Size.y/2,0,0,0,0)
  200.  
  201. bPinkie1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  202.  
  203. Pinkie1 = weld(bPinkie1,Palm,bPinkie1,-x/2+((fingwide/2)+((fingwide)*3)),y/2,0,0,0,0)
  204.  
  205. pPinkie1 = pa(m,"Block",fingwide,(finghei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPinkie1,0.9,1,0.9)
  206.  
  207. wPinkie1 = weld(pPinkie1,bPinkie1,pPinkie1,0,pPinkie1.Size.y/2,0,0,0,0)
  208.  
  209. bPinkie2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  210.  
  211. Pinkie2 = weld(bPinkie2,pPinkie1,bPinkie2,0,pPinkie1.Size.y/2,0,0,0,0)
  212.  
  213. pPinkie2 = pa(m,"Block",fingwide,(finghei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPinkie2,0.9,1,0.9)
  214.  
  215. wPinkie2 = weld(pPinkie2,bPinkie2,pPinkie2,0,pPinkie1.Size.y/2,0,0,0,0)
  216.  
  217. bPinkie3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  218.  
  219. Pinkie3 = weld(bPinkie3,pPinkie2,bPinkie3,0,pPinkie2.Size.y/2,0,0,0,0)
  220.  
  221. pPinkie3 = pa(m,"Block",fingwide,(tiphei*0.8)*s,fingwide,true,false,HTrans,HRef,HCol) mbm(pPinkie3,0.9,1,0.9)
  222.  
  223. wPinkie3 = weld(pPinkie3,bPinkie3,pPinkie3,0,pPinkie3.Size.y/2,0,0,0,0)
  224.  
  225. bThumb1 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  226.  
  227. Thumb1 = weld(bThumb1,Palm,bThumb1,-x/2+(fingwide/7),-y*0.1,-fingwide*0.25,0,0,0)
  228.  
  229. pThumb1 = pa(m,"Block",fingwide*1.4,(finghei*1)*s,fingwide*1.4,true,false,HTrans,HRef,HCol) mbm(pThumb1,0.9,1,0.9)
  230.  
  231. wThumb1 = weld(pThumb1,bThumb1,pThumb1,0,pThumb1.Size.y/2,0,0,0,0)
  232.  
  233. bThumb2 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  234.  
  235. Thumb2 = weld(bThumb2,pThumb1,bThumb2,0,pThumb1.Size.y/2,0,0,0,0)
  236.  
  237. pThumb2 = pa(m,"Block",fingwide*1.3,(finghei*1)*s,fingwide*1.3,true,false,HTrans,HRef,HCol) mbm(pThumb2,0.9,1,0.9)
  238.  
  239. wThumb2 = weld(pThumb2,bThumb2,pThumb2,0,pThumb1.Size.y/2,0,0,0,0)
  240.  
  241. bThumb3 = pa(m,"Block",0,0,0,false,false,HTrans,HRef,HCol)
  242.  
  243. Thumb3 = weld(bThumb3,pThumb2,bThumb3,0,pThumb2.Size.y/2,0,0,0,0)
  244.  
  245. pThumb3 = pa(m,"Block",fingwide*1.25,(tiphei*1)*s,fingwide*1.25,true,false,HTrans,HRef,HCol) mbm(pThumb3,0.9,1,0.9)
  246.  
  247. wThumb3 = weld(pThumb3,bThumb3,pThumb3,0,pThumb3.Size.y/2,0,0,0,0)
  248.  
  249.  
  250. w["a1"] = Pinkie1
  251.  
  252. w["a2"] = Pinkie2
  253.  
  254. w["a3"] = Pinkie3
  255.  
  256. w["b1"] = Ring1
  257.  
  258. w["b2"] = Ring2
  259.  
  260. w["b3"] = Ring3
  261.  
  262. w["c1"] = Mid1
  263.  
  264. w["c2"] = Mid2
  265.  
  266. w["c3"] = Mid3
  267.  
  268. w["d1"] = Point1
  269.  
  270. w["d2"] = Point2
  271.  
  272. w["d3"] = Point3
  273.  
  274. w["e1"] = Thumb1
  275.  
  276. w["e2"] = Thumb2
  277.  
  278. w["e3"] = Thumb3
  279.  
  280. w.e1.C1 = ca(0,rd(35),rd(-20))
  281.  
  282. w.e2.C1 = ca(rd(20),0,0)
  283.  
  284. w.e3.C1 = ca(rd(20),0,0)
  285.  
  286. w.d1.C1 = ca(0,0,rd(-3))
  287.  
  288. w.c1.C1 = ca(0,0,rd(-1))
  289.  
  290. w.b1.C1 = ca(0,0,rd(1))
  291.  
  292. w.a1.C1 = ca(0,0,rd(3))
  293.  
  294. function c1(wexx,smmx,xx,yy,zz)
  295.  
  296. coroutine.resume(coroutine.create(function()
  297.  
  298. local xx2,yy2,zz2 = wexx.C1:toEulerAnglesXYZ()
  299.  
  300. local aa,bb,cc = wexx.C0.x,wexx.C0.y,wexx.C0.z
  301.  
  302. local twa = smmx/wt
  303.  
  304. Anim.Welding = Anim.Welding + 1
  305.  
  306. for i=0,twa,1 do wexx.C0 = cf(aa,bb,cc)
  307.  
  308. wexx.C1 = ca(xx2-(((xx2-rd(xx))/twa)*i),yy2-(((yy2-rd(yy))/twa)*i),zz2-(((zz2-rd(zz))/twa)*i))
  309.  
  310. wait()
  311.  
  312. end
  313.  
  314. Anim.Welding = Anim.Welding - 1
  315.  
  316. end))
  317.  
  318. end
  319.  
  320. function CloseFing(fingz,spee) if spee == nil then spee = 1 end c1(w[fingz.. "1"],spee,80,0,0) c1(w[fingz.. "2"],spee,110,0,0) c1(w[fingz.. "3"],spee,30,0,0) end
  321.  
  322. function OpenFing(fingz,spee) if spee == nil then spee = 1 end c1(w[fingz.. "1"],spee,2,0,0) c1(w[fingz.. "2"],spee,2,0,0) c1(w[fingz.. "3"],spee,2,0,0) end
  323.  
  324. function HandSign(form,spee) form = form:lower() if spee == nil then spee = 1 end
  325.  
  326. if form == "f" then
  327.  
  328. CloseFing("d",spee) CloseFing("a",spee) CloseFing("b",spee)
  329.  
  330. c1(w["c1"],spee,0,0,0) c1(w["c2"],spee,0,0,0) c1(w["c3"],spee,0,0,0)
  331.  
  332. c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  333.  
  334. elseif form == "fist" then
  335.  
  336. CloseFing("d",spee) CloseFing("a",spee) CloseFing("b",spee) CloseFing("c",spee)
  337.  
  338. c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  339.  
  340. elseif form == "pointer" then
  341.  
  342. CloseFing("a",spee) CloseFing("b",spee) CloseFing("c",spee)
  343.  
  344. c1(w["d1"],spee,5,0,0) c1(w["d2"],spee,5,0,0) c1(w["d3"],spee,5,0,0)
  345.  
  346. c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  347.  
  348. elseif form == "v" then
  349.  
  350. CloseFing("a",spee) CloseFing("b",spee)
  351.  
  352. c1(w["c1"],spee,1,0,15) c1(w["c2"],spee,1,0,0) c1(w["c3"],spee,1,0,0)
  353.  
  354. c1(w["d1"],spee,1,0,-15) c1(w["d2"],spee,1,0,0) c1(w["d3"],spee,1,0,0)
  355.  
  356. c1(w["e1"],spee,70,40,-90) c1(w["e2"],spee,50,0,0) c1(w["e3"],spee,50,0,0)
  357.  
  358. elseif form == "free" or form == "five" then
  359.  
  360. OpenFing("a",spee) OpenFing("b",spee) OpenFing("c",spee) OpenFing("d",spee)
  361.  
  362. c1(w["e1"],spee,0,35,-20) c1(w["e2"],spee,20,0,0) c1(w["e3"],spee,20,0,0)
  363.  
  364. elseif form == "ride" then
  365.  
  366. c1(w["a1"],spee,60,0,0) c1(w["a2"],spee,-30,0,0) c1(w["a3"],spee,-30,0,0)
  367.  
  368. c1(w["b1"],spee,30,0,0) c1(w["b2"],spee,65,0,0) c1(w["b3"],spee,60,0,0)
  369.  
  370. c1(w["c1"],spee,30,0,0) c1(w["c2"],spee,65,0,0) c1(w["c3"],spee,60,0,0)
  371.  
  372. c1(w["d1"],spee,30,0,0) c1(w["d2"],spee,65,0,0) c1(w["d3"],spee,60,0,0)
  373.  
  374. c1(w["e1"],spee,-70,185,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0)
  375.  
  376. elseif form == "gun" then
  377.  
  378. CloseFing("a",spee) CloseFing("b",spee)
  379.  
  380. c1(w["c1"],spee,0,0,1) c1(w["c2"],spee,0,0,0) c1(w["c3"],spee,0,0,0)
  381.  
  382. c1(w["d1"],spee,0,0,-1) c1(w["d2"],spee,0,0,0) c1(w["d3"],spee,0,0,0)
  383.  
  384. c1(w["e1"],spee,-60,90,0) c1(w["e2"],spee,20,0,0) c1(w["e3"],spee,-20,0,0)
  385.  
  386. elseif form == "wide" then
  387.  
  388. c1(w["a1"],spee,-3,0,45) c1(w["a2"],spee,-3,0,0) c1(w["a3"],spee,-3,0,0)
  389.  
  390. c1(w["b1"],spee,-3,0,15) c1(w["b2"],spee,-3,0,0) c1(w["b3"],spee,-3,0,0)
  391.  
  392. c1(w["c1"],spee,-3,0,-15) c1(w["c2"],spee,-3,0,0) c1(w["c3"],spee,-3,0,0)
  393.  
  394. c1(w["d1"],spee,-3,0,-45) c1(w["d2"],spee,-3,0,0) c1(w["d3"],spee,-3,0,0)
  395.  
  396. c1(w["e1"],spee,-70,90,0) c1(w["e2"],spee,10,0,0) c1(w["e3"],spee,-10,0,0)
  397.  
  398. elseif form == "wide2" then
  399.  
  400. c1(w["a1"],spee,-18,0,45) c1(w["a2"],spee,36,0,0) c1(w["a3"],spee,30,0,0)
  401.  
  402. c1(w["b1"],spee,-18,0,15) c1(w["b2"],spee,36,0,0) c1(w["b3"],spee,30,0,0)
  403.  
  404. c1(w["c1"],spee,-18,0,-15) c1(w["c2"],spee,36,0,0) c1(w["c3"],spee,30,0,0)
  405.  
  406. c1(w["d1"],spee,-18,0,-45) c1(w["d2"],spee,36,0,0) c1(w["d3"],spee,30,0,0)
  407.  
  408. c1(w["e1"],spee,-50,90,-10) c1(w["e2"],spee,5,0,-30) c1(w["e3"],spee,-10,0,-40)
  409.  
  410. elseif form == "grab2" then
  411.  
  412. c1(w["a1"],spee,-70,-65,0) c1(w["a2"],spee,40,0,0) c1(w["a3"],spee,20,0,0)
  413.  
  414. c1(w["b1"],spee,-70,-20,0) c1(w["b2"],spee,40,0,0) c1(w["b3"],spee,20,0,0)
  415.  
  416. c1(w["c1"],spee,-70,20,-0) c1(w["c2"],spee,40,0,0) c1(w["c3"],spee,20,0,0)
  417.  
  418. c1(w["d1"],spee,-70,65,-0) c1(w["d2"],spee,40,0,0) c1(w["d3"],spee,20,0,0)
  419.  
  420. c1(w["e1"],spee,-70,150,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0)
  421.  
  422. elseif form == "grab3" then
  423.  
  424. c1(w["a1"],spee,-30,-40,30) c1(w["a2"],spee,50,0,0) c1(w["a3"],spee,35,0,0)
  425.  
  426. c1(w["b1"],spee,-30,-15,12) c1(w["b2"],spee,50,0,0) c1(w["b3"],spee,35,0,0)
  427.  
  428. c1(w["c1"],spee,-30,15,-12) c1(w["c2"],spee,50,0,0) c1(w["c3"],spee,35,0,0)
  429.  
  430. c1(w["d1"],spee,-30,40,-30) c1(w["d2"],spee,50,0,0) c1(w["d3"],spee,35,0,0)
  431.  
  432. c1(w["e1"],spee,-55,205,0) c1(w["e2"],spee,30,0,0) c1(w["e3"],spee,30,0,0)
  433.  
  434. end
  435.  
  436. end
  437.  
  438. function ColFings(iscol)
  439.  
  440. pPinkie1.CanCollide = iscol
  441.  
  442. pPinkie2.CanCollide = iscol
  443.  
  444. pPinkie3.CanCollide = iscol
  445.  
  446. pRing1.CanCollide = iscol
  447.  
  448. pRing2.CanCollide = iscol
  449.  
  450. pRing3.CanCollide = iscol
  451.  
  452. pMid1.CanCollide = iscol
  453.  
  454. pMid2.CanCollide = iscol
  455.  
  456. pMid3.CanCollide = iscol
  457.  
  458. pPoint1.CanCollide = iscol
  459.  
  460. pPoint2.CanCollide = iscol
  461.  
  462. pPoint3.CanCollide = iscol
  463.  
  464. pThumb1.CanCollide = iscol
  465.  
  466. pThumb2.CanCollide = iscol
  467.  
  468. pThumb3.CanCollide = iscol
  469.  
  470. end
  471.  
  472. function ray(Pos, Dir)
  473.  
  474. return Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit *999), c)
  475.  
  476. end
  477.  
  478. function Earthsplosion(pos,siz,dmg,rndmg,forc,eos) local colz22 = "Earth green" if eos == nil or eos == "earth" then eos = "earth" else colz22 = "Pastel brown" eos = "sand" end
  479.  
  480. coroutine.resume(coroutine.create(function()
  481.  
  482. if eos == "earth" then local cr = pa(m,"Block",((14*siz)/10)*s,0,((14*siz)/10)*s,false,false,1,0,"") cr.Anchored = true cr.CFrame = pos *ca(rd(0),rd(ra(-360,360)),rd(0)) cr.CFrame = cr.CFrame + v3(ra(-siz*10,siz*10)/22,0,ra(-siz*10,siz*10)/22)
  483.  
  484. local de = it("Decal",cr) de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,25) end
  485.  
  486. for i=1,4 do
  487.  
  488. coroutine.resume(coroutine.create(function()
  489.  
  490. local sw = pa(m,"Block",(siz/3)*s,(siz*1.3)*s,(siz/3)*s,true,true,0,0,colz22) sw.Anchored = true sw.CFrame = pos *cf(ra(-3*s,3*s),0,ra(-3*s,3*s)) *ca(rd(ra(-27,27)),rd(ra(-360,360)),rd(ra(-27,27))) local swm = it("SpecialMesh",sw) if eos == "earth" then swm.MeshType = "FileMesh"
  491.  
  492. swm.MeshId = asset .. Decs.Spike else swm.MeshType = "Sphere" end if eos == "earth" then swm.Scale = v3(sw.Size.x/1.3,sw.Size.y*1.2,sw.Size.z/1.3)
  493.  
  494. else swm.Scale = v3(sw.Size.x/10,sw.Size.y/37,sw.Size.z/10) end sw.CFrame = sw.CFrame + v3(ra(-0.3*siz*s,0.3*siz*s,7),0,ra(-0.3*siz*s,0.3*siz*s)) sw.CFrame = sw.CFrame * cf(0,-sw.Size.y/1.4,0)
  495.  
  496. Dustplosion(cf(pos.p+v3(0,2*s,0)),18*s,{"Dark green","Bright green","Brown"},1)
  497.  
  498. if eos == "earth" then
  499.  
  500. for x=1,8 do
  501.  
  502. sw.CFrame = sw.CFrame *cf(0,sw.Size.y/8,0) wait() end wait(ra(1,5))
  503.  
  504. for x=1,20 do
  505.  
  506. sw.CFrame = sw.CFrame *cf(0,-sw.Size.y/20,0) wait()
  507.  
  508. end sw:Remove()
  509.  
  510. else
  511.  
  512. for x=1,25 do
  513.  
  514. sw.CFrame = sw.CFrame *cf(0,sw.Size.y/25,0) sw.Transparency = x/25 - 0.1 swm.Scale = swm.Scale + v3(0.025,0.025,0.025) wait() end
  515.  
  516. end sw:Remove()
  517.  
  518. end)) end
  519.  
  520. wait(0.3)
  521.  
  522. DmgHumanoidsNear(pos.p,dmg,rndmg,5.5*s*(siz/4),forc)
  523.  
  524. end))
  525.  
  526. end
  527.  
  528.  
  529. function Dustplosion(onb,scale,col,cls) coroutine.resume(coroutine.create(function()
  530.  
  531. for x=1,cls do coroutine.resume(coroutine.create(function()
  532.  
  533. local sw = pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col[ra(1,#col)]) sw.Anchored = true sw.CFrame = onb *ca(rd(ra(-35,35)),rd(ra(-360,360)),rd(ra(-35,35))) local swm = it("SpecialMesh",sw) swm.MeshType = "FileMesh"
  534.  
  535. swm.MeshId = asset .. Decs.Cloud sw.CFrame = sw.CFrame + v3(ra(-scale,scale)/8,ra(-scale,scale)/8,ra(-scale,scale)/8)
  536.  
  537. for i=1,scale,0.25 do
  538.  
  539. swm.Scale = v3(i*1.5,i*1,i*1.5) sw.Transparency = ((i/scale)/2) + 0.45
  540.  
  541. wait()
  542.  
  543. end
  544.  
  545. sw:Remove()
  546.  
  547. end)) end
  548.  
  549. end)) end
  550.  
  551. function ShockWave(onb,scale,col) coroutine.resume(coroutine.create(function() local sw = pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col) sw.Anchored = true sw.CFrame = onb *ca(rd(90),0,0) local swm = it("SpecialMesh",sw) swm.MeshType = "FileMesh" swm.MeshId = RingMesh.MeshId
  552.  
  553. for i=1,scale,0.75 do swm.Scale = v3(i*1.5,i*1.5,i*1.5) sw.Transparency = (i/scale) + 0 wait() end sw:Remove() end)) end
  554.  
  555. function BlastWave(onb,scale,ymes,col) coroutine.resume(coroutine.create(function()
  556.  
  557. local sw = pa(m,"Block",1*s,0,1*s,false,false,0.2,0,col) sw.Anchored = true sw.CFrame = onb *ca(rd(0),0,0) local swm = it("SpecialMesh",sw) swm.MeshType = "FileMesh"
  558.  
  559. swm.MeshId = BlastMesh.MeshId
  560.  
  561. for i=1,scale,scale/11 do
  562.  
  563. swm.Scale = v3(i*1.25,i*ymes,i*1.25) sw.CFrame = sw.CFrame *ca(0,rd(720*(i/scale)),0) sw.Transparency = (i/scale) + 0
  564.  
  565. wait()
  566.  
  567. end
  568.  
  569. sw:Remove()
  570.  
  571. end))
  572.  
  573. end
  574.  
  575. function Explode(onb,scale,col) local Torm = m coroutine.resume(coroutine.create(function() local e1 = Instance.new("Part") e1.Anchored = true e1.formFactor = "Custom" e1.CanCollide = false e1.Size = Vector3.new(1,1,1) e1.BrickColor = BrickColor.new(col)
  576.  
  577. e1.Transparency = 0.6 e1.TopSurface = 0 e1.BottomSurface = 0 e1.Parent = Torm e1.CFrame = onb local e1m = Instance.new("SpecialMesh")
  578.  
  579. e1m.MeshType = "Sphere" e1m.Parent = e1 local r1 = Instance.new("Part") r1.Anchored = true r1.formFactor = "Custom" r1.CanCollide = false r1.Size = Vector3.new(1,1,1) r1.BrickColor = BrickColor.new(col) r1.Transparency = 0.6 r1.TopSurface = 0 r1.BottomSurface = 0 r1.Parent = Torm r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(180),0,0) local r1m = Instance.new("SpecialMesh") r1m.MeshType = "FileMesh"
  580.  
  581. r1m.Scale = Vector3.new(3,3,3) r1m.Parent = r1 r1m.MeshId = RingMesh.MeshId local r2 = Instance.new("Part") r2.Anchored = true r2.formFactor = "Custom" r2.CanCollide = false r2.Size = Vector3.new(1,1,1) r2.BrickColor = BrickColor.new(col) r2.Transparency = 0.6 r2.TopSurface = 0 r2.BottomSurface = 0 r2.Parent = Torm r2.CFrame = e1.CFrame *CFrame.Angles(0,math.rad(180),0) local r2m = Instance.new("SpecialMesh") r2m.MeshType = "FileMesh"
  582.  
  583. r2m.Parent = r2 r2m.Scale = Vector3.new(3,3,3) r2m.MeshId = RingMesh.MeshId local bla = Instance.new("Part") bla.Anchored = true
  584.  
  585. bla.formFactor = "Custom" bla.CanCollide = false bla.Size = Vector3.new(1,1,1) bla.BrickColor = BrickColor.new(col) bla.Transparency = 0.6 bla.TopSurface = 0 bla.BottomSurface = 0 bla.Parent = Torm bla.CFrame = onb local blam = Instance.new("SpecialMesh")
  586.  
  587. blam.MeshType = "FileMesh" blam.Parent = bla blam.Scale = Vector3.new(5,5,5) blam.MeshId = BlastMesh.MeshId for i=1,30 do local pluscal = scale/38 e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  588.  
  589. r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal) r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  590.  
  591. blam.Scale = blam.Scale + Vector3.new(pluscal,pluscal/2,pluscal) bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0) r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0) r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0) wait() end for i=1,30 do local pluscal = scale/38 e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal) r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal) r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  592.  
  593. blam.Scale = blam.Scale + Vector3.new(pluscal/3,pluscal/3,pluscal/3) bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0) r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0) r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0) bla.Transparency = bla.Transparency + 0.1 e1.Transparency = e1.Transparency + 0.1 r1.Transparency = r1.Transparency + 0.1 r2.Transparency = r2.Transparency + 0.1 wait() end e1:Remove() r1:Remove() r2:Remove() end)) end
  594.  
  595.  
  596. function Hurtsplosion(pos,dmg,rndmg,siz,forc)
  597.  
  598. coroutine.resume(coroutine.create(function() local boomcol = {"Bright red","New Yeller","Neon orange"}
  599.  
  600. for i=1,3 do
  601.  
  602. coroutine.resume(coroutine.create(function()
  603.  
  604. local plos = pa(m,"Block",1*s*siz,1.5*s*siz,0.7*s*siz,false,false,0.3,0,boomcol[i]) spm("Sphere",plos,1) plos.Anchored = true
  605.  
  606. plos.CFrame = cf(pos + v3(0,0,0)) * ca(rd(ra(-360,360)),rd(ra(-360,360)),rd(ra(-360,360)))
  607.  
  608. plos.Mesh.Scale = v3(0.1,0.1,0.1)
  609.  
  610. for i=0.3,1,0.03 do local plc = plos.CFrame
  611.  
  612. plos.Mesh.Scale = v3(i*6,i*6,i*6) plos.Transparency = i plos.CFrame = plc * ca(rd(3),rd(3),0)
  613.  
  614. wait()
  615.  
  616. end
  617.  
  618. plos:Remove()
  619.  
  620. end))
  621.  
  622. end
  623.  
  624. end))
  625.  
  626. wait(0.1)
  627.  
  628. DmgHumanoidsNear(pos,dmg,rndmg,5.5*s*siz,forc)
  629.  
  630. end
  631.  
  632.  
  633. function DmgHumanoidsNear(pos,dmg,rndmg,mag,forc)
  634.  
  635. local function kidive(ob)
  636.  
  637. for i,v in pairs(ob:children()) do
  638.  
  639. if v:IsA("BasePart") and v.Parent.Parent:findFirstChild("Humanoid") == nil and v.Parent:findFirstChild("Humanoid") == nil and (v.Position - pos).magnitude < mag*1.3 and v.Anchored == false and v:GetMass() < 150 then
  640.  
  641. v:BreakJoints() v.Velocity = cf(pos,v.Position).lookVector*forc
  642.  
  643. end
  644.  
  645. if v:IsA("Humanoid") and v ~= hu and v.Parent:findFirstChild("Torso") then
  646.  
  647. if (pos - v.Parent.Torso.Position).magnitude < mag then local tdmg = dmg*ra(1,rndmg)
  648.  
  649. if v.Parent:findFirstChild("Hh") == nil then local hh= Instance.new("NumberValue",v.Parent) hh.Name = "Hh"
  650.  
  651. hh.Value = v.Health - tdmg else v.Parent.Hh.Value = v.Health - (tdmg*3.5) end
  652.  
  653. v.Health = v.Parent.Hh.Value if v.Parent.Hh.Value < 1 then v.Parent:BreakJoints() end
  654.  
  655. end
  656.  
  657. end
  658.  
  659. if v:IsA("Model") or v:IsA("Workspace") then kidive(v) end end end
  660.  
  661. kidive(workspace)
  662.  
  663. end
  664.  
  665. function Fire(bullet,typez,siz,dmg,rndmg,forc)
  666.  
  667. if typez == 1 then
  668.  
  669. bullet.Anchored = true
  670.  
  671. local bullethit = false
  672.  
  673. local tyms = 0
  674.  
  675. repeat
  676.  
  677. tyms = tyms + 2
  678.  
  679. local bhit,bpos = ray(bullet.Position,bullet.Position - (bullet.CFrame *cf(0,0,-1)).p)
  680.  
  681. if bpos ~= nil and (bpos - bullet.Position).magnitude < 7 then bullethit = true else bullet.CFrame = bullet.CFrame *cf(0,0,-1*s) *ca(rd(-0.0025),rd(0),0) end
  682.  
  683. if tyms%32 == 0 then wait() end
  684.  
  685. until bullethit or bullet.Position.y < -300 or tyms > 800
  686.  
  687. bullet.CFrame = bullet.CFrame *cf(0,0,8) bullet:Remove()
  688.  
  689. if bullet.Position.y < -300 then
  690.  
  691. else
  692.  
  693. Hurtsplosion(bullet.Position,dmg,rndmg,siz,forc)
  694.  
  695. end
  696.  
  697. elseif typez == 2 then
  698.  
  699. bullet.Anchored = true
  700.  
  701. local bullethit = false
  702.  
  703. local tyms = 0
  704.  
  705. local ming = 0.001
  706.  
  707. repeat
  708.  
  709. if tyms > 70 and (ming == 0.001 or ming == -2.5) then ming = -2.5
  710.  
  711. local bpos = (bullet.CFrame *cf(0,0,-300)).p if (bpos - v3(Palm.Position.x,bpos.y,Palm.Position.z)).magnitude < 25*s then ming = 0 end
  712.  
  713. end
  714.  
  715. tyms = tyms + 2
  716.  
  717. local bhit,bpos = ray(bullet.Position,bullet.Position - (bullet.CFrame *cf(0,0,-1)).p)
  718.  
  719. if bpos ~= nil and (bpos - bullet.Position).magnitude < 7 then bullethit = true else bullet.CFrame = bullet.CFrame *cf(0,0,-0.5) *ca(rd(ming),rd(0),0) end
  720.  
  721. if tyms%16 == 0 then wait() end
  722.  
  723. until bullethit or bullet.Position.y < -300 or tyms > 500
  724.  
  725. bullet.CFrame = bullet.CFrame *cf(0,0,8) bullet:Remove()
  726.  
  727. if bullet.Position.y < -300 then
  728.  
  729. else
  730.  
  731. Hurtsplosion(bullet.Position,dmg,rndmg,siz,forc)
  732.  
  733. end
  734.  
  735. elseif typez == 3 then
  736.  
  737. end
  738.  
  739. end
  740.  
  741. function ShortifiedAnim(theanim)
  742.  
  743. if theanim == "Beam" then
  744.  
  745. local crom = pa(m,"Block",0,0,0,true,true,0.5,0,LaserCol3) local cromm = it("SpecialMesh",crom) cromm.MeshType = "FileMesh" cromm.MeshId = asset .. Decs.Crown
  746.  
  747. cromm.Scale = v3(15*s,5*s,15*s) crom.Anchored = true --local cromw = weld(crom,Palm,crom,0,Palm.Size.y/3.6,-Palm.Size.z*1.8,rd(-90),0,0)
  748.  
  749. dias = {} loldiv = 360/8 for x=0,360,loldiv do
  750.  
  751. local dia = pa(m,"Block",0,0,0,false,false,0,0,LaserCol2) dia.Anchored = true local diam = it("SpecialMesh",dia) diam.MeshType = "FileMesh" diam.MeshId = DiamondMesh.MeshId
  752.  
  753. diam.Scale = v3(3*s,9*s,3*s) table.insert(dias,dia)
  754.  
  755. end Button = true coroutine.resume(coroutine.create(function() local tardz = 0 repeat wait() tardz = tardz+ 15
  756.  
  757. crom.CFrame = Palm.CFrame *ca(rd(-90),0,0) *cf(0,5.5*s,2*s) *ca(0,rd(tardz),0)
  758.  
  759. for rofl=1,#dias do dias[rofl].CFrame = crom.CFrame *ca(0,rd(rofl*loldiv),0) *cf(0,-19*s,0) *ca(rd(25),0,0) *cf(0,32*s,0) end
  760.  
  761. until not Button for x2=0.5,1,0.05 do wait() crom.Transparency = x2 end end))
  762.  
  763. coroutine.resume(coroutine.create(function() for xk=1,0.5,-0.02 do wait() for i=1,#dias do dias[i].Transparency =xk end end end))
  764.  
  765. wait(1) local beamoffset = v3(0,0,0)
  766.  
  767. local b1 = pa(m,"Ball",10*s,10*s,10*s,false,false,0.1,0,LaserCol) b1.Anchored = true
  768.  
  769. local b2 = pa(m,"Block",10*s,1,10*s,false,false,0.1,0,LaserCol) b2.Anchored = true local b2m = it("CylinderMesh",b2)
  770.  
  771. local b3 = pa(m,"Ball",10*s,10*s,10*s,false,false,0.1,0,LaserCol) b3.Anchored = true
  772.  
  773. local bpos = nil local bhit = nil local ts = 0
  774.  
  775. repeat beamoffset = v3(ra(-2*s,2*s),ra(-2*s,2*s),ra(-2*s,2*s)) ts = ts + 1
  776.  
  777. bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,0,1)).p)
  778.  
  779. if bhit == nil or (Palm.Position - bpos).magnitude > 1500 then break end
  780.  
  781. b1.CFrame = Palm.CFrame *cf(0,3*s,-11*s)
  782.  
  783. b3.CFrame = cf(bpos) local lenz = (b1.Position - b3.Position).magnitude
  784.  
  785. b2.CFrame = cf(b1.Position,b3.Position) *ca(rd(90),0,0) *cf(0,-lenz/2,0) b2m.Scale = v3(1,lenz,1)
  786.  
  787. b1.CFrame = b1.CFrame + beamoffset b2.CFrame = b2.CFrame + beamoffset b3.CFrame = b3.CFrame + beamoffset
  788.  
  789. if ts%10 == 0 then DmgHumanoidsNear(b3.Position,3,10,(14*s)+2,100) Explode(b3.CFrame*cf(0,b3.Size.y/3,0),25*s,LaserCol2) end
  790.  
  791. wait() until not Button or ts > 600
  792.  
  793. coroutine.resume(coroutine.create(function() for xk=0.1,1.1,0.08 do wait() b1.Transparency = xk b2.Transparency = xk b3.Transparency = xk end b1:Remove() b2:Remove() b3:Remove() end))
  794.  
  795. coroutine.resume(coroutine.create(function() for xk=0.5,1.1,0.02 do wait() for i=1,#dias do dias[i].Transparency =xk end end end))
  796.  
  797. wait(1) clearit(dias) crom:Remove()
  798.  
  799. end
  800.  
  801. end
  802.  
  803. PalmLev = it("BodyPosition",Palm)
  804.  
  805. PalmFace = it("BodyGyro",Palm) PalmFace.maxTorque = v3(0,0,0)
  806.  
  807. coroutine.resume(coroutine.create(function()
  808.  
  809. PalmLev.position = (t.CFrame *cf(handoffset)).p
  810.  
  811. local yspi = 0
  812.  
  813. while true do yspi = yspi + 8
  814.  
  815. if Anim.a == "Gun" or Anim.a == "Ride" or Anim.a == "Pound" then
  816.  
  817. Facing = "Mouse" bgx = -90 bgy = 90 bgz = 0
  818.  
  819. elseif Anim.a == "Fu" or Anim.a == "Fist" or Anim.a == "GroundGrip" then
  820.  
  821. Facing = "Mouse" bgx = -90 bgy = 0 bgz = 0
  822.  
  823. elseif Anim.a == "Splat" or Anim.a == "Beam" then
  824.  
  825. Facing = "Mouse" bgx = 0 bgy = 0 bgz = 0
  826.  
  827. elseif Anim.a == "None" then
  828.  
  829. Facing = "Owner" bgx = -90 bgy = 0 bgz = 0 Posing = "Follow"
  830.  
  831. elseif Anim.a == "Shower" then
  832.  
  833. Facing = "None" bgx = 0 bgy = 0 bgz = 0 Posing = "TopOwner"
  834.  
  835. end
  836.  
  837. if Posing == "Follow" then
  838.  
  839. PalmLev.maxForce = v3(1/0,1/0,1/0) PalmLev.position = (t.CFrame *cf(handoffset) *cf(0,0,0)).p
  840.  
  841. elseif Posing == "TopOwner" then
  842.  
  843. PalmLev.maxForce = v3(1/0,1/0,1/0) PalmLev.position = (t.CFrame *cf(0,12*s,0)).p
  844.  
  845. end
  846.  
  847. if Facing == "Owner" then
  848.  
  849. PalmFace.maxTorque = v3(1/0,1/0,1/0) PalmFace.cframe = cf(Palm.Position,he.Position) *ca(rd(bgx),rd(bgy),rd(bgz))
  850.  
  851. elseif Facing == "Mouse" and mou ~= nil and Equip then
  852.  
  853. if Anim.a == "Gun" or Anim.a == "Beam" or Anim.a == "Ride" or Anim.a == "GroundGrip" or Anim.a == "Fu" or Anim.a == "Pound" or Anim.a == "Splat" or Anim.a == "Fist" then
  854.  
  855. if Anim.b == "None" or Anim.a == "Beam" or Anim.a == "Ride" then
  856.  
  857. PalmFace.cframe = cf(Palm.Position,mou.Hit.p) *ca(rd(bgx),rd(bgy),rd(bgz)) wait(0.05)
  858.  
  859. end end end
  860.  
  861. wait(0.05)
  862.  
  863. end
  864.  
  865. end))
  866.  
  867. function FireFinger(lasercol,ffingz,targ,typez,siz,dmg,rndmg,forc) coroutine.resume(coroutine.create(function()
  868.  
  869. local laser = pa(m,"Block",fingwide*1.3,fingwide*1.3,fingwide*2.5,true,false,0,0,lasercol) spm("Sphere",laser,1+(siz/5.5)) laser.Name = "Projectile"
  870.  
  871. local lw = weld(laser,ffingz,laser,0,ffingz.Size.y/0.8 +(siz/2.5),0,rd(90),0,0)
  872.  
  873. for i=1,0.4,-0.05 do laser.Transparency = i wait() end
  874.  
  875. BlastWave(ffingz.CFrame*cf(0,ffingz.Size.y*1.3,0)*ca(0,0,0),ffingz.Size.x*1.6,1.8,LaserCol2)
  876.  
  877. lw:Remove() laser.CFrame = cf(laser.Position,targ)
  878.  
  879. Fire(laser,typez,siz,dmg,rndmg,forc)
  880.  
  881. end))
  882.  
  883. end
  884.  
  885. GrabWeld = it("Weld",m)
  886.  
  887. Palm.Touched:connect(function(touch)
  888.  
  889. if Anim.a == "Ride" and GrabWeld.Part1 == nil and touch.Parent:findFirstChild("Torso") and touch.Parent:findFirstChild("Humanoid") then
  890.  
  891. local tor = touch.Parent.Torso touch.Parent.Humanoid.PlatformStand = true
  892.  
  893. GrabWeld.Part0 = Palm GrabWeld.Part1 = tor GrabWeld.C0 = cf(-3*s,4.5*s,-Palm.Size.x/2) GrabWeld.C1 = ca(0,rd(90),rd(-90)) *ca(0,rd(0),0)
  894.  
  895. end
  896.  
  897. end)
  898.  
  899. re(bp,"Hand")
  900.  
  901. hb = it("HopperBin",bp) hb.Name = "Hand"
  902.  
  903. hb.Selected:connect(function(mouse) mou = mouse Equip = true
  904.  
  905. mouse.KeyDown:connect(function(k) k = k:lower()
  906.  
  907. if Anim.a == "Ride" and k == "f" then FireFinger(LaserCol,pPinkie3,mouse.Hit.p,1,2.25,1,18,30) end
  908.  
  909. if Anim.b ~= "None" or Anim.Welding ~= 0 then return end
  910.  
  911. if Anim.a == "None" then
  912.  
  913. if k == "f" then -- on anim on
  914.  
  915. Anim.a = "Gun" HandSign("Gun",0.7)
  916.  
  917. elseif k == "p" then
  918.  
  919. Anim.a = "Fu" HandSign("f",1)
  920.  
  921. elseif k == "g" then
  922.  
  923. Anim.a = "Fist" HandSign("fist",1)
  924.  
  925. elseif k == "c" then
  926.  
  927. Anim.a = "Splat" HandSign("wide",1)
  928.  
  929. elseif k == "r" then
  930.  
  931. Anim.a = "Ride" HandSign("ride",1) Posing = "None"
  932.  
  933. elseif k == "v" then
  934.  
  935. Anim.a = "Shower" HandSign("grab2",1) PalmFace.cframe = cf(0,0,0) *ca(0,0,0)
  936.  
  937. elseif k == "b" then
  938.  
  939. Anim.a = "Pound" HandSign("fist",1)
  940.  
  941. elseif k == "x" then
  942.  
  943. Anim.a = "GroundGrip" HandSign("grab2",1)
  944.  
  945. elseif k == "z" then
  946.  
  947. Anim.a = "Beam" HandSign("wide2",1)
  948.  
  949. end
  950.  
  951. else
  952.  
  953. if k == "f" and Anim.a == "Gun" then -- on anim off
  954.  
  955. Anim.a = "None" HandSign("five",0.8)
  956.  
  957. elseif k == "p" and Anim.a == "Fu" then
  958.  
  959. Anim.a = "None" HandSign("five",0.8)
  960.  
  961. elseif k == "g" and Anim.a == "Fist" then
  962.  
  963. Anim.a = "None" HandSign("five",0.8)
  964.  
  965. elseif k == "c" and Anim.a == "Splat" then
  966.  
  967. Anim.a = "None" HandSign("five",0.8)
  968.  
  969. elseif k == "r" and Anim.a == "Ride" then
  970.  
  971. Anim.a = "None" HandSign("five",0.8) GrabWeld.Part0 = nil Anim.b = "None" Posing = "Follow" Facing = "Owner"
  972.  
  973. if GrabWeld.Part1 ~= nil and GrabWeld.Part1.Parent:findFirstChild("Humanoid") ~= nil then GrabWeld.Part1.Parent.Humanoid.PlatformStand = false end GrabWeld.Part1 = nil
  974.  
  975. elseif k == "v" and Anim.a == "Shower" then
  976.  
  977. Anim.a = "None" HandSign("five",0.8) Posing = "Follow" Facing = "Owner"
  978.  
  979. elseif k == "b" and Anim.a == "Pound" then
  980.  
  981. Anim.a = "None" HandSign("five",0.8)
  982.  
  983. elseif k == "x" and Anim.a == "GroundGrip" then
  984.  
  985. Anim.a = "None" HandSign("five",0.8)
  986.  
  987. elseif k == "z" and Anim.a == "Beam" then
  988.  
  989. Anim.a = "None" HandSign("five",0.8)
  990.  
  991. end
  992.  
  993. end
  994.  
  995. end)
  996.  
  997. mouse.Button1Down:connect(function()
  998.  
  999. if Anim.a == "None" or Anim.b ~= "None" then return end
  1000.  
  1001. if Anim.a == "Gun" then
  1002.  
  1003. Anim.b = "Gun" FireFinger(LaserCol,pPoint3,mouse.Hit.p,1,2.25,1,10,60) FireFinger(LaserCol,pMid3,mouse.Hit.p,1,2.25) wait(1) Anim.b = "None"
  1004.  
  1005. elseif Anim.a == "Fu" then
  1006.  
  1007. Anim.b = "Fu" FireFinger(LaserCol,pMid3,mouse.Hit.p,1,3.65,2,14,95) wait(0.25) Anim.b = "None"
  1008.  
  1009. elseif Anim.a == "Fist" then
  1010.  
  1011. local bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p)
  1012.  
  1013. if bhit == nil or (Palm.Position - bpos).magnitude > 500 then return end
  1014.  
  1015. Anim.b = "Fist" Posing = "None" PalmFace.cframe = cf(Palm.Position,bpos) *ca(rd(-90),0,0)
  1016.  
  1017. PalmLev.position = (Palm.CFrame *cf(0,-15*s,0)).p
  1018.  
  1019. wait(0.45)
  1020.  
  1021. PalmLev.position = bpos + ((Palm.CFrame *cf(0,1*s,0)).p - Palm.Position)
  1022.  
  1023. local tz = 0 repeat wait() BlastWave(Palm.CFrame*ca(rd(180),0,0),8*s,3.5,HCol) tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 8*s or tz > 1
  1024.  
  1025. Explode(Palm.CFrame *cf(0,6*s,0) *ca(rd(180),0,0),15*s,ts(bhit.BrickColor))
  1026.  
  1027. DmgHumanoidsNear((Palm.CFrame *cf(0,8,0)).p,3,10,(12*s)+2,105)
  1028.  
  1029. if not bhit.Anchored then PalmLev.position = (Palm.CFrame *cf(0,12*s,0)).p wait(0.5) end
  1030.  
  1031. wait(1) Posing = "Follow" Anim.b = "None"
  1032.  
  1033. elseif Anim.a == "Splat" then
  1034.  
  1035. if mouse.Target == nil and (Palm.Position - mouse.Hit.p).magnitude > 500 then return end local bpos = mouse.Hit.p
  1036.  
  1037. Anim.b = "Splat" Posing = "None"
  1038.  
  1039. local ya,yb,yc = PalmFace.cframe:toEulerAnglesXYZ() PalmFace.cframe = cf(0,0,0) *ca(0,yb,0) *ca(rd(-90),0,0) PalmLev.position = bpos + v3(0,10*s,0)
  1040.  
  1041. local tz = 0 repeat wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 5*s or tz > 1.3
  1042.  
  1043. for i=-90,0,5 do
  1044.  
  1045. PalmLev.position = PalmLev.position + v3(0,2*s,0) PalmFace.cframe = cf(0,0,0) *ca(0,yb,0) *ca(rd(i),0,0)
  1046.  
  1047. wait()
  1048.  
  1049. end wait(0.2)
  1050.  
  1051. for i=0,-100,-10 do
  1052.  
  1053. local lewd = i
  1054.  
  1055. if lewd < -50 then lewd = -95 end
  1056.  
  1057. PalmLev.position = PalmLev.position - v3(0,4.7*s,0) PalmFace.cframe = cf(0,0,0) *ca(0,yb,0) *ca(rd(lewd),0,0)
  1058.  
  1059. wait()
  1060.  
  1061. end wait(0.2)
  1062.  
  1063. local cr = pa(m,"Block",16*s,0,16*s,false,false,1,0,"") cr.Anchored = true cr.CFrame = cf(bpos) *ca(0,rd(ra(-360,360)),0)
  1064.  
  1065. local de = it("Decal",cr) de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,16)
  1066.  
  1067. DmgHumanoidsNear((Palm.CFrame *cf(0,0,-1)).p,3,20,(15*s)+2,110)
  1068.  
  1069. ShockWave(Palm.CFrame *ca(rd(90),0,0),25*s,LaserCol)
  1070.  
  1071. wait(1) Posing = "Follow" Anim.b = "None"
  1072.  
  1073. elseif Anim.a == "Ride" and Button == false then
  1074.  
  1075. Posing = "None" Anim.b = "Ride"
  1076.  
  1077. Button = true
  1078.  
  1079. repeat PalmLev.position = (Palm.CFrame *cf(0,10,0)).p wait() until Button == false
  1080.  
  1081. Anim.b = "None"
  1082.  
  1083. elseif Anim.a == "Shower" and Button == false then
  1084.  
  1085. Anim.b = "Shower" Button = true
  1086.  
  1087. repeat
  1088.  
  1089. local targz = Palm.Position + v3(0,20*s,0)
  1090.  
  1091. if ra(1,12) == 1 then FireFinger(LaserCol,pPinkie3,targz,2,4,1,18,55) end
  1092.  
  1093. if ra(1,13) == 1 then FireFinger(LaserCol,pRing3,targz,2,4,1,18,60) end
  1094.  
  1095. if ra(1,12) == 1 then FireFinger(LaserCol,pMid3,targz,2,4,1,18,65) end
  1096.  
  1097. if ra(1,13) == 1 then FireFinger(LaserCol,pPoint3,targz,2,4,1,18,70) end
  1098.  
  1099. if ra(1,12) == 1 then FireFinger(LaserCol,pThumb3,targz,2,4,1,18,80) end
  1100.  
  1101. PalmFace.cframe = PalmFace.cframe *ca(0,rd(10),0)
  1102.  
  1103. wait()
  1104.  
  1105. until Button == false
  1106.  
  1107. Anim.b = "None"
  1108.  
  1109. elseif Anim.a == "Pound" and Anim.b == "None" then Posing = "None" Anim.b = "Pound"
  1110.  
  1111. local bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p)
  1112.  
  1113. if bhit == nil or (Palm.Position - bpos).magnitude > 500 then return end
  1114.  
  1115. PalmLev.position = bpos + v3(0,15*s,0)
  1116.  
  1117. local ya,yb,yc = PalmFace.cframe:toEulerAnglesXYZ() PalmFace.cframe = ca(ya,yb,yc)
  1118.  
  1119. local tz = 0 repeat wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 5*s or tz > 1.3 wait(0.1)
  1120.  
  1121. for i=-90,-10,10 do
  1122.  
  1123. PalmFace.cframe = ca(ya,yb,yc) *ca(0,0,rd(i+90)) PalmLev.position = PalmLev.position + v3(0,2.5*s,0)
  1124.  
  1125. wait() end wait(0.25) local realcf = cf(v3(he.Position.x,0,he.Position.z),v3(Palm.Position.x,0,Palm.Position.z))
  1126.  
  1127. for i=-10,-90,-10 do
  1128.  
  1129. PalmFace.cframe = ca(ya,yb,yc) *ca(0,0,rd(i+90)) PalmLev.position = PalmLev.position - v3(0,4*s,0)
  1130.  
  1131. wait() end PalmFace.cframe = realcf *ca(rd(-90),rd(90),0) wait(0.25)
  1132.  
  1133. local cr = pa(m,"Block",22*s,0,22*s,false,false,1,0,"") cr.Anchored = true cr.CFrame = cf(bpos) *ca(0,rd(ra(-360,360)),0)
  1134.  
  1135. local de = it("Decal",cr) de.Face = "Top" de.Texture = asset .. Decs.Crack Serv.d:AddItem(cr,16)
  1136.  
  1137. Dustplosion(Palm.CFrame *cf(2*s,0,0) *ca(rd(90),0,rd(90)),30*s,{"Dark green","Bright green","Brown"},3)
  1138.  
  1139. ShockWave(Palm.CFrame *cf(2*s,0,0) *ca(rd(90),0,rd(90)),20*s,ts(bhit.BrickColor))
  1140.  
  1141. DmgHumanoidsNear((Palm.CFrame *cf(0,1,0)).p,1,20,(15*s)+2,90) wait(0.2)
  1142.  
  1143. local palmcf = cf(bpos) local earthsplos = ra(5,8) palmcf = Palm.CFrame *ca(0,rd(90),0) *ca(rd(-90),0,rd(0))
  1144.  
  1145. for i=1,earthsplos do Earthsplosion(palmcf *cf(0,-2*s,((i*7)+7)*s),10,1,20,75) wait(0.1) end
  1146.  
  1147. Earthsplosion(palmcf *cf(0,-2*s,(((earthsplos+1)*7)+7)*s),16,2,25,75)
  1148.  
  1149. wait(1) Posing = "Follow" wait(0.25) Anim.b = "None"
  1150.  
  1151. elseif Anim.a == "GroundGrip" then Posing = "None" Anim.b = "GroundGrip"
  1152.  
  1153. local bhit,bpos = ray(Palm.Position,Palm.Position - (Palm.CFrame *cf(0,-1,0)).p)
  1154.  
  1155. if bhit == nil or (Palm.Position - bpos).magnitude > 500 then return end
  1156.  
  1157. PalmLev.position = bpos + v3(0,27*s,0) ColFings(false)
  1158.  
  1159. local tz = 0 repeat wait() tz = tz + wait() until (PalmLev.position - Palm.Position).magnitude < 8*s or tz > 1.3 wait(0.1)
  1160.  
  1161. local thepos = (Palm.CFrame *cf(0,-0.1*s,0)).p - Palm.Position
  1162.  
  1163. PalmFace.cframe = cf(Palm.Position,bpos + thepos) *ca(rd(-90),0,0)
  1164.  
  1165. for i=27,1,-3 do PalmLev.position = bpos + v3(0,i*s,0) wait(0.07) end HandSign("grab3",0.4) wait(0.55)
  1166.  
  1167. local ro = pa(m,"Ball",0,0,0,false,false,0,0,"Earth green") ro.Name = "Rock" local row = it("SpecialMesh",ro) row.MeshType = "FileMesh" row.MeshId = asset .. Decs.Rock
  1168.  
  1169. local rowe = weld(ro,Palm,ro,0,Palm.Size.y,-Palm.Size.z*1.2,0,0,0) row.Scale = v3(9*s,10*s,9*s)
  1170.  
  1171. coroutine.resume(coroutine.create(function() for xz=1,70,7 do PalmLev.position = bpos + v3(0,xz*s,0) wait(0.06) end end))
  1172.  
  1173. wait(0.25) Dustplosion(cf(bpos),30*s,{"Dark green","Bright green","Brown"},3) local lolra = ra(-360,360)
  1174.  
  1175. Earthsplosion(cf(bpos),25,1,20,125,"sand") for yyy=0,360,60 do coroutine.resume(coroutine.create(function()
  1176.  
  1177. for zzz=1,4 do
  1178.  
  1179. Earthsplosion(cf(bpos) *ca(0,rd(yyy+lolra),0) *cf(0,0,zzz*15*s),10,1,20,75) wait(0.14)
  1180.  
  1181. end wait(0.25) Earthsplosion(cf(bpos) *ca(0,rd(yyy+lolra),0) *cf(0,0,5*18*s),25,1,20,120) end)) end
  1182.  
  1183. wait(0.3) HandSign("grab2",0.5) wait(0.75) Serv.d:AddItem(ro,20) rowe:Remove() ro.CanCollide = true local rocf = ro.CFrame ro.Size=v3(14*s,14*s,14*s) ro.CFrame = rocf wait(0.75) ColFings(true) Posing = "Follow" Anim.b = "None"
  1184.  
  1185. elseif Anim.a == "Beam" and not Button and Anim.b == "None" then Anim.b = "Beam"
  1186.  
  1187. ShortifiedAnim("Beam") wait(0.5) Anim.b = "None"
  1188.  
  1189. end
  1190.  
  1191. end)
  1192.  
  1193. mouse.Button1Up:connect(function()
  1194.  
  1195. Button = false
  1196.  
  1197. end)
  1198.  
  1199. mouse.Move:connect(function()
  1200.  
  1201. end)
  1202.  
  1203.  
  1204. end)
  1205.  
  1206. hb.Deselected:connect(function(mouse)
  1207.  
  1208. Equip = false
  1209.  
  1210. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement