vibrantsinger423

playrbosd

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