Advertisement
GalaxyDelta

Untitled

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