Advertisement
Guest User

Untitled

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