Advertisement
SCP-682-A

FINALLY A ACTUAL FE NELF

Jan 14th, 2019
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 144.73 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  5. Player= owner
  6. Character=Player.Character
  7. PlayerGui=Player.PlayerGui
  8. Backpack=Player.Backpack
  9. Torso=Character.Torso
  10. Head=Character.Head
  11. Humanoid=Character.Humanoid
  12. m=Instance.new('Model',Character)
  13. LeftArm=Character["Left Arm"]
  14. LeftLeg=Character["Left Leg"]
  15. RightArm=Character["Right Arm"]
  16. RightLeg=Character["Right Leg"]
  17. LS=Torso["Left Shoulder"]
  18. LH=Torso["Left Hip"]
  19. RS=Torso["Right Shoulder"]
  20. RH=Torso["Right Hip"]
  21. Face = Head.face
  22. Neck=Torso.Neck
  23. it=Instance.new
  24. attacktype=1
  25. vt=Vector3.new
  26. cf=CFrame.new
  27. euler=CFrame.fromEulerAnglesXYZ
  28. angles=CFrame.Angles
  29. cloaked=false
  30. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  32. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  33. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  34. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  36. RootPart=Character.HumanoidRootPart
  37. RootJoint=RootPart.RootJoint
  38. RootCF=euler(-1.57,0,3.14)
  39. attack = false
  40. attackdebounce = false
  41. deb=false
  42. equipped=true
  43. hand=false
  44. MMouse=nil
  45. combo=0
  46. mana=0
  47. trispeed=.2
  48. attackmode='none'
  49. local idle=0
  50. local Anim="Idle"
  51. local Effects={}
  52. local gun=false
  53. local shoot=false
  54. player=nil
  55. mana=0
  56. sphere=true
  57. aura=false
  58. blinking=true
  59. rest=false
  60.  
  61. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
  62. if jump == "Jump" then
  63. Humanoid.Jump = false
  64. end
  65. end)
  66.  
  67. Humanoid.MaxHealth = 50000
  68. wait(0.1)
  69. Humanoid.Health = 50000
  70.  
  71. print("Giant Snowman loaded.")
  72. print("This script was made by Brannon1964802")
  73.  
  74. RootPart.Transparency = 1
  75.  
  76. Humanoid.CameraOffset = Vector3.new(0, 12.5, 0)
  77.  
  78. Humanoid:findFirstChild("Animator"):Destroy()
  79.  
  80. Torso.Material = "Sand"
  81. Head.Material = "Sand"
  82. LeftLeg.Material = "Sand"
  83. RightLeg.Material = "Sand"
  84. LeftArm.Material = "Sand"
  85. RightArm.Material = "Sand"
  86.  
  87. Torso.BrickColor = BrickColor.new("Institutional white")
  88. Head.BrickColor = BrickColor.new("Institutional white")
  89. LeftLeg.BrickColor = BrickColor.new("Institutional white")
  90. RightLeg.BrickColor = BrickColor.new("Institutional white")
  91. LeftArm.BrickColor = BrickColor.new("Institutional white")
  92. RightArm.BrickColor = BrickColor.new("Institutional white")
  93.  
  94. --[[Character.Shirt:Destroy()
  95. Character.Pants:Destroy()]]
  96.  
  97. mouse=Player:GetMouse()
  98. --save shoulders
  99. RSH, LSH=nil, nil
  100. --welds
  101. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  102. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  103. LH=Torso["Left Hip"]
  104. RH=Torso["Right Hip"]
  105. TorsoColor=Torso.BrickColor
  106. function NoOutline(Part)
  107. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  108. end
  109. player=Player
  110. ch=Character
  111. RSH=ch.Torso["Right Shoulder"]
  112. LSH=ch.Torso["Left Shoulder"]
  113. --
  114. RSH.Parent=nil
  115. LSH.Parent=nil
  116. --
  117. RW.Name="Right Shoulder"
  118. RW.Part0=ch.Torso
  119. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  120. RW.C1=cf(0, 0.5, 0)
  121. RW.Part1=ch["Right Arm"]
  122. RW.Parent=ch.Torso
  123. --
  124. LW.Name="Left Shoulder"
  125. LW.Part0=ch.Torso
  126. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  127. LW.C1=cf(0, 0.5, 0)
  128. LW.Part1=ch["Left Arm"]
  129. LW.Parent=ch.Torso
  130.  
  131. Player=game:GetService('Players').LocalPlayer
  132. Character=Player.Character
  133. Mouse=Player:GetMouse()
  134. m=Instance.new('Model',Character)
  135.  
  136. music = Instance.new("Sound", Character)
  137. --music.SoundId = "http://www.roblox.com/asset/?id=340106355"
  138. music.Volume = 0
  139. music.Looped = true
  140. wait(0.1)
  141. music:Play()
  142.  
  143. music2 = Instance.new("Sound", Character)
  144. --music2.SoundId = "http://www.roblox.com/asset/?id=340106807"
  145. music2.Volume = 0.5
  146. music2.Looped = true
  147.  
  148. rawr = Instance.new("Sound", Character)
  149. --rawr.SoundId = "http://www.roblox.com/asset/?id=297472596"
  150. rawr.Volume = 0.5
  151. rawr.Looped = false
  152.  
  153. Beast = Instance.new("Model",Character)
  154. Beast.Name = "The Beast from The Depths"
  155.  
  156. torsop=Instance.new("Part",Character)
  157. torsop.FormFactor="Custom"
  158. torsop.Size=Vector3.new(.2,.2,.2)
  159. torsop.Transparency=0
  160. torsop.CanCollide=false
  161. torsop.BrickColor = BrickColor.new("Institutional white")
  162. torsop.Material="Sand"
  163. torsop.TopSurface="Smooth"
  164. torsop.BottomSurface="Smooth"
  165. torsop.RightSurface="Smooth"
  166. torsop.LeftSurface="Smooth"
  167. torsop.Transparency = 0
  168.  
  169. torsopw=Instance.new("Weld",Character)
  170. torsopw.Part0=Character.Torso
  171. torsopw.Part1=torsop
  172. torsopw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  173.  
  174. torso = Instance.new("SpecialMesh",torsop)
  175. torso.MeshType = "Sphere"
  176. torso.Scale = Vector3.new(45,45,45)
  177.  
  178. torsop2=Instance.new("Part",Character)
  179. torsop2.FormFactor="Custom"
  180. torsop2.Size=Vector3.new(.2,.2,.2)
  181. torsop2.Transparency=0
  182. torsop2.CanCollide=false
  183. torsop2.BrickColor = BrickColor.new("Institutional white")
  184. torsop2.Material="Sand"
  185. torsop2.TopSurface="Smooth"
  186. torsop2.BottomSurface="Smooth"
  187. torsop2.RightSurface="Smooth"
  188. torsop2.LeftSurface="Smooth"
  189. torsop2.Transparency = 0
  190.  
  191. torsop2w=Instance.new("Weld",Character)
  192. torsop2w.Part0=Character.Torso
  193. torsop2w.Part1=torsop2
  194. torsop2w.C0=CFrame.new(0,-8,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  195.  
  196. torso2 = Instance.new("SpecialMesh",torsop2)
  197. torso2.MeshType = "Sphere"
  198. torso2.Scale = Vector3.new(38,38,38)
  199.  
  200.  
  201. Crsytal=Instance.new("Part",Character)
  202. Crsytal.FormFactor="Custom"
  203. Crsytal.Size=Vector3.new(.2,.2,.2)
  204. Crsytal.Transparency=0
  205. Crsytal.CanCollide=false
  206. Crsytal.BrickColor = BrickColor.new("Pastel light blue")
  207. Crsytal.Material="Sand"
  208. Crsytal.TopSurface="Smooth"
  209. Crsytal.BottomSurface="Smooth"
  210. Crsytal.RightSurface="Smooth"
  211. Crsytal.LeftSurface="Smooth"
  212. Crsytal.Transparency = 0
  213.  
  214. Crsytalw=Instance.new("Weld",Character)
  215. Crsytalw.Part0=Character.Torso
  216. Crsytalw.Part1=Crsytal
  217. Crsytalw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  218.  
  219. CrsytalM = Instance.new("SpecialMesh",Crsytal)
  220. CrsytalM.MeshId = "http://www.roblox.com/asset/?id=9756362"
  221. CrsytalM.Scale = Vector3.new(5,10,5)
  222.  
  223. Horns=Instance.new("Part",Character)
  224. Horns.FormFactor="Custom"
  225. Horns.Size=Vector3.new(.2,.2,.2)
  226. Horns.Transparency=0
  227. Horns.CanCollide=false
  228. Horns.BrickColor = BrickColor.new("Pastel light blue")
  229. Horns.Material="Sand"
  230. Horns.TopSurface="Smooth"
  231. Horns.BottomSurface="Smooth"
  232. Horns.RightSurface="Smooth"
  233. Horns.LeftSurface="Smooth"
  234. Horns.Transparency = 0
  235.  
  236. Hornsw=Instance.new("Weld",Character)
  237. Hornsw.Part0=Character.Torso
  238. Hornsw.Part1=Horns
  239. Hornsw.C0=CFrame.new(0,3.5,-1)*CFrame.Angles(math.rad(-1),math.rad(0),math.rad(0))
  240.  
  241. HornsM = Instance.new("SpecialMesh",Horns)
  242. HornsM.MeshId = "http://www.roblox.com/asset/?id=15934744"
  243. HornsM.Scale = Vector3.new(5,10,5)
  244.  
  245. --[[torsop3=Instance.new("Part",Character)
  246. torsop3.FormFactor="Custom"
  247. torsop3.Size=Vector3.new(.2,.2,.2)
  248. torsop3.Transparency=0
  249. torsop3.CanCollide=false
  250. torsop3.BrickColor = BrickColor.new("Institutional white")
  251. torsop3.Material="Sand"
  252. torsop3.TopSurface="Smooth"
  253. torsop3.BottomSurface="Smooth"
  254. torsop3.RightSurface="Smooth"
  255. torsop3.LeftSurface="Smooth"
  256. torsop3.Transparency = 0
  257.  
  258. torsop3w=Instance.new("Weld",Character)
  259. torsop3w.Part0=Character.Torso
  260. torsop3w.Part1=torsop3
  261. torsop3w.C0=CFrame.new(0,-8,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  262.  
  263. torso3 = Instance.new("SpecialMesh",torsop3)
  264. torso3.MeshType = "Sphere"
  265. torso3.Scale = Vector3.new(38,38,38)]]
  266.  
  267.  
  268. ghostp=Instance.new("Part",Character)
  269. ghostp.FormFactor="Custom"
  270. ghostp.Size=Vector3.new(0.2,0.2,0.2)
  271. ghostp.Transparency=1
  272. ghostp.CanCollide=false
  273. ghostp.BrickColor = BrickColor.new("Institutional white")
  274. ghostp.Material="Sand"
  275. ghostp.TopSurface="Smooth"
  276. ghostp.BottomSurface="Smooth"
  277. ghostp.RightSurface="Smooth"
  278. ghostp.LeftSurface="Smooth"
  279. ghostw=Instance.new("Weld",Character)
  280. ghostw.Part0=Character.Torso
  281. ghostw.Part1=ghostp
  282. ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  283.  
  284. ghostmesh = Instance.new("FileMesh",ghostp)
  285. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  286. ghostmesh.Scale = Vector3.new(5,5,5)
  287.  
  288. ghostp2=Instance.new("Part",Character)
  289. ghostp2.FormFactor="Custom"
  290. ghostp2.Size=Vector3.new(0.2,0.2,0.2)
  291. ghostp2.Transparency=1
  292. ghostp2.CanCollide=false
  293. ghostp2.BrickColor = BrickColor.new("Institutional white")
  294. ghostp2.Material="Sand"
  295. ghostp2.TopSurface="Smooth"
  296. ghostp2.BottomSurface="Smooth"
  297. ghostp2.RightSurface="Smooth"
  298. ghostp2.LeftSurface="Smooth"
  299. ghostw2=Instance.new("Weld",Character)
  300. ghostw2.Part0=Character.Torso
  301. ghostw2.Part1=ghostp2
  302. ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  303.  
  304. ghostmesh2 = Instance.new("FileMesh",ghostp2)
  305. ghostmesh2.MeshId = "http://www.roblox.com/asset/?id=168892432"
  306. ghostmesh2.Scale = Vector3.new(10,10,10)
  307.  
  308. ghostp3=Instance.new("Part",Character)
  309. ghostp3.FormFactor="Custom"
  310. ghostp3.Size=Vector3.new(0.2,0.2,0.2)
  311. ghostp3.Transparency=1
  312. ghostp3.CanCollide=false
  313. ghostp3.BrickColor = BrickColor.new("Institutional white")
  314. ghostp3.Material="Sand"
  315. ghostp3.TopSurface="Smooth"
  316. ghostp3.BottomSurface="Smooth"
  317. ghostp3.RightSurface="Smooth"
  318. ghostp2.LeftSurface="Smooth"
  319. ghostw3=Instance.new("Weld",Character)
  320. ghostw3.Part0=Character.Torso
  321. ghostw3.Part1=ghostp3
  322. ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  323.  
  324. ghostmesh3 = Instance.new("FileMesh",ghostp3)
  325. ghostmesh3.MeshId = "http://www.roblox.com/asset/?id=168892432"
  326. ghostmesh3.Scale = Vector3.new(15,15,15)
  327.  
  328. ghostp4=Instance.new("Part",Character)
  329. ghostp4.FormFactor="Custom"
  330. ghostp4.Size=Vector3.new(0.2,0.2,0.2)
  331. ghostp4.Transparency=1
  332. ghostp4.CanCollide=false
  333. ghostp4.BrickColor = BrickColor.new("Institutional white")
  334. ghostp4.Material="Sand"
  335. ghostp4.TopSurface="Smooth"
  336. ghostp4.BottomSurface="Smooth"
  337. ghostp4.RightSurface="Smooth"
  338. ghostp4.LeftSurface="Smooth"
  339. ghostw4=Instance.new("Weld",Character)
  340. ghostw4.Part0=Character.Torso
  341. ghostw4.Part1=ghostp4
  342. ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  343.  
  344. ghostmesh4 = Instance.new("FileMesh",ghostp4)
  345. ghostmesh4.MeshId = "http://www.roblox.com/asset/?id=168892432"
  346. ghostmesh4.Scale = Vector3.new(20,20,20)
  347.  
  348. ghostp5=Instance.new("Part",Character)
  349. ghostp5.FormFactor="Custom"
  350. ghostp5.Size=Vector3.new(0.2,0.2,0.2)
  351. ghostp5.Transparency=1
  352. ghostp5.CanCollide=false
  353. ghostp5.BrickColor = BrickColor.new("Institutional white")
  354. ghostp5.Material="Sand"
  355. ghostp5.TopSurface="Smooth"
  356. ghostp5.BottomSurface="Smooth"
  357. ghostp5.RightSurface="Smooth"
  358. ghostp5.LeftSurface="Smooth"
  359. ghost5w=Instance.new("Weld",Character)
  360. ghost5w.Part0=Character.Torso
  361. ghost5w.Part1=ghostp5
  362. ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  363.  
  364. ghostmesh = Instance.new("FileMesh",ghostp5)
  365. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  366. ghostmesh.Scale = Vector3.new(2.5,2.5,2.5)
  367.  
  368. ghostp6=Instance.new("Part",Character)
  369. ghostp6.FormFactor="Custom"
  370. ghostp6.Size=Vector3.new(0.2,0.2,0.2)
  371. ghostp6.Transparency=1
  372. ghostp6.CanCollide=false
  373. ghostp6.BrickColor = BrickColor.new("Institutional white")
  374. ghostp6.Material="Sand"
  375. ghostp6.TopSurface="Smooth"
  376. ghostp6.BottomSurface="Smooth"
  377. ghostp6.RightSurface="Smooth"
  378. ghostp6.LeftSurface="Smooth"
  379. ghost6w=Instance.new("Weld",Character)
  380. ghost6w.Part0=Character.Torso
  381. ghost6w.Part1=ghostp6
  382. ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  383.  
  384. ghostmesh = Instance.new("FileMesh",ghostp6)
  385. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  386. ghostmesh.Scale = Vector3.new(7.5,7.5,7.5)
  387.  
  388. ghostp7=Instance.new("Part",Character)
  389. ghostp7.FormFactor="Custom"
  390. ghostp7.Size=Vector3.new(0.2,0.2,0.2)
  391. ghostp7.Transparency=1
  392. ghostp7.CanCollide=false
  393. ghostp7.BrickColor = BrickColor.new("Institutional white")
  394. ghostp7.Material="Sand"
  395. ghostp7.TopSurface="Smooth"
  396. ghostp7.BottomSurface="Smooth"
  397. ghostp7.RightSurface="Smooth"
  398. ghostp7.LeftSurface="Smooth"
  399. ghost7w=Instance.new("Weld",Character)
  400. ghost7w.Part0=Character.Torso
  401. ghost7w.Part1=ghostp7
  402. ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  403.  
  404. ghostmesh = Instance.new("FileMesh",ghostp7)
  405. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  406. ghostmesh.Scale = Vector3.new(12.5,12.5,12.5)
  407.  
  408. ghostp8=Instance.new("Part",Character)
  409. ghostp8.FormFactor="Custom"
  410. ghostp8.Size=Vector3.new(0.2,0.2,0.2)
  411. ghostp8.Transparency=1
  412. ghostp8.CanCollide=false
  413. ghostp8.BrickColor = BrickColor.new("Institutional white")
  414. ghostp8.Material="Sand"
  415. ghostp8.TopSurface="Smooth"
  416. ghostp8.BottomSurface="Smooth"
  417. ghostp8.RightSurface="Smooth"
  418. ghostp8.LeftSurface="Smooth"
  419. ghost8w=Instance.new("Weld",Character)
  420. ghost8w.Part0=Character.Torso
  421. ghost8w.Part1=ghostp8
  422. ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  423.  
  424. ghostmesh = Instance.new("FileMesh",ghostp8)
  425. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  426. ghostmesh.Scale = Vector3.new(17.5,17.5,17.5)
  427.  
  428. eyeoutline=Instance.new("Part",Character)
  429. eyeoutline.FormFactor="Custom"
  430. eyeoutline.Size=Vector3.new(.2,.2,.2)
  431. eyeoutline.Transparency=0
  432. eyeoutline.CanCollide=false
  433. eyeoutline.BrickColor = BrickColor.new("Really black")
  434. eyeoutline.Material="SmoothPlastic"
  435. eyeoutline.TopSurface="Smooth"
  436. eyeoutline.BottomSurface="Smooth"
  437. eyeoutline.RightSurface="Smooth"
  438. eyeoutline.LeftSurface="Smooth"
  439. eyeoutlinew=Instance.new("Weld",Character)
  440. eyeoutlinew.Part0=Character.Torso
  441. eyeoutlinew.Part1=eyeoutline
  442. eyeoutlinew.C0=CFrame.new(-1.5,0,-4.1)*CFrame.Angles(0,math.rad(20),math.rad(0))
  443.  
  444. eyemesh = Instance.new("SpecialMesh",eyeoutline)
  445. eyemesh.MeshType = "Sphere"
  446. eyemesh.Scale = Vector3.new(8.5,8.5,2)
  447.  
  448. eyep=Instance.new("Part",Character)
  449. eyep.FormFactor="Custom"
  450. eyep.Size=Vector3.new(.2,.2,.2)
  451. eyep.Transparency=0
  452. eyep.CanCollide=false
  453. eyep.BrickColor = BrickColor.new("Pastel light blue")
  454. eyep.Material="Neon"
  455. eyep.TopSurface="Smooth"
  456. eyep.BottomSurface="Smooth"
  457. eyep.RightSurface="Smooth"
  458. eyep.LeftSurface="Smooth"
  459. eyepw=Instance.new("Weld",Character)
  460. eyepw.Part0=eyeoutline
  461. eyepw.Part1=eyep
  462. eyepw.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0))
  463.  
  464. eyepmesh = Instance.new("SpecialMesh",eyep)
  465. eyepmesh.MeshType = "Sphere"
  466. eyepmesh.Scale = Vector3.new(7.5,7.5,2)
  467.  
  468. eyeoutline2=Instance.new("Part",Character)
  469. eyeoutline2.FormFactor="Custom"
  470. eyeoutline2.Size=Vector3.new(.2,.2,.2)
  471. eyeoutline2.Transparency=0
  472. eyeoutline2.CanCollide=false
  473. eyeoutline2.BrickColor = BrickColor.new("Really black")
  474. eyeoutline2.Material="SmoothPlastic"
  475. eyeoutline2.TopSurface="Smooth"
  476. eyeoutline2.BottomSurface="Smooth"
  477. eyeoutline2.RightSurface="Smooth"
  478. eyeoutline2.LeftSurface="Smooth"
  479. eyeoutline2w=Instance.new("Weld",Character)
  480. eyeoutline2w.Part0=Character.Torso
  481. eyeoutline2w.Part1=eyeoutline2
  482. eyeoutline2w.C0=CFrame.new(1.5,0,-4.1)*CFrame.Angles(0,math.rad(-20),math.rad(0))
  483.  
  484. eyemesh = Instance.new("SpecialMesh",eyeoutline2)
  485. eyemesh.MeshType = "Sphere"
  486. eyemesh.Scale = Vector3.new(8.5,8.5,2)
  487.  
  488. eyep2=Instance.new("Part",Character)
  489. eyep2.FormFactor="Custom"
  490. eyep2.Size=Vector3.new(.2,.2,.2)
  491. eyep2.Transparency=0
  492. eyep2.CanCollide=false
  493. eyep2.BrickColor = BrickColor.new("Pastel light blue")
  494. eyep2.Material="Neon"
  495. eyep2.TopSurface="Smooth"
  496. eyep2.BottomSurface="Smooth"
  497. eyep2.RightSurface="Smooth"
  498. eyep2.LeftSurface="Smooth"
  499. eyep2w=Instance.new("Weld",Character)
  500. eyep2w.Part0=eyeoutline2
  501. eyep2w.Part1=eyep2
  502. eyep2w.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0))
  503.  
  504. eyep2mesh = Instance.new("SpecialMesh",eyep2)
  505. eyep2mesh.MeshType = "Sphere"
  506. eyep2mesh.Scale = Vector3.new(7.5,7.5,2)
  507.  
  508. local spotlight = Instance.new("SpotLight", eyep)
  509. spotlight.Shadows = true
  510. spotlight.Color = Color3.new(0, 0.666667, 1)
  511. spotlight.Range = 24
  512. spotlight.Angle = 60
  513. spotlight.Brightness = 100
  514.  
  515. local spotlight2 = Instance.new("SpotLight", eyep2)
  516. spotlight2.Shadows = true
  517. spotlight2.Color = Color3.new(0, 0.666667, 1)
  518. spotlight2.Range = 24
  519. spotlight2.Angle = 60
  520. spotlight2.Brightness = 100
  521.  
  522. local particleemitter = Instance.new("ParticleEmitter", Torso)
  523. particleemitter.VelocitySpread = 180
  524. particleemitter.Lifetime = NumberRange.new(1)
  525. particleemitter.Speed = NumberRange.new(10)
  526. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  527. particleemitter.RotSpeed = NumberRange.new(-180, 180)
  528. particleemitter.Rotation = NumberRange.new(-360, 360)
  529. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  530. particleemitter.LightEmission = 1
  531. particleemitter.Texture = "http://www.roblox.com/asset/?id=320043786"
  532. particleemitter.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  533.  
  534. emitterp=Instance.new("Part",Character)
  535. emitterp.FormFactor="Custom"
  536. emitterp.Size=Vector3.new(5,.2,5)
  537. emitterp.Transparency=1
  538. emitterp.CanCollide=false
  539. emitterp.BrickColor = BrickColor.new("Institutional white")
  540. emitterp.Material="Neon"
  541. emitterp.TopSurface="Smooth"
  542. emitterp.BottomSurface="Smooth"
  543. emitterp.RightSurface="Smooth"
  544. emitterp.LeftSurface="Smooth"
  545. emitterpw=Instance.new("Weld",Character)
  546. emitterpw.Part0=Character.Torso
  547. emitterpw.Part1=emitterp
  548. emitterpw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  549.  
  550. local emitter = Instance.new("ParticleEmitter", emitterp)
  551. emitter.EmissionDirection = "Bottom"
  552. emitter.VelocitySpread = 30
  553. emitter.Lifetime = NumberRange.new(1)
  554. emitter.Speed = NumberRange.new(10)
  555. emitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2, 0), NumberSequenceKeypoint.new(1, 2, 0)})
  556. emitter.RotSpeed = NumberRange.new(-180, 180)
  557. emitter.Rate = 1000
  558. emitter.Rotation = NumberRange.new(-360, 360)
  559. emitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  560. emitter.LightEmission = 1
  561. emitter.Texture = "http://www.roblox.com/asset/?id=31727915"
  562. emitter.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  563.  
  564. local eyeeffect = Instance.new("ParticleEmitter", eyep)
  565. eyeeffect.Lifetime = NumberRange.new(1)
  566. eyeeffect.Speed = NumberRange.new(0)
  567. eyeeffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
  568. eyeeffect.RotSpeed = NumberRange.new(1080)
  569. eyeeffect.Rate = 25
  570. eyeeffect.Rotation = NumberRange.new(-360, 360)
  571. eyeeffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
  572. eyeeffect.LightEmission = 0.5
  573. eyeeffect.Texture = "http://www.roblox.com/asset/?id=242292288"
  574. eyeeffect.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  575. eyeeffect.LockedToPart = true
  576. eyeeffect.Enabled = false
  577.  
  578. local eyeeffect2 = Instance.new("ParticleEmitter", eyep2)
  579. eyeeffect2.Lifetime = NumberRange.new(1)
  580. eyeeffect2.Speed = NumberRange.new(0)
  581. eyeeffect2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
  582. eyeeffect2.RotSpeed = NumberRange.new(1080)
  583. eyeeffect2.Rate = 25
  584. eyeeffect2.Rotation = NumberRange.new(-360, 360)
  585. eyeeffect2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
  586. eyeeffect2.LightEmission = 0.5
  587. eyeeffect2.Texture = "http://www.roblox.com/asset/?id=242292288"
  588. eyeeffect2.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  589. eyeeffect2.LockedToPart = true
  590. eyeeffect2.Enabled = false
  591.  
  592. for _,v in pairs(Beast:GetChildren()) do
  593. if v:IsA("Part") then
  594. v.Transparency = 0
  595. end
  596. end
  597. coroutine.resume(coroutine.create(function(Part,Weld)
  598. while Part.Parent~=nil do
  599. wait(5)
  600. for i=0,1,0.2 do
  601. wait()
  602. spotlight.Angle = 60-60*i
  603. eyepmesh.Scale = Vector3.new(7.5,7.5-7.4*i,2)
  604. end
  605. for i=0,1,0.2 do
  606. wait()
  607. spotlight.Angle = 0+60*i
  608. eyepmesh.Scale = Vector3.new(7.5,0.1+7.4*i,2)
  609. end
  610. spotlight.Angle = 60
  611. end
  612. end),eyep,eyepw)
  613.  
  614. coroutine.resume(coroutine.create(function(Part,Weld)
  615. while Part.Parent~=nil do
  616. wait(5)
  617. for i=0,1,0.2 do
  618. wait()
  619. spotlight2.Angle = 60-60*i
  620. eyep2mesh.Scale = Vector3.new(7.5,7.5-7.4*i,2)
  621. end
  622. for i=0,1,0.2 do
  623. wait()
  624. spotlight2.Angle = 0+60*i
  625. eyep2mesh.Scale = Vector3.new(7.5,0.1+7.4*i,2)
  626. end
  627. spotlight2.Angle = 60
  628. end
  629. end),eyep2,eyep2w)
  630.  
  631. for _,v in pairs(Beast:GetChildren()) do
  632. if v:IsA("Part") then
  633. v.Transparency = 0
  634. end
  635. end
  636. --------------------------------------------------------------
  637. Arm = Instance.new("Model",Character)
  638. Arm.Name = "Arm 1"
  639.  
  640. arm1p=Instance.new("Part",Character)
  641. arm1p.FormFactor="Custom"
  642. arm1p.Size=Vector3.new(.2,.2,.2)
  643. arm1p.Transparency = 0
  644. arm1p.CanCollide=false
  645. arm1p.BrickColor = BrickColor.new("Institutional white")
  646. arm1p.Material="Sand"
  647. arm1p.TopSurface="Smooth"
  648. arm1p.BottomSurface="Smooth"
  649. arm1p.RightSurface="Smooth"
  650. arm1p.LeftSurface="Smooth"
  651. arm1pw=Instance.new("Weld",Character)
  652. arm1pw.Part0=Character["Right Arm"]
  653. arm1pw.Part1=arm1p
  654. arm1pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  655.  
  656. arm1pmesh = Instance.new("SpecialMesh",arm1p)
  657. arm1pmesh.MeshType = "Sphere"
  658. arm1pmesh.Scale = Vector3.new(40,20,40)
  659.  
  660. local particleemitter2 = Instance.new("ParticleEmitter", arm1p)
  661. particleemitter2.VelocitySpread = 180
  662. particleemitter2.Lifetime = NumberRange.new(1)
  663. particleemitter2.Speed = NumberRange.new(10)
  664. particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  665. particleemitter2.RotSpeed = NumberRange.new(-180, 180)
  666. particleemitter2.Rotation = NumberRange.new(-360, 360)
  667. particleemitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  668. particleemitter2.LightEmission = 1
  669. particleemitter2.Texture = "http://www.roblox.com/asset/?id=320043786"
  670. particleemitter2.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  671. particleemitter2.Enabled = false
  672.  
  673. arm1p2=Instance.new("Part",Character)
  674. arm1p2.FormFactor="Custom"
  675. arm1p2.Size=Vector3.new(.2,.2,.2)
  676. arm1p2.Transparency = 0
  677. arm1p2.CanCollide=false
  678. arm1p2.BrickColor = BrickColor.new("Institutional white")
  679. arm1p2.Material="Sand"
  680. arm1p2.TopSurface="Smooth"
  681. arm1p2.BottomSurface="Smooth"
  682. arm1p2.RightSurface="Smooth"
  683. arm1p2.LeftSurface="Smooth"
  684. arm1p2w=Instance.new("Weld",Character)
  685. arm1p2w.Part0=arm1p
  686. arm1p2w.Part1=arm1p2
  687. arm1p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  688.  
  689. arm1p2mesh = Instance.new("SpecialMesh",arm1p2)
  690. arm1p2mesh.MeshType = "Cylinder"
  691. arm1p2mesh.Scale = Vector3.new(30,20,30)
  692.  
  693. local particleemitter3 = Instance.new("ParticleEmitter", arm1p2)
  694. particleemitter3.VelocitySpread = 180
  695. particleemitter3.Lifetime = NumberRange.new(1)
  696. particleemitter3.Speed = NumberRange.new(10)
  697. particleemitter3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  698. particleemitter3.RotSpeed = NumberRange.new(-180, 180)
  699. particleemitter3.Rotation = NumberRange.new(-360, 360)
  700. particleemitter3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  701. particleemitter3.LightEmission = 1
  702. particleemitter3.Texture = "http://www.roblox.com/asset/?id=320043786"
  703. particleemitter3.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  704. particleemitter3.Enabled = false
  705.  
  706. arm1p3=Instance.new("Part",Character)
  707. arm1p3.FormFactor="Custom"
  708. arm1p3.Size=Vector3.new(.2,.2,.2)
  709. arm1p3.Transparency = 0
  710. arm1p3.CanCollide=false
  711. arm1p3.BrickColor = BrickColor.new("Institutional white")
  712. arm1p3.Material="Sand"
  713. arm1p3.TopSurface="Smooth"
  714. arm1p3.BottomSurface="Smooth"
  715. arm1p3.RightSurface="Smooth"
  716. arm1p3.LeftSurface="Smooth"
  717. arm1p3w=Instance.new("Weld",Character)
  718. arm1p3w.Part0=arm1p2
  719. arm1p3w.Part1=arm1p3
  720. arm1p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  721.  
  722. arm1p3mesh = Instance.new("SpecialMesh",arm1p3)
  723. arm1p3mesh.MeshType = "Sphere"
  724. arm1p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
  725.  
  726. local particleemitter4 = Instance.new("ParticleEmitter", arm1p3)
  727. particleemitter4.VelocitySpread = 180
  728. particleemitter4.Lifetime = NumberRange.new(1)
  729. particleemitter4.Speed = NumberRange.new(10)
  730. particleemitter4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  731. particleemitter4.RotSpeed = NumberRange.new(-180, 180)
  732. particleemitter4.Rotation = NumberRange.new(-360, 360)
  733. particleemitter4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  734. particleemitter4.LightEmission = 1
  735. particleemitter4.Texture = "http://www.roblox.com/asset/?id=320043786"
  736. particleemitter4.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  737. particleemitter4.Enabled = false
  738.  
  739. arm1p4=Instance.new("Part",Character)
  740. arm1p4.FormFactor="Custom"
  741. arm1p4.Size=Vector3.new(.2,.2,.2)
  742. arm1p4.Transparency = 0
  743. arm1p4.CanCollide=false
  744. arm1p4.BrickColor = BrickColor.new("Institutional white")
  745. arm1p4.Material="Sand"
  746. arm1p4.TopSurface="Smooth"
  747. arm1p4.BottomSurface="Smooth"
  748. arm1p4.RightSurface="Smooth"
  749. arm1p4.LeftSurface="Smooth"
  750. arm1p4w=Instance.new("Weld",Character)
  751. arm1p4w.Part0=arm1p3
  752. arm1p4w.Part1=arm1p4
  753. arm1p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  754.  
  755. arm1p4mesh = Instance.new("SpecialMesh",arm1p4)
  756. arm1p4mesh.MeshType = "Cylinder"
  757. arm1p4mesh.Scale = Vector3.new(30,20,30)
  758.  
  759. local particleemitter5 = Instance.new("ParticleEmitter", arm1p4)
  760. particleemitter5.VelocitySpread = 180
  761. particleemitter5.Lifetime = NumberRange.new(1)
  762. particleemitter5.Speed = NumberRange.new(10)
  763. particleemitter5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  764. particleemitter5.RotSpeed = NumberRange.new(-180, 180)
  765. particleemitter5.Rotation = NumberRange.new(-360, 360)
  766. particleemitter5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  767. particleemitter5.LightEmission = 1
  768. particleemitter5.Texture = "http://www.roblox.com/asset/?id=320043786"
  769. particleemitter5.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  770. particleemitter5.Enabled = false
  771.  
  772. arm1p5=Instance.new("Part",Character)
  773. arm1p5.FormFactor="Custom"
  774. arm1p5.Size=Vector3.new(.2,.2,.2)
  775. arm1p5.Transparency = 0
  776. arm1p5.CanCollide=false
  777. arm1p5.BrickColor = BrickColor.new("Institutional white")
  778. arm1p5.Material="Sand"
  779. arm1p5.TopSurface="Smooth"
  780. arm1p5.BottomSurface="Smooth"
  781. arm1p5.RightSurface="Smooth"
  782. arm1p5.LeftSurface="Smooth"
  783. arm1p5w=Instance.new("Weld",Character)
  784. arm1p5w.Part0=arm1p4
  785. arm1p5w.Part1=arm1p5
  786. arm1p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  787.  
  788. arm1p5mesh = Instance.new("SpecialMesh",arm1p5)
  789. arm1p5mesh.MeshType = "Sphere"
  790. arm1p5mesh.Scale = Vector3.new(30,30,30)
  791.  
  792. local particleemitter6 = Instance.new("ParticleEmitter", arm1p5)
  793. particleemitter6.VelocitySpread = 180
  794. particleemitter6.Lifetime = NumberRange.new(1)
  795. particleemitter6.Speed = NumberRange.new(10)
  796. particleemitter6.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  797. particleemitter6.RotSpeed = NumberRange.new(-180, 180)
  798. particleemitter6.Rotation = NumberRange.new(-360, 360)
  799. particleemitter6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  800. particleemitter6.LightEmission = 1
  801. particleemitter6.Texture = "http://www.roblox.com/asset/?id=320043786"
  802. particleemitter6.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))--ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  803. particleemitter6.Enabled = false
  804.  
  805. arm1p6=Instance.new("Part",Character)
  806. arm1p6.FormFactor="Custom"
  807. arm1p6.Size=Vector3.new(.2,.2,.2)
  808. arm1p6.Transparency = 0
  809. arm1p6.CanCollide=false
  810. arm1p6.BrickColor = BrickColor.new("Institutional white")
  811. arm1p6.Material="Sand"
  812. arm1p6.TopSurface="Smooth"
  813. arm1p6.BottomSurface="Smooth"
  814. arm1p6.RightSurface="Smooth"
  815. arm1p6.LeftSurface="Smooth"
  816. arm1p6w=Instance.new("Weld",Character)
  817. arm1p6w.Part0=arm1p5
  818. arm1p6w.Part1=arm1p6
  819. arm1p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  820.  
  821. arm1p6mesh = Instance.new("FileMesh",arm1p6)
  822. arm1p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  823. arm1p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  824.  
  825. arm1p7=Instance.new("Part",Character)
  826. arm1p7.FormFactor="Custom"
  827. arm1p7.Size=Vector3.new(.2,.2,.2)
  828. arm1p7.Transparency = 0
  829. arm1p7.CanCollide=false
  830. arm1p7.BrickColor = BrickColor.new("Pastel light blue")
  831. arm1p7.Material="Sand"
  832. arm1p7.TopSurface="Smooth"
  833. arm1p7.BottomSurface="Smooth"
  834. arm1p7.RightSurface="Smooth"
  835. arm1p7.LeftSurface="Smooth"
  836. arm1p7w=Instance.new("Weld",Character)
  837. arm1p7w.Part0=arm1p
  838. arm1p7w.Part1=arm1p7
  839. arm1p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  840.  
  841. arm1p7mesh = Instance.new("FileMesh",arm1p7)
  842. arm1p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  843. arm1p7mesh.Scale = Vector3.new(5,10,5)
  844.  
  845. arm1hitbox=Instance.new("Part",Character)
  846. arm1hitbox.FormFactor="Custom"
  847. arm1hitbox.Size=Vector3.new(5,5,5)
  848. arm1hitbox.Transparency = 1
  849. arm1hitbox.CanCollide=false
  850. arm1hitbox.BrickColor = BrickColor.new("Institutional white")
  851. arm1hitbox.Material="Sand"
  852. arm1hitbox.TopSurface="Smooth"
  853. arm1hitbox.BottomSurface="Smooth"
  854. arm1hitbox.RightSurface="Smooth"
  855. arm1hitbox.LeftSurface="Smooth"
  856. arm1hitboxw=Instance.new("Weld",Character)
  857. arm1hitboxw.Part0=arm1p6
  858. arm1hitboxw.Part1=arm1hitbox
  859. arm1hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  860. --------------------------------------------------------------
  861. Arm2 = Instance.new("Model",Character)
  862. Arm2.Name = "Arm 2"
  863.  
  864. arm2p=Instance.new("Part",Character)
  865. arm2p.FormFactor="Custom"
  866. arm2p.Size=Vector3.new(.2,.2,.2)
  867. arm2p.Transparency = 0
  868. arm2p.CanCollide=false
  869. arm2p.BrickColor = BrickColor.new("Institutional white")
  870. arm2p.Material="Sand"
  871. arm2p.TopSurface="Smooth"
  872. arm2p.BottomSurface="Smooth"
  873. arm2p.RightSurface="Smooth"
  874. arm2p.LeftSurface="Smooth"
  875. arm2pw=Instance.new("Weld",Character)
  876. arm2pw.Part0=Character["Left Arm"]
  877. arm2pw.Part1=arm2p
  878. arm2pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(-90))
  879.  
  880. arm2pmesh = Instance.new("SpecialMesh",arm2p)
  881. arm2pmesh.MeshType = "Sphere"
  882. arm2pmesh.Scale = Vector3.new(40,20,40)
  883.  
  884. local particleemitter7 = Instance.new("ParticleEmitter", arm2p)
  885. particleemitter7.VelocitySpread = 180
  886. particleemitter7.Lifetime = NumberRange.new(1)
  887. particleemitter7.Speed = NumberRange.new(10)
  888. particleemitter7.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  889. particleemitter7.RotSpeed = NumberRange.new(-180, 180)
  890. particleemitter7.Rotation = NumberRange.new(-360, 360)
  891. particleemitter7.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  892. particleemitter7.LightEmission = 1
  893. particleemitter7.Texture = "http://www.roblox.com/asset/?id=320043786"
  894. particleemitter7.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  895. particleemitter7.Enabled = false
  896.  
  897. arm2p2=Instance.new("Part",Character)
  898. arm2p2.FormFactor="Custom"
  899. arm2p2.Size=Vector3.new(.2,.2,.2)
  900. arm2p2.Transparency = 0
  901. arm2p2.CanCollide=false
  902. arm2p2.BrickColor = BrickColor.new("Institutional white")
  903. arm2p2.Material="Sand"
  904. arm2p2.TopSurface="Smooth"
  905. arm2p2.BottomSurface="Smooth"
  906. arm2p2.RightSurface="Smooth"
  907. arm2p2.LeftSurface="Smooth"
  908. arm2p2w=Instance.new("Weld",Character)
  909. arm2p2w.Part0=arm2p
  910. arm2p2w.Part1=arm2p2
  911. arm2p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  912.  
  913. arm2p2mesh = Instance.new("SpecialMesh",arm2p2)
  914. arm2p2mesh.MeshType = "Cylinder"
  915. arm2p2mesh.Scale = Vector3.new(30,20,30)
  916.  
  917. local particleemitter8 = Instance.new("ParticleEmitter", arm2p2)
  918. particleemitter8.VelocitySpread = 180
  919. particleemitter8.Lifetime = NumberRange.new(1)
  920. particleemitter8.Speed = NumberRange.new(10)
  921. particleemitter8.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  922. particleemitter8.RotSpeed = NumberRange.new(-180, 180)
  923. particleemitter8.Rotation = NumberRange.new(-360, 360)
  924. particleemitter8.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  925. particleemitter8.LightEmission = 1
  926. particleemitter8.Texture = "http://www.roblox.com/asset/?id=320043786"
  927. particleemitter8.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  928. particleemitter8.Enabled = false
  929.  
  930. arm2p3=Instance.new("Part",Character)
  931. arm2p3.FormFactor="Custom"
  932. arm2p3.Size=Vector3.new(.2,.2,.2)
  933. arm2p3.Transparency = 0
  934. arm2p3.CanCollide=false
  935. arm2p3.BrickColor = BrickColor.new("Institutional white")
  936. arm2p3.Material="Sand"
  937. arm2p3.TopSurface="Smooth"
  938. arm2p3.BottomSurface="Smooth"
  939. arm2p3.RightSurface="Smooth"
  940. arm2p3.LeftSurface="Smooth"
  941. arm2p3w=Instance.new("Weld",Character)
  942. arm2p3w.Part0=arm2p2
  943. arm2p3w.Part1=arm2p3
  944. arm2p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  945.  
  946. arm2p3mesh = Instance.new("SpecialMesh",arm2p3)
  947. arm2p3mesh.MeshType = "Sphere"
  948. arm2p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
  949.  
  950. local particleemitter9 = Instance.new("ParticleEmitter", arm2p3)
  951. particleemitter9.VelocitySpread = 180
  952. particleemitter9.Lifetime = NumberRange.new(1)
  953. particleemitter9.Speed = NumberRange.new(10)
  954. particleemitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  955. particleemitter9.RotSpeed = NumberRange.new(-180, 180)
  956. particleemitter9.Rotation = NumberRange.new(-360, 360)
  957. particleemitter9.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  958. particleemitter9.LightEmission = 1
  959. particleemitter9.Texture = "http://www.roblox.com/asset/?id=320043786"
  960. particleemitter9.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  961. particleemitter9.Enabled = false
  962.  
  963. arm2p4=Instance.new("Part",Character)
  964. arm2p4.FormFactor="Custom"
  965. arm2p4.Size=Vector3.new(.2,.2,.2)
  966. arm2p4.Transparency = 0
  967. arm2p4.CanCollide=false
  968. arm2p4.BrickColor = BrickColor.new("Institutional white")
  969. arm2p4.Material="Sand"
  970. arm2p4.TopSurface="Smooth"
  971. arm2p4.BottomSurface="Smooth"
  972. arm2p4.RightSurface="Smooth"
  973. arm2p4.LeftSurface="Smooth"
  974. arm2p4w=Instance.new("Weld",Character)
  975. arm2p4w.Part0=arm2p3
  976. arm2p4w.Part1=arm2p4
  977. arm2p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  978.  
  979. arm2p4mesh = Instance.new("SpecialMesh",arm2p4)
  980. arm2p4mesh.MeshType = "Cylinder"
  981. arm2p4mesh.Scale = Vector3.new(30,20,30)
  982.  
  983. local particleemitter10 = Instance.new("ParticleEmitter", arm2p4)
  984. particleemitter10.VelocitySpread = 180
  985. particleemitter10.Lifetime = NumberRange.new(1)
  986. particleemitter10.Speed = NumberRange.new(10)
  987. particleemitter10.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  988. particleemitter10.RotSpeed = NumberRange.new(-180, 180)
  989. particleemitter10.Rotation = NumberRange.new(-360, 360)
  990. particleemitter10.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  991. particleemitter10.LightEmission = 1
  992. particleemitter10.Texture = "http://www.roblox.com/asset/?id=320043786"
  993. particleemitter10.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  994. particleemitter10.Enabled = false
  995.  
  996. arm2p5=Instance.new("Part",Character)
  997. arm2p5.FormFactor="Custom"
  998. arm2p5.Size=Vector3.new(.2,.2,.2)
  999. arm2p5.Transparency = 0
  1000. arm2p5.CanCollide=false
  1001. arm2p5.BrickColor = BrickColor.new("Institutional white")
  1002. arm2p5.Material="Sand"
  1003. arm2p5.TopSurface="Smooth"
  1004. arm2p5.BottomSurface="Smooth"
  1005. arm2p5.RightSurface="Smooth"
  1006. arm2p5.LeftSurface="Smooth"
  1007. arm2p5w=Instance.new("Weld",Character)
  1008. arm2p5w.Part0=arm2p4
  1009. arm2p5w.Part1=arm2p5
  1010. arm2p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1011.  
  1012. arm2p5mesh = Instance.new("SpecialMesh",arm2p5)
  1013. arm2p5mesh.MeshType = "Sphere"
  1014. arm2p5mesh.Scale = Vector3.new(30,30,30)
  1015.  
  1016. local particleemitter11 = Instance.new("ParticleEmitter", arm2p5)
  1017. particleemitter11.VelocitySpread = 180
  1018. particleemitter11.Lifetime = NumberRange.new(1)
  1019. particleemitter11.Speed = NumberRange.new(10)
  1020. particleemitter11.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1021. particleemitter11.RotSpeed = NumberRange.new(-180, 180)
  1022. particleemitter11.Rotation = NumberRange.new(-360, 360)
  1023. particleemitter11.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1024. particleemitter11.LightEmission = 1
  1025. particleemitter11.Texture = "http://www.roblox.com/asset/?id=320043786"
  1026. particleemitter11.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1027. particleemitter11.Enabled = false
  1028.  
  1029. arm2p6=Instance.new("Part",Character)
  1030. arm2p6.FormFactor="Custom"
  1031. arm2p6.Size=Vector3.new(.2,.2,.2)
  1032. arm2p6.Transparency = 0
  1033. arm2p6.CanCollide=false
  1034. arm2p6.BrickColor = BrickColor.new("Institutional white")
  1035. arm2p6.Material="Sand"
  1036. arm2p6.TopSurface="Smooth"
  1037. arm2p6.BottomSurface="Smooth"
  1038. arm2p6.RightSurface="Smooth"
  1039. arm2p6.LeftSurface="Smooth"
  1040. arm2p6w=Instance.new("Weld",Character)
  1041. arm2p6w.Part0=arm2p5
  1042. arm2p6w.Part1=arm2p6
  1043. arm2p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  1044.  
  1045. arm2p6mesh = Instance.new("FileMesh",arm2p6)
  1046. arm2p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1047. arm2p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  1048.  
  1049. arm2p7=Instance.new("Part",Character)
  1050. arm2p7.FormFactor="Custom"
  1051. arm2p7.Size=Vector3.new(.2,.2,.2)
  1052. arm2p7.Transparency = 0
  1053. arm2p7.CanCollide=false
  1054. arm2p7.BrickColor = BrickColor.new("Pastel light blue")
  1055. arm2p7.Material="Sand"
  1056. arm2p7.TopSurface="Smooth"
  1057. arm2p7.BottomSurface="Smooth"
  1058. arm2p7.RightSurface="Smooth"
  1059. arm2p7.LeftSurface="Smooth"
  1060. arm2p7w=Instance.new("Weld",Character)
  1061. arm2p7w.Part0=arm2p
  1062. arm2p7w.Part1=arm2p7
  1063. arm2p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1064.  
  1065. arm2p7mesh = Instance.new("FileMesh",arm2p7)
  1066. arm2p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1067. arm2p7mesh.Scale = Vector3.new(5,10,5)
  1068.  
  1069. arm2hitbox=Instance.new("Part",Character)
  1070. arm2hitbox.FormFactor="Custom"
  1071. arm2hitbox.Size=Vector3.new(5,5,5)
  1072. arm2hitbox.Transparency = 1
  1073. arm2hitbox.CanCollide=false
  1074. arm2hitbox.BrickColor = BrickColor.new("Institutional white")
  1075. arm2hitbox.Material="Sand"
  1076. arm2hitbox.TopSurface="Smooth"
  1077. arm2hitbox.BottomSurface="Smooth"
  1078. arm2hitbox.RightSurface="Smooth"
  1079. arm2hitbox.LeftSurface="Smooth"
  1080. arm2hitboxw=Instance.new("Weld",Character)
  1081. arm2hitboxw.Part0=arm2p6
  1082. arm2hitboxw.Part1=arm2hitbox
  1083. arm2hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1084. --------------------------------------------------------------
  1085. arm3 = Instance.new("Model",Character)
  1086. arm3.Name = "Arm 3"
  1087.  
  1088. arm3p=Instance.new("Part",Character)
  1089. arm3p.FormFactor="Custom"
  1090. arm3p.Size=Vector3.new(.2,.2,.2)
  1091. arm3p.Transparency=1
  1092. arm3p.CanCollide=false
  1093. arm3p.BrickColor = BrickColor.new("Institutional white")
  1094. arm3p.Material="Sand"
  1095. arm3p.TopSurface="Smooth"
  1096. arm3p.BottomSurface="Smooth"
  1097. arm3p.RightSurface="Smooth"
  1098. arm3p.LeftSurface="Smooth"
  1099. arm3pw=Instance.new("Weld",Character)
  1100. arm3pw.Part0=Character["Left Arm"]
  1101. arm3pw.Part1=arm3p
  1102. arm3pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(-90))
  1103.  
  1104. arm3pmesh = Instance.new("SpecialMesh",arm3p)
  1105. arm3pmesh.MeshType = "Sphere"
  1106. arm3pmesh.Scale = Vector3.new(40,20,40)
  1107.  
  1108. local particleemitter7 = Instance.new("ParticleEmitter", arm3p)
  1109. particleemitter7.VelocitySpread = 180
  1110. particleemitter7.Lifetime = NumberRange.new(1)
  1111. particleemitter7.Speed = NumberRange.new(10)
  1112. particleemitter7.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1113. particleemitter7.RotSpeed = NumberRange.new(-180, 180)
  1114. particleemitter7.Rotation = NumberRange.new(-360, 360)
  1115. particleemitter7.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1116. particleemitter7.LightEmission = 1
  1117. particleemitter7.Texture = "http://www.roblox.com/asset/?id=320043786"
  1118. particleemitter7.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1119. particleemitter7.Enabled = false
  1120.  
  1121. arm3p2=Instance.new("Part",Character)
  1122. arm3p2.FormFactor="Custom"
  1123. arm3p2.Size=Vector3.new(.2,.2,.2)
  1124. arm3p2.Transparency=0
  1125. arm3p2.CanCollide=false
  1126. arm3p2.BrickColor = BrickColor.new("Institutional white")
  1127. arm3p2.Material="Sand"
  1128. arm3p2.TopSurface="Smooth"
  1129. arm3p2.BottomSurface="Smooth"
  1130. arm3p2.RightSurface="Smooth"
  1131. arm3p2.LeftSurface="Smooth"
  1132. arm3p2w=Instance.new("Weld",Character)
  1133. arm3p2w.Part0=arm3p
  1134. arm3p2w.Part1=arm3p2
  1135. arm3p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  1136.  
  1137. arm3p2mesh = Instance.new("SpecialMesh",arm3p2)
  1138. arm3p2mesh.MeshType = "Cylinder"
  1139. arm3p2mesh.Scale = Vector3.new(30,20,30)
  1140.  
  1141. local particleemitter8 = Instance.new("ParticleEmitter", arm3p2)
  1142. particleemitter8.VelocitySpread = 180
  1143. particleemitter8.Lifetime = NumberRange.new(1)
  1144. particleemitter8.Speed = NumberRange.new(10)
  1145. particleemitter8.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1146. particleemitter8.RotSpeed = NumberRange.new(-180, 180)
  1147. particleemitter8.Rotation = NumberRange.new(-360, 360)
  1148. particleemitter8.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1149. particleemitter8.LightEmission = 1
  1150. particleemitter8.Texture = "http://www.roblox.com/asset/?id=320043786"
  1151. particleemitter8.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1152. particleemitter8.Enabled = false
  1153.  
  1154. arm3p3=Instance.new("Part",Character)
  1155. arm3p3.FormFactor="Custom"
  1156. arm3p3.Size=Vector3.new(.2,.2,.2)
  1157. arm3p3.Transparency=0
  1158. arm3p3.CanCollide=false
  1159. arm3p3.BrickColor = BrickColor.new("Institutional white")
  1160. arm3p3.Material="Sand"
  1161. arm3p3.TopSurface="Smooth"
  1162. arm3p3.BottomSurface="Smooth"
  1163. arm3p3.RightSurface="Smooth"
  1164. arm3p3.LeftSurface="Smooth"
  1165. arm3p3w=Instance.new("Weld",Character)
  1166. arm3p3w.Part0=arm3p2
  1167. arm3p3w.Part1=arm3p3
  1168. arm3p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1169.  
  1170. arm3p3mesh = Instance.new("SpecialMesh",arm3p3)
  1171. arm3p3mesh.MeshType = "Sphere"
  1172. arm3p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
  1173.  
  1174. local particleemitter9 = Instance.new("ParticleEmitter", arm3p3)
  1175. particleemitter9.VelocitySpread = 180
  1176. particleemitter9.Lifetime = NumberRange.new(1)
  1177. particleemitter9.Speed = NumberRange.new(10)
  1178. particleemitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1179. particleemitter9.RotSpeed = NumberRange.new(-180, 180)
  1180. particleemitter9.Rotation = NumberRange.new(-360, 360)
  1181. particleemitter9.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1182. particleemitter9.LightEmission = 1
  1183. particleemitter9.Texture = "http://www.roblox.com/asset/?id=320043786"
  1184. particleemitter9.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1185. particleemitter9.Enabled = false
  1186.  
  1187. arm3p4=Instance.new("Part",Character)
  1188. arm3p4.FormFactor="Custom"
  1189. arm3p4.Size=Vector3.new(.2,.2,.2)
  1190. arm3p4.Transparency=0
  1191. arm3p4.CanCollide=false
  1192. arm3p4.BrickColor = BrickColor.new("Institutional white")
  1193. arm3p4.Material="Sand"
  1194. arm3p4.TopSurface="Smooth"
  1195. arm3p4.BottomSurface="Smooth"
  1196. arm3p4.RightSurface="Smooth"
  1197. arm3p4.LeftSurface="Smooth"
  1198. arm3p4w=Instance.new("Weld",Character)
  1199. arm3p4w.Part0=arm3p3
  1200. arm3p4w.Part1=arm3p4
  1201. arm3p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  1202.  
  1203. arm3p4mesh = Instance.new("SpecialMesh",arm3p4)
  1204. arm3p4mesh.MeshType = "Cylinder"
  1205. arm3p4mesh.Scale = Vector3.new(30,20,30)
  1206.  
  1207. local particleemitter10 = Instance.new("ParticleEmitter", arm3p4)
  1208. particleemitter10.VelocitySpread = 180
  1209. particleemitter10.Lifetime = NumberRange.new(1)
  1210. particleemitter10.Speed = NumberRange.new(10)
  1211. particleemitter10.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1212. particleemitter10.RotSpeed = NumberRange.new(-180, 180)
  1213. particleemitter10.Rotation = NumberRange.new(-360, 360)
  1214. particleemitter10.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1215. particleemitter10.LightEmission = 1
  1216. particleemitter10.Texture = "http://www.roblox.com/asset/?id=320043786"
  1217. particleemitter10.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1218. particleemitter10.Enabled = false
  1219.  
  1220. arm3p5=Instance.new("Part",Character)
  1221. arm3p5.FormFactor="Custom"
  1222. arm3p5.Size=Vector3.new(.2,.2,.2)
  1223. arm3p5.Transparency=0
  1224. arm3p5.CanCollide=false
  1225. arm3p5.BrickColor = BrickColor.new("Institutional white")
  1226. arm3p5.Material="Sand"
  1227. arm3p5.TopSurface="Smooth"
  1228. arm3p5.BottomSurface="Smooth"
  1229. arm3p5.RightSurface="Smooth"
  1230. arm3p5.LeftSurface="Smooth"
  1231. arm3p5w=Instance.new("Weld",Character)
  1232. arm3p5w.Part0=arm3p4
  1233. arm3p5w.Part1=arm3p5
  1234. arm3p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1235.  
  1236. arm3p5mesh = Instance.new("SpecialMesh",arm3p5)
  1237. arm3p5mesh.MeshType = "Sphere"
  1238. arm3p5mesh.Scale = Vector3.new(30,30,30)
  1239.  
  1240. local particleemitter11 = Instance.new("ParticleEmitter", arm3p5)
  1241. particleemitter11.VelocitySpread = 180
  1242. particleemitter11.Lifetime = NumberRange.new(1)
  1243. particleemitter11.Speed = NumberRange.new(10)
  1244. particleemitter11.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1245. particleemitter11.RotSpeed = NumberRange.new(-180, 180)
  1246. particleemitter11.Rotation = NumberRange.new(-360, 360)
  1247. particleemitter11.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1248. particleemitter11.LightEmission = 1
  1249. particleemitter11.Texture = "http://www.roblox.com/asset/?id=320043786"
  1250. particleemitter11.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1251. particleemitter11.Enabled = false
  1252.  
  1253. arm3p6=Instance.new("Part",Character)
  1254. arm3p6.FormFactor="Custom"
  1255. arm3p6.Size=Vector3.new(.2,.2,.2)
  1256. arm3p6.Transparency=0
  1257. arm3p6.CanCollide=false
  1258. arm3p6.BrickColor = BrickColor.new("Institutional white")
  1259. arm3p6.Material="Sand"
  1260. arm3p6.TopSurface="Smooth"
  1261. arm3p6.BottomSurface="Smooth"
  1262. arm3p6.RightSurface="Smooth"
  1263. arm3p6.LeftSurface="Smooth"
  1264. arm3p6w=Instance.new("Weld",Character)
  1265. arm3p6w.Part0=arm3p5
  1266. arm3p6w.Part1=arm3p6
  1267. arm3p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  1268.  
  1269. arm3p6mesh = Instance.new("FileMesh",arm3p6)
  1270. arm3p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1271. arm3p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  1272.  
  1273. arm3p7=Instance.new("Part",Character)
  1274. arm3p7.FormFactor="Custom"
  1275. arm3p7.Size=Vector3.new(.2,.2,.2)
  1276. arm3p7.Transparency=0
  1277. arm3p7.CanCollide=false
  1278. arm3p7.BrickColor = BrickColor.new("Pastel light blue")
  1279. arm3p7.Material="Sand"
  1280. arm3p7.TopSurface="Smooth"
  1281. arm3p7.BottomSurface="Smooth"
  1282. arm3p7.RightSurface="Smooth"
  1283. arm3p7.LeftSurface="Smooth"
  1284. arm3p7w=Instance.new("Weld",Character)
  1285. arm3p7w.Part0=arm3p
  1286. arm3p7w.Part1=arm3p7
  1287. arm3p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1288.  
  1289. arm3p7mesh = Instance.new("FileMesh",arm3p7)
  1290. arm3p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1291. arm3p7mesh.Scale = Vector3.new(5,10,5)
  1292.  
  1293. arm3hitbox=Instance.new("Part",Character)
  1294. arm3hitbox.FormFactor="Custom"
  1295. arm3hitbox.Size=Vector3.new(5,5,5)
  1296. arm3hitbox.Transparency=1
  1297. arm3hitbox.CanCollide=false
  1298. arm3hitbox.BrickColor = BrickColor.new("Institutional white")
  1299. arm3hitbox.Material="Sand"
  1300. arm3hitbox.TopSurface="Smooth"
  1301. arm3hitbox.BottomSurface="Smooth"
  1302. arm3hitbox.RightSurface="Smooth"
  1303. arm3hitbox.LeftSurface="Smooth"
  1304. arm3hitboxw=Instance.new("Weld",Character)
  1305. arm3hitboxw.Part0=arm3p6
  1306. arm3hitboxw.Part1=arm3hitbox
  1307. arm3hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1308. --------------------------------------------------------------
  1309. Arm = Instance.new("Model",Character)
  1310. Arm.Name = "Arm 1"
  1311.  
  1312. arm4p=Instance.new("Part",Character)
  1313. arm4p.FormFactor="Custom"
  1314. arm4p.Size=Vector3.new(.2,.2,.2)
  1315. arm4p.Transparency=1
  1316. arm4p.CanCollide=false
  1317. arm4p.BrickColor = BrickColor.new("Institutional white")
  1318. arm4p.Material="Sand"
  1319. arm4p.TopSurface="Smooth"
  1320. arm4p.BottomSurface="Smooth"
  1321. arm4p.RightSurface="Smooth"
  1322. arm4p.LeftSurface="Smooth"
  1323. arm4pw=Instance.new("Weld",Character)
  1324. arm4pw.Part0=Character["Right Arm"]
  1325. arm4pw.Part1=arm4p
  1326. arm4pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  1327.  
  1328. arm4pmesh = Instance.new("SpecialMesh",arm4p)
  1329. arm4pmesh.MeshType = "Sphere"
  1330. arm4pmesh.Scale = Vector3.new(40,20,40)
  1331.  
  1332. local particleemitter2 = Instance.new("ParticleEmitter", arm4p)
  1333. particleemitter2.VelocitySpread = 180
  1334. particleemitter2.Lifetime = NumberRange.new(1)
  1335. particleemitter2.Speed = NumberRange.new(10)
  1336. particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1337. particleemitter2.RotSpeed = NumberRange.new(-180, 180)
  1338. particleemitter2.Rotation = NumberRange.new(-360, 360)
  1339. particleemitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1340. particleemitter2.LightEmission = 1
  1341. particleemitter2.Texture = "http://www.roblox.com/asset/?id=320043786"
  1342. particleemitter2.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1343. particleemitter2.Enabled = false
  1344.  
  1345. arm4p2=Instance.new("Part",Character)
  1346. arm4p2.FormFactor="Custom"
  1347. arm4p2.Size=Vector3.new(.2,.2,.2)
  1348. arm4p2.Transparency=0
  1349. arm4p2.CanCollide=false
  1350. arm4p2.BrickColor = BrickColor.new("Institutional white")
  1351. arm4p2.Material="Sand"
  1352. arm4p2.TopSurface="Smooth"
  1353. arm4p2.BottomSurface="Smooth"
  1354. arm4p2.RightSurface="Smooth"
  1355. arm4p2.LeftSurface="Smooth"
  1356. arm4p2w=Instance.new("Weld",Character)
  1357. arm4p2w.Part0=arm4p
  1358. arm4p2w.Part1=arm4p2
  1359. arm4p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  1360.  
  1361. arm4p2mesh = Instance.new("SpecialMesh",arm4p2)
  1362. arm4p2mesh.MeshType = "Cylinder"
  1363. arm4p2mesh.Scale = Vector3.new(30,20,30)
  1364.  
  1365. local particleemitter3 = Instance.new("ParticleEmitter", arm4p2)
  1366. particleemitter3.VelocitySpread = 180
  1367. particleemitter3.Lifetime = NumberRange.new(1)
  1368. particleemitter3.Speed = NumberRange.new(10)
  1369. particleemitter3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1370. particleemitter3.RotSpeed = NumberRange.new(-180, 180)
  1371. particleemitter3.Rotation = NumberRange.new(-360, 360)
  1372. particleemitter3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1373. particleemitter3.LightEmission = 1
  1374. particleemitter3.Texture = "http://www.roblox.com/asset/?id=320043786"
  1375. particleemitter3.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1376. particleemitter3.Enabled = false
  1377.  
  1378. arm4p3=Instance.new("Part",Character)
  1379. arm4p3.FormFactor="Custom"
  1380. arm4p3.Size=Vector3.new(.2,.2,.2)
  1381. arm4p3.Transparency=0
  1382. arm4p3.CanCollide=false
  1383. arm4p3.BrickColor = BrickColor.new("Institutional white")
  1384. arm4p3.Material="Sand"
  1385. arm4p3.TopSurface="Smooth"
  1386. arm4p3.BottomSurface="Smooth"
  1387. arm4p3.RightSurface="Smooth"
  1388. arm4p3.LeftSurface="Smooth"
  1389. arm4p3w=Instance.new("Weld",Character)
  1390. arm4p3w.Part0=arm4p2
  1391. arm4p3w.Part1=arm4p3
  1392. arm4p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1393.  
  1394. arm4p3mesh = Instance.new("SpecialMesh",arm4p3)
  1395. arm4p3mesh.MeshType = "Sphere"
  1396. arm4p3mesh.Scale = Vector3.new(22.5,22.5,22.5)
  1397.  
  1398. local particleemitter4 = Instance.new("ParticleEmitter", arm4p3)
  1399. particleemitter4.VelocitySpread = 180
  1400. particleemitter4.Lifetime = NumberRange.new(1)
  1401. particleemitter4.Speed = NumberRange.new(10)
  1402. particleemitter4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1403. particleemitter4.RotSpeed = NumberRange.new(-180, 180)
  1404. particleemitter4.Rotation = NumberRange.new(-360, 360)
  1405. particleemitter4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1406. particleemitter4.LightEmission = 1
  1407. particleemitter4.Texture = "http://www.roblox.com/asset/?id=320043786"
  1408. particleemitter4.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1409. particleemitter4.Enabled = false
  1410.  
  1411. arm4p4=Instance.new("Part",Character)
  1412. arm4p4.FormFactor="Custom"
  1413. arm4p4.Size=Vector3.new(.2,.2,.2)
  1414. arm4p4.Transparency=0
  1415. arm4p4.CanCollide=false
  1416. arm4p4.BrickColor = BrickColor.new("Institutional white")
  1417. arm4p4.Material="Sand"
  1418. arm4p4.TopSurface="Smooth"
  1419. arm4p4.BottomSurface="Smooth"
  1420. arm4p4.RightSurface="Smooth"
  1421. arm4p4.LeftSurface="Smooth"
  1422. arm4p4w=Instance.new("Weld",Character)
  1423. arm4p4w.Part0=arm4p3
  1424. arm4p4w.Part1=arm4p4
  1425. arm4p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  1426.  
  1427. arm4p4mesh = Instance.new("SpecialMesh",arm4p4)
  1428. arm4p4mesh.MeshType = "Cylinder"
  1429. arm4p4mesh.Scale = Vector3.new(30,20,30)
  1430.  
  1431. local particleemitter5 = Instance.new("ParticleEmitter", arm4p4)
  1432. particleemitter5.VelocitySpread = 180
  1433. particleemitter5.Lifetime = NumberRange.new(1)
  1434. particleemitter5.Speed = NumberRange.new(10)
  1435. particleemitter5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1436. particleemitter5.RotSpeed = NumberRange.new(-180, 180)
  1437. particleemitter5.Rotation = NumberRange.new(-360, 360)
  1438. particleemitter5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1439. particleemitter5.LightEmission = 1
  1440. particleemitter5.Texture = "http://www.roblox.com/asset/?id=320043786"
  1441. particleemitter5.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1442. particleemitter5.Enabled = false
  1443.  
  1444. arm4p5=Instance.new("Part",Character)
  1445. arm4p5.FormFactor="Custom"
  1446. arm4p5.Size=Vector3.new(.2,.2,.2)
  1447. arm4p5.Transparency=0
  1448. arm4p5.CanCollide=false
  1449. arm4p5.BrickColor = BrickColor.new("Institutional white")
  1450. arm4p5.Material="Sand"
  1451. arm4p5.TopSurface="Smooth"
  1452. arm4p5.BottomSurface="Smooth"
  1453. arm4p5.RightSurface="Smooth"
  1454. arm4p5.LeftSurface="Smooth"
  1455. arm4p5w=Instance.new("Weld",Character)
  1456. arm4p5w.Part0=arm4p4
  1457. arm4p5w.Part1=arm4p5
  1458. arm4p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1459.  
  1460. arm4p5mesh = Instance.new("SpecialMesh",arm4p5)
  1461. arm4p5mesh.MeshType = "Sphere"
  1462. arm4p5mesh.Scale = Vector3.new(30,30,30)
  1463.  
  1464. local particleemitter6 = Instance.new("ParticleEmitter", arm4p5)
  1465. particleemitter6.VelocitySpread = 180
  1466. particleemitter6.Lifetime = NumberRange.new(1)
  1467. particleemitter6.Speed = NumberRange.new(10)
  1468. particleemitter6.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1469. particleemitter6.RotSpeed = NumberRange.new(-180, 180)
  1470. particleemitter6.Rotation = NumberRange.new(-360, 360)
  1471. particleemitter6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1472. particleemitter6.LightEmission = 1
  1473. particleemitter6.Texture = "http://www.roblox.com/asset/?id=320043786"
  1474. particleemitter6.Color = ColorSequence.new(Color3.new(175, 221, 255), Color3.new(175, 221, 255))
  1475. particleemitter6.Enabled = false
  1476.  
  1477. arm4p6=Instance.new("Part",Character)
  1478. arm4p6.FormFactor="Custom"
  1479. arm4p6.Size=Vector3.new(.2,.2,.2)
  1480. arm4p6.Transparency=0
  1481. arm4p6.CanCollide=false
  1482. arm4p6.BrickColor = BrickColor.new("Institutional white")
  1483. arm4p6.Material="Sand"
  1484. arm4p6.TopSurface="Smooth"
  1485. arm4p6.BottomSurface="Smooth"
  1486. arm4p6.RightSurface="Smooth"
  1487. arm4p6.LeftSurface="Smooth"
  1488. arm4p6w=Instance.new("Weld",Character)
  1489. arm4p6w.Part0=arm4p5
  1490. arm4p6w.Part1=arm4p6
  1491. arm4p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1492.  
  1493. arm4p6mesh = Instance.new("FileMesh",arm4p6)
  1494. arm4p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1495. arm4p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  1496.  
  1497. arm4p7=Instance.new("Part",Character)
  1498. arm4p7.FormFactor="Custom"
  1499. arm4p7.Size=Vector3.new(.2,.2,.2)
  1500. arm4p7.Transparency=0
  1501. arm4p7.CanCollide=false
  1502. arm4p7.BrickColor = BrickColor.new("Pastel light blue")
  1503. arm4p7.Material="Sand"
  1504. arm4p7.TopSurface="Smooth"
  1505. arm4p7.BottomSurface="Smooth"
  1506. arm4p7.RightSurface="Smooth"
  1507. arm4p7.LeftSurface="Smooth"
  1508. arm4p7w=Instance.new("Weld",Character)
  1509. arm4p7w.Part0=arm4p
  1510. arm4p7w.Part1=arm4p7
  1511. arm4p7w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1512.  
  1513. arm4p7mesh = Instance.new("FileMesh",arm4p7)
  1514. arm4p7mesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1515. arm4p7mesh.Scale = Vector3.new(5,10,5)
  1516.  
  1517. arm4hitbox=Instance.new("Part",Character)
  1518. arm4hitbox.FormFactor="Custom"
  1519. arm4hitbox.Size=Vector3.new(5,5,5)
  1520. arm4hitbox.Transparency=1
  1521. arm4hitbox.CanCollide=false
  1522. arm4hitbox.BrickColor = BrickColor.new("Institutional white")
  1523. arm4hitbox.Material="Sand"
  1524. arm4hitbox.TopSurface="Smooth"
  1525. arm4hitbox.BottomSurface="Smooth"
  1526. arm4hitbox.RightSurface="Smooth"
  1527. arm4hitbox.LeftSurface="Smooth"
  1528. arm4hitboxw=Instance.new("Weld",Character)
  1529. arm4hitboxw.Part0=arm4p6
  1530. arm4hitboxw.Part1=arm4hitbox
  1531. arm4hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1532. --------------------------------------------------------------
  1533. local function weldBetween(a, b)
  1534. local weldd = Instance.new("ManualWeld")
  1535. weldd.Part0 = a
  1536. weldd.Part1 = b
  1537. weldd.C0 = CFrame.new()
  1538. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1539. weldd.Parent = a
  1540. return weldd
  1541. end
  1542.  
  1543. function swait(num)
  1544. if num==0 or num==nil then
  1545. game:service'RunService'.Stepped:wait(0)
  1546. else
  1547. for i=0,num do
  1548. game:service'RunService'.Stepped:wait(0)
  1549. end
  1550. end
  1551. end
  1552.  
  1553. function nooutline(part)
  1554. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1555. end
  1556.  
  1557. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1558. local fp=it("Part")
  1559. fp.formFactor=formfactor
  1560. fp.Parent=parent
  1561. fp.Reflectance=reflectance
  1562. fp.Transparency=transparency
  1563. fp.CanCollide=false
  1564. fp.Locked=true
  1565. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1566. fp.Name=name
  1567. fp.Size=size
  1568. fp.Position=Character.Torso.Position
  1569. nooutline(fp)
  1570. fp.Material=material
  1571. fp:BreakJoints()
  1572. return fp
  1573. end
  1574.  
  1575. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1576. local mesh=it(Mesh)
  1577. mesh.Parent=part
  1578. if Mesh=="SpecialMesh" then
  1579. mesh.MeshType=meshtype
  1580. mesh.MeshId=meshid
  1581. end
  1582. mesh.Offset=offset
  1583. mesh.Scale=scale
  1584. return mesh
  1585. end
  1586.  
  1587. function weld(parent,part0,part1,c0,c1)
  1588. local weld=it("Weld")
  1589. weld.Parent=parent
  1590. weld.Part0=part0
  1591. weld.Part1=part1
  1592. weld.C0=c0
  1593. weld.C1=c1
  1594. return weld
  1595. end
  1596.  
  1597.  
  1598. local function CFrameFromTopBack(at, top, back)
  1599. local right = top:Cross(back)
  1600. return CFrame.new(at.x, at.y, at.z,
  1601. right.x, top.x, back.x,
  1602. right.y, top.y, back.y,
  1603. right.z, top.z, back.z)
  1604. end
  1605.  
  1606. function Triangle(a, b, c)
  1607. local edg1 = (c-a):Dot((b-a).unit)
  1608. local edg2 = (a-b):Dot((c-b).unit)
  1609. local edg3 = (b-c):Dot((a-c).unit)
  1610. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1611. a, b, c = a, b, c
  1612. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1613. a, b, c = b, c, a
  1614. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1615. a, b, c = c, a, b
  1616. else
  1617. assert(false, "unreachable")
  1618. end
  1619.  
  1620. local len1 = (c-a):Dot((b-a).unit)
  1621. local len2 = (b-a).magnitude - len1
  1622. local width = (a + (b-a).unit*len1 - c).magnitude
  1623.  
  1624. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1625.  
  1626. local list = {}
  1627.  
  1628. local TrailColor = ("Institutional white")
  1629.  
  1630. if len1 > 0.01 then
  1631. local w1 = Instance.new('WedgePart', m)
  1632. game:GetService("Debris"):AddItem(w1,5)
  1633. w1.Material = "SmoothPlastic"
  1634. w1.FormFactor = 'Custom'
  1635. w1.BrickColor = BrickColor.new(TrailColor)
  1636. w1.Transparency = 0
  1637. w1.Reflectance = 0
  1638. w1.Material = "SmoothPlastic"
  1639. w1.CanCollide = false
  1640. NoOutline(w1)
  1641. local sz = Vector3.new(0.2, width, len1)
  1642. w1.Size = sz
  1643. local sp = Instance.new("SpecialMesh",w1)
  1644. sp.MeshType = "Wedge"
  1645. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1646. w1:BreakJoints()
  1647. w1.Anchored = true
  1648. w1.Parent = workspace
  1649. w1.Transparency = 0.7
  1650. table.insert(Effects,{w1,"Disappear",.01})
  1651. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1652. table.insert(list,w1)
  1653. end
  1654.  
  1655. if len2 > 0.01 then
  1656. local w2 = Instance.new('WedgePart', m)
  1657. game:GetService("Debris"):AddItem(w2,5)
  1658. w2.Material = "SmoothPlastic"
  1659. w2.FormFactor = 'Custom'
  1660. w2.BrickColor = BrickColor.new("Institutional white")
  1661. w2.Transparency = 0
  1662. w2.Reflectance = 0
  1663. w2.Material = "SmoothPlastic"
  1664. w2.CanCollide = false
  1665. NoOutline(w2)
  1666. local sz = Vector3.new(0.2, width, len2)
  1667. w2.Size = sz
  1668. local sp = Instance.new("SpecialMesh",w2)
  1669. sp.MeshType = "Wedge"
  1670. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1671. w2:BreakJoints()
  1672. w2.Anchored = true
  1673. w2.Parent = workspace
  1674. w2.Transparency = 0.7
  1675. table.insert(Effects,{w2,"Disappear",.01})
  1676. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1677. table.insert(list,w2)
  1678. end
  1679. return unpack(list)
  1680. end
  1681.  
  1682.  
  1683. so = function(id,par,vol,pit)
  1684. coroutine.resume(coroutine.create(function()
  1685. local sou = Instance.new("Sound",par or workspace)
  1686. sou.Volume=vol
  1687. sou.Pitch=pit or 1
  1688. sou.SoundId=id
  1689. swait()
  1690. sou:play()
  1691. game:GetService("Debris"):AddItem(sou,6)
  1692. end))
  1693. end
  1694.  
  1695. function clerp(a,b,t)
  1696. local qa = {QuaternionFromCFrame(a)}
  1697. local qb = {QuaternionFromCFrame(b)}
  1698. local ax, ay, az = a.x, a.y, a.z
  1699. local bx, by, bz = b.x, b.y, b.z
  1700. local _t = 1-t
  1701. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1702. end
  1703.  
  1704. function QuaternionFromCFrame(cf)
  1705. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1706. local trace = m00 + m11 + m22
  1707. if trace > 0 then
  1708. local s = math.sqrt(1 + trace)
  1709. local recip = 0.5/s
  1710. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1711. else
  1712. local i = 0
  1713. if m11 > m00 then
  1714. i = 1
  1715. end
  1716. if m22 > (i == 0 and m00 or m11) then
  1717. i = 2
  1718. end
  1719. if i == 0 then
  1720. local s = math.sqrt(m00-m11-m22+1)
  1721. local recip = 0.5/s
  1722. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1723. elseif i == 1 then
  1724. local s = math.sqrt(m11-m22-m00+1)
  1725. local recip = 0.5/s
  1726. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1727. elseif i == 2 then
  1728. local s = math.sqrt(m22-m00-m11+1)
  1729. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1730. end
  1731. end
  1732. end
  1733.  
  1734. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1735. local xs, ys, zs = x + x, y + y, z + z
  1736. local wx, wy, wz = w*xs, w*ys, w*zs
  1737. local xx = x*xs
  1738. local xy = x*ys
  1739. local xz = x*zs
  1740. local yy = y*ys
  1741. local yz = y*zs
  1742. local zz = z*zs
  1743. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1744. end
  1745.  
  1746. function QuaternionSlerp(a, b, t)
  1747. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1748. local startInterp, finishInterp;
  1749. if cosTheta >= 0.0001 then
  1750. if (1 - cosTheta) > 0.0001 then
  1751. local theta = math.acos(cosTheta)
  1752. local invSinTheta = 1/math.sin(theta)
  1753. startInterp = math.sin((1-t)*theta)*invSinTheta
  1754. finishInterp = math.sin(t*theta)*invSinTheta
  1755. else
  1756. startInterp = 1-t
  1757. finishInterp = t
  1758. end
  1759. else
  1760. if (1+cosTheta) > 0.0001 then
  1761. local theta = math.acos(-cosTheta)
  1762. local invSinTheta = 1/math.sin(theta)
  1763. startInterp = math.sin((t-1)*theta)*invSinTheta
  1764. finishInterp = math.sin(t*theta)*invSinTheta
  1765. else
  1766. startInterp = t-1
  1767. finishInterp = t
  1768. end
  1769. end
  1770. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1771. end
  1772.  
  1773. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1774.  
  1775.  
  1776. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1777. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1778. end
  1779.  
  1780. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1781. if hit.Parent==nil then
  1782. return
  1783. end
  1784. h=hit.Parent:FindFirstChild("Humanoid")
  1785. for _,v in pairs(hit.Parent:children()) do
  1786. if v:IsA("Humanoid") then
  1787. h=v
  1788. end
  1789. end
  1790. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1791. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1792. end
  1793. if hit.Parent.className=="Hat" then
  1794. hit=hit.Parent.Parent:findFirstChild("Head")
  1795. end
  1796. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1797. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1798. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1799. return
  1800. end]]
  1801. -- hs(hit,1.2)
  1802. c=Instance.new("ObjectValue")
  1803. c.Name="creator"
  1804. c.Value=game:service("Players").LocalPlayer
  1805. c.Parent=h
  1806. game:GetService("Debris"):AddItem(c,.5)
  1807. Damage=math.random(minim,maxim)
  1808. -- h:TakeDamage(Damage)
  1809. blocked=false
  1810. block=hit.Parent:findFirstChild("Block")
  1811. if block~=nil then
  1812. print(block.className)
  1813. if block.className=="NumberValue" then
  1814. if block.Value>0 then
  1815. blocked=true
  1816. if decreaseblock==nil then
  1817. block.Value=block.Value-1
  1818. end
  1819. end
  1820. end
  1821. if block.className=="IntValue" then
  1822. if block.Value>0 then
  1823. blocked=true
  1824. if decreaseblock~=nil then
  1825. block.Value=block.Value-1
  1826. end
  1827. end
  1828. end
  1829. end
  1830. if blocked==false then
  1831. -- h:TakeDamage(Damage)
  1832. h.Health=h.Health-Damage
  1833. showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
  1834. else
  1835. h.Health=h.Health-(Damage/2)
  1836. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright red"))
  1837. end
  1838. if Type=="Knockdown" then
  1839. hum=hit.Parent.Humanoid
  1840. hum.PlatformStand=true
  1841. coroutine.resume(coroutine.create(function(HHumanoid)
  1842. swait(1)
  1843. HHumanoid.PlatformStand=false
  1844. end),hum)
  1845. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1846. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1847. local bodvol=Instance.new("BodyVelocity")
  1848. bodvol.velocity=angle*knockback
  1849. bodvol.P=5000
  1850. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1851. bodvol.Parent=hit
  1852. rl=Instance.new("BodyAngularVelocity")
  1853. rl.P=3000
  1854. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1855. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1856. rl.Parent=hit
  1857. game:GetService("Debris"):AddItem(bodvol,.5)
  1858. game:GetService("Debris"):AddItem(rl,.5)
  1859. elseif Type=="Normal" then
  1860. so("http://www.roblox.com/asset/?id=220834019",hit,1,math.random(80,120)/100)
  1861. vp=Instance.new("BodyVelocity")
  1862. vp.P=500
  1863. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1864. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1865. if KnockbackType==1 then
  1866. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1867. elseif KnockbackType==2 then
  1868. vp.velocity=Property.CFrame.lookVector*knockback
  1869. end
  1870. if knockback>0 then
  1871. vp.Parent=hit.Parent.Torso
  1872. end
  1873. game:GetService("Debris"):AddItem(vp,.5)
  1874. elseif Type=="Up" then
  1875. local bodyVelocity=Instance.new("BodyVelocity")
  1876. bodyVelocity.velocity=vt(0,60,0)
  1877. bodyVelocity.P=5000
  1878. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1879. bodyVelocity.Parent=hit
  1880. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1881. rl=Instance.new("BodyAngularVelocity")
  1882. rl.P=3000
  1883. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1884. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1885. rl.Parent=hit
  1886. game:GetService("Debris"):AddItem(rl,.5)
  1887. elseif Type=="Snare" then
  1888. bp=Instance.new("BodyPosition")
  1889. bp.P=2000
  1890. bp.D=100
  1891. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1892. bp.position=hit.Parent.Torso.Position
  1893. bp.Parent=hit.Parent.Torso
  1894. game:GetService("Debris"):AddItem(bp,1)
  1895. elseif Type=="Target" then
  1896. if Targetting==false then
  1897. ZTarget=hit.Parent.Torso
  1898. coroutine.resume(coroutine.create(function(Part)
  1899. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1900. swait(5)
  1901. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1902. end),ZTarget)
  1903. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1904. targetgui=Instance.new("BillboardGui")
  1905. targetgui.Parent=ZTarget
  1906. targetgui.Size=UDim2.new(10,100,10,100)
  1907. targ=Instance.new("ImageLabel")
  1908. targ.Parent=targetgui
  1909. targ.BackgroundTransparency=1
  1910. targ.Image="rbxassetid://4834067"
  1911. targ.Size=UDim2.new(1,0,1,0)
  1912. cam.CameraType="Scriptable"
  1913. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1914. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1915. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1916. Targetting=true
  1917. RocketTarget=ZTarget
  1918. for i=1,Property do
  1919. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1920. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1921. swait()
  1922. end
  1923. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1924. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1925. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1926. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1927. end
  1928. Targetting=false
  1929. RocketTarget=nil
  1930. targetgui.Parent=nil
  1931. cam.CameraType="Custom"
  1932. end
  1933. end
  1934. debounce=Instance.new("BoolValue")
  1935. debounce.Name="DebounceHit"
  1936. debounce.Parent=hit.Parent
  1937. debounce.Value=true
  1938. game:GetService("Debris"):AddItem(debounce,Delay)
  1939. c=Instance.new("ObjectValue")
  1940. c.Name="creator"
  1941. c.Value=Player
  1942. c.Parent=h
  1943. game:GetService("Debris"):AddItem(c,.5)
  1944. CRIT=false
  1945. hitDeb=true
  1946. AttackPos=6
  1947. end
  1948. end
  1949.  
  1950. showDamage=function(Char,Dealt,du,Color)
  1951. m=Instance.new("Model")
  1952. m.Name=tostring(Dealt)
  1953. h=Instance.new("Humanoid")
  1954. h.Health=0
  1955. h.MaxHealth=0
  1956. h.Parent=m
  1957. c=Instance.new("Part")
  1958. c.Transparency=1
  1959. c.BrickColor=BrickColor.new("Bright red")
  1960. c.Name="Head"
  1961. c.TopSurface=0
  1962. c.BottomSurface=0
  1963. c.formFactor="Plate"
  1964. c.Size=Vector3.new(1,.4,1)
  1965. ms=Instance.new("CylinderMesh")
  1966. ms.Scale=Vector3.new(.8,.8,.8)
  1967. if CRIT==true then
  1968. ms.Scale=Vector3.new(1,1.25,1)
  1969. end
  1970. ms.Parent=c
  1971. c.Reflectance=0
  1972. Instance.new("BodyGyro").Parent=c
  1973. c.Parent=m
  1974. if Char:findFirstChild("Head")~=nil then
  1975. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1976. elseif Char.Parent:findFirstChild("Head")~=nil then
  1977. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1978. end
  1979. f=Instance.new("BodyPosition")
  1980. f.P=2000
  1981. f.D=100
  1982. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1983. f.position=c.Position+Vector3.new(0,3,0)
  1984. f.Parent=c
  1985. game:GetService("Debris"):AddItem(m,.5+du)
  1986. c.CanCollide=false
  1987. m.Parent=workspace
  1988. c.CanCollide=false
  1989. end
  1990.  
  1991. function Shockwave2(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1992. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1993. prt.Anchored = true
  1994. prt.CFrame = cframe
  1995. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1996. coroutine.resume(coroutine.create(function()
  1997. for i = 0, 1, delay do
  1998. swait()
  1999. prt.Transparency = i
  2000. msh.Scale = msh.Scale + vt(x2, y2, z2)
  2001. end
  2002. prt.Parent = nil
  2003. end))
  2004. end
  2005.  
  2006. function attackone()
  2007. attack=true
  2008. for i=0,1,0.04 do
  2009. swait()
  2010. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1)
  2011. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2012. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2013. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2014. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2015. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2016. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2017. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,4)*angles(math.rad(60),math.rad(90),math.rad(-90)),0.2)
  2018. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2019. arm1p4w.C0=clerp(arm1p4w.C0,cf(1.5,3,0)*angles(math.rad(0),math.rad(0),math.rad(-120)),0.2)
  2020. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2021. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2022. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  2023. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2024. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2025. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2026. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2027. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2028. end
  2029. so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,1)
  2030. con1=arm1hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end)
  2031.  
  2032. for i=0,1,0.2 do
  2033. swait()
  2034. Shockwave(BrickColor.new("Institutional white"),cf(arm1hitbox.Position),1,1,1,1,1,1,0.075)
  2035.  
  2036. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  2037. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2038. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  2039. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  2040. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2041. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2042. arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2043. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3)
  2044. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2045. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2046. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2047. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2048. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  2049. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2050. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2051. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2052. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2053. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2054. end
  2055. for i=0,1,0.04 do
  2056. swait()
  2057. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  2058. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2059. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  2060. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  2061. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2062. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2063. arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2064. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3)
  2065. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2066. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2067. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2068. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2069. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  2070. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2071. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2072. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2073. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2074. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2075. end
  2076. con1:disconnect()
  2077. attack=false
  2078. end
  2079.  
  2080. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2081. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2082. end
  2083.  
  2084. function attacktwo()
  2085. attack=true
  2086. for i=0,1,0.04 do
  2087. swait()
  2088. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  2089. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2090. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2091. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2092. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2093. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2094. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2095. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2096. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2097. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2098. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2099. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2100. arm2pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(0),math.rad(120),math.rad(-90)),0.2)
  2101. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2102. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2103. arm2p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(0),math.rad(0),math.rad(-75)),0.2)
  2104. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2105. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2106. end
  2107. so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,0.8)
  2108. con1=arm2hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end)
  2109. for i=0,1,0.2 do
  2110. swait()
  2111. Shockwave(BrickColor.new("Institutional white"),cf(arm2hitbox.Position),1,1,1,1,1,1,0.075)
  2112. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2)
  2113. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2114. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2115. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2116. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2117. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2118. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2119. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2120. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2121. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2122. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2123. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2124. arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-30),math.rad(0),math.rad(-90)),0.3)
  2125. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3)
  2126. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2127. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2128. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2129. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2130. end
  2131. Humanoid.WalkSpeed = 0
  2132. local hit,pos=rayCast(arm2hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  2133. if hit~=nil then
  2134. swait()
  2135. print("touched")
  2136. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Institutional white"),"Effect",vt())
  2137. ref.Anchored=true
  2138. ref.CFrame=cf(pos)
  2139. game:GetService("Debris"):AddItem(ref,3)
  2140. so("http://www.roblox.com/asset/?id=199145477",arm2hitbox,1,math.random(60,140)/100)
  2141. Shockwave2(BrickColor.new("Institutional white"),cf(pos),0.1,0.1,0.1,1,1,1,0.05)
  2142. end
  2143. for i=0,1,0.04 do
  2144. swait()
  2145. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2)
  2146. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2147. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2148. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2149. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2150. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2151. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  2152. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2153. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2154. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2155. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2156. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2157. arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-20),math.rad(0),math.rad(-90)),0.3)
  2158. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3)
  2159. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2160. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2161. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2162. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2163. end
  2164. Humanoid.WalkSpeed = 64
  2165. con1:disconnect()
  2166. attack=false
  2167. end
  2168.  
  2169. function attackthree()
  2170. attack=true
  2171. for i=0,1,0.04 do
  2172. swait()
  2173. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1)
  2174. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2175. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2176. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2177. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2178. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2179.  
  2180. arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(180),math.rad(0),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  2181. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(180),math.rad(0),math.rad(-90)),0.2)
  2182. arm3p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(0),math.rad(0)),0.2)
  2183. arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(180),math.rad(0),math.rad(-45)),0.2)
  2184. arm3p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(0),math.rad(0)),0.2)
  2185. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(180),math.rad(0),math.rad(90)),0.2)
  2186. end
  2187. so("http://www.roblox.com/asset/?id=203691467",arm3hitbox,1,1)
  2188. con1=arm3hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end)
  2189.  
  2190. for i=0,1,0.2 do
  2191. swait()
  2192. Shockwave(BrickColor.new("Institutional white"),cf(arm3hitbox.Position),1,1,1,1,1,1,0.075)
  2193. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  2194. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2195. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  2196. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  2197. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2198. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2199.  
  2200. arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(180),math.rad(0),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  2201. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(180),math.rad(0),math.rad(-90)),0.2)
  2202. arm3p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(080),math.rad(0)),0.2)
  2203. arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(180),math.rad(0),math.rad(-45)),0.2)
  2204. arm3p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(0),math.rad(0)),0.2)
  2205. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(180),math.rad(0),math.rad(90)),0.2)
  2206. end
  2207. for i=0,1,0.04 do
  2208. swait()
  2209. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  2210. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2211. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  2212. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  2213. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2214. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2215.  
  2216. arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(180),math.rad(0),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  2217. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(180),math.rad(0),math.rad(-90)),0.2)
  2218. arm3p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(0),math.rad(0)),0.2)
  2219. arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(180),math.rad(0),math.rad(-45)),0.2)
  2220. arm3p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(180),math.rad(0),math.rad(0)),0.2)
  2221. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(180),math.rad(0),math.rad(90)),0.2)
  2222. end
  2223. con1:disconnect()
  2224. attack=false
  2225. end
  2226.  
  2227. function attackfour()
  2228. attack=true
  2229. for i=0,1,0.04 do
  2230. swait()
  2231. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1)
  2232. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2233. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  2234. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  2235. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2236. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2237.  
  2238. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(0),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  2239. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(0),math.rad(-90)),0.2)
  2240. arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(360),math.rad(0),math.rad(0)),0.2)
  2241. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(0),math.rad(-45)),0.2)
  2242. arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2243. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2244.  
  2245. end
  2246. so("http://www.roblox.com/asset/?id=203691467",arm4hitbox,1,1)
  2247. con1=arm4hitbox.Touched:connect(function(hit) Damagefunc(hit,60,80,math.random(60,80),"Normal",RootPart,.2,1) end)
  2248.  
  2249. for i=0,1,0.2 do
  2250. swait()
  2251. Shockwave(BrickColor.new("Institutional white"),cf(arm4hitbox.Position),1,1,1,1,1,1,0.075)
  2252. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  2253. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2254. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  2255. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  2256. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2257. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2258.  
  2259. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(0),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  2260. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(0),math.rad(-90)),0.2)
  2261. arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2262. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(0),math.rad(-45)),0.2)
  2263. arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2264. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2265.  
  2266. end
  2267. for i=0,1,0.04 do
  2268. swait()
  2269. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  2270. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2271. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  2272. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  2273. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2274. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2275.  
  2276. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(0),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  2277. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(0),math.rad(-90)),0.2)
  2278. arm4p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2279. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(0),math.rad(-45)),0.2)
  2280. arm4p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2281. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(0),math.rad(0)),0.2)
  2282.  
  2283. end
  2284. con1:disconnect()
  2285. attack=false
  2286. end
  2287.  
  2288.  
  2289. lasereye=1
  2290.  
  2291.  
  2292. mouse.Button1Down:connect(function()
  2293. if attack==false and attacktype==1 and sphere==false then
  2294. attackone()
  2295. attacktype=2
  2296. elseif attack==false and attacktype==2 and sphere==false then
  2297. attacktwo()
  2298. attacktype=3
  2299. elseif attack==false and attacktype==3 and sphere==false then
  2300. attackthree()
  2301. attacktype=4
  2302. elseif attack==false and attacktype==4 and sphere==false then
  2303. attackfour()
  2304. attacktype=1
  2305. end
  2306. if attack==false and used==false and sphere==true and rest==false and lasereye==1 then
  2307. lasereye=2
  2308. LaserBlaster()
  2309. elseif attack==false and used==false and sphere==true and rest==false and lasereye==2 then
  2310. lasereye=1
  2311. LaserBlaster2()
  2312. end
  2313. end)
  2314.  
  2315. function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2316. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2317. prt.Anchored = true
  2318. prt.CFrame = cframe
  2319. prt.Material = "Neon"
  2320. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  2321. game:GetService("Debris"):AddItem(prt, 2)
  2322. coroutine.resume(coroutine.create(function(Part, Mesh)
  2323. for i = 0, 1, delay do
  2324. swait()
  2325. Part.CFrame = Part.CFrame
  2326. Part.Transparency = i
  2327. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2328. end
  2329. Part.Parent = nil
  2330. end), prt, msh)
  2331. end
  2332.  
  2333. function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2334. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2335. prt.Anchored = true
  2336. prt.CFrame = cframe
  2337. prt.Material = "Neon"
  2338. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  2339. game:GetService("Debris"):AddItem(prt, 2)
  2340. coroutine.resume(coroutine.create(function(Part, Mesh)
  2341. for i = 0, 1, delay do
  2342. swait()
  2343. Part.CFrame = Part.CFrame
  2344. Part.Transparency = i
  2345. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2346. end
  2347. Part.Parent = nil
  2348. end), prt, msh)
  2349. end
  2350.  
  2351.  
  2352. MMouse=mouse
  2353. LaserTarget=RootPart
  2354. used=false
  2355.  
  2356. function LaserBlaster()
  2357. used=true
  2358. so("http://www.roblox.com/asset/?id=167122623",eyep,1,math.random(60,80)/100)
  2359. local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  2360. local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  2361. local mag=(eyep.Position-pos).magnitude
  2362. Laser(BrickColor.new("Institutional white"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1)
  2363. if hit~=nil then
  2364. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Institutional white"),"Effect",vt())
  2365. ref.Anchored=true
  2366. ref.CFrame=cf(pos)
  2367. game:GetService("Debris"):AddItem(ref,1)
  2368. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  2369. Shockwave(BrickColor.new("Institutional white"),cf(pos),1,1,1,1,1,1,0.075)
  2370. Damagefunc(hit,20,40,0,"Normal",RootPart,0)
  2371. end
  2372. for i=0,1,0.2 do
  2373. local sine = 0
  2374. local change = 1
  2375. local val = 0
  2376. sine = sine + change
  2377. swait()
  2378. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/30))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
  2379. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2380. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2381. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2382. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2383. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2384. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2385. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2386. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2387. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2388. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2389. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2390. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2391. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2392. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2393. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2394. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2395. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2396. end
  2397. wait(0.25)
  2398. used=false
  2399. end
  2400.  
  2401. function LaserBlaster2()
  2402. used=true
  2403. so("http://www.roblox.com/asset/?id=167122623",eyep2,1,math.random(60,80)/100)
  2404. local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  2405. local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  2406. local mag=(eyep2.Position-pos).magnitude
  2407. Laser(BrickColor.new("Institutional white"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1)
  2408. if hit~=nil then
  2409. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Institutional white"),"Effect",vt())
  2410. ref.Anchored=true
  2411. ref.CFrame=cf(pos)
  2412. game:GetService("Debris"):AddItem(ref,1)
  2413. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  2414. Shockwave(BrickColor.new("Institutional white"),cf(pos),1,1,1,1,1,1,0.075)
  2415. Damagefunc(hit,20,40,0,"Normal",RootPart,0)
  2416. end
  2417. for i=0,1,0.2 do
  2418. local sine = 0
  2419. local change = 1
  2420. local val = 0
  2421. sine = sine + change
  2422. swait()
  2423. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/30))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
  2424. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2425. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2426. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2427. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2428. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2429. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2430. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2431. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2432. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2433. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2434. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2435. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2436. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2437. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2438. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2439. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2440. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2441. end
  2442. wait(0.25)
  2443. used=false
  2444. end
  2445.  
  2446. used2=false
  2447.  
  2448. function GiantLaserBlaster()
  2449. used2=true
  2450. so("http://www.roblox.com/asset/?id=137463716",eyep,1,math.random(60,80)/100)
  2451. eyeeffect.Enabled = true
  2452. wait(1.6)
  2453. eyeeffect.Enabled = false
  2454. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  2455. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  2456. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  2457. so("http://www.roblox.com/asset/?id=253453677",eyep,1,math.random(75,125)/100)
  2458. local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  2459. local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  2460. local mag=(eyep.Position-pos).magnitude
  2461. Laser(BrickColor.new("Institutional white"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05)
  2462. if hit~=nil then
  2463. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Institutional white"),"Effect",vt())
  2464. ref.Anchored=true
  2465. ref.CFrame=cf(pos)
  2466. game:GetService("Debris"):AddItem(ref,1)
  2467. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  2468. Shockwave(BrickColor.new("Institutional white"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
  2469. Damagefunc(hit,40,80,0,"Normal",RootPart,0)
  2470. end
  2471. for i=0,1,0.1 do
  2472. local sine = 0
  2473. local change = 1
  2474. local val = 0
  2475. sine = sine + change
  2476. swait()
  2477. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/30))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
  2478. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2479. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2480. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2481. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2482. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2483. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2484. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2485. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2486. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2487. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2488. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2489. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2490. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2491. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2492. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2493. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2494. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2495. end
  2496. wait(3)
  2497. used2=false
  2498. end
  2499.  
  2500. function GiantLaserBlaster2()
  2501. used2=true
  2502. so("http://www.roblox.com/asset/?id=137463716",eyep2,1,math.random(60,80)/100)
  2503. eyeeffect2.Enabled = true
  2504. wait(1.6)
  2505. eyeeffect2.Enabled = false
  2506. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  2507. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  2508. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  2509. so("http://www.roblox.com/asset/?id=253453677",eyep2,1,math.random(75,125)/100)
  2510. local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  2511. local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  2512. local mag=(eyep2.Position-pos).magnitude
  2513. Laser(BrickColor.new("Institutional white"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05)
  2514. if hit~=nil then
  2515. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Institutional white"),"Effect",vt())
  2516. ref.Anchored=true
  2517. ref.CFrame=cf(pos)
  2518. game:GetService("Debris"):AddItem(ref,1)
  2519. so("http://www.roblox.com/asset/?id=340722848",ref,1,math.random(80,120)/100)
  2520. Shockwave(BrickColor.new("Institutional white"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
  2521. Damagefunc(hit,40,80,0,"Normal",RootPart,0)
  2522. end
  2523. for i=0,1,0.1 do
  2524. swait()
  2525. local sine = 0
  2526. local change = 1
  2527. local val = 0
  2528. sine = sine + change
  2529. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/40))*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  2530. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2531. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2532. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2533. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2534. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2535. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2536. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2537. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2538. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2539. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2540. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2541. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2542. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2543. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2544. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2545. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2546. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2547. end
  2548. wait(3)
  2549. used2=false
  2550. end
  2551.  
  2552. function Hibernation()
  2553. if rest==false then
  2554. print("You are now resting.")
  2555. rest=true
  2556. attack=true
  2557. emitter.Enabled = false
  2558. particleemitter.Enabled = false
  2559. for i=0,1,0.15 do
  2560. wait()
  2561. Humanoid.CameraOffset = Vector3.new(0, 12.5-12.5*i, 0)
  2562. music.Volume = 0.5-0.5*i
  2563. --eyep2mesh.Scale = Vector3.new(8.5,8.5-8.4*i,2)
  2564. --eyepmesh.Scale = Vector3.new(8.5,8.5-8.4*i,2)
  2565. end
  2566. music.Volume = 0
  2567. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  2568. attack=false
  2569. Humanoid.WalkSpeed = 0
  2570. elseif rest==true then
  2571. print("You are now awake.")
  2572. rest=false
  2573. attack=true
  2574. for i=0,1,0.15 do
  2575. wait()
  2576. Humanoid.CameraOffset = Vector3.new(0, 0+12.5*i, 0)
  2577. music.Volume = 0+0.5*i
  2578. --eyep2mesh.Scale = Vector3.new(8.5,0.1+8.4*i,2)
  2579. --eyepmesh.Scale = Vector3.new(8.5,0.1+8.4*i,2)
  2580. end
  2581. emitter.Enabled = true
  2582. particleemitter.Enabled = true
  2583. Humanoid.WalkSpeed = 16
  2584. music.Volume = 0.5
  2585. Humanoid.CameraOffset = Vector3.new(0, 12.5, 0)
  2586. attack=false
  2587. end
  2588. end
  2589.  
  2590. ragemodedelay=false
  2591.  
  2592. function RageMode()
  2593. if sphere==true then
  2594. music:Stop()
  2595. music2:Play()
  2596. rawr:Play()
  2597. particleemitter2.Enabled=true
  2598. particleemitter3.Enabled=true
  2599. particleemitter4.Enabled=true
  2600. particleemitter5.Enabled=true
  2601. particleemitter6.Enabled=true
  2602. particleemitter7.Enabled=true
  2603. particleemitter8.Enabled=true
  2604. particleemitter9.Enabled=true
  2605. particleemitter10.Enabled=true
  2606. particleemitter11.Enabled=true
  2607. Humanoid.WalkSpeed = 64
  2608. so("http://www.roblox.com/asset/?id=340722848",Character,0.5,1.2)
  2609. sphere=false
  2610. elseif sphere==false then
  2611. music2:Stop()
  2612. music:Play()
  2613. particleemitter2.Enabled=false
  2614. particleemitter3.Enabled=false
  2615. particleemitter4.Enabled=false
  2616. particleemitter5.Enabled=false
  2617. particleemitter6.Enabled=false
  2618. particleemitter7.Enabled=false
  2619. particleemitter8.Enabled=false
  2620. particleemitter9.Enabled=false
  2621. particleemitter10.Enabled=false
  2622. particleemitter11.Enabled=false
  2623. Humanoid.WalkSpeed = 16
  2624. so("http://www.roblox.com/asset/?id=340722848",Character,0.5,0.8)
  2625. sphere=true
  2626. end
  2627. end
  2628.  
  2629. --use3=false
  2630.  
  2631. function TheWind()
  2632. if aura==false then
  2633. Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),16,16,16,10,10,10,0.025)
  2634. so("http://www.roblox.com/asset/?id=340722848",Torso,1,1.1)
  2635. ghostp.Transparency = 0.8
  2636. ghostp2.Transparency = 0.85
  2637. ghostp3.Transparency = 0.9
  2638. ghostp4.Transparency = 0.95
  2639. ghostp5.Transparency = 0.75
  2640. ghostp6.Transparency = 0.825
  2641. ghostp7.Transparency = 0.875
  2642. ghostp8.Transparency = 0.925
  2643. aura=true
  2644. elseif aura==true then
  2645. Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),16,16,16,10,10,10,0.025)
  2646. so("http://www.roblox.com/asset/?id=340722848",Torso,1,0.9)
  2647. ghostp.Transparency = 1
  2648. ghostp2.Transparency = 1
  2649. ghostp3.Transparency = 1
  2650. ghostp4.Transparency = 1
  2651. ghostp5.Transparency = 1
  2652. ghostp6.Transparency = 1
  2653. ghostp7.Transparency = 1
  2654. ghostp8.Transparency = 1
  2655. aura=false
  2656. end
  2657. while aura==true do
  2658. for i=0,1,0.05 do
  2659. wait()
  2660. ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(45+360*i),math.rad(0))
  2661. ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(90+360*i),math.rad(0))
  2662. ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(135+360*i),math.rad(0))
  2663. ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(180+360*i),math.rad(0))
  2664. ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(225+360*i),math.rad(0))
  2665. ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(270+360*i),math.rad(0))
  2666. ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(315+360*i),math.rad(0))
  2667. ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(360+360*i),math.rad(0))
  2668. end
  2669. end
  2670. end
  2671.  
  2672. giantlasereye=1
  2673.  
  2674. function ShootingTheEyes()
  2675. if giantlasereye==1 then
  2676. GiantLaserBlaster()
  2677. giantlasereye=2
  2678. elseif giantlasereye==2 then
  2679. GiantLaserBlaster2()
  2680. giantlasereye=1
  2681. end
  2682. end
  2683.  
  2684. mouse.KeyDown:connect(function(k)
  2685. k=k:lower()
  2686. if k=='r' and attack==false and sphere==true and aura==false then
  2687. Hibernation()
  2688. end
  2689. if k=='f' and used2==false and sphere==true and rest==false then
  2690. ShootingTheEyes()
  2691. end
  2692. if k=='q' and rest==false and ragemodedelay==false then
  2693. RageMode()
  2694. end
  2695. if k=='e' and rest==false then
  2696. TheWind()
  2697. end
  2698. end)
  2699.  
  2700. local sine = 0
  2701. local change = 1
  2702. local val = 0
  2703.  
  2704. while true do
  2705. swait()
  2706. sine = sine + change
  2707. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2708. local velderp=RootPart.Velocity.y
  2709. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2710. if equipped==true or equipped==false then
  2711. if attack==false then
  2712. idle=idle+1
  2713. else
  2714. idle=0
  2715. end
  2716. if idle>=500 then
  2717. if attack==false then
  2718. --Sheath()
  2719. end
  2720. end
  2721. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2722. Anim="Jump"
  2723. if attack==false and sphere==false then
  2724. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/60))*angles(math.rad(-30),math.rad(0),math.rad(0)),.1)
  2725. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2726. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(80-10*math.cos(sine/60))), 0.3)
  2727. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-80+10*math.cos(sine/60))), 0.3)
  2728. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2729. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2730. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2731. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2732. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2733. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2734. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2735. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2736. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2737. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2738. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2739. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2740. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2741. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2742.  
  2743. arm3pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2744. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2745. arm3p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2746. arm3p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2747. arm3p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2748. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2749.  
  2750. arm4pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2751. arm4p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2752. arm4p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2753. arm4p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2754. arm4p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2755. arm4p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2756.  
  2757. torsop2w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2758. Crsytalw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2759. else
  2760. if attack==false and sphere==true then
  2761. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/40))*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  2762. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2763. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2764. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2765. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2766. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2767. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2768. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2769. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2770. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2771. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2772. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2773. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2774. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2775. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2776. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2777. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2778. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2779.  
  2780. arm3pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2781. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2782. arm3p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2783. arm3p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2784. arm3p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2785. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2786.  
  2787. arm4pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2788. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2789. arm4p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2790. arm4p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2791. arm4p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2792. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2793.  
  2794. torsop2w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2795. Crsytalw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2796.  
  2797. end
  2798. end
  2799. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2800. Anim="Fall"
  2801. if attack==false and sphere==false then
  2802. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/60))*angles(math.rad(30),math.rad(0),math.rad(0)),.1)
  2803. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2804. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120-10*math.cos(sine/60))), 0.3)
  2805. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120+10*math.cos(sine/60))), 0.3)
  2806. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2807. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2808. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2809. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2810. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2811. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2812. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2813. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2814. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2815. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2816. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2817. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2818. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2819. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2820.  
  2821. arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(360),math.rad(-180),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  2822. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(360),math.rad(-180),math.rad(-90)),0.2)
  2823. arm3p3w.C0=clerp(arm2p3w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(-180),math.rad(0)),0.2)
  2824. arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(360),math.rad(-180),math.rad(-45)),0.2)
  2825. arm3p5w.C0=clerp(arm2p5w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(-180),math.rad(0)),0.2)
  2826. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(360),math.rad(-180),math.rad(90)),0.2)
  2827.  
  2828. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(-180),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  2829. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-90)),0.2)
  2830. arm4p3w.C0=clerp(arm1p3w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  2831. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-45)),0.2)
  2832. arm4p5w.C0=clerp(arm1p5w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  2833. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  2834.  
  2835. torsop2w.C0=CFrame.new(0,-8,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  2836. Crsytalw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2837. else
  2838. if attack==false and sphere==true then
  2839. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/40))*angles(math.rad(20),math.rad(0),math.rad(0)),.1)
  2840. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2841. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2842. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2843. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2844. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2845. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2846. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2847. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2848. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2849. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2850. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2851. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2852. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2853. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2854. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2855. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2856. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2857.  
  2858. arm3pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(360),math.rad(-180),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  2859. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(360),math.rad(-180),math.rad(-90)),0.2)
  2860. arm3p3w.C0=clerp(arm2p3w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(-180),math.rad(0)),0.2)
  2861. arm3p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(360),math.rad(-180),math.rad(-75)),0.2)
  2862. arm3p5w.C0=clerp(arm2p5w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(-180),math.rad(0)),0.2)
  2863. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(360),math.rad(-180),math.rad(90)),0.2)
  2864.  
  2865. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(-180),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  2866. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-90)),0.2)
  2867. arm4p3w.C0=clerp(arm1p3w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  2868. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-45)),0.2)
  2869. arm4p5w.C0=clerp(arm1p5w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  2870. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  2871.  
  2872. torsop2w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2873. Crsytalw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2874. end
  2875. end
  2876. elseif torvel<1 and hitfloor~=nil then
  2877. Anim="Idle"
  2878. Humanoid.WalkSpeed = 64
  2879. if attack==false and sphere==false and rest==false then
  2880. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/30))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
  2881. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2882. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15-10*math.cos(sine/30)), math.rad(0), math.rad(100-5*math.cos(sine/30))), 0.3)
  2883. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15-10*math.cos(sine/30)), math.rad(0), math.rad(-100+5*math.cos(sine/30))), 0.3)
  2884. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2885. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2886.  
  2887. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2888. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2889. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2890. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2891. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2892. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)-----1
  2893.  
  2894. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2895. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2896. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2897. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2898. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2899. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)-----2
  2900.  
  2901. arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(-0),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  2902. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2903. arm3p3w.C0=clerp(arm2p3w.C0,cf(-6,0,0)*angles(math.rad(0),math.rad(-0),math.rad(0)),0.2)
  2904. arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(-0),math.rad(-45)),0.2)
  2905. arm3p5w.C0=clerp(arm2p5w.C0,cf(-6,0,0)*angles(math.rad(0),math.rad(-0),math.rad(0)),0.2)
  2906. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-0),math.rad(90)),0.2)-----2
  2907.  
  2908. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  2909. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  2910. arm4p3w.C0=clerp(arm1p3w.C0,cf(-6,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2911. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  2912. arm4p5w.C0=clerp(arm1p5w.C0,cf(-6,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2913. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)-----1
  2914.  
  2915. torsop2w.C0=CFrame.new(0,-8,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  2916. Crsytalw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2917. else
  2918. if attack==false and sphere==true and rest==false then
  2919. Humanoid.WalkSpeed = 16
  2920. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0+1*math.cos(sine/20),0,22-0.5*math.cos(sine/40))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
  2921. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2922. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2923. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2924. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2925. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2926. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2927. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2928. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2929. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2930. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2931. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2932. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2933. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2934. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2935. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2936. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2937. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2938.  
  2939. arm3pw.C0=clerp(arm2pw.C0,cf(0,-0,0)*angles(math.rad(0),math.rad(0),math.rad(-0)),0.2)
  2940. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-0)),0.2)
  2941. arm3p3w.C0=clerp(arm2p3w.C0,cf(-0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2942. arm3p4w.C0=clerp(arm2p4w.C0,cf(-0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-0)),0.2)
  2943. arm3p5w.C0=clerp(arm2p5w.C0,cf(-0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2944. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  2945.  
  2946. arm4pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2947. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2948. arm4p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2949. arm4p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2950. arm4p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2951. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2952.  
  2953.  
  2954. torsop2w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2955. Crsytalw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2956. else
  2957. if attack==false and sphere==true and rest==true then
  2958. Humanoid.WalkSpeed = 0
  2959. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(2.5+2.5*math.cos(sine/20)),math.rad(30),math.rad(0)),.1)
  2960. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2961. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2962. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2963. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2964. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2965. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2966. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2967. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2968. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2969. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2970. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2971. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2972. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2973. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2974. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2975. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2976. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2977.  
  2978. arm3pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2979. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2980. arm3p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2981. arm3p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2982. arm3p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2983. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2984.  
  2985. arm4pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2986. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2987. arm4p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2988. arm4p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2989. arm4p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2990. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2991.  
  2992. torsop2w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2993. Crsytalw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  2994. end
  2995. end
  2996. end
  2997. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2998. Anim="Walk"
  2999. if attack==false and sphere==false then
  3000. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-1*math.cos(sine/30))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  3001. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3002. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3)
  3003. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3)
  3004. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  3005. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3006. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  3007. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  3008. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3009. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  3010. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3011. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3012. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  3013. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  3014. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3015. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  3016. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3017. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  3018.  
  3019. arm3pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(360),math.rad(-180),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  3020. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(360),math.rad(-180),math.rad(-90)),0.2)
  3021. arm3p3w.C0=clerp(arm2p3w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(-180),math.rad(0)),0.2)
  3022. arm3p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(360),math.rad(-180),math.rad(-45)),0.2)
  3023. arm3p5w.C0=clerp(arm2p5w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(-180),math.rad(0)),0.2)
  3024. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(360),math.rad(-180),math.rad(90)),0.2)
  3025.  
  3026. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(-180),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  3027. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-90)),0.2)
  3028. arm4p3w.C0=clerp(arm1p3w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  3029. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-45)),0.2)
  3030. arm4p5w.C0=clerp(arm1p5w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  3031. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  3032.  
  3033. torsop2w.C0=CFrame.new(0,-8,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  3034. Crsytalw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  3035. else
  3036. if attack==false and sphere==true then
  3037. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-0.5*math.cos(sine/40))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  3038. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3039. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3040. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  3041. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  3042. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3043. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3044. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3045. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3046. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3047. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3048. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3049. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3050. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3051. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3052. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3053. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3054. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3055.  
  3056. arm3pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3057. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3058. arm3p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3059. arm3p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3060. arm3p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3061. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3062.  
  3063. arm4pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3064. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3065. arm4p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3066. arm4p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3067. arm4p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3068. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3069.  
  3070. torsop2w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  3071. Crsytalw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  3072. end
  3073. end
  3074. elseif torvel>=22 and hitfloor~=nil then
  3075. Anim="Run"
  3076. if attack==false and sphere==false then
  3077. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,22-1*math.cos(sine/30))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  3078. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3079. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3)
  3080. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3)
  3081. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  3082. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  3083. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  3084. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  3085. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3086. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  3087. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3088. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3089. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  3090. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  3091. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3092. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  3093. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  3094. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  3095.  
  3096. arm3pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(360),math.rad(120),math.rad(-90)),0.2) + Vector3.new(-5,-10,0)
  3097. arm3p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(360),math.rad(180),math.rad(-90)),0.2)
  3098. arm3p3w.C0=clerp(arm2p3w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2)
  3099. arm3p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(360),math.rad(180),math.rad(-75)),0.2)
  3100. arm3p5w.C0=clerp(arm2p5w.C0,cf(-6,0,0)*angles(math.rad(360),math.rad(180),math.rad(0)),0.2)
  3101. arm3p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(360),math.rad(180),math.rad(90)),0.2)
  3102.  
  3103. arm4pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(-90),math.rad(-180),math.rad(90)),0.2) + Vector3.new(5,-10,0)
  3104. arm4p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-90)),0.2)
  3105. arm4p3w.C0=clerp(arm1p3w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  3106. arm4p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(-90),math.rad(-180),math.rad(-45)),0.2)
  3107. arm4p5w.C0=clerp(arm1p5w.C0,cf(-6,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  3108. arm4p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(-90),math.rad(-180),math.rad(0)),0.2)
  3109.  
  3110. torsop2w.C0=CFrame.new(0,-8,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  3111. Crsytalw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  3112. end
  3113. end
  3114. end
  3115. if #Effects>0 then
  3116. --table.insert(Effects,{prt,"Block1",delay})
  3117. for e=1,#Effects do
  3118. if Effects[e]~=nil then
  3119. --for j=1,#Effects[e] do
  3120. local Thing=Effects[e]
  3121. if Thing~=nil then
  3122. local Part=Thing[1]
  3123. local Mode=Thing[2]
  3124. local Delay=Thing[3]
  3125. local IncX=Thing[4]
  3126. local IncY=Thing[5]
  3127. local IncZ=Thing[6]
  3128. if Thing[1].Transparency<=1 then
  3129. if Thing[2]=="Block1" then
  3130. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3131. Mesh=Thing[1].Mesh
  3132. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3133. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3134. elseif Thing[2]=="Cylinder" then
  3135. Mesh=Thing[1].Mesh
  3136. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3137. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3138. elseif Thing[2]=="Blood" then
  3139. Mesh=Thing[7]
  3140. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  3141. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  3142. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3143. elseif Thing[2]=="Elec" then
  3144. Mesh=Thing[1].Mesh
  3145. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  3146. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3147. elseif Thing[2]=="Disappear" then
  3148. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  3149. end
  3150. else
  3151. Part.Parent=nil
  3152. table.remove(Effects,e)
  3153. end
  3154. end
  3155. --end
  3156. end
  3157. end
  3158. end
  3159. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement