Advertisement
Harry989

Mini Boss Neflham FE (Void Script Builder)

Feb 18th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 111.73 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. 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
  6.  
  7. --[[Baby Nefl created by Brannon1964802]]--
  8. --[[Mini King Neflhelm edited by Zalgo_exe]]--
  9. --[[Accurate design of King Neflhelm from Strife]]--
  10.  
  11. Player=game:GetService("Players").LocalPlayer
  12. Character=Player.Character
  13. PlayerGui=Player.PlayerGui
  14. Backpack=Player.Backpack
  15. Torso=Character.Torso
  16. Head=Character.Head
  17. Humanoid=Character.Humanoid
  18. m=Instance.new('Model',Character)
  19. LeftArm=Character["Left Arm"]
  20. LeftLeg=Character["Left Leg"]
  21. RightArm=Character["Right Arm"]
  22. RightLeg=Character["Right Leg"]
  23. LS=Torso["Left Shoulder"]
  24. LH=Torso["Left Hip"]
  25. RS=Torso["Right Shoulder"]
  26. RH=Torso["Right Hip"]
  27. Face = Head.face
  28. Neck=Torso.Neck
  29. it=Instance.new
  30. attacktype=1
  31. vt=Vector3.new
  32. cf=CFrame.new
  33. euler=CFrame.fromEulerAnglesXYZ
  34. angles=CFrame.Angles
  35. cloaked=false
  36. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  37. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  38. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  39. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  40. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  41. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  42. RootPart=Character.HumanoidRootPart
  43. RootJoint=RootPart.RootJoint
  44. RootCF=euler(-1.57,0,3.14)
  45. attack = false
  46. attackdebounce = false
  47. deb=false
  48. equipped=true
  49. hand=false
  50. MMouse=nil
  51. combo=0
  52. mana=0
  53. trispeed=.2
  54. attackmode='none'
  55. local idle=0
  56. local Anim="Idle"
  57. local Effects={}
  58. local gun=false
  59. local shoot=false
  60. player=nil
  61. mana=0
  62. sphere=true
  63. aura=false
  64. blinking=true
  65. rest=false
  66. sleep=false
  67.  
  68. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
  69. if jump == "Jump" then
  70. Humanoid.Jump = false
  71. end
  72. end)
  73.  
  74. Humanoid.MaxHealth = 9999999
  75. wait(0.1)
  76. Humanoid.Health = 9999999
  77.  
  78. print("Giant Snowman loaded.")
  79. print("Baby Nefl by Brannon1964802")
  80. print("Edited Baby King Neflhelm by Zalgo_exe")
  81.  
  82. RootPart.Transparency = 1
  83.  
  84. Humanoid.CameraOffset = Vector3.new(0, 12.5, 0)
  85.  
  86. Humanoid:findFirstChild("Animator"):Destroy()
  87.  
  88. Torso.Transparency = 1
  89. Head.Transparency = 1
  90. LeftLeg.Transparency = 1
  91. RightLeg.Transparency = 1
  92. LeftArm.Transparency = 1
  93. RightArm.Transparency = 1
  94.  
  95. mouse=Player:GetMouse()
  96. --save shoulders
  97. RSH, LSH=nil, nil
  98. --welds
  99. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  100. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  101. LH=Torso["Left Hip"]
  102. RH=Torso["Right Hip"]
  103. TorsoColor=Torso.BrickColor
  104. function NoOutline(Part)
  105. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  106. end
  107. player=Player
  108. ch=Character
  109. RSH=ch.Torso["Right Shoulder"]
  110. LSH=ch.Torso["Left Shoulder"]
  111. --
  112. RSH.Parent=nil
  113. LSH.Parent=nil
  114. --
  115. RW.Name="Right Shoulder"
  116. RW.Part0=ch.Torso
  117. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  118. RW.C1=cf(0, 0.5, 0)
  119. RW.Part1=ch["Right Arm"]
  120. RW.Parent=ch.Torso
  121. --
  122. LW.Name="Left Shoulder"
  123. LW.Part0=ch.Torso
  124. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  125. LW.C1=cf(0, 0.5, 0)
  126. LW.Part1=ch["Left Arm"]
  127. LW.Parent=ch.Torso
  128.  
  129. Player=game:GetService('Players').LocalPlayer
  130. Character=Player.Character
  131. Mouse=Player:GetMouse()
  132. m=Instance.new('Model',Character)
  133.  
  134. music = Instance.new("Sound", Character)
  135. music.SoundId = "http://www.roblox.com/asset/?id=340106561"
  136. music.Volume = 0.5
  137. music.Looped = true
  138. wait(0.1)
  139. music:Play()
  140.  
  141. music2 = Instance.new("Sound", Character)
  142. music2.SoundId = "http://www.roblox.com/asset/?id=340106807"
  143. music2.Volume = 0.7
  144. music2.Looped = true
  145.  
  146. rawr = Instance.new("Sound", Character)
  147. rawr.SoundId = "http://www.roblox.com/asset/?id=297472596"
  148. rawr.Volume = 0.7
  149. rawr.Looped = false
  150.  
  151. Beast = Instance.new("Model",Character)
  152. Beast.Name = "The Beast from The Depths"
  153.  
  154. torsop=Instance.new("Part",Character)
  155. torsop.FormFactor="Custom"
  156. torsop.Size=Vector3.new(.2,.2,.2)
  157. torsop.Transparency=0
  158. torsop.CanCollide=false
  159. torsop.BrickColor = BrickColor.new("Institutional white")
  160. torsop.Material="Sand"
  161. torsop.TopSurface="Smooth"
  162. torsop.BottomSurface="Smooth"
  163. torsop.RightSurface="Smooth"
  164. torsop.LeftSurface="Smooth"
  165. torsopw=Instance.new("Weld",Character)
  166. torsopw.Part0=Character.Torso
  167. torsopw.Part1=torsop
  168. torsopw.C0=CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  169.  
  170. torsop = Instance.new("SpecialMesh",torsop)
  171. torsop.MeshType = "Sphere"
  172. torsop.Scale = Vector3.new(45,45,45)
  173.  
  174. torsop=Instance.new("Part",Character)
  175. torsop.FormFactor="Custom"
  176. torsop.Size=Vector3.new(.2,.2,.2)
  177. torsop.Transparency=0
  178. torsop.CanCollide=false
  179. torsop.BrickColor = BrickColor.new("Institutional white")
  180. torsop.Material="Sand"
  181. torsop.TopSurface="Smooth"
  182. torsop.BottomSurface="Smooth"
  183. torsop.RightSurface="Smooth"
  184. torsop.LeftSurface="Smooth"
  185. torsopw=Instance.new("Weld",Character)
  186. torsopw.Part0=Character.Torso
  187. torsopw.Part1=torsop
  188. torsopw.C0=CFrame.new(0,0,2)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  189.  
  190. torsop = Instance.new("SpecialMesh",torsop)
  191. torsop.MeshType = "Sphere"
  192. torsop.Scale = Vector3.new(45,45,45)
  193.  
  194. torsop=Instance.new("Part",Character)
  195. torsop.FormFactor="Custom"
  196. torsop.Size=Vector3.new(.2,.2,.2)
  197. torsop.Transparency=0
  198. torsop.CanCollide=false
  199. torsop.BrickColor = BrickColor.new("Institutional white")
  200. torsop.Material="Sand"
  201. torsop.TopSurface="Smooth"
  202. torsop.BottomSurface="Smooth"
  203. torsop.RightSurface="Smooth"
  204. torsop.LeftSurface="Smooth"
  205. torsopw=Instance.new("Weld",Character)
  206. torsopw.Part0=Character.Torso
  207. torsopw.Part1=torsop
  208. torsopw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  209.  
  210. torsop = Instance.new("SpecialMesh",torsop)
  211. torsop.MeshType = "Sphere"
  212. torsop.Scale = Vector3.new(35,35,35)
  213.  
  214. torsop=Instance.new("Part",Character)
  215. torsop.FormFactor="Custom"
  216. torsop.Size=Vector3.new(.2,.2,.2)
  217. torsop.Transparency=0
  218. torsop.CanCollide=false
  219. torsop.BrickColor = BrickColor.new("Institutional white")
  220. torsop.Material="Sand"
  221. torsop.TopSurface="Smooth"
  222. torsop.BottomSurface="Smooth"
  223. torsop.RightSurface="Smooth"
  224. torsop.LeftSurface="Smooth"
  225. torsopw=Instance.new("Weld",Character)
  226. torsopw.Part0=Character.Torso
  227. torsopw.Part1=torsop
  228. torsopw.C0=CFrame.new(0,-0.5,-4.53)*CFrame.Angles(0,math.rad(0),math.rad(0))
  229.  
  230. crystalmesh = Instance.new("FileMesh",torsop)
  231. crystalmesh.MeshId = "http://www.roblox.com/asset/?id=569102850"
  232. crystalmesh.Scale = Vector3.new(0.017,0.047,0.017)
  233.  
  234. torsop=Instance.new("Part",Character)
  235. torsop.FormFactor="Custom"
  236. torsop.Size=Vector3.new(.2,.2,.2)
  237. torsop.Transparency=0
  238. torsop.CanCollide=false
  239. torsop.BrickColor = BrickColor.new("Institutional white")
  240. torsop.Material="Sand"
  241. torsop.TopSurface="Smooth"
  242. torsop.BottomSurface="Smooth"
  243. torsop.RightSurface="Smooth"
  244. torsop.LeftSurface="Smooth"
  245. torsopw=Instance.new("Weld",Character)
  246. torsopw.Part0=Character.Torso
  247. torsopw.Part1=torsop
  248. torsopw.C0=CFrame.new(0.15,5,-4.53)*CFrame.Angles(-90,math.rad(0),math.rad(0))
  249.  
  250. crystalmesh = Instance.new("FileMesh",torsop)
  251. crystalmesh.MeshId = "http://www.roblox.com/asset/?id=444893999"
  252. crystalmesh.Scale = Vector3.new(0.03,0.020,0.04)
  253.  
  254. torsopaa=Instance.new("Part",Character)
  255. torsopaa.FormFactor="Custom"
  256. torsopaa.Size=Vector3.new(.2,.2,.2)
  257. torsopaa.Transparency=0
  258. torsopaa.CanCollide=false
  259. torsopaa.BrickColor = BrickColor.new("Pastel light blue")
  260. torsopaa.Material="Sand"
  261. torsopaa.TopSurface="Smooth"
  262. torsopaa.BottomSurface="Smooth"
  263. torsopaa.RightSurface="Smooth"
  264. torsopaa.LeftSurface="Smooth"
  265. torsopwaa=Instance.new("Weld",Character)
  266. torsopwaa.Part0=Character.Torso
  267. torsopwaa.Part1=torsopaa
  268. torsopwaa.C0=CFrame.new(0,-0.5,-4.53)*CFrame.Angles(0,math.rad(45),math.rad(0))
  269.  
  270. crystalmeshaa = Instance.new("FileMesh",torsopaa)
  271. crystalmeshaa.MeshId = "http://www.roblox.com/asset/?id=569102850"
  272. crystalmeshaa.Scale = Vector3.new(0.017,0.047,0.017)
  273.  
  274. torsopad=Instance.new("Part",Character)
  275. torsopad.FormFactor="Custom"
  276. torsopad.Size=Vector3.new(.2,.2,.2)
  277. torsopad.Transparency=0
  278. torsopad.CanCollide=false
  279. torsopad.BrickColor = BrickColor.new("Institutional white")
  280. torsopad.Material="Sand"
  281. torsopad.TopSurface="Smooth"
  282. torsopad.BottomSurface="Smooth"
  283. torsopad.RightSurface="Smooth"
  284. torsopad.LeftSurface="Smooth"
  285. torsopwa=Instance.new("Weld",Character)
  286. torsopwa.Part0=Character.Torso
  287. torsopwa.Part1=torsopad
  288. torsopwa.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(180))
  289.  
  290. crystalmeshad = Instance.new("FileMesh",torsopad)
  291. crystalmeshad.MeshId = "http://www.roblox.com/asset/?id=1323306"
  292. crystalmeshad.Scale = Vector3.new(5,5,5)
  293.  
  294. torsopad=Instance.new("Part",Character)
  295. torsopad.FormFactor="Custom"
  296. torsopad.Size=Vector3.new(.2,.2,.2)
  297. torsopad.Transparency=0
  298. torsopad.CanCollide=false
  299. torsopad.BrickColor = BrickColor.new("Institutional white")
  300. torsopad.Material="Sand"
  301. torsopad.TopSurface="Smooth"
  302. torsopad.BottomSurface="Smooth"
  303. torsopad.RightSurface="Smooth"
  304. torsopad.LeftSurface="Smooth"
  305. torsopwa=Instance.new("Weld",Character)
  306. torsopwa.Part0=Character.Torso
  307. torsopwa.Part1=torsopad
  308. torsopwa.C0=CFrame.new(0,2.5,6)*CFrame.Angles(1,math.rad(0),math.rad(0))
  309.  
  310. crystalmeshad = Instance.new("FileMesh",torsopad)
  311. crystalmeshad.MeshId = "http://www.roblox.com/asset/?id=1323306"
  312. crystalmeshad.Scale = Vector3.new(7,5,7)
  313.  
  314. torsopad=Instance.new("Part",Character)
  315. torsopad.FormFactor="Custom"
  316. torsopad.Size=Vector3.new(.2,.2,.2)
  317. torsopad.Transparency=0
  318. torsopad.CanCollide=false
  319. torsopad.BrickColor = BrickColor.new("Institutional white")
  320. torsopad.Material="Sand"
  321. torsopad.TopSurface="Smooth"
  322. torsopad.BottomSurface="Smooth"
  323. torsopad.RightSurface="Smooth"
  324. torsopad.LeftSurface="Smooth"
  325. torsopwa=Instance.new("Weld",Character)
  326. torsopwa.Part0=Character.Torso
  327. torsopwa.Part1=torsopad
  328. torsopwa.C0=CFrame.new(-2,-0.8,-4)*CFrame.Angles(-1.5,math.rad(1.5),math.rad(45))
  329.  
  330. crystalmeshad = Instance.new("FileMesh",torsopad)
  331. crystalmeshad.MeshId = "http://www.roblox.com/asset/?id=569102850"
  332. crystalmeshad.Scale = Vector3.new(0.01,0.05,0.01)
  333.  
  334. torsopad=Instance.new("Part",Character)
  335. torsopad.FormFactor="Custom"
  336. torsopad.Size=Vector3.new(.2,.2,.2)
  337. torsopad.Transparency=0
  338. torsopad.CanCollide=false
  339. torsopad.BrickColor = BrickColor.new("Institutional white")
  340. torsopad.Material="Sand"
  341. torsopad.TopSurface="Smooth"
  342. torsopad.BottomSurface="Smooth"
  343. torsopad.RightSurface="Smooth"
  344. torsopad.LeftSurface="Smooth"
  345. torsopwa=Instance.new("Weld",Character)
  346. torsopwa.Part0=Character.Torso
  347. torsopwa.Part1=torsopad
  348. torsopwa.C0=CFrame.new(2,-0.8,-4)*CFrame.Angles(-1.5,math.rad(1.5),math.rad(-45))
  349.  
  350. crystalmeshad = Instance.new("FileMesh",torsopad)
  351. crystalmeshad.MeshId = "http://www.roblox.com/asset/?id=569102850"
  352. crystalmeshad.Scale = Vector3.new(0.01,0.05,0.01)
  353.  
  354. torsopad=Instance.new("Part",Character)
  355. torsopad.FormFactor="Custom"
  356. torsopad.Size=Vector3.new(.2,.2,.2)
  357. torsopad.Transparency=0
  358. torsopad.CanCollide=false
  359. torsopad.BrickColor = BrickColor.new("Institutional white")
  360. torsopad.Material="Sand"
  361. torsopad.TopSurface="Smooth"
  362. torsopad.BottomSurface="Smooth"
  363. torsopad.RightSurface="Smooth"
  364. torsopad.LeftSurface="Smooth"
  365. torsopwa=Instance.new("Weld",Character)
  366. torsopwa.Part0=Character.Torso
  367. torsopwa.Part1=torsopad
  368. torsopwa.C0=CFrame.new(1.5,1,-4)*CFrame.Angles(-0.5,math.rad(-1.5),math.rad(-45))
  369.  
  370. crystalmeshad = Instance.new("FileMesh",torsopad)
  371. crystalmeshad.MeshId = "http://www.roblox.com/asset/?id=569102850"
  372. crystalmeshad.Scale = Vector3.new(0.01,0.05,0.01)
  373.  
  374. torsopad=Instance.new("Part",Character)
  375. torsopad.FormFactor="Custom"
  376. torsopad.Size=Vector3.new(.2,.2,.2)
  377. torsopad.Transparency=0
  378. torsopad.CanCollide=false
  379. torsopad.BrickColor = BrickColor.new("Institutional white")
  380. torsopad.Material="Sand"
  381. torsopad.TopSurface="Smooth"
  382. torsopad.BottomSurface="Smooth"
  383. torsopad.RightSurface="Smooth"
  384. torsopad.LeftSurface="Smooth"
  385. torsopwa=Instance.new("Weld",Character)
  386. torsopwa.Part0=Character.Torso
  387. torsopwa.Part1=torsopad
  388. torsopwa.C0=CFrame.new(-1.5,1,-4)*CFrame.Angles(-0.5,math.rad(-1.5),math.rad(45))
  389.  
  390. crystalmeshad = Instance.new("FileMesh",torsopad)
  391. crystalmeshad.MeshId = "http://www.roblox.com/asset/?id=569102850"
  392. crystalmeshad.Scale = Vector3.new(0.01,0.05,0.01)
  393.  
  394. torsopad=Instance.new("Part",Character)
  395. torsopad.FormFactor="Custom"
  396. torsopad.Size=Vector3.new(.2,.2,.2)
  397. torsopad.Transparency=0
  398. torsopad.CanCollide=false
  399. torsopad.BrickColor = BrickColor.new("Institutional white")
  400. torsopad.Material="Sand"
  401. torsopad.TopSurface="Smooth"
  402. torsopad.BottomSurface="Smooth"
  403. torsopad.RightSurface="Smooth"
  404. torsopad.LeftSurface="Smooth"
  405. torsopwa=Instance.new("Weld",Character)
  406. torsopwa.Part0=Character.Torso
  407. torsopwa.Part1=torsopad
  408. torsopwa.C0=CFrame.new(-1,-2.5,-4)*CFrame.Angles(-2,math.rad(1.5),math.rad(45))
  409.  
  410. crystalmeshad = Instance.new("FileMesh",torsopad)
  411. crystalmeshad.MeshId = "http://www.roblox.com/asset/?id=569102850"
  412. crystalmeshad.Scale = Vector3.new(0.01,0.05,0.01)
  413.  
  414. torsopad=Instance.new("Part",Character)
  415. torsopad.FormFactor="Custom"
  416. torsopad.Size=Vector3.new(.2,.2,.2)
  417. torsopad.Transparency=0
  418. torsopad.CanCollide=false
  419. torsopad.BrickColor = BrickColor.new("Institutional white")
  420. torsopad.Material="Sand"
  421. torsopad.TopSurface="Smooth"
  422. torsopad.BottomSurface="Smooth"
  423. torsopad.RightSurface="Smooth"
  424. torsopad.LeftSurface="Smooth"
  425. torsopwa=Instance.new("Weld",Character)
  426. torsopwa.Part0=Character.Torso
  427. torsopwa.Part1=torsopad
  428. torsopwa.C0=CFrame.new(1,-2.5,-4)*CFrame.Angles(-2,math.rad(1.5),math.rad(-45))
  429.  
  430. crystalmeshad = Instance.new("FileMesh",torsopad)
  431. crystalmeshad.MeshId = "http://www.roblox.com/asset/?id=569102850"
  432. crystalmeshad.Scale = Vector3.new(0.01,0.05,0.01)
  433.  
  434. headsp=Instance.new("Part",Character)
  435. headsp.FormFactor="Custom"
  436. headsp.Size=Vector3.new(.2,.2,.2)
  437. headsp.Transparency=0
  438. headsp.CanCollide=false
  439. headsp.BrickColor = BrickColor.new("Institutional white")
  440. headsp.Material="Sand"
  441. headsp.TopSurface="Smooth"
  442. headsp.BottomSurface="Smooth"
  443. headsp.RightSurface="Smooth"
  444. headsp.LeftSurface="Smooth"
  445. headspw=Instance.new("Weld",Character)
  446. headspw.Part0=Character.Torso
  447. headspw.Part1=headsp
  448. headspw.C0=CFrame.new(0,3,-2)*CFrame.Angles(0,math.rad(-90),math.rad(0))
  449.  
  450. heads = Instance.new("SpecialMesh",headsp)
  451. heads.MeshType = "Sphere"
  452. heads.Scale = Vector3.new(25,25,25)
  453.  
  454.  
  455. ghostp=Instance.new("Part",Character)
  456. ghostp.FormFactor="Custom"
  457. ghostp.Size=Vector3.new(0.2,0.2,0.2)
  458. ghostp.Transparency=1
  459. ghostp.CanCollide=false
  460. ghostp.BrickColor = BrickColor.new("Institutional white")
  461. ghostp.Material="Neon"
  462. ghostp.TopSurface="Smooth"
  463. ghostp.BottomSurface="Smooth"
  464. ghostp.RightSurface="Smooth"
  465. ghostp.LeftSurface="Smooth"
  466. ghostw=Instance.new("Weld",Character)
  467. ghostw.Part0=Character.Torso
  468. ghostw.Part1=ghostp
  469. ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  470.  
  471. ghostmesh = Instance.new("FileMesh",ghostp)
  472. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  473. ghostmesh.Scale = Vector3.new(5,5,5)
  474.  
  475. ghostp2=Instance.new("Part",Character)
  476. ghostp2.FormFactor="Custom"
  477. ghostp2.Size=Vector3.new(0.2,0.2,0.2)
  478. ghostp2.Transparency=1
  479. ghostp2.CanCollide=false
  480. ghostp2.BrickColor = BrickColor.new("Institutional white")
  481. ghostp2.Material="Neon"
  482. ghostp2.TopSurface="Smooth"
  483. ghostp2.BottomSurface="Smooth"
  484. ghostp2.RightSurface="Smooth"
  485. ghostp2.LeftSurface="Smooth"
  486. ghostw2=Instance.new("Weld",Character)
  487. ghostw2.Part0=Character.Torso
  488. ghostw2.Part1=ghostp2
  489. ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  490.  
  491. ghostmesh2 = Instance.new("FileMesh",ghostp2)
  492. ghostmesh2.MeshId = "http://www.roblox.com/asset/?id=168892432"
  493. ghostmesh2.Scale = Vector3.new(10,10,10)
  494.  
  495. ghostp3=Instance.new("Part",Character)
  496. ghostp3.FormFactor="Custom"
  497. ghostp3.Size=Vector3.new(0.2,0.2,0.2)
  498. ghostp3.Transparency=1
  499. ghostp3.CanCollide=false
  500. ghostp3.BrickColor = BrickColor.new("Institutional white")
  501. ghostp3.Material="Neon"
  502. ghostp3.TopSurface="Smooth"
  503. ghostp3.BottomSurface="Smooth"
  504. ghostp3.RightSurface="Smooth"
  505. ghostp2.LeftSurface="Smooth"
  506. ghostw3=Instance.new("Weld",Character)
  507. ghostw3.Part0=Character.Torso
  508. ghostw3.Part1=ghostp3
  509. ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  510.  
  511. ghostmesh3 = Instance.new("FileMesh",ghostp3)
  512. ghostmesh3.MeshId = "http://www.roblox.com/asset/?id=168892432"
  513. ghostmesh3.Scale = Vector3.new(15,15,15)
  514.  
  515. ghostp4=Instance.new("Part",Character)
  516. ghostp4.FormFactor="Custom"
  517. ghostp4.Size=Vector3.new(0.2,0.2,0.2)
  518. ghostp4.Transparency=1
  519. ghostp4.CanCollide=false
  520. ghostp4.BrickColor = BrickColor.new("Institutional white")
  521. ghostp4.Material="Neon"
  522. ghostp4.TopSurface="Smooth"
  523. ghostp4.BottomSurface="Smooth"
  524. ghostp4.RightSurface="Smooth"
  525. ghostp4.LeftSurface="Smooth"
  526. ghostw4=Instance.new("Weld",Character)
  527. ghostw4.Part0=Character.Torso
  528. ghostw4.Part1=ghostp4
  529. ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  530.  
  531. ghostmesh4 = Instance.new("FileMesh",ghostp4)
  532. ghostmesh4.MeshId = "http://www.roblox.com/asset/?id=168892432"
  533. ghostmesh4.Scale = Vector3.new(20,20,20)
  534.  
  535. ghostp5=Instance.new("Part",Character)
  536. ghostp5.FormFactor="Custom"
  537. ghostp5.Size=Vector3.new(0.2,0.2,0.2)
  538. ghostp5.Transparency=1
  539. ghostp5.CanCollide=false
  540. ghostp5.BrickColor = BrickColor.new("Institutional white")
  541. ghostp5.Material="Neon"
  542. ghostp5.TopSurface="Smooth"
  543. ghostp5.BottomSurface="Smooth"
  544. ghostp5.RightSurface="Smooth"
  545. ghostp5.LeftSurface="Smooth"
  546. ghost5w=Instance.new("Weld",Character)
  547. ghost5w.Part0=Character.Torso
  548. ghost5w.Part1=ghostp5
  549. ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  550.  
  551. ghostmesh = Instance.new("FileMesh",ghostp5)
  552. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  553. ghostmesh.Scale = Vector3.new(2.5,2.5,2.5)
  554.  
  555. ghostp6=Instance.new("Part",Character)
  556. ghostp6.FormFactor="Custom"
  557. ghostp6.Size=Vector3.new(0.2,0.2,0.2)
  558. ghostp6.Transparency=1
  559. ghostp6.CanCollide=false
  560. ghostp6.BrickColor = BrickColor.new("Institutional white")
  561. ghostp6.Material="Neon"
  562. ghostp6.TopSurface="Smooth"
  563. ghostp6.BottomSurface="Smooth"
  564. ghostp6.RightSurface="Smooth"
  565. ghostp6.LeftSurface="Smooth"
  566. ghost6w=Instance.new("Weld",Character)
  567. ghost6w.Part0=Character.Torso
  568. ghost6w.Part1=ghostp6
  569. ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  570.  
  571. ghostmesh = Instance.new("FileMesh",ghostp6)
  572. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  573. ghostmesh.Scale = Vector3.new(7.5,7.5,7.5)
  574.  
  575. ghostp7=Instance.new("Part",Character)
  576. ghostp7.FormFactor="Custom"
  577. ghostp7.Size=Vector3.new(0.2,0.2,0.2)
  578. ghostp7.Transparency=1
  579. ghostp7.CanCollide=false
  580. ghostp7.BrickColor = BrickColor.new("Institutional white")
  581. ghostp7.Material="Neon"
  582. ghostp7.TopSurface="Smooth"
  583. ghostp7.BottomSurface="Smooth"
  584. ghostp7.RightSurface="Smooth"
  585. ghostp7.LeftSurface="Smooth"
  586. ghost7w=Instance.new("Weld",Character)
  587. ghost7w.Part0=Character.Torso
  588. ghost7w.Part1=ghostp7
  589. ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  590.  
  591. ghostmesh = Instance.new("FileMesh",ghostp7)
  592. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  593. ghostmesh.Scale = Vector3.new(12.5,12.5,12.5)
  594.  
  595. ghostp8=Instance.new("Part",Character)
  596. ghostp8.FormFactor="Custom"
  597. ghostp8.Size=Vector3.new(0.2,0.2,0.2)
  598. ghostp8.Transparency=1
  599. ghostp8.CanCollide=false
  600. ghostp8.BrickColor = BrickColor.new("Institutional white")
  601. ghostp8.Material="Neon"
  602. ghostp8.TopSurface="Smooth"
  603. ghostp8.BottomSurface="Smooth"
  604. ghostp8.RightSurface="Smooth"
  605. ghostp8.LeftSurface="Smooth"
  606. ghost8w=Instance.new("Weld",Character)
  607. ghost8w.Part0=Character.Torso
  608. ghost8w.Part1=ghostp8
  609. ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  610.  
  611. ghostmesh = Instance.new("FileMesh",ghostp8)
  612. ghostmesh.MeshId = "http://www.roblox.com/asset/?id=168892432"
  613. ghostmesh.Scale = Vector3.new(17.5,17.5,17.5)
  614.  
  615. eyeoutline=Instance.new("Part",Character)
  616. eyeoutline.FormFactor="Custom"
  617. eyeoutline.Size=Vector3.new(.2,.2,.2)
  618. eyeoutline.Transparency=0
  619. eyeoutline.CanCollide=false
  620. eyeoutline.BrickColor = BrickColor.new("Black")
  621. eyeoutline.Material="SmoothPlastic"
  622. eyeoutline.TopSurface="Smooth"
  623. eyeoutline.BottomSurface="Smooth"
  624. eyeoutline.RightSurface="Smooth"
  625. eyeoutline.LeftSurface="Smooth"
  626. eyeoutlinew=Instance.new("Weld",Character)
  627. eyeoutlinew.Part0=Character.Torso
  628. eyeoutlinew.Part1=eyeoutline
  629. eyeoutlinew.C0=CFrame.new(-1,2.3,-4.2)*CFrame.Angles(0,math.rad(20),math.rad(0))
  630.  
  631. eyemesh = Instance.new("SpecialMesh",eyeoutline)
  632. eyemesh.MeshType = "Sphere"
  633. eyemesh.Scale = Vector3.new(3.9,3.9,2)
  634.  
  635. eyep=Instance.new("Part",Character)
  636. eyep.FormFactor="Custom"
  637. eyep.Size=Vector3.new(.2,.2,.2)
  638. eyep.Transparency=0
  639. eyep.CanCollide=false
  640. eyep.BrickColor = BrickColor.new("Cyan")
  641. eyep.Material="Neon"
  642. eyep.TopSurface="Smooth"
  643. eyep.BottomSurface="Smooth"
  644. eyep.RightSurface="Smooth"
  645. eyep.LeftSurface="Smooth"
  646. eyepw=Instance.new("Weld",Character)
  647. eyepw.Part0=eyeoutline
  648. eyepw.Part1=eyep
  649. eyepw.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0))
  650.  
  651. eyepmesh = Instance.new("SpecialMesh",eyep)
  652. eyepmesh.MeshType = "Sphere"
  653. eyepmesh.Scale = Vector3.new(3.5,3.5,2)
  654.  
  655. eyeoutline2=Instance.new("Part",Character)
  656. eyeoutline2.FormFactor="Custom"
  657. eyeoutline2.Size=Vector3.new(.2,.2,.2)
  658. eyeoutline2.Transparency=0
  659. eyeoutline2.CanCollide=false
  660. eyeoutline2.BrickColor = BrickColor.new("Black")
  661. eyeoutline2.Material="SmoothPlastic"
  662. eyeoutline2.TopSurface="Smooth"
  663. eyeoutline2.BottomSurface="Smooth"
  664. eyeoutline2.RightSurface="Smooth"
  665. eyeoutline2.LeftSurface="Smooth"
  666. eyeoutline2w=Instance.new("Weld",Character)
  667. eyeoutline2w.Part0=Character.Torso
  668. eyeoutline2w.Part1=eyeoutline2
  669. eyeoutline2w.C0=CFrame.new(1,2.3,-4.2)*CFrame.Angles(0,math.rad(-20),math.rad(0))
  670.  
  671. eyemesh = Instance.new("SpecialMesh",eyeoutline2)
  672. eyemesh.MeshType = "Sphere"
  673. eyemesh.Scale = Vector3.new(3.9,3.9,2)
  674.  
  675. eyep2=Instance.new("Part",Character)
  676. eyep2.FormFactor="Custom"
  677. eyep2.Size=Vector3.new(.2,.2,.2)
  678. eyep2.Transparency=0
  679. eyep2.CanCollide=false
  680. eyep2.BrickColor = BrickColor.new("Cyan")
  681. eyep2.Material="Neon"
  682. eyep2.TopSurface="Smooth"
  683. eyep2.BottomSurface="Smooth"
  684. eyep2.RightSurface="Smooth"
  685. eyep2.LeftSurface="Smooth"
  686. eyep2w=Instance.new("Weld",Character)
  687. eyep2w.Part0=eyeoutline2
  688. eyep2w.Part1=eyep2
  689. eyep2w.C0=CFrame.new(0,0,-0.1)*CFrame.Angles(0,math.rad(0),math.rad(0))
  690.  
  691. eyep2mesh = Instance.new("SpecialMesh",eyep2)
  692. eyep2mesh.MeshType = "Sphere"
  693. eyep2mesh.Scale = Vector3.new(3.5,3.5,2)
  694.  
  695. local spotlight = Instance.new("SpotLight", eyep)
  696. spotlight.Shadows = true
  697. spotlight.Color = Color3.new(0, 255, 255)
  698. spotlight.Range = 24
  699. spotlight.Angle = 60
  700. spotlight.Brightness = 100
  701.  
  702. local spotlight2 = Instance.new("SpotLight", eyep2)
  703. spotlight2.Shadows = true
  704. spotlight2.Color = Color3.new(0, 255, 255)
  705. spotlight2.Range = 24
  706. spotlight2.Angle = 60
  707. spotlight2.Brightness = 100
  708.  
  709. local particleemitter = Instance.new("ParticleEmitter", Torso)
  710. particleemitter.VelocitySpread = 180
  711. particleemitter.Lifetime = NumberRange.new(1)
  712. particleemitter.Speed = NumberRange.new(10)
  713. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  714. particleemitter.RotSpeed = NumberRange.new(-180, 180)
  715. particleemitter.Rotation = NumberRange.new(-360, 360)
  716. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  717. particleemitter.LightEmission = 1
  718. particleemitter.Texture = "http://www.roblox.com/asset/?id=0"
  719. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  720.  
  721. emitterp=Instance.new("Part",Character)
  722. emitterp.FormFactor="Custom"
  723. emitterp.Size=Vector3.new(5,.2,5)
  724. emitterp.Transparency=1
  725. emitterp.CanCollide=false
  726. emitterp.BrickColor = BrickColor.new("Cyan")
  727. emitterp.Material="Neon"
  728. emitterp.TopSurface="Smooth"
  729. emitterp.BottomSurface="Smooth"
  730. emitterp.RightSurface="Smooth"
  731. emitterp.LeftSurface="Smooth"
  732. emitterpw=Instance.new("Weld",Character)
  733. emitterpw.Part0=Character.Torso
  734. emitterpw.Part1=emitterp
  735. emitterpw.C0=CFrame.new(0,-4,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  736.  
  737. local emitter = Instance.new("ParticleEmitter", emitterp)
  738. emitter.EmissionDirection = "Bottom"
  739. emitter.VelocitySpread = 30
  740. emitter.Lifetime = NumberRange.new(1)
  741. emitter.Speed = NumberRange.new(10)
  742. emitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2, 0), NumberSequenceKeypoint.new(1, 2, 0)})
  743. emitter.RotSpeed = NumberRange.new(-180, 180)
  744. emitter.Rate = 1000
  745. emitter.Rotation = NumberRange.new(-360, 360)
  746. emitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  747. emitter.LightEmission = 1
  748. emitter.Texture = "http://www.roblox.com/asset/?id=0"
  749. emitter.Color = ColorSequence.new(Color3.new(0, 255, 0), Color3.new(0, 0, 0))
  750.  
  751. local eyeeffect = Instance.new("ParticleEmitter", eyep)
  752. eyeeffect.Lifetime = NumberRange.new(1)
  753. eyeeffect.Speed = NumberRange.new(0)
  754. eyeeffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
  755. eyeeffect.RotSpeed = NumberRange.new(1080)
  756. eyeeffect.Rate = 25
  757. eyeeffect.Rotation = NumberRange.new(-360, 360)
  758. eyeeffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
  759. eyeeffect.LightEmission = 0.5
  760. eyeeffect.Texture = "http://www.roblox.com/asset/?id=242292288"
  761. eyeeffect.Color = ColorSequence.new(Color3.new(0, 255, 255), Color3.new(255, 255, 255))
  762. eyeeffect.LockedToPart = true
  763. eyeeffect.Enabled = false
  764.  
  765. local eyeeffect2 = Instance.new("ParticleEmitter", eyep2)
  766. eyeeffect2.Lifetime = NumberRange.new(1)
  767. eyeeffect2.Speed = NumberRange.new(0)
  768. eyeeffect2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 4), NumberSequenceKeypoint.new(1, 4)})
  769. eyeeffect2.RotSpeed = NumberRange.new(1080)
  770. eyeeffect2.Rate = 25
  771. eyeeffect2.Rotation = NumberRange.new(-360, 360)
  772. eyeeffect2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.11, 0), NumberSequenceKeypoint.new(0.99, 1), NumberSequenceKeypoint.new(1, 1)})
  773. eyeeffect2.LightEmission = 0.5
  774. eyeeffect2.Texture = "http://www.roblox.com/asset/?id=242292288"
  775. eyeeffect2.Color = ColorSequence.new(Color3.new(0, 255, 255), Color3.new(255, 255, 255))
  776. eyeeffect2.LockedToPart = true
  777. eyeeffect2.Enabled = false
  778. --------------------------------------------------------------
  779. Arm = Instance.new("Model",Character)
  780. Arm.Name = "Arm 1"
  781.  
  782. arm1p=Instance.new("Part",Character)
  783. arm1p.FormFactor="Custom"
  784. arm1p.Size=Vector3.new(.2,.2,.2)
  785. arm1p.Transparency=0
  786. arm1p.CanCollide=false
  787. arm1p.BrickColor = BrickColor.new("Institutional white")
  788. arm1p.Material="Sand"
  789. arm1p.TopSurface="Smooth"
  790. arm1p.BottomSurface="Smooth"
  791. arm1p.RightSurface="Smooth"
  792. arm1p.LeftSurface="Smooth"
  793. arm1pw=Instance.new("Weld",Character)
  794. arm1pw.Part0=Character["Right Arm"]
  795. arm1pw.Part1=arm1p
  796. arm1pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  797.  
  798. arm1pmesh = Instance.new("SpecialMesh",arm1p)
  799. arm1pmesh.MeshType = "Sphere"
  800. arm1pmesh.Scale = Vector3.new(30,30,30)
  801.  
  802. local particleemitter2 = Instance.new("ParticleEmitter", arm1p)
  803. particleemitter2.VelocitySpread = 180
  804. particleemitter2.Lifetime = NumberRange.new(1)
  805. particleemitter2.Speed = NumberRange.new(10)
  806. particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  807. particleemitter2.RotSpeed = NumberRange.new(-180, 180)
  808. particleemitter2.Rotation = NumberRange.new(-360, 360)
  809. particleemitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  810. particleemitter2.LightEmission = 1
  811. particleemitter2.Texture = "http://www.roblox.com/asset/?id=0"
  812. particleemitter2.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(0, 0, 255))
  813. particleemitter2.Enabled = false
  814.  
  815. arm1p2=Instance.new("Part",Character)
  816. arm1p2.FormFactor="Custom"
  817. arm1p2.Size=Vector3.new(.2,.2,.2)
  818. arm1p2.Transparency=0
  819. arm1p2.CanCollide=false
  820. arm1p2.BrickColor = BrickColor.new("Institutional white")
  821. arm1p2.Material="Sand"
  822. arm1p2.TopSurface="Smooth"
  823. arm1p2.BottomSurface="Smooth"
  824. arm1p2.RightSurface="Smooth"
  825. arm1p2.LeftSurface="Smooth"
  826. arm1p2w=Instance.new("Weld",Character)
  827. arm1p2w.Part0=arm1p
  828. arm1p2w.Part1=arm1p2
  829. arm1p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  830.  
  831. arm1p2mesh = Instance.new("SpecialMesh",arm1p2)
  832. arm1p2mesh.MeshType = "Cylinder"
  833. arm1p2mesh.Scale = Vector3.new(30,20,30)
  834.  
  835. local particleemitter3 = Instance.new("ParticleEmitter", arm1p2)
  836. particleemitter3.VelocitySpread = 180
  837. particleemitter3.Lifetime = NumberRange.new(1)
  838. particleemitter3.Speed = NumberRange.new(10)
  839. particleemitter3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  840. particleemitter3.RotSpeed = NumberRange.new(-180, 180)
  841. particleemitter3.Rotation = NumberRange.new(-360, 360)
  842. particleemitter3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  843. particleemitter3.LightEmission = 1
  844. particleemitter3.Texture = "http://www.roblox.com/asset/?id=0"
  845. particleemitter3.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(0, 0, 255))
  846. particleemitter3.Enabled = false
  847.  
  848. arm1p3=Instance.new("Part",Character)
  849. arm1p3.FormFactor="Custom"
  850. arm1p3.Size=Vector3.new(.2,.2,.2)
  851. arm1p3.Transparency=0
  852. arm1p3.CanCollide=false
  853. arm1p3.BrickColor = BrickColor.new("Institutional white")
  854. arm1p3.Material="Sand"
  855. arm1p3.TopSurface="Smooth"
  856. arm1p3.BottomSurface="Smooth"
  857. arm1p3.RightSurface="Smooth"
  858. arm1p3.LeftSurface="Smooth"
  859. arm1p3w=Instance.new("Weld",Character)
  860. arm1p3w.Part0=arm1p2
  861. arm1p3w.Part1=arm1p3
  862. arm1p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  863.  
  864. arm1p3mesh = Instance.new("SpecialMesh",arm1p3)
  865. arm1p3mesh.MeshType = "Sphere"
  866. arm1p3mesh.Scale = Vector3.new(25,25,25)
  867.  
  868. local particleemitter4 = Instance.new("ParticleEmitter", arm1p3)
  869. particleemitter4.VelocitySpread = 180
  870. particleemitter4.Lifetime = NumberRange.new(1)
  871. particleemitter4.Speed = NumberRange.new(10)
  872. particleemitter4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  873. particleemitter4.RotSpeed = NumberRange.new(-180, 180)
  874. particleemitter4.Rotation = NumberRange.new(-360, 360)
  875. particleemitter4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  876. particleemitter4.LightEmission = 1
  877. particleemitter4.Texture = "http://www.roblox.com/asset/?id=0"
  878. particleemitter4.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(0, 0, 255))
  879. particleemitter4.Enabled = false
  880.  
  881. arm1p4=Instance.new("Part",Character)
  882. arm1p4.FormFactor="Custom"
  883. arm1p4.Size=Vector3.new(.2,.2,.2)
  884. arm1p4.Transparency=0
  885. arm1p4.CanCollide=false
  886. arm1p4.BrickColor = BrickColor.new("Institutional white")
  887. arm1p4.Material="Sand"
  888. arm1p4.TopSurface="Smooth"
  889. arm1p4.BottomSurface="Smooth"
  890. arm1p4.RightSurface="Smooth"
  891. arm1p4.LeftSurface="Smooth"
  892. arm1p4w=Instance.new("Weld",Character)
  893. arm1p4w.Part0=arm1p3
  894. arm1p4w.Part1=arm1p4
  895. arm1p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  896.  
  897. arm1p4mesh = Instance.new("SpecialMesh",arm1p4)
  898. arm1p4mesh.MeshType = "Cylinder"
  899. arm1p4mesh.Scale = Vector3.new(30,20,30)
  900.  
  901. local particleemitter5 = Instance.new("ParticleEmitter", arm1p4)
  902. particleemitter5.VelocitySpread = 180
  903. particleemitter5.Lifetime = NumberRange.new(1)
  904. particleemitter5.Speed = NumberRange.new(10)
  905. particleemitter5.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  906. particleemitter5.RotSpeed = NumberRange.new(-180, 180)
  907. particleemitter5.Rotation = NumberRange.new(-360, 360)
  908. particleemitter5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  909. particleemitter5.LightEmission = 1
  910. particleemitter5.Texture = "http://www.roblox.com/asset/?id=0"
  911. particleemitter5.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(0, 0, 255))
  912. particleemitter5.Enabled = false
  913.  
  914. arm1p5=Instance.new("Part",Character)
  915. arm1p5.FormFactor="Custom"
  916. arm1p5.Size=Vector3.new(.2,.2,.2)
  917. arm1p5.Transparency=0
  918. arm1p5.CanCollide=false
  919. arm1p5.BrickColor = BrickColor.new("Institutional white")
  920. arm1p5.Material="Sand"
  921. arm1p5.TopSurface="Smooth"
  922. arm1p5.BottomSurface="Smooth"
  923. arm1p5.RightSurface="Smooth"
  924. arm1p5.LeftSurface="Smooth"
  925. arm1p5w=Instance.new("Weld",Character)
  926. arm1p5w.Part0=arm1p4
  927. arm1p5w.Part1=arm1p5
  928. arm1p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  929.  
  930. arm1p5mesh = Instance.new("SpecialMesh",arm1p5)
  931. arm1p5mesh.MeshType = "Sphere"
  932. arm1p5mesh.Scale = Vector3.new(30,30,30)
  933.  
  934. local particleemitter6 = Instance.new("ParticleEmitter", arm1p5)
  935. particleemitter6.VelocitySpread = 180
  936. particleemitter6.Lifetime = NumberRange.new(1)
  937. particleemitter6.Speed = NumberRange.new(10)
  938. particleemitter6.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  939. particleemitter6.RotSpeed = NumberRange.new(-180, 180)
  940. particleemitter6.Rotation = NumberRange.new(-360, 360)
  941. particleemitter6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  942. particleemitter6.LightEmission = 1
  943. particleemitter6.Texture = "http://www.roblox.com/asset/?id=0"
  944. particleemitter6.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(0, 0, 255))
  945. particleemitter6.Enabled = false
  946.  
  947. arm1p6=Instance.new("Part",Character)
  948. arm1p6.FormFactor="Custom"
  949. arm1p6.Size=Vector3.new(.2,.2,.2)
  950. arm1p6.Transparency=0
  951. arm1p6.CanCollide=false
  952. arm1p6.BrickColor = BrickColor.new("Institutional white")
  953. arm1p6.Material="Sand"
  954. arm1p6.TopSurface="Smooth"
  955. arm1p6.BottomSurface="Smooth"
  956. arm1p6.RightSurface="Smooth"
  957. arm1p6.LeftSurface="Smooth"
  958. arm1p6w=Instance.new("Weld",Character)
  959. arm1p6w.Part0=arm1p5
  960. arm1p6w.Part1=arm1p6
  961. arm1p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  962.  
  963. arm1p6mesh = Instance.new("FileMesh",arm1p6)
  964. arm1p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  965. arm1p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  966.  
  967. arm1p7=Instance.new("Part",Character)
  968. arm1p7.FormFactor="Custom"
  969. arm1p7.Size=Vector3.new(.5,.20,.20)
  970. arm1p7.Transparency=0
  971. arm1p7.CanCollide=false
  972. arm1p7.BrickColor = BrickColor.new("Institutional white")
  973. arm1p7.Material="Sand"
  974. arm1p7.TopSurface="Smooth"
  975. arm1p7.BottomSurface="Smooth"
  976. arm1p7.RightSurface="Smooth"
  977. arm1p7.LeftSurface="Smooth"
  978. arm1p7w=Instance.new("Weld",Character)
  979. arm1p7w.Part0=arm1p
  980. arm1p7w.Part1=arm1p7
  981. arm1p7w.C0=CFrame.new(0,-1.5,2.5)*CFrame.Angles(90,math.rad(0),math.rad(0))
  982.  
  983. arm1p7mesh = Instance.new("FileMesh",arm1p7)
  984. arm1p7mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  985. arm1p7mesh.Scale = Vector3.new(5,4,5)
  986.  
  987. arm1hitbox=Instance.new("Part",Character)
  988. arm1hitbox.FormFactor="Custom"
  989. arm1hitbox.Size=Vector3.new(5,5,5)
  990. arm1hitbox.Transparency=1
  991. arm1hitbox.CanCollide=false
  992. arm1hitbox.BrickColor = BrickColor.new("Institutional white")
  993. arm1hitbox.Material="Sand"
  994. arm1hitbox.TopSurface="Smooth"
  995. arm1hitbox.BottomSurface="Smooth"
  996. arm1hitbox.RightSurface="Smooth"
  997. arm1hitbox.LeftSurface="Smooth"
  998. arm1hitboxw=Instance.new("Weld",Character)
  999. arm1hitboxw.Part0=arm1p6
  1000. arm1hitboxw.Part1=arm1hitbox
  1001. arm1hitboxw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1002. --------------------------------------------------------------
  1003. Arm2 = Instance.new("Model",Character)
  1004. Arm2.Name = "Arm 2"
  1005.  
  1006. arm2p=Instance.new("Part",Character)
  1007. arm2p.FormFactor="Custom"
  1008. arm2p.Size=Vector3.new(.2,.2,.2)
  1009. arm2p.Transparency=0
  1010. arm2p.CanCollide=false
  1011. arm2p.BrickColor = BrickColor.new("Institutional white")
  1012. arm2p.Material="Sand"
  1013. arm2p.TopSurface="Smooth"
  1014. arm2p.BottomSurface="Smooth"
  1015. arm2p.RightSurface="Smooth"
  1016. arm2p.LeftSurface="Smooth"
  1017. arm2pw=Instance.new("Weld",Character)
  1018. arm2pw.Part0=Character["Left Arm"]
  1019. arm2pw.Part1=arm2p
  1020. arm2pw.C0=CFrame.new(0,-5,0)*CFrame.Angles(0,math.rad(0),math.rad(-90))
  1021.  
  1022. arm2pmesh = Instance.new("SpecialMesh",arm2p)
  1023. arm2pmesh.MeshType = "Sphere"
  1024. arm2pmesh.Scale = Vector3.new(30,30,30)
  1025.  
  1026. local particleemitter7 = Instance.new("ParticleEmitter", arm2p)
  1027. particleemitter7.VelocitySpread = 180
  1028. particleemitter7.Lifetime = NumberRange.new(1)
  1029. particleemitter7.Speed = NumberRange.new(10)
  1030. particleemitter7.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1031. particleemitter7.RotSpeed = NumberRange.new(-180, 180)
  1032. particleemitter7.Rotation = NumberRange.new(-360, 360)
  1033. particleemitter7.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1034. particleemitter7.LightEmission = 1
  1035. particleemitter7.Texture = "http://www.roblox.com/asset/?id=0"
  1036. particleemitter7.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(0, 0, 255))
  1037. particleemitter7.Enabled = false
  1038.  
  1039. arm2p2=Instance.new("Part",Character)
  1040. arm2p2.FormFactor="Custom"
  1041. arm2p2.Size=Vector3.new(.2,.2,.2)
  1042. arm2p2.Transparency=0
  1043. arm2p2.CanCollide=false
  1044. arm2p2.BrickColor = BrickColor.new("Institutional white")
  1045. arm2p2.Material="Sand"
  1046. arm2p2.TopSurface="Smooth"
  1047. arm2p2.BottomSurface="Smooth"
  1048. arm2p2.RightSurface="Smooth"
  1049. arm2p2.LeftSurface="Smooth"
  1050. arm2p2w=Instance.new("Weld",Character)
  1051. arm2p2w.Part0=arm2p
  1052. arm2p2w.Part1=arm2p2
  1053. arm2p2w.C0=CFrame.new(0,3,0)*CFrame.Angles(0,math.rad(90),math.rad(-90))
  1054.  
  1055. arm2p2mesh = Instance.new("SpecialMesh",arm2p2)
  1056. arm2p2mesh.MeshType = "Cylinder"
  1057. arm2p2mesh.Scale = Vector3.new(30,20,30)
  1058.  
  1059. local particleemitter8 = Instance.new("ParticleEmitter", arm2p2)
  1060. particleemitter8.VelocitySpread = 180
  1061. particleemitter8.Lifetime = NumberRange.new(1)
  1062. particleemitter8.Speed = NumberRange.new(10)
  1063. particleemitter8.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1064. particleemitter8.RotSpeed = NumberRange.new(-180, 180)
  1065. particleemitter8.Rotation = NumberRange.new(-360, 360)
  1066. particleemitter8.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1067. particleemitter8.LightEmission = 1
  1068. particleemitter8.Texture = "http://www.roblox.com/asset/?id=0"
  1069. particleemitter8.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(0, 0, 255))
  1070. particleemitter8.Enabled = false
  1071.  
  1072. arm2p3=Instance.new("Part",Character)
  1073. arm2p3.FormFactor="Custom"
  1074. arm2p3.Size=Vector3.new(.2,.2,.2)
  1075. arm2p3.Transparency=0
  1076. arm2p3.CanCollide=false
  1077. arm2p3.BrickColor = BrickColor.new("Institutional white")
  1078. arm2p3.Material="Sand"
  1079. arm2p3.TopSurface="Smooth"
  1080. arm2p3.BottomSurface="Smooth"
  1081. arm2p3.RightSurface="Smooth"
  1082. arm2p3.LeftSurface="Smooth"
  1083. arm2p3w=Instance.new("Weld",Character)
  1084. arm2p3w.Part0=arm2p2
  1085. arm2p3w.Part1=arm2p3
  1086. arm2p3w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1087.  
  1088. arm2p3mesh = Instance.new("SpecialMesh",arm2p3)
  1089. arm2p3mesh.MeshType = "Sphere"
  1090. arm2p3mesh.Scale = Vector3.new(25,25,25)
  1091.  
  1092. local particleemitter9 = Instance.new("ParticleEmitter", arm2p3)
  1093. particleemitter9.VelocitySpread = 180
  1094. particleemitter9.Lifetime = NumberRange.new(1)
  1095. particleemitter9.Speed = NumberRange.new(10)
  1096. particleemitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1097. particleemitter9.RotSpeed = NumberRange.new(-180, 180)
  1098. particleemitter9.Rotation = NumberRange.new(-360, 360)
  1099. particleemitter9.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1100. particleemitter9.LightEmission = 1
  1101. particleemitter9.Texture = "http://www.roblox.com/asset/?id=0"
  1102. particleemitter9.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(0, 0, 255))
  1103. particleemitter9.Enabled = false
  1104.  
  1105. arm2p4=Instance.new("Part",Character)
  1106. arm2p4.FormFactor="Custom"
  1107. arm2p4.Size=Vector3.new(.2,.2,.2)
  1108. arm2p4.Transparency=0
  1109. arm2p4.CanCollide=false
  1110. arm2p4.BrickColor = BrickColor.new("Institutional white")
  1111. arm2p4.Material="Sand"
  1112. arm2p4.TopSurface="Smooth"
  1113. arm2p4.BottomSurface="Smooth"
  1114. arm2p4.RightSurface="Smooth"
  1115. arm2p4.LeftSurface="Smooth"
  1116. arm2p4w=Instance.new("Weld",Character)
  1117. arm2p4w.Part0=arm2p3
  1118. arm2p4w.Part1=arm2p4
  1119. arm2p4w.C0=CFrame.new(-3,3,0)*CFrame.Angles(0,math.rad(0),math.rad(-45))
  1120.  
  1121. arm2p4mesh = Instance.new("SpecialMesh",arm2p4)
  1122. arm2p4mesh.MeshType = "Cylinder"
  1123. arm2p4mesh.Scale = Vector3.new(30,20,30)
  1124.  
  1125. local particleemitter10 = Instance.new("ParticleEmitter", arm2p4)
  1126. particleemitter10.VelocitySpread = 180
  1127. particleemitter10.Lifetime = NumberRange.new(1)
  1128. particleemitter10.Speed = NumberRange.new(10)
  1129. particleemitter10.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1130. particleemitter10.RotSpeed = NumberRange.new(-180, 180)
  1131. particleemitter10.Rotation = NumberRange.new(-360, 360)
  1132. particleemitter10.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1133. particleemitter10.LightEmission = 1
  1134. particleemitter10.Texture = "http://www.roblox.com/asset/?id=0"
  1135. particleemitter10.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(0, 0, 255))
  1136. particleemitter10.Enabled = false
  1137.  
  1138. arm2p5=Instance.new("Part",Character)
  1139. arm2p5.FormFactor="Custom"
  1140. arm2p5.Size=Vector3.new(.2,.2,.2)
  1141. arm2p5.Transparency=0
  1142. arm2p5.CanCollide=false
  1143. arm2p5.BrickColor = BrickColor.new("Institutional white")
  1144. arm2p5.Material="Sand"
  1145. arm2p5.TopSurface="Smooth"
  1146. arm2p5.BottomSurface="Smooth"
  1147. arm2p5.RightSurface="Smooth"
  1148. arm2p5.LeftSurface="Smooth"
  1149. arm2p5w=Instance.new("Weld",Character)
  1150. arm2p5w.Part0=arm2p4
  1151. arm2p5w.Part1=arm2p5
  1152. arm2p5w.C0=CFrame.new(-4,0,0)*CFrame.Angles(0,math.rad(0),math.rad(0))
  1153.  
  1154. arm2p5mesh = Instance.new("SpecialMesh",arm2p5)
  1155. arm2p5mesh.MeshType = "Sphere"
  1156. arm2p5mesh.Scale = Vector3.new(30,30,30)
  1157.  
  1158. local particleemitter11 = Instance.new("ParticleEmitter", arm2p5)
  1159. particleemitter11.VelocitySpread = 180
  1160. particleemitter11.Lifetime = NumberRange.new(1)
  1161. particleemitter11.Speed = NumberRange.new(10)
  1162. particleemitter11.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0.5), NumberSequenceKeypoint.new(1, 0.5, 0.5)})
  1163. particleemitter11.RotSpeed = NumberRange.new(-180, 180)
  1164. particleemitter11.Rotation = NumberRange.new(-360, 360)
  1165. particleemitter11.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.2, 0), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  1166. particleemitter11.LightEmission = 1
  1167. particleemitter11.Texture = "http://www.roblox.com/asset/?id=0"
  1168. particleemitter11.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(0, 0, 255))
  1169. particleemitter11.Enabled = false
  1170.  
  1171. arm2p6=Instance.new("Part",Character)
  1172. arm2p6.FormFactor="Custom"
  1173. arm2p6.Size=Vector3.new(.2,.2,.2)
  1174. arm2p6.Transparency=0
  1175. arm2p6.CanCollide=false
  1176. arm2p6.BrickColor = BrickColor.new("Institutional white")
  1177. arm2p6.Material="Sand"
  1178. arm2p6.TopSurface="Smooth"
  1179. arm2p6.BottomSurface="Smooth"
  1180. arm2p6.RightSurface="Smooth"
  1181. arm2p6.LeftSurface="Smooth"
  1182. arm2p6w=Instance.new("Weld",Character)
  1183. arm2p6w.Part0=arm2p5
  1184. arm2p6w.Part1=arm2p6
  1185. arm2p6w.C0=CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),math.rad(90))
  1186.  
  1187. arm2p6mesh = Instance.new("FileMesh",arm2p6)
  1188. arm2p6mesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  1189. arm2p6mesh.Scale = Vector3.new(3.15,3.15,3.15)
  1190.  
  1191. arm2p7=Instance.new("Part",Character)
  1192. arm2p7.FormFactor="Custom"
  1193. arm2p7.Size=Vector3.new(.5,.20,.20)
  1194. arm2p7.Transparency=0
  1195. arm2p7.CanCollide=false
  1196. arm2p7.BrickColor = BrickColor.new("Institutional white")
  1197. arm2p7.Material="Sand"
  1198. arm2p7.TopSurface="Smooth"
  1199. arm2p7.BottomSurface="Smooth"
  1200. arm2p7.RightSurface="Smooth"
  1201. arm2p7.LeftSurface="Smooth"
  1202. arm2p7w=Instance.new("Weld",Character)
  1203. arm2p7w.Part0=arm2p
  1204. arm2p7w.Part1=arm2p7
  1205. arm2p7w.C0=CFrame.new(0,-1.5,2.5)*CFrame.Angles(90,math.rad(0),math.rad(0))
  1206.  
  1207. arm2p7mesh = Instance.new("FileMesh",arm2p7)
  1208. arm2p7mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  1209. arm2p7mesh.Scale = Vector3.new(5,4,5)
  1210.  
  1211. arm2hitbox=Instance.new("Part",Character)
  1212. arm2hitbox.FormFactor="Custom"
  1213. arm2hitbox.Size=Vector3.new(5,5,5)
  1214. arm2hitbox.Transparency=1
  1215. arm2hitbox.CanCollide=false
  1216. arm2hitbox.BrickColor = BrickColor.new("Institutional white")
  1217. arm2hitbox.Material="Sand"
  1218. arm2hitbox.TopSurface="Smooth"
  1219. arm2hitbox.BottomSurface="Smooth"
  1220. arm2hitbox.RightSurface="Smooth"
  1221. arm2hitbox.LeftSurface="Smooth"
  1222. arm2hitboxw=Instance.new("Weld",Character)
  1223. arm2hitboxw.Part0=arm2p6
  1224. arm2hitboxw.Part1=arm2hitbox
  1225. arm2hitboxw.C0=CFrame.new(0, 0 ,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1226. --------------------------------------------------------------
  1227.  
  1228. local function weldBetween(a, b)
  1229. local weldd = Instance.new("ManualWeld")
  1230. weldd.Part0 = a
  1231. weldd.Part1 = b
  1232. weldd.C0 = CFrame.new()
  1233. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1234. weldd.Parent = a
  1235. return weldd
  1236. end
  1237.  
  1238. function swait(num)
  1239. if num==0 or num==nil then
  1240. game:service'RunService'.Stepped:wait(0)
  1241. else
  1242. for i=0,num do
  1243. game:service'RunService'.Stepped:wait(0)
  1244. end
  1245. end
  1246. end
  1247.  
  1248. function nooutline(part)
  1249. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1250. end
  1251.  
  1252. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1253. local fp=it("Part")
  1254. fp.formFactor=formfactor
  1255. fp.Parent=parent
  1256. fp.Reflectance=reflectance
  1257. fp.Transparency=transparency
  1258. fp.CanCollide=false
  1259. fp.Locked=true
  1260. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1261. fp.Name=name
  1262. fp.Size=size
  1263. fp.Position=Character.Torso.Position
  1264. nooutline(fp)
  1265. fp.Material=material
  1266. fp:BreakJoints()
  1267. return fp
  1268. end
  1269.  
  1270. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1271. local mesh=it(Mesh)
  1272. mesh.Parent=part
  1273. if Mesh=="SpecialMesh" then
  1274. mesh.MeshType=meshtype
  1275. mesh.MeshId=meshid
  1276. end
  1277. mesh.Offset=offset
  1278. mesh.Scale=scale
  1279. return mesh
  1280. end
  1281.  
  1282. function weld(parent,part0,part1,c0,c1)
  1283. local weld=it("Weld")
  1284. weld.Parent=parent
  1285. weld.Part0=part0
  1286. weld.Part1=part1
  1287. weld.C0=c0
  1288. weld.C1=c1
  1289. return weld
  1290. end
  1291.  
  1292.  
  1293. local function CFrameFromTopBack(at, top, back)
  1294. local right = top:Cross(back)
  1295. return CFrame.new(at.x, at.y, at.z,
  1296. right.x, top.x, back.x,
  1297. right.y, top.y, back.y,
  1298. right.z, top.z, back.z)
  1299. end
  1300.  
  1301. function Triangle(a, b, c)
  1302. local edg1 = (c-a):Dot((b-a).unit)
  1303. local edg2 = (a-b):Dot((c-b).unit)
  1304. local edg3 = (b-c):Dot((a-c).unit)
  1305. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1306. a, b, c = a, b, c
  1307. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1308. a, b, c = b, c, a
  1309. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1310. a, b, c = c, a, b
  1311. else
  1312. assert(false, "unreachable")
  1313. end
  1314.  
  1315. local len1 = (c-a):Dot((b-a).unit)
  1316. local len2 = (b-a).magnitude - len1
  1317. local width = (a + (b-a).unit*len1 - c).magnitude
  1318.  
  1319. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1320.  
  1321. local list = {}
  1322.  
  1323. local TrailColor = ("Dark grey")
  1324.  
  1325. if len1 > 0.01 then
  1326. local w1 = Instance.new('WedgePart', m)
  1327. game:GetService("Debris"):AddItem(w1,5)
  1328. w1.Material = "SmoothPlastic"
  1329. w1.FormFactor = 'Custom'
  1330. w1.BrickColor = BrickColor.new(TrailColor)
  1331. w1.Transparency = 0
  1332. w1.Reflectance = 0
  1333. w1.Material = "SmoothPlastic"
  1334. w1.CanCollide = false
  1335. NoOutline(w1)
  1336. local sz = Vector3.new(0.2, width, len1)
  1337. w1.Size = sz
  1338. local sp = Instance.new("SpecialMesh",w1)
  1339. sp.MeshType = "Wedge"
  1340. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1341. w1:BreakJoints()
  1342. w1.Anchored = true
  1343. w1.Parent = workspace
  1344. w1.Transparency = 0.7
  1345. table.insert(Effects,{w1,"Disappear",.01})
  1346. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1347. table.insert(list,w1)
  1348. end
  1349.  
  1350. if len2 > 0.01 then
  1351. local w2 = Instance.new('WedgePart', m)
  1352. game:GetService("Debris"):AddItem(w2,5)
  1353. w2.Material = "SmoothPlastic"
  1354. w2.FormFactor = 'Custom'
  1355. w2.BrickColor = BrickColor.new(TrailColor)
  1356. w2.Transparency = 0
  1357. w2.Reflectance = 0
  1358. w2.Material = "SmoothPlastic"
  1359. w2.CanCollide = false
  1360. NoOutline(w2)
  1361. local sz = Vector3.new(0.2, width, len2)
  1362. w2.Size = sz
  1363. local sp = Instance.new("SpecialMesh",w2)
  1364. sp.MeshType = "Wedge"
  1365. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1366. w2:BreakJoints()
  1367. w2.Anchored = true
  1368. w2.Parent = workspace
  1369. w2.Transparency = 0.7
  1370. table.insert(Effects,{w2,"Disappear",.01})
  1371. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1372. table.insert(list,w2)
  1373. end
  1374. return unpack(list)
  1375. end
  1376.  
  1377.  
  1378. so = function(id,par,vol,pit)
  1379. coroutine.resume(coroutine.create(function()
  1380. local sou = Instance.new("Sound",par or workspace)
  1381. sou.Volume=vol
  1382. sou.Pitch=pit or 1
  1383. sou.SoundId=id
  1384. swait()
  1385. sou:play()
  1386. game:GetService("Debris"):AddItem(sou,6)
  1387. end))
  1388. end
  1389.  
  1390. function clerp(a,b,t)
  1391. local qa = {QuaternionFromCFrame(a)}
  1392. local qb = {QuaternionFromCFrame(b)}
  1393. local ax, ay, az = a.x, a.y, a.z
  1394. local bx, by, bz = b.x, b.y, b.z
  1395. local _t = 1-t
  1396. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1397. end
  1398.  
  1399. function QuaternionFromCFrame(cf)
  1400. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1401. local trace = m00 + m11 + m22
  1402. if trace > 0 then
  1403. local s = math.sqrt(1 + trace)
  1404. local recip = 0.5/s
  1405. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1406. else
  1407. local i = 0
  1408. if m11 > m00 then
  1409. i = 1
  1410. end
  1411. if m22 > (i == 0 and m00 or m11) then
  1412. i = 2
  1413. end
  1414. if i == 0 then
  1415. local s = math.sqrt(m00-m11-m22+1)
  1416. local recip = 0.5/s
  1417. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1418. elseif i == 1 then
  1419. local s = math.sqrt(m11-m22-m00+1)
  1420. local recip = 0.5/s
  1421. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1422. elseif i == 2 then
  1423. local s = math.sqrt(m22-m00-m11+1)
  1424. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1425. end
  1426. end
  1427. end
  1428.  
  1429. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1430. local xs, ys, zs = x + x, y + y, z + z
  1431. local wx, wy, wz = w*xs, w*ys, w*zs
  1432. local xx = x*xs
  1433. local xy = x*ys
  1434. local xz = x*zs
  1435. local yy = y*ys
  1436. local yz = y*zs
  1437. local zz = z*zs
  1438. 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))
  1439. end
  1440.  
  1441. function QuaternionSlerp(a, b, t)
  1442. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1443. local startInterp, finishInterp;
  1444. if cosTheta >= 0.0001 then
  1445. if (1 - cosTheta) > 0.0001 then
  1446. local theta = math.acos(cosTheta)
  1447. local invSinTheta = 1/math.sin(theta)
  1448. startInterp = math.sin((1-t)*theta)*invSinTheta
  1449. finishInterp = math.sin(t*theta)*invSinTheta
  1450. else
  1451. startInterp = 1-t
  1452. finishInterp = t
  1453. end
  1454. else
  1455. if (1+cosTheta) > 0.0001 then
  1456. local theta = math.acos(-cosTheta)
  1457. local invSinTheta = 1/math.sin(theta)
  1458. startInterp = math.sin((t-1)*theta)*invSinTheta
  1459. finishInterp = math.sin(t*theta)*invSinTheta
  1460. else
  1461. startInterp = t-1
  1462. finishInterp = t
  1463. end
  1464. end
  1465. 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
  1466. end
  1467.  
  1468. --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)
  1469.  
  1470.  
  1471. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1472. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1473. end
  1474.  
  1475. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1476. if hit.Parent==nil then
  1477. return
  1478. end
  1479. h=hit.Parent:FindFirstChild("Humanoid")
  1480. for _,v in pairs(hit.Parent:children()) do
  1481. if v:IsA("Humanoid") then
  1482. h=v
  1483. end
  1484. end
  1485. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1486. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1487. end
  1488. if hit.Parent.className=="Hat" then
  1489. hit=hit.Parent.Parent:findFirstChild("Head")
  1490. end
  1491. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1492. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1493. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1494. return
  1495. end]]
  1496. -- hs(hit,1.2)
  1497. c=Instance.new("ObjectValue")
  1498. c.Name="creator"
  1499. c.Value=game:service("Players").LocalPlayer
  1500. c.Parent=h
  1501. game:GetService("Debris"):AddItem(c,.5)
  1502. Damage=math.random(minim,maxim)
  1503. -- h:TakeDamage(Damage)
  1504. blocked=false
  1505. block=hit.Parent:findFirstChild("Block")
  1506. if block~=nil then
  1507. print(block.className)
  1508. if block.className=="NumberValue" then
  1509. if block.Value>0 then
  1510. blocked=true
  1511. if decreaseblock==nil then
  1512. block.Value=block.Value-1
  1513. end
  1514. end
  1515. end
  1516. if block.className=="IntValue" then
  1517. if block.Value>0 then
  1518. blocked=true
  1519. if decreaseblock~=nil then
  1520. block.Value=block.Value-1
  1521. end
  1522. end
  1523. end
  1524. end
  1525. if blocked==false then
  1526. -- h:TakeDamage(Damage)
  1527. h.Health=h.Health-Damage
  1528. showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
  1529. else
  1530. h.Health=h.Health-(Damage/2)
  1531. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  1532. end
  1533. if Type=="Knockdown" then
  1534. hum=hit.Parent.Humanoid
  1535. hum.PlatformStand=true
  1536. coroutine.resume(coroutine.create(function(HHumanoid)
  1537. swait(1)
  1538. HHumanoid.PlatformStand=false
  1539. end),hum)
  1540. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1541. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1542. local bodvol=Instance.new("BodyVelocity")
  1543. bodvol.velocity=angle*knockback
  1544. bodvol.P=5000
  1545. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1546. bodvol.Parent=hit
  1547. rl=Instance.new("BodyAngularVelocity")
  1548. rl.P=3000
  1549. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1550. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1551. rl.Parent=hit
  1552. game:GetService("Debris"):AddItem(bodvol,.5)
  1553. game:GetService("Debris"):AddItem(rl,.5)
  1554. elseif Type=="Normal" then
  1555. so("http://www.roblox.com/asset/?id=314390675",hit,1,math.random(80,120)/100)
  1556. vp=Instance.new("BodyVelocity")
  1557. vp.P=500
  1558. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1559. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1560. if KnockbackType==1 then
  1561. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1562. elseif KnockbackType==2 then
  1563. vp.velocity=Property.CFrame.lookVector*knockback
  1564. end
  1565. if knockback>0 then
  1566. vp.Parent=hit.Parent.Torso
  1567. end
  1568. game:GetService("Debris"):AddItem(vp,.5)
  1569. elseif Type=="Up" then
  1570. local bodyVelocity=Instance.new("BodyVelocity")
  1571. bodyVelocity.velocity=vt(0,60,0)
  1572. bodyVelocity.P=5000
  1573. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1574. bodyVelocity.Parent=hit
  1575. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1576. rl=Instance.new("BodyAngularVelocity")
  1577. rl.P=3000
  1578. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1579. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1580. rl.Parent=hit
  1581. game:GetService("Debris"):AddItem(rl,.5)
  1582. elseif Type=="Snare" then
  1583. bp=Instance.new("BodyPosition")
  1584. bp.P=2000
  1585. bp.D=100
  1586. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1587. bp.position=hit.Parent.Torso.Position
  1588. bp.Parent=hit.Parent.Torso
  1589. game:GetService("Debris"):AddItem(bp,1)
  1590. elseif Type=="Target" then
  1591. if Targetting==false then
  1592. ZTarget=hit.Parent.Torso
  1593. coroutine.resume(coroutine.create(function(Part)
  1594. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1595. swait(5)
  1596. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1597. end),ZTarget)
  1598. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1599. targetgui=Instance.new("BillboardGui")
  1600. targetgui.Parent=ZTarget
  1601. targetgui.Size=UDim2.new(10,100,10,100)
  1602. targ=Instance.new("ImageLabel")
  1603. targ.Parent=targetgui
  1604. targ.BackgroundTransparency=1
  1605. targ.Image="rbxassetid://4834067"
  1606. targ.Size=UDim2.new(1,0,1,0)
  1607. cam.CameraType="Scriptable"
  1608. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1609. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1610. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1611. Targetting=true
  1612. RocketTarget=ZTarget
  1613. for i=1,Property do
  1614. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1615. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1616. swait()
  1617. end
  1618. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1619. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1620. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1621. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1622. end
  1623. Targetting=false
  1624. RocketTarget=nil
  1625. targetgui.Parent=nil
  1626. cam.CameraType="Custom"
  1627. end
  1628. end
  1629. debounce=Instance.new("BoolValue")
  1630. debounce.Name="DebounceHit"
  1631. debounce.Parent=hit.Parent
  1632. debounce.Value=true
  1633. game:GetService("Debris"):AddItem(debounce,Delay)
  1634. c=Instance.new("ObjectValue")
  1635. c.Name="creator"
  1636. c.Value=Player
  1637. c.Parent=h
  1638. game:GetService("Debris"):AddItem(c,.5)
  1639. CRIT=false
  1640. hitDeb=true
  1641. AttackPos=6
  1642. end
  1643. end
  1644.  
  1645. showDamage=function(Char,Dealt,du,Color)
  1646. m=Instance.new("Model")
  1647. m.Name=tostring(Dealt)
  1648. h=Instance.new("Humanoid")
  1649. h.Health=0
  1650. h.MaxHealth=0
  1651. h.Parent=m
  1652. c=Instance.new("Part")
  1653. c.Transparency=0
  1654. c.BrickColor=BrickColor.new("Bright red")
  1655. c.Name="Head"
  1656. c.TopSurface=0
  1657. c.BottomSurface=0
  1658. c.formFactor="Plate"
  1659. c.Size=Vector3.new(1,.4,1)
  1660. ms=Instance.new("CylinderMesh")
  1661. ms.Scale=Vector3.new(.8,.8,.8)
  1662. if CRIT==true then
  1663. ms.Scale=Vector3.new(1,1.25,1)
  1664. end
  1665. ms.Parent=c
  1666. c.Reflectance=0
  1667. Instance.new("BodyGyro").Parent=c
  1668. c.Parent=m
  1669. if Char:findFirstChild("Head")~=nil then
  1670. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1671. elseif Char.Parent:findFirstChild("Head")~=nil then
  1672. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1673. end
  1674. f=Instance.new("BodyPosition")
  1675. f.P=2000
  1676. f.D=100
  1677. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1678. f.position=c.Position+Vector3.new(0,3,0)
  1679. f.Parent=c
  1680. game:GetService("Debris"):AddItem(m,.5+du)
  1681. c.CanCollide=false
  1682. m.Parent=workspace
  1683. c.CanCollide=false
  1684. end
  1685.  
  1686. function Shockwave2(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
  1687. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1688. prt.Anchored = true
  1689. prt.CFrame = cframe
  1690. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1691. coroutine.resume(coroutine.create(function()
  1692. for i = 0, 1, delay do
  1693. swait()
  1694. prt.Transparency = i
  1695. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1696. end
  1697. prt.Parent = nil
  1698. end))
  1699. end
  1700.  
  1701. function attackone()
  1702. attack=true
  1703. for i=0,1,0.04 do
  1704. swait()
  1705. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(-30)),.1)
  1706. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1707. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  1708. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  1709. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1710. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1711. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1712. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,4)*angles(math.rad(60),math.rad(90),math.rad(-90)),0.2)
  1713. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1714. arm1p4w.C0=clerp(arm1p4w.C0,cf(1.5,3,0)*angles(math.rad(0),math.rad(0),math.rad(-120)),0.2)
  1715. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1716. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1717. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  1718. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  1719. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1720. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  1721. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1722. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1723.  
  1724. end
  1725. so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,1)
  1726. con1=arm1hitbox.Touched:connect(function(hit) Damagefunc(hit,2000,2000,math.random(2000,2000),"Normal",RootPart,.2,1) end)
  1727. for i=0,1,0.2 do
  1728. swait()
  1729. Shockwave(BrickColor.new("Cyan"),cf(arm1hitbox.Position),1,1,1,1,1,1,0.075)
  1730. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  1731. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1732. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  1733. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  1734. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1735. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1736. arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  1737. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3)
  1738. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1739. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1740. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1741. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1742. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  1743. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  1744. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1745. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  1746. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1747. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1748. end
  1749. for i=0,1,0.04 do
  1750. swait()
  1751. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,8)*angles(math.rad(5),math.rad(0),math.rad(30)),.2)
  1752. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1753. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.3)
  1754. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-130)), 0.2)
  1755. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1756. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1757. arm1pw.C0=clerp(arm1pw.C0,cf(-2.5,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  1758. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,-4)*angles(math.rad(-60),math.rad(90),math.rad(-90)),0.3)
  1759. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1760. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1761. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1762. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1763. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.2)
  1764. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  1765. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1766. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  1767. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1768. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1769. end
  1770. con1:disconnect()
  1771. attack=false
  1772. end
  1773.  
  1774. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1775. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1776. end
  1777.  
  1778. function attacktwo()
  1779. attack=true
  1780. for i=0,1,0.04 do
  1781. swait()
  1782. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  1783. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1784. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  1785. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  1786. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1787. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1788. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1789. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  1790. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1791. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  1792. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1793. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1794. arm2pw.C0=clerp(arm2pw.C0,cf(0,-2.5,0)*angles(math.rad(0),math.rad(120),math.rad(-90)),0.2)
  1795. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  1796. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1797. arm2p4w.C0=clerp(arm2p4w.C0,cf(-1,3,0)*angles(math.rad(0),math.rad(0),math.rad(-75)),0.2)
  1798. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1799. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1800. end
  1801. so("http://www.roblox.com/asset/?id=203691467",arm1hitbox,1,0.8)
  1802. con1=arm2hitbox.Touched:connect(function(hit) Damagefunc(hit,2000,2000,math.random(2000,2000),"Normal",RootPart,.2,1) end)
  1803. for i=0,1,0.2 do
  1804. swait()
  1805. Shockwave(BrickColor.new("Cyan"),cf(arm2hitbox.Position),1,1,1,1,1,1,0.075)
  1806. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2)
  1807. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1808. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  1809. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  1810. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1811. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1812. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1813. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  1814. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1815. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  1816. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1817. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1818. arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-30),math.rad(0),math.rad(-90)),0.3)
  1819. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3)
  1820. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1821. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  1822. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1823. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  1824. end
  1825. Humanoid.WalkSpeed = 64
  1826. local hit,pos=rayCast(arm2hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1827. if hit~=nil then
  1828. swait()
  1829. print("touched")
  1830. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Cyan"),"Effect",vt())
  1831. ref.Anchored=true
  1832. ref.CFrame=cf(pos)
  1833. game:GetService("Debris"):AddItem(ref,3)
  1834. so("http://www.roblox.com/asset/?id=199145477",arm2hitbox,1,math.random(60,140)/100)
  1835. Shockwave2(BrickColor.new("Cyan"),cf(pos),0.1,0.1,0.1,1,1,1,0.05)
  1836. end
  1837. for i=0,1,0.04 do
  1838. swait()
  1839. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(20),math.rad(0),math.rad(-45)),.2)
  1840. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1841. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(100)), 0.2)
  1842. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-100)), 0.2)
  1843. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1844. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1845. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.2)
  1846. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.2)
  1847. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1848. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.2)
  1849. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1850. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.2)
  1851. arm2pw.C0=clerp(arm2pw.C0,cf(1.5,-3.5,-5)*angles(math.rad(-20),math.rad(0),math.rad(-90)),0.3)
  1852. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.3)
  1853. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1854. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  1855. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1856. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  1857. end
  1858. Humanoid.WalkSpeed = 64
  1859. con1:disconnect()
  1860. attack=false
  1861. end
  1862.  
  1863. lasereye=1
  1864.  
  1865. mouse.Button1Down:connect(function()
  1866. if attack==false and attacktype==1 and sphere==false then
  1867. attackone()
  1868. attacktype=2
  1869. elseif attack==false and attacktype==2 and sphere==false then
  1870. attacktwo()
  1871. attacktype=1
  1872. end
  1873. if attack==false and used==false and sphere==true and rest==false and lasereye==1 then
  1874. lasereye=2
  1875. LaserBlaster()
  1876. elseif attack==false and used==false and sphere==true and rest==false and lasereye==2 then
  1877. lasereye=1
  1878. LaserBlaster2()
  1879. end
  1880. end)
  1881.  
  1882. function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1883. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1884. prt.Anchored = true
  1885. prt.CFrame = cframe
  1886. prt.Material = "Neon"
  1887. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1888. game:GetService("Debris"):AddItem(prt, 2)
  1889. coroutine.resume(coroutine.create(function(Part, Mesh)
  1890. for i = 0, 1, delay do
  1891. swait()
  1892. Part.CFrame = Part.CFrame
  1893. Part.Transparency = i
  1894. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1895. end
  1896. Part.Parent = nil
  1897. end), prt, msh)
  1898. end
  1899.  
  1900. function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1901. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1902. prt.Anchored = true
  1903. prt.CFrame = cframe
  1904. prt.Material = "Neon"
  1905. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  1906. game:GetService("Debris"):AddItem(prt, 2)
  1907. coroutine.resume(coroutine.create(function(Part, Mesh)
  1908. for i = 0, 1, delay do
  1909. swait()
  1910. Part.CFrame = Part.CFrame
  1911. Part.Transparency = i
  1912. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1913. end
  1914. Part.Parent = nil
  1915. end), prt, msh)
  1916. end
  1917.  
  1918. MMouse=mouse
  1919. LaserTarget=RootPart
  1920. used=false
  1921.  
  1922. function LaserBlaster()
  1923. used=true
  1924. so("http://www.roblox.com/asset/?id=156572165",eyep,1,math.random(60,80)/100)
  1925. local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  1926. local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  1927. local mag=(eyep.Position-pos).magnitude
  1928. Laser(BrickColor.new("Cyan"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1)
  1929. if hit~=nil then
  1930. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Cyan"),"Effect",vt())
  1931. ref.Anchored=true
  1932. ref.CFrame=cf(pos)
  1933. game:GetService("Debris"):AddItem(ref,1)
  1934. so("http://www.roblox.com/asset/?id=142082166",ref,1,math.random(80,120)/100)
  1935. Shockwave(BrickColor.new("Cyan"),cf(pos),1,1,1,1,1,1,0.075)
  1936. Damagefunc(hit,20,40,0,"Normal",RootPart,0)
  1937. end
  1938. for i=0,1,0.2 do
  1939. swait()
  1940. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,2,12)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1941. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1942. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1943. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1944. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1945. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1946. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1947. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1948. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1949. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1950. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1951. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1952. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1953. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1954. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1955. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1956. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1957. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1958. end
  1959. wait(0.25)
  1960. used=false
  1961. end
  1962.  
  1963. function LaserBlaster2()
  1964. used=true
  1965. so("http://www.roblox.com/asset/?id=156572165",eyep2,1,math.random(60,80)/100)
  1966. local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  1967. local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  1968. local mag=(eyep2.Position-pos).magnitude
  1969. Laser(BrickColor.new("Cyan"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,0.5,0,0.5,0.1)
  1970. if hit~=nil then
  1971. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Cyan"),"Effect",vt())
  1972. ref.Anchored=true
  1973. ref.CFrame=cf(pos)
  1974. game:GetService("Debris"):AddItem(ref,1)
  1975. so("http://www.roblox.com/asset/?id=142082166",ref,1,math.random(80,120)/100)
  1976. Shockwave(BrickColor.new("Cyan"),cf(pos),1,1,1,1,1,1,0.075)
  1977. Damagefunc(hit,20,40,0,"Normal",RootPart,0)
  1978. end
  1979. for i=0,1,0.2 do
  1980. swait()
  1981. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,2,12)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1982. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1983. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1984. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1985. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  1986. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  1987. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1988. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1989. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1990. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1991. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1992. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1993. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1994. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1995. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1996. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1997. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1998. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1999. end
  2000. wait(0.25)
  2001. used=false
  2002. end
  2003.  
  2004. used2=false
  2005.  
  2006. function GiantLaserBlaster()
  2007. used2=true
  2008. so("http://www.roblox.com/asset/?id=136007472",eyep,1,math.random(60,80)/100)
  2009. eyeeffect.Enabled = true
  2010. wait(2.6)
  2011. eyeeffect.Enabled = false
  2012. so("http://www.roblox.com/asset/?id=419268760",eyep,1,math.random(75,125)/100)
  2013. so("http://www.roblox.com/asset/?id=419268760",eyep,1,math.random(75,125)/100)
  2014. so("http://www.roblox.com/asset/?id=419268760",eyep,1,math.random(75,125)/100)
  2015. so("http://www.roblox.com/asset/?id=419268760",eyep,1,math.random(75,125)/100)
  2016. local MouseLook=cf((eyep.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  2017. local hit,pos = rayCast(eyep.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  2018. local mag=(eyep.Position-pos).magnitude
  2019. Laser(BrickColor.new("Cyan"),CFrame.new((eyep.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05)
  2020. if hit~=nil then
  2021. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Cyan"),"Effect",vt())
  2022. ref.Anchored=true
  2023. ref.CFrame=cf(pos)
  2024. game:GetService("Debris"):AddItem(ref,1)
  2025. so("http://www.roblox.com/asset/?id=142082166",ref,1,math.random(80,120)/100)
  2026. Shockwave(BrickColor.new("Cyan"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
  2027. Damagefunc(hit,999999,999999,0,"Normal",RootPart,0)
  2028. end
  2029. for i=0,1,0.1 do
  2030. swait()
  2031. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,8,12)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2032. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2033. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2034. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2035. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2036. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2037. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2038. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2039. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2040. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2041. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2042. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2043. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2044. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2045. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2046. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2047. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2048. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2049. end
  2050. wait(3)
  2051. used2=false
  2052. end
  2053.  
  2054. function GiantLaserBlaster2()
  2055. used2=true
  2056. so("http://www.roblox.com/asset/?id=136007472",eyep2,1,math.random(60,80)/100)
  2057. eyeeffect2.Enabled = true
  2058. wait(2.6)
  2059. eyeeffect2.Enabled = false
  2060. so("http://www.roblox.com/asset/?id=419268760",eyep2,1,math.random(75,125)/100)
  2061. so("http://www.roblox.com/asset/?id=419268760",eyep2,1,math.random(75,125)/100)
  2062. so("http://www.roblox.com/asset/?id=419268760",eyep2,1,math.random(75,125)/100)
  2063. so("http://www.roblox.com/asset/?id=419268760",eyep2,1,math.random(75,125)/100)
  2064. local MouseLook=cf((eyep2.Position+MMouse.Hit.p)/2,MMouse.Hit.p)
  2065. local hit,pos = rayCast(eyep2.Position,MouseLook.lookVector,999,LaserTarget.Parent)
  2066. local mag=(eyep2.Position-pos).magnitude
  2067. Laser(BrickColor.new("Cyan"),CFrame.new((eyep2.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*2,1,2.5,0,2.5,0.05)
  2068. if hit~=nil then
  2069. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Cyan"),"Effect",vt())
  2070. ref.Anchored=true
  2071. ref.CFrame=cf(pos)
  2072. game:GetService("Debris"):AddItem(ref,1)
  2073. so("http://www.roblox.com/asset/?id=142082166",ref,1,math.random(80,120)/100)
  2074. Shockwave(BrickColor.new("Cyan"),cf(pos),2.5,2.5,2.5,2.5,2.5,2.5,0.025)
  2075. Damagefunc(hit,1500,2000,0,"Normal",RootPart,0)
  2076. end
  2077. for i=0,1,0.1 do
  2078. swait()
  2079. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,8,12)*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2080. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2081. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2082. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2083. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2084. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2085. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2086. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2087. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2088. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2089. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2090. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2091. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2092. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2093. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2094. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2095. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2096. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2097. end
  2098. wait(3)
  2099. used2=false
  2100. end
  2101.  
  2102. function Hibernation()
  2103. if rest==false then
  2104. print("You are now resting.")
  2105. rest=true
  2106. sleep=true
  2107. attack=true
  2108. emitter.Enabled = false
  2109. particleemitter.Enabled = false
  2110. for i=0,1,0.15 do
  2111. wait()
  2112. Humanoid.CameraOffset = Vector3.new(0, 12.5-12.5*i, 0)
  2113. music.Volume = 0.5
  2114. eyep2mesh.Scale = Vector3.new(3.5,3.5-3.4*i,2)
  2115. eyepmesh.Scale = Vector3.new(3.5,3.5-3.4*i,2)
  2116. end
  2117. music.Volume = 0.5
  2118. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  2119. attack=false
  2120. Humanoid.WalkSpeed = 0
  2121. elseif rest==true then
  2122. print("You are now awake.")
  2123. rest=false
  2124. attack=true
  2125. sleep=false
  2126. for i=0,1,0.15 do
  2127. wait()
  2128. Humanoid.CameraOffset = Vector3.new(0, 0+12.5*i, 0)
  2129. music.Volume = 0.5
  2130. eyep2mesh.Scale = Vector3.new(3.5,0.2+3.4*i,2)
  2131. eyepmesh.Scale = Vector3.new(3.5,0.2+3.4*i,2)
  2132. end
  2133. emitter.Enabled = true
  2134. particleemitter.Enabled = true
  2135. Humanoid.WalkSpeed = 20
  2136. music.Volume = 0.5
  2137. Humanoid.CameraOffset = Vector3.new(0, 12.5, 0)
  2138. attack=false
  2139. end
  2140. end
  2141.  
  2142. ragemodedelay=false
  2143.  
  2144. function RageMode()
  2145. if sphere==true then
  2146. music:Stop()
  2147. music2:Play()
  2148. rawr:Play()
  2149. particleemitter2.Enabled=true
  2150. particleemitter3.Enabled=true
  2151. particleemitter4.Enabled=true
  2152. particleemitter5.Enabled=true
  2153. particleemitter6.Enabled=true
  2154. particleemitter7.Enabled=true
  2155. particleemitter8.Enabled=true
  2156. particleemitter9.Enabled=true
  2157. particleemitter10.Enabled=true
  2158. particleemitter11.Enabled=true
  2159. Humanoid.WalkSpeed = 64
  2160. Shockwave(BrickColor.new("Cyan"),cf(Torso.Position),4,4,4,6,6,6,0.025)
  2161. so("http://www.roblox.com/asset/?id=340722848",Character,0.5,1.2)
  2162. sphere=false
  2163. elseif sphere==false then
  2164. music2:Stop()
  2165. music:Play()
  2166. particleemitter2.Enabled=false
  2167. particleemitter3.Enabled=false
  2168. particleemitter4.Enabled=false
  2169. particleemitter5.Enabled=false
  2170. particleemitter6.Enabled=false
  2171. particleemitter7.Enabled=false
  2172. particleemitter8.Enabled=false
  2173. particleemitter9.Enabled=false
  2174. particleemitter10.Enabled=false
  2175. particleemitter11.Enabled=false
  2176. Humanoid.WalkSpeed = 20
  2177. Shockwave(BrickColor.new("Cyan"),cf(Torso.Position),4,4,4,6,6,6,0.025)
  2178. so("http://www.roblox.com/asset/?id=340722848",Character,0.5,0.8)
  2179. sphere=true
  2180. end
  2181. end
  2182.  
  2183. --use3=false
  2184.  
  2185. function TheWind()
  2186. if aura==false then
  2187. Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),16,16,16,10,10,10,0.025)
  2188. so("http://www.roblox.com/asset/?id=340722848",Torso,1,1.1)
  2189. ghostp.Transparency = 0.8
  2190. ghostp2.Transparency = 0.85
  2191. ghostp3.Transparency = 0.9
  2192. ghostp4.Transparency = 0.95
  2193. ghostp5.Transparency = 0.75
  2194. ghostp6.Transparency = 0.825
  2195. ghostp7.Transparency = 0.875
  2196. ghostp8.Transparency = 0.925
  2197. aura=true
  2198. elseif aura==true then
  2199. Shockwave(BrickColor.new("Institutional white"),cf(Torso.Position),16,16,16,10,10,10,0.025)
  2200. so("http://www.roblox.com/asset/?id=340722848",Torso,1,0.9)
  2201. ghostp.Transparency = 1
  2202. ghostp2.Transparency = 1
  2203. ghostp3.Transparency = 1
  2204. ghostp4.Transparency = 1
  2205. ghostp5.Transparency = 1
  2206. ghostp6.Transparency = 1
  2207. ghostp7.Transparency = 1
  2208. ghostp8.Transparency = 1
  2209. aura=false
  2210. end
  2211. while aura==true do
  2212. for i=0,1,0.05 do
  2213. wait()
  2214. ghostw.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(45+360*i),math.rad(0))
  2215. ghostw2.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(90+360*i),math.rad(0))
  2216. ghostw3.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(135+360*i),math.rad(0))
  2217. ghostw4.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(180+360*i),math.rad(0))
  2218. ghost5w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(225+360*i),math.rad(0))
  2219. ghost6w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(270+360*i),math.rad(0))
  2220. ghost7w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(315+360*i),math.rad(0))
  2221. ghost8w.C0=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(360+360*i),math.rad(0))
  2222. end
  2223. end
  2224. end
  2225.  
  2226. giantlasereye=1
  2227.  
  2228. function ShootingTheEyes()
  2229. if giantlasereye==1 then
  2230. GiantLaserBlaster()
  2231. giantlasereye=2
  2232. elseif giantlasereye==2 then
  2233. GiantLaserBlaster2()
  2234. giantlasereye=1
  2235. end
  2236. end
  2237.  
  2238. mouse.KeyDown:connect(function(k)
  2239. k=k:lower()
  2240. if k=='r' and attack==false and sphere==true and aura==false then
  2241. Hibernation()
  2242. end
  2243. if k=='f' and used2==false and sphere==true and rest==false then
  2244. ShootingTheEyes()
  2245. end
  2246. if k=='q' and rest==false and ragemodedelay==false then
  2247. RageMode()
  2248. ragemodedelay=true
  2249. wait(3)
  2250. ragemodedelay=false
  2251. end
  2252. if k=='e' and rest==false then
  2253. TheWind()
  2254. end
  2255. end)
  2256.  
  2257. local sine = 0
  2258. local change = 1
  2259. local val = 0
  2260.  
  2261. while true do
  2262. swait()
  2263. sine = sine + change
  2264. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2265. local velderp=RootPart.Velocity.y
  2266. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2267. if equipped==true or equipped==false then
  2268. if attack==false then
  2269. idle=idle+1
  2270. else
  2271. idle=0
  2272. end
  2273. if idle>=500 then
  2274. if attack==false then
  2275. --Sheath()
  2276. end
  2277. end
  2278. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2279. Anim="Jump"
  2280. if attack==false and sphere==false then
  2281. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/60))*angles(math.rad(-30),math.rad(0),math.rad(0)),.1)
  2282. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2283. 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)
  2284. 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)
  2285. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2286. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2287. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2288. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2289. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2290. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2291. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2292. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2293. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2294. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2295. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2296. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2297. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2298. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2299. else
  2300. if attack==false and sphere==true then
  2301. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  2302. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2303. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2304. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2305. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2306. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2307. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2308. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2309. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2310. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2311. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2312. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2313. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2314. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2315. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2316. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2317. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2318. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2319. end
  2320. end
  2321. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2322. Anim="Fall"
  2323. if attack==false and sphere==false then
  2324. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/60))*angles(math.rad(30),math.rad(0),math.rad(0)),.1)
  2325. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2326. 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)
  2327. 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)
  2328. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2329. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2330. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2331. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2332. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2333. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2334. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2335. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2336. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2337. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2338. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2339. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2340. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2341. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2342. else
  2343. if attack==false and sphere==true then
  2344. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(20),math.rad(0),math.rad(0)),.1)
  2345. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2346. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2347. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2348. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2349. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2350. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2351. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2352. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2353. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2354. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2355. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2356. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2357. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2358. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2359. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2360. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2361. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2362. end
  2363. end
  2364. elseif torvel<1 and hitfloor~=nil then
  2365. Anim="Idle"
  2366. Humanoid.WalkSpeed = 64
  2367. if attack==false and sphere==false and rest==false then
  2368. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/30))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
  2369. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2370. 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)
  2371. 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)
  2372. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2373. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2374. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2375. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2376. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2377. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2378. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2379. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2380. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2381. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2382. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2383. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2384. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2385. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2386. else
  2387. if attack==false and sphere==true and rest==false then
  2388. Humanoid.WalkSpeed = 20
  2389. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0+1*math.cos(sine/20),0,12-0.5*math.cos(sine/40))*angles(math.rad(5+5*math.cos(sine/30)),math.rad(0),math.rad(0)),.1)
  2390. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2391. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2392. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2393. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2394. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2395. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2396. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2397. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2398. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2399. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2400. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2401. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2402. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2403. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2404. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2405. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2406. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2407. else
  2408. if attack==false and sphere==true and rest==true then
  2409. Humanoid.WalkSpeed = 0
  2410. 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)
  2411. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2412. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2413. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2414. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2415. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2416. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2417. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2418. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2419. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2420. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2421. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2422. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2423. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2424. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2425. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2426. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2427. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2428. end
  2429. end
  2430. end
  2431. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2432. Anim="Walk"
  2433. if attack==false and sphere==false then
  2434. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-1*math.cos(sine/30))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  2435. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2436. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(120)), 0.3)
  2437. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 0.3)
  2438. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2439. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2440. arm1pw.C0=clerp(arm1pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2441. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2442. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2443. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2444. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2445. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2446. arm2pw.C0=clerp(arm2pw.C0,cf(0,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2447. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2448. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2449. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2450. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2451. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2452. else
  2453. if attack==false and sphere==true then
  2454. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-0.5*math.cos(sine/40))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  2455. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2456. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2457. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2458. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  2459. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  2460. arm1pw.C0=clerp(arm1pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2461. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2462. arm1p3w.C0=clerp(arm1p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2463. arm1p4w.C0=clerp(arm1p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2464. arm1p5w.C0=clerp(arm1p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2465. arm1p6w.C0=clerp(arm1p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2466. arm2pw.C0=clerp(arm2pw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2467. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2468. arm2p3w.C0=clerp(arm2p3w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2469. arm2p4w.C0=clerp(arm2p4w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2470. arm2p5w.C0=clerp(arm2p5w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2471. arm2p6w.C0=clerp(arm2p6w.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2472. end
  2473. end
  2474. elseif torvel>=22 and hitfloor~=nil then
  2475. Anim="Run"
  2476. if attack==false and sphere==false then
  2477. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,12-1*math.cos(sine/30))*angles(math.rad(10),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(-30), math.rad(0), math.rad(120)), 0.3)
  2480. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-120)), 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,-5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  2484. arm1p2w.C0=clerp(arm1p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2485. arm1p3w.C0=clerp(arm1p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2486. arm1p4w.C0=clerp(arm1p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2487. arm1p5w.C0=clerp(arm1p5w.C0,cf(-4,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,-5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),0.3)
  2490. arm2p2w.C0=clerp(arm2p2w.C0,cf(0,3,0)*angles(math.rad(0),math.rad(90),math.rad(-90)),0.5)
  2491. arm2p3w.C0=clerp(arm2p3w.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  2492. arm2p4w.C0=clerp(arm2p4w.C0,cf(-3,3,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),0.3)
  2493. arm2p5w.C0=clerp(arm2p5w.C0,cf(-4,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(90)),0.3)
  2495. end
  2496. end
  2497. end
  2498. if #Effects>0 then
  2499. --table.insert(Effects,{prt,"Block1",delay})
  2500. for e=1,#Effects do
  2501. if Effects[e]~=nil then
  2502. --for j=1,#Effects[e] do
  2503. local Thing=Effects[e]
  2504. if Thing~=nil then
  2505. local Part=Thing[1]
  2506. local Mode=Thing[2]
  2507. local Delay=Thing[3]
  2508. local IncX=Thing[4]
  2509. local IncY=Thing[5]
  2510. local IncZ=Thing[6]
  2511. if Thing[1].Transparency<=1 then
  2512. if Thing[2]=="Block1" then
  2513. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2514. Mesh=Thing[1].Mesh
  2515. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2516. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2517. elseif Thing[2]=="Cylinder" then
  2518. Mesh=Thing[1].Mesh
  2519. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2520. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2521. elseif Thing[2]=="Blood" then
  2522. Mesh=Thing[7]
  2523. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2524. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2525. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2526. elseif Thing[2]=="Elec" then
  2527. Mesh=Thing[1].Mesh
  2528. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2529. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2530. elseif Thing[2]=="Disappear" then
  2531. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2532. end
  2533. else
  2534. Part.Parent=nil
  2535. table.remove(Effects,e)
  2536. end
  2537. end
  2538. end
  2539. end
  2540. end
  2541. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement