Advertisement
SCP-682-A

Fe N.E.L.F

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