Advertisement
uor

Untitled

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