13242

Untitled

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