Advertisement
AOM-GU-PRO

The Killer Dragon V.3

Oct 29th, 2018
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 175.33 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| Templates BY Aom[WCR]
  3. --\\====================================================//--
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility code by Mokiros")
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67.  
  68. local Mouse = Player:GetMouse()
  69. local UIS = game:GetService("UserInputService")
  70. local input = function(io,a)
  71. if a then return end
  72. --Since InputObject is a client-side instance, we create and pass table instead
  73. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77.  
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87.  
  88. ----Sandboxed game object that allows the usage of client-side methods and services
  89. --Real game object
  90. local _rg = game
  91.  
  92. --Metatable for fake service
  93. local fsmt = {
  94. __index = function(self,k)
  95. local s = rawget(self,"_RealService")
  96. if s then return s[k] end
  97. end,
  98. __newindex = function(self,k,v)
  99. local s = rawget(self,"_RealService")
  100. if s then s[k]=v end
  101. end,
  102. __call = function(self,...)
  103. local s = rawget(self,"_RealService")
  104. if s then return s(...) end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return self[s]
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. }
  123. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124. g.service = g.GetService
  125.  
  126. g.RunService = FakeService({
  127. RenderStepped = _rg:GetService("RunService").Heartbeat,
  128. BindToRenderStep = function(self,name,_,fun)
  129.  
  130. end,
  131. UnbindFromRenderStep = function(self,name)
  132. self._btrs[name]:Disconnect()
  133. end,
  134. },"RunService")
  135.  
  136. setmetatable(g,{
  137. __index=function(self,s)
  138. return _rg:GetService(s) or typeof(_rg[s])=="function"
  139. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140. end,
  141. __newindex = fsmt.__newindex,
  142. __call = fsmt.__call
  143. })
  144. --Changing owner to fake player object to support owner:GetMouse()
  145. game,owner = g,g.Players.LocalPlayer
  146. end
  147. Player = game:GetService("Players").LocalPlayer
  148. PlayerGui = Player.PlayerGui
  149. Cam = workspace.CurrentCamera
  150. Backpack = Player.Backpack
  151. Character = Player.Character
  152. Humanoid = Character.Humanoid
  153. Mouse = Player:GetMouse()
  154. RootPart = Character["HumanoidRootPart"]
  155. Torso = Character["Torso"]
  156. Head = Character["Head"]
  157. RightArm = Character["Right Arm"]
  158. LeftArm = Character["Left Arm"]
  159. RightLeg = Character["Right Leg"]
  160. LeftLeg = Character["Left Leg"]
  161. RootJoint = RootPart["RootJoint"]
  162. Neck = Torso["Neck"]
  163. RightShoulder = Torso["Right Shoulder"]
  164. LeftShoulder = Torso["Left Shoulder"]
  165. RightHip = Torso["Right Hip"]
  166. LeftHip = Torso["Left Hip"]
  167. local TIME = 0
  168. local sick = Instance.new("Sound",Torso)
  169.  
  170. IT = Instance.new
  171. CF = CFrame.new
  172. VT = Vector3.new
  173. RAD = math.rad
  174. C3 = Color3.new
  175. UD2 = UDim2.new
  176. BRICKC = BrickColor.new
  177. ANGLES = CFrame.Angles
  178. EULER = CFrame.fromEulerAnglesXYZ
  179. COS = math.cos
  180. ACOS = math.acos
  181. SIN = math.sin
  182. ASIN = math.asin
  183. ABS = math.abs
  184. MRANDOM = math.random
  185. FLOOR = math.floor
  186. Player = game:GetService("Players").LocalPlayer
  187. PlayerGui = Player.PlayerGui
  188. Cam = workspace.CurrentCamera
  189. Backpack = Player.Backpack
  190. Character = Player.Character
  191. Humanoid = Character.Humanoid
  192. Mouse = Player:GetMouse()
  193. RootPart = Character["HumanoidRootPart"]
  194. SIZE = 1
  195. local SINE = 0
  196. IT = Instance.new
  197. CF = CFrame.new
  198. VT = Vector3.new
  199. RAD = math.rad
  200. C3 = Color3.new
  201. UD2 = UDim2.new
  202. BRICKC = BrickColor.new
  203. ANGLES = CFrame.Angles
  204. EULER = CFrame.fromEulerAnglesXYZ
  205. COS = math.cos
  206. ACOS = math.acos
  207. SIN = math.sin
  208. ASIN = math.asin
  209. ABS = math.abs
  210. MRANDOM = math.random
  211. FLOOR = math.floor
  212.  
  213. IT = Instance.new
  214. CF = CFrame.new
  215. VT = Vector3.new
  216. RAD = math.rad
  217. C3 = Color3.new
  218. UD2 = UDim2.new
  219. BRICKC = BrickColor.new
  220. ANGLES = CFrame.Angles
  221. EULER = CFrame.fromEulerAnglesXYZ
  222. COS = math.cos
  223. ACOS = math.acos
  224. SIN = math.sin
  225. ASIN = math.asin
  226. ABS = math.abs
  227. MRANDOM = math.random
  228. FLOOR = math.floor
  229.  
  230. --//=================================\\
  231. --|| USEFUL VALUES
  232. --\\=================================//
  233.  
  234. Animation_Speed = 3
  235. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  236. local Speed = 12
  237. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  238. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  239. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  240. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  241. local DAMAGEMULTIPLIER = 1
  242. local ANIM = "Idle"
  243. local ATTACK = false
  244. local EQUIPPED = false
  245. local HOLD = false
  246. local COMBO = 1
  247. local Rooted = false
  248. local SINE = 0
  249. local KEYHOLD = false
  250. local CHANGE = 2 / Animation_Speed
  251. local WALKINGANIM = false
  252. local VALUE1 = false
  253. local VALUE2 = false
  254. local ROBLOXIDLEANIMATION = IT("Animation")
  255. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  256. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  257. --ROBLOXIDLEANIMATION.Parent = Humanoid
  258. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  259. WEAPONGUI.Name = "Weapon GUI"
  260. local Effects = IT("Folder", Character)
  261. Effects.Name = "Effects"
  262. local ANIMATOR = Humanoid.Animator
  263. local ANIMATE = Character.Animate
  264. local UNANCHOR = true
  265. local WHITELIST = {}
  266. local TAUNT = false
  267. local OFFSET = 0
  268. local FULL = false
  269.  
  270. --//=================================\\
  271. --\\=================================//
  272.  
  273.  
  274. --//=================================\\
  275. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  276. --\\=================================//
  277.  
  278. ArtificialHB = Instance.new("BindableEvent", script)
  279. ArtificialHB.Name = "ArtificialHB"
  280.  
  281. script:WaitForChild("ArtificialHB")
  282.  
  283. frame = Frame_Speed
  284. tf = 0
  285. allowframeloss = false
  286. tossremainder = false
  287. lastframe = tick()
  288. script.ArtificialHB:Fire()
  289.  
  290. game:GetService("RunService").Heartbeat:connect(function(s, p)
  291. tf = tf + s
  292. if tf >= frame then
  293. if allowframeloss then
  294. script.ArtificialHB:Fire()
  295. lastframe = tick()
  296. else
  297. for i = 1, math.floor(tf / frame) do
  298. script.ArtificialHB:Fire()
  299. end
  300. lastframe = tick()
  301. end
  302. if tossremainder then
  303. tf = 0
  304. else
  305. tf = tf - frame * math.floor(tf / frame)
  306. end
  307. end
  308. end)
  309.  
  310. --//=================================\\
  311. --\\=================================//
  312.  
  313. --[[
  314. local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  315. vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5
  316. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  317. --]]
  318. --Credit To Rufus14
  319. --I just edit it a bit ^_^
  320. mouse = game.Players.LocalPlayer:GetMouse()
  321. function ragdoll()
  322. game.Players.LocalPlayer.Character.Archivable = true
  323. clone = game.Players.LocalPlayer.Character:Clone()
  324. clone.Parent = workspace
  325. for i,v in pairs(clone:GetChildren()) do
  326. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  327. v:destroy()
  328. end
  329. for i,p in pairs(v:GetChildren()) do
  330. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  331. p:destroy()
  332. end
  333. end
  334. end
  335. for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  336. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  337. t:destroy()
  338. end
  339. end
  340. vel = Instance.new("BodyVelocity", clone.Torso)
  341. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  342. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  343. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608"
  344. using = false
  345. hit = Instance.new("Sound", clone.Torso)
  346. hit.SoundId = "rbxassetid://260430060"
  347. hit.Volume = 5
  348. hit1 = Instance.new("Sound", clone.Torso)
  349. hit1.SoundId = "rbxassetid://138087186"
  350. hit1.Volume = 5
  351. hit2 = Instance.new("Sound", clone.Torso)
  352. hit2.SoundId = "rbxassetid://131237241"
  353. hit2.Volume = 5
  354. hit3 = Instance.new("Sound", clone.Torso)
  355. hit3.SoundId = "rbxassetid://278062209"
  356. hit3.Volume = 5
  357. hit3.TimePosition = 0.33
  358. ded = Instance.new("Sound", clone.Torso)
  359. ded.SoundId = "rbxassetid://163154423"
  360. ded.Volume = 5
  361. local leftarm = clone:findFirstChild("Left Arm")
  362. local rightrm = clone:findFirstChild("Right Arm")
  363. local leftleg = clone:findFirstChild("Left Leg")
  364. local rightleg = clone:findFirstChild("Right Leg")
  365. local head = clone:findFirstChild("Head")
  366. local welding = Instance.new("Weld", clone.Torso)
  367. welding.Part0 = clone.Torso
  368. welding.Part1 = head
  369. welding.C0 = welding.C0 * CFrame.new(0,1.5,0)
  370. for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  371. if g.ClassName == "Part" then
  372. g:destroy()
  373. end
  374. end
  375. for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  376. if h.ClassName == "Accesory" then
  377. h:destroy()
  378. end
  379. end
  380. game.Workspace.CurrentCamera.CameraSubject = head
  381. if leftleg ~= nil then
  382. local glue = Instance.new("Glue", clone.Torso)
  383. glue.Part0 = clone.Torso
  384. glue.Part1 = leftleg
  385. glue.Name = "Left leg"
  386. local collider = Instance.new("Part", leftleg)
  387. collider.Position = Vector3.new(0,999,0)
  388. collider.Size = Vector3.new(1.7, 1, 1)
  389. collider.Shape = "Cylinder"
  390. local weld = Instance.new("Weld", collider)
  391. weld.Part0 = leftleg
  392. weld.Part1 = collider
  393. weld.C0 = CFrame.Angles(0, 0, 80)
  394. collider.TopSurface = "Smooth"
  395. collider.BottomSurface = "Smooth"
  396. collider.formFactor = "Symmetric"
  397. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  398. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  399. collider.Transparency = 1
  400. end
  401. ------------
  402. if rightleg ~= nil then
  403. local glue1 = Instance.new("Glue", clone.Torso)
  404. glue1.Part0 = clone.Torso
  405. glue1.Part1 = rightleg
  406. glue1.Name = "Right leg"
  407. local collider1 = Instance.new("Part", rightleg)
  408. collider1.Position = Vector3.new(0,999,0)
  409. collider1.Size = Vector3.new(1.7, 1, 1)
  410. collider1.Shape = "Cylinder"
  411. local weld1 = Instance.new("Weld", collider1)
  412. weld1.Part0 = rightleg
  413. weld1.Part1 = collider1
  414. weld1.C0 = CFrame.Angles(0, 0, 80)
  415. collider1.TopSurface = "Smooth"
  416. collider1.BottomSurface = "Smooth"
  417. collider1.formFactor = "Symmetric"
  418. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  419. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  420. collider1.Transparency = 1
  421. end
  422. ------------
  423. if rightrm ~= nil then
  424. local glue11 = Instance.new("Glue", clone.Torso)
  425. glue11.Part0 = clone.Torso
  426. glue11.Part1 = rightrm
  427. glue11.Name = "Right shoulder"
  428. local collider11 = Instance.new("Part", rightrm)
  429. collider11.Position = Vector3.new(0,9999,0)
  430. collider11.Size = Vector3.new(1.8,1,1)
  431. collider11.Shape = "Cylinder"
  432. local weld11 = Instance.new("Weld", collider11)
  433. weld11.Part0 = rightrm
  434. weld11.Part1 = collider11
  435. weld11.C0 = CFrame.Angles(0, 0, 80)
  436. collider11.TopSurface = "Smooth"
  437. collider11.BottomSurface = "Smooth"
  438. collider11.formFactor = "Symmetric"
  439. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  440. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  441. collider11.Transparency = 1
  442. end
  443. ------------
  444. if leftarm ~= nil then
  445. local glue111 = Instance.new("Glue", clone.Torso)
  446. glue111.Part0 = clone.Torso
  447. glue111.Part1 = leftarm
  448. glue111.Name = "Left shoulder"
  449. local collider111 = Instance.new("Part", leftarm)
  450. collider111.Position = Vector3.new(0,9999,0)
  451. collider111.Size = Vector3.new(1.8,1,1)
  452. collider111.Shape = "Cylinder"
  453. local weld111 = Instance.new("Weld", collider111)
  454. weld111.Part0 = leftarm
  455. weld111.Part1 = collider111
  456. weld111.C0 = CFrame.Angles(0, 0, 80)
  457. collider111.TopSurface = "Smooth"
  458. collider111.BottomSurface = "Smooth"
  459. collider111.formFactor = "Symmetric"
  460. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  461. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  462. collider111.Transparency = 1
  463. ----------------
  464. sensoring = Instance.new("Part", clone.Torso)
  465. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  466. sensoring.CanCollide = false
  467. sensoring.Position = clone.Torso.Position
  468. local welder = Instance.new("Weld", sensoring)
  469. welder.Part0 = clone.Torso
  470. welder.Part1 = sensoring
  471. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  472. sensoring.Transparency = 1
  473. -----------------
  474. sensoring1 = Instance.new("Part", clone.Torso)
  475. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  476. sensoring1.CanCollide = false
  477. sensoring1.Position = clone.Torso.Position
  478. local welder1 = Instance.new("Weld", sensoring)
  479. welder1.Part0 = clone.Torso
  480. welder1.Part1 = sensoring1
  481. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  482. sensoring1.Transparency = 1
  483. end
  484. clone.Name = game.Players.LocalPlayer.Character.Name.." (DEAD)"
  485. ded:Play()
  486. vel:destroy()
  487. wait(0.5)
  488. local function touch()
  489. if not using then
  490. using = true
  491. local Math = math.random(1,4)
  492. if Math == 1 then
  493. hit:Play()
  494. end
  495. if Math == 2 then
  496. hit1:Play()
  497. end
  498. if Math == 3 then
  499. hit2:Play()
  500. end
  501. if Math == 4 then
  502. hit3:Play()
  503. end
  504. wait(0.1)
  505. using = false
  506. end
  507. end
  508. sensoring.Touched:connect(touch)
  509. sensoring1.Touched:connect(touch)
  510. wait(4.47)
  511. hit1.Volume = 0
  512. hit2.Volume = 0
  513. hit3.Volume = 0
  514. hit.Volume = 0
  515. end
  516.  
  517. game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
  518.  
  519. ---------------------------------------
  520. local insanityface={"1895698679"}
  521. local sine=0
  522. Animation_Speed = 1.5
  523. local CHANGE = 2 / Animation_Speed
  524. -----------------------
  525.  
  526. wait()
  527. local plr = game:service'Players'.LocalPlayer
  528. local char = plr.Character
  529. local hum = char.Humanoid
  530. local hed = char.Head
  531. local root = char.HumanoidRootPart
  532. local rootj = root.RootJoint
  533. local tors = char.Torso
  534. local ra = char["Right Arm"]
  535. local la = char["Left Arm"]
  536. local rl = char["Right Leg"]
  537. local ll = char["Left Leg"]
  538. local neck = tors["Neck"]
  539. local mouse = plr:GetMouse()
  540. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  541. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  542. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  543. local maincolor = BrickColor.new("Really black")
  544. exploitable = true
  545. local Player = game.Players.localPlayer
  546. local Character = Player.Character
  547. local Humanoid = Character.Humanoid
  548. local Mouse = Player:GetMouse()
  549. local LeftArm = Character["Left Arm"]
  550. local RightArm = Character["Right Arm"]
  551. local LeftLeg = Character["Left Leg"]
  552. local RightLeg = Character["Right Leg"]
  553. local Head = Character.Head
  554. local Torso = Character.Torso
  555.  
  556. local FE = Workspace.FilteringEnabled
  557.  
  558. IT = Instance.new
  559. CF = CFrame.new
  560. VT = Vector3.new
  561. RAD = math.rad
  562. C3 = Color3.new
  563. UD2 = UDim2.new
  564. BRICKC = BrickColor.new
  565. ANGLES = CFrame.Angles
  566. EULER = CFrame.fromEulerAnglesXYZ
  567. COS = math.cos
  568. ACOS = math.acos
  569. SIN = math.sin
  570. ASIN = math.asin
  571. ABS = math.abs
  572. MRANDOM = math.random
  573. FLOOR = math.floor
  574. -------------------------------------------------------
  575. --Start Whitelist and Invincibility--
  576. -------------------------------------------------------
  577. ff = Instance.new("ForceField",char)
  578. ff.Visible = false
  579. hum.Name = "Base"
  580. hum.MaxHealth = 14214242142124
  581. hum.Health = 14214242142124
  582. -------------------------------------------------------
  583. --End Whitelist and Invincibility--
  584. -------------------------------------------------------
  585. for i,v in pairs(char:children()) do
  586. if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
  587. v:Remove()
  588. end
  589. end
  590. shirt = Instance.new("Shirt", char)
  591. shirt.Name = "Shirt"
  592. pants = Instance.new("Pants", char)
  593. pants.Name = "Pants"
  594. char.Shirt.ShirtTemplate = "rbxassetid://676428254"
  595. char.Pants.PantsTemplate = "rbxassetid://676428351"
  596.  
  597. warn("Aom Cak Black.")
  598.  
  599. warn("GGHACK")
  600.  
  601. warn("BY:aomFetty")
  602.  
  603. -------------------------------------------------------
  604. --Start Good Stuff--
  605. -------------------------------------------------------
  606. cam = game.Workspace.CurrentCamera
  607. CF = CFrame.new
  608. VT = Vector3.new
  609. angles = CFrame.Angles
  610. attack = false
  611. Euler = CFrame.fromEulerAnglesXYZ
  612. Rad = math.rad
  613. IT = Instance.new
  614. BrickC = BrickColor.new
  615. Cos = math.cos
  616. COS = math.cos
  617. Acos = math.acos
  618. Sin = math.sin
  619. Asin = math.asin
  620. Abs = math.abs
  621. Mrandom = math.random
  622. Floor = math.floor
  623. -------------------------------------------------------
  624. --End Good Stuff--
  625. -------------------------------------------------------
  626. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  627. RSH, LSH = nil, nil
  628. RW = Instance.new("Weld")
  629. LW = Instance.new("Weld")
  630. RH = tors["Right Hip"]
  631. LH = tors["Left Hip"]
  632. RSH = tors["Right Shoulder"]
  633. LSH = tors["Left Shoulder"]
  634. RSH.Parent = nil
  635. LSH.Parent = nil
  636. RW.Name = "RW"
  637. RW.Part0 = tors
  638. RW.C0 = CF(1.5, 0.5, 0)
  639. RW.C1 = CF(0, 0.5, 0)
  640. RW.Part1 = ra
  641. RW.Parent = tors
  642. LW.Name = "LW"
  643. LW.Part0 = tors
  644. LW.C0 = CF(-1.5, 0.5, 0)
  645. LW.C1 = CF(0, 0.5, 0)
  646. LW.Part1 = la
  647. LW.Parent = tors
  648. Effects = {}
  649. -------------------------------------------------------
  650. --Start HeartBeat--
  651. -------------------------------------------------------
  652. ArtificialHB = Instance.new("BindableEvent", script)
  653. ArtificialHB.Name = "Heartbeat"
  654. script:WaitForChild("Heartbeat")
  655.  
  656. frame = 1 / 60
  657. tf = 0
  658. allowframeloss = false
  659. tossremainder = false
  660.  
  661.  
  662. lastframe = tick()
  663. script.Heartbeat:Fire()
  664.  
  665.  
  666. game:GetService("RunService").Heartbeat:connect(function(s, p)
  667. tf = tf + s
  668. if tf >= frame then
  669. if allowframeloss then
  670. script.Heartbeat:Fire()
  671. lastframe = tick()
  672. else
  673. for i = 1, math.floor(tf / frame) do
  674. script.Heartbeat:Fire()
  675. end
  676. lastframe = tick()
  677. end
  678. if tossremainder then
  679. tf = 0
  680. else
  681. tf = tf - frame * math.floor(tf / frame)
  682. end
  683. end
  684. end)
  685. -------------------------------------------------------
  686. --End HeartBeat--
  687. -------------------------------------------------------
  688.  
  689. -------------------------------------------------------
  690. --Start Important Functions--
  691. -------------------------------------------------------
  692. function MakeForm(PART,TYPE)
  693. if TYPE == "Cyl" then
  694. local MSH = IT("CylinderMesh",PART)
  695. elseif TYPE == "Ball" then
  696. local MSH = IT("SpecialMesh",PART)
  697. MSH.MeshType = "Sphere"
  698. elseif TYPE == "Wedge" then
  699. local MSH = IT("SpecialMesh",PART)
  700. MSH.MeshType = "Wedge"
  701. end
  702. end
  703.  
  704. function chatfunc(text, color)
  705. local chat = coroutine.wrap(function()
  706. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  707. char:FindFirstChild("TalkingBillBoard"):destroy()
  708. end
  709. local naeeym2 = Instance.new("BillboardGui", char)
  710. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  711. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  712. naeeym2.Adornee = hed
  713. naeeym2.Name = "TalkingBillBoard"
  714. local tecks2 = Instance.new("TextLabel", naeeym2)
  715. tecks2.BackgroundTransparency = 1
  716. tecks2.BorderSizePixel = 0
  717. tecks2.Text = ""
  718. tecks2.Font = "SciFi"
  719. tecks2.TextSize = 30
  720. tecks2.TextStrokeTransparency = 0
  721. tecks2.TextColor3 = color
  722. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  723. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  724. local tecks3 = Instance.new("TextLabel", naeeym2)
  725. tecks3.BackgroundTransparency = 1
  726. tecks3.BorderSizePixel = 0
  727. tecks3.Text = ""
  728. tecks3.Font = "SciFi"
  729. tecks3.TextSize = 30
  730. tecks3.TextStrokeTransparency = 0
  731. tecks3.TextColor3 = Color3.new(0, 0, 0)
  732. tecks3.TextStrokeColor3 = color
  733. tecks3.Size = UDim2.new(1, 0, 0.5, 0)
  734. coroutine.resume(coroutine.create(function()
  735. while true do
  736. swait(1)
  737. tecks2.TextColor3 = BrickColor.random().Color
  738. tecks3.TextStrokeColor3 = BrickColor.random().Color
  739. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  740. tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  741. tecks2.Rotation = math.random(-5, 5)
  742. tecks3.Rotation = math.random(-5, 5)
  743. end
  744. end))
  745. for i = 1, string.len(text) do
  746. CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
  747. tecks2.Text = string.sub(text, 1, i)
  748. tecks3.Text = string.sub(text, 1, i)
  749. swait(1)
  750. end
  751. wait(1)
  752. local randomrot = math.random(1, 2)
  753. if randomrot == 1 then
  754. for i = 1, 50 do
  755. swait()
  756. tecks2.Rotation = tecks2.Rotation - 0.75
  757. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  758. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  759. tecks3.Rotation = tecks2.Rotation + 0.75
  760. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  761. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  762. end
  763. elseif randomrot == 2 then
  764. for i = 1, 50 do
  765. swait()
  766. tecks2.Rotation = tecks2.Rotation + 0.75
  767. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  768. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  769. tecks3.Rotation = tecks2.Rotation - 0.75
  770. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  771. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  772. end
  773. end
  774. naeeym2:Destroy()
  775. end)
  776. chat()
  777. end
  778.  
  779. function SphereAura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  780. local type = type
  781. local rng = Instance.new("Part", char)
  782. rng.Anchored = true
  783. rng.BrickColor = color
  784. rng.CanCollide = false
  785. rng.FormFactor = 3
  786. rng.Name = "Ring"
  787. rng.Material = "Neon"
  788. rng.Size = Vector3.new(1, 1, 1)
  789. rng.Transparency = 0
  790. rng.TopSurface = 0
  791. rng.BottomSurface = 0
  792. rng.CFrame = pos
  793. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  794. local rngm = Instance.new("SpecialMesh", rng)
  795. rngm.MeshType = "Sphere"
  796. rngm.Scale = Vector3.new(x1, y1, z1)
  797. local scaler2 = 1
  798. local speeder = FastSpeed
  799. if type == "Add" then
  800. scaler2 = 1 * value
  801. elseif type == "Divide" then
  802. scaler2 = 1 / value
  803. end
  804. coroutine.resume(coroutine.create(function()
  805. for i = 0, 10 / bonuspeed, 0.1 do
  806. swait()
  807. if type == "Add" then
  808. scaler2 = scaler2 - 0.01 * value / bonuspeed
  809. elseif type == "Divide" then
  810. scaler2 = scaler2 - 0.01 / value * bonuspeed
  811. end
  812. rng.BrickColor = BrickColor.random()
  813. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  814. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  815. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  816. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  817. end
  818. rng:Destroy()
  819. end))
  820. end
  821.  
  822. function SoulSteal(dude)
  823. if dude.Name ~= char then
  824. local bgf = IT("BodyGyro", dude.Head)
  825. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  826. local val = IT("BoolValue", dude)
  827. val.Name = "IsHit"
  828. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  829. local soulst = coroutine.wrap(function()
  830. local soul = Instance.new("Part",dude)
  831. soul.Size = Vector3.new(1,1,1)
  832. soul.CanCollide = false
  833. soul.Anchored = false
  834. soul.Position = torso.Position
  835. soul.Transparency = 1
  836. local PartEmmit1 = IT("ParticleEmitter", soul)
  837. PartEmmit1.LightEmission = 1
  838. PartEmmit1.Texture = "rbxassetid://569507414"
  839. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  840. PartEmmit1.Rate = 250
  841. PartEmmit1.Lifetime = NumberRange.new(1.6)
  842. PartEmmit1.Size = NumberSequence.new({
  843. NumberSequenceKeypoint.new(0, 1, 0),
  844. NumberSequenceKeypoint.new(1, 0, 0)
  845. })
  846. PartEmmit1.Transparency = NumberSequence.new({
  847. NumberSequenceKeypoint.new(0, 0, 0),
  848. NumberSequenceKeypoint.new(1, 1, 0)
  849. })
  850. PartEmmit1.Speed = NumberRange.new(0, 0)
  851. PartEmmit1.VelocitySpread = 30000
  852. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  853. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  854. local BodPoss = IT("BodyPosition", soul)
  855. BodPoss.P = 3000
  856. BodPoss.D = 1000
  857. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  858. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  859. wait(1.6)
  860. soul.Touched:connect(function(hit)
  861. if hit.Parent == char then
  862. soul:Destroy()
  863. end
  864. end)
  865. wait(1.2)
  866. while soul do
  867. swait()
  868. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  869. BodPoss.Position = tors.Position
  870. end
  871. end)
  872. soulst()
  873. end
  874. end
  875. function FaceMouse()
  876. local Cam = workspace.CurrentCamera
  877. return {
  878. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  879. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  880. }
  881. end
  882.  
  883. function Clerp(a, b, t)
  884. local qa = {QuaternionFromCFrame(a)}
  885. local qb = {QuaternionFromCFrame(b)}
  886. local ax, ay, az = a.x, a.y, a.z
  887. local bx, by, bz = b.x, b.y, b.z
  888. local _t = 1 - t
  889. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  890. end
  891.  
  892. function Eviscerate(dude)
  893. if dude.Name ~= char then
  894. local bgf = IT("BodyGyro", dude.Head)
  895. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  896. local val = IT("BoolValue", dude)
  897. val.Name = "IsHit"
  898. local ds = coroutine.wrap(function()
  899. dude:WaitForChild("Head"):BreakJoints()
  900. wait(0.5)
  901. target = nil
  902. coroutine.resume(coroutine.create(function()
  903. for i, v in pairs(dude:GetChildren()) do
  904. if v:IsA("Accessory") then
  905. v:Destroy()
  906. end
  907. if v:IsA("Humanoid") then
  908. v:Destroy()
  909. end
  910. if v:IsA("CharacterMesh") then
  911. v:Destroy()
  912. end
  913. if v:IsA("Model") then
  914. v:Destroy()
  915. end
  916. if v:IsA("Part") or v:IsA("MeshPart") then
  917. for x, o in pairs(v:GetChildren()) do
  918. if o:IsA("Decal") then
  919. o:Destroy()
  920. end
  921. end
  922. coroutine.resume(coroutine.create(function()
  923. v.Material = "Neon"
  924. v.CanCollide = false
  925. local PartEmmit1 = IT("ParticleEmitter", v)
  926. PartEmmit1.LightEmission = 1
  927. PartEmmit1.Texture = "rbxassetid://284205403"
  928. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  929. PartEmmit1.Rate = 150
  930. PartEmmit1.Lifetime = NumberRange.new(1)
  931. PartEmmit1.Size = NumberSequence.new({
  932. NumberSequenceKeypoint.new(0, 0.75, 0),
  933. NumberSequenceKeypoint.new(1, 0, 0)
  934. })
  935. PartEmmit1.Transparency = NumberSequence.new({
  936. NumberSequenceKeypoint.new(0, 0, 0),
  937. NumberSequenceKeypoint.new(1, 1, 0)
  938. })
  939. PartEmmit1.Speed = NumberRange.new(0, 0)
  940. PartEmmit1.VelocitySpread = 30000
  941. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  942. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  943. local BodPoss = IT("BodyPosition", v)
  944. BodPoss.P = 3000
  945. BodPoss.D = 1000
  946. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  947. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  948. v.Color = maincolor.Color
  949. coroutine.resume(coroutine.create(function()
  950. for i = 0, 49 do
  951. swait(1)
  952. v.Transparency = v.Transparency + 0.08
  953. end
  954. wait(0.5)
  955. PartEmmit1.Enabled = false
  956. wait(3)
  957. v:Destroy()
  958. dude:Destroy()
  959. end))
  960. end))
  961. end
  962. end
  963. end))
  964. end)
  965. ds()
  966. end
  967. end
  968.  
  969. function killnearest(position,range,maxstrength)
  970. for i,v in ipairs(workspace:GetChildren()) do
  971. local body = v:GetChildren()
  972. for part = 1, #body do
  973. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  974. if(body[part].Position - position).Magnitude < range then
  975. if v.ClassName == "Model" then
  976. v:BreakJoints()
  977. end
  978. table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  979. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  980. end
  981. end
  982. end
  983. if v.ClassName == "Part" then
  984. if v.Anchored == false and (v.Position - position).Magnitude < range then
  985. table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  986. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  987. end
  988. end
  989. end
  990. end
  991.  
  992.  
  993. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  994. local NEWPART = IT("Part")
  995. NEWPART.formFactor = FORMFACTOR
  996. NEWPART.Reflectance = REFLECTANCE
  997. NEWPART.Transparency = TRANSPARENCY
  998. NEWPART.CanCollide = false
  999. NEWPART.Locked = true
  1000. NEWPART.Anchored = true
  1001. if ANCHOR == false then
  1002. NEWPART.Anchored = false
  1003. end
  1004. NEWPART.BrickColor = BrickC(tostring(BRICKCOLOR))
  1005. NEWPART.Name = NAME
  1006. NEWPART.Size = SIZE
  1007. NEWPART.Position = Torso.Position
  1008. NEWPART.Material = MATERIAL
  1009. NEWPART:BreakJoints()
  1010. NEWPART.Parent = PARENT
  1011. return NEWPART
  1012. end
  1013.  
  1014. local joyemoji = Instance.new('ParticleEmitter', tors)
  1015. joyemoji.VelocitySpread = 2000
  1016. joyemoji.Lifetime = NumberRange.new(1)
  1017. joyemoji.Speed = NumberRange.new(40)
  1018. joy= {}
  1019. for i=0, 19 do
  1020. joy[#joy+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1021. end
  1022. joyemoji.Size = NumberSequence.new(joy)
  1023. joyemoji.Rate = 0
  1024. joyemoji.LockedToPart = false
  1025. joyemoji.LightEmission = 0
  1026. joyemoji.Texture = "rbxassetid://1176402123"
  1027. joyemoji.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  1028.  
  1029. local LIT = Instance.new('ParticleEmitter', tors)
  1030. LIT.VelocitySpread = 2000
  1031. LIT.Lifetime = NumberRange.new(1)
  1032. LIT.Speed = NumberRange.new(45)
  1033. nani= {}
  1034. for i=0, 19 do
  1035. nani[#nani+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1036. end
  1037. LIT.Size = NumberSequence.new(nani)
  1038. LIT.Rate = 0
  1039. LIT.LockedToPart = false
  1040. LIT.LightEmission = 0
  1041. LIT.Texture = "rbxassetid://1492670151"
  1042. LIT.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  1043.  
  1044. local ok = Instance.new('ParticleEmitter', tors)
  1045. ok.VelocitySpread = 2000
  1046. ok.Lifetime = NumberRange.new(1)
  1047. ok.Speed = NumberRange.new(50)
  1048. cool= {}
  1049. for i=0, 19 do
  1050. cool[#cool+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1051. end
  1052. ok.Size = NumberSequence.new(cool)
  1053. ok.Rate = 0
  1054. ok.LockedToPart = false
  1055. ok.LightEmission = 0
  1056. ok.Texture = "rbxassetid://636768448"
  1057. ok.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  1058.  
  1059. local toast = Instance.new('ParticleEmitter', tors)
  1060. toast.VelocitySpread = 2000
  1061. toast.Lifetime = NumberRange.new(1)
  1062. toast.Speed = NumberRange.new(60)
  1063. toasterstoasttoast= {}
  1064. for i=0, 19 do
  1065. toasterstoasttoast[#toasterstoasttoast+ 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  1066. end
  1067. toast.Size = NumberSequence.new(toasterstoasttoast)
  1068. toast.Rate = 0
  1069. toast.LockedToPart = false
  1070. toast.LightEmission = 0
  1071. toast.Texture = "rbxassetid://436096230"
  1072. toast.Color = ColorSequence.new(BrickColor.new("Institutional white").Color)
  1073.  
  1074. function Clerp(a, b, t)
  1075. local qa = {
  1076. QuaternionFromCFrame(a)
  1077. }
  1078. local qb = {
  1079. QuaternionFromCFrame(b)
  1080. }
  1081. local ax, ay, az = a.x, a.y, a.z
  1082. local bx, by, bz = b.x, b.y, b.z
  1083. local _t = 1 - t
  1084. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1085. end
  1086.  
  1087. function Swait(NUMBER)
  1088. if NUMBER == 0 or NUMBER == nil then
  1089. ArtificialHB.Event:wait()
  1090. else
  1091. for i = 1, NUMBER do
  1092. ArtificialHB.Event:wait()
  1093. end
  1094. end
  1095. end
  1096.  
  1097. function swait(num)
  1098. if num == 0 or num == nil then
  1099. game:service("RunService").Stepped:wait(0)
  1100. else
  1101. for i = 0, num do
  1102. game:service("RunService").Stepped:wait(0)
  1103. end
  1104. end
  1105. end
  1106. function thread(f)
  1107. coroutine.resume(coroutine.create(f))
  1108. end
  1109. function clerp(a, b, t)
  1110. local qa = {
  1111. QuaternionFromCFrame(a)
  1112. }
  1113. local qb = {
  1114. QuaternionFromCFrame(b)
  1115. }
  1116. local ax, ay, az = a.x, a.y, a.z
  1117. local bx, by, bz = b.x, b.y, b.z
  1118. local _t = 1 - t
  1119. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1120. end
  1121. function ShockWave(Part, cframe1, cframe2, Damage, Size)
  1122. coroutine.resume(coroutine.create(function()
  1123. local wave = CreatePart(workspace, "Neon", 0, 0, Neoncolor, "Effect", Vector3.new(1, 1, 5))
  1124. wave.Anchored = true
  1125. wave.CFrame = Part.CFrame * cframe1
  1126. local Msh = Create("SpecialMesh"){
  1127. Parent = wave,
  1128. MeshType = "Sphere"
  1129. }
  1130. Cso("http://roblox.com/asset/?id=300916105", wave, 1, 1.3)
  1131. for i = 0, 1, 0.2 do
  1132. wait()
  1133. local dir = wave.CFrame.lookVector * -1
  1134. local pos = rayCast(wave.Position, dir, 5, Character)
  1135. wave.CFrame = wave.CFrame * cframe2
  1136. table.insert(Effects, {
  1137. wave,
  1138. "Sphere",
  1139. 0.01,
  1140. .03,
  1141. .03,
  1142. .03,
  1143. })
  1144. end
  1145. end))
  1146. end
  1147.  
  1148. function getbloody(victim,amount)
  1149. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1150. PART.CFrame = victim.CFrame
  1151. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1152. Debris:AddItem(PART,5)
  1153. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1154. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1155. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1156. local prtcl = asd:Clone()
  1157. prtcl.Parent = PART
  1158. prtcl:Emit(amount*10)
  1159. end
  1160.  
  1161. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) --Thanks, Star Glitcher!
  1162. local type = type
  1163. local rng = Instance.new("Part", char)
  1164. rng.Anchored = true
  1165. rng.BrickColor = color
  1166. rng.CanCollide = false
  1167. rng.FormFactor = 3
  1168. rng.Name = "Ring"
  1169. rng.Material = "Neon"
  1170. rng.Size = Vector3.new(1, 1, 1)
  1171. rng.Transparency = 0
  1172. rng.TopSurface = 0
  1173. rng.BottomSurface = 0
  1174. rng.CFrame = pos
  1175. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1176. local rngm = Instance.new("SpecialMesh", rng)
  1177. rngm.MeshType = "Brick"
  1178. rngm.Scale = VT(x1,y1,z1)
  1179. if rainbowmode == true then
  1180. rng.Color = Color3.new(r/255,g/255,b/255)
  1181. end
  1182. local scaler2 = 1
  1183. local speeder = FastSpeed/10
  1184. if type == "Add" then
  1185. scaler2 = 1*value
  1186. elseif type == "Divide" then
  1187. scaler2 = 1/value
  1188. end
  1189. coroutine.resume(coroutine.create(function()
  1190. for i = 0,10/bonuspeed,0.1 do
  1191. swait()
  1192. if type == "Add" then
  1193. scaler2 = scaler2 - 0.01*value/bonuspeed
  1194. elseif type == "Divide" then
  1195. scaler2 = scaler2 - 0.01/value*bonuspeed
  1196. end
  1197. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  1198. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1199. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1200. end
  1201. rng:Destroy()
  1202. end))
  1203. end
  1204. New = function(Object, Parent, Name, Data)
  1205. local Object = Instance.new(Object)
  1206. for Index, Value in pairs(Data or {}) do
  1207. Object[Index] = Value
  1208. end
  1209. Object.Parent = Parent
  1210. Object.Name = Name
  1211. return Object
  1212. end
  1213. function QuaternionFromCFrame(cf)
  1214. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1215. local trace = m00 + m11 + m22
  1216. if trace > 0 then
  1217. local s = math.sqrt(1 + trace)
  1218. local recip = 0.5 / s
  1219. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1220. else
  1221. local i = 0
  1222. if m00 < m11 then
  1223. i = 1
  1224. end
  1225. if m22 > (i == 0 and m00 or m11) then
  1226. i = 2
  1227. end
  1228. if i == 0 then
  1229. local s = math.sqrt(m00 - m11 - m22 + 1)
  1230. local recip = 0.5 / s
  1231. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1232. elseif i == 1 then
  1233. local s = math.sqrt(m11 - m22 - m00 + 1)
  1234. local recip = 0.5 / s
  1235. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1236. elseif i == 2 then
  1237. local s = math.sqrt(m22 - m00 - m11 + 1)
  1238. local recip = 0.5 / s
  1239. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1240. end
  1241. end
  1242. end
  1243. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1244. local xs, ys, zs = x + x, y + y, z + z
  1245. local wx, wy, wz = w * xs, w * ys, w * zs
  1246. local xx = x * xs
  1247. local xy = x * ys
  1248. local xz = x * zs
  1249. local yy = y * ys
  1250. local yz = y * zs
  1251. local zz = z * zs
  1252. 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))
  1253. end
  1254.  
  1255. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1256. function WACKYEFFECT(Table)
  1257. local TYPE = (Table.EffectType or "Sphere")
  1258. local SIZE = (Table.Size or VT(1,1,1))
  1259. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1260. local TRANSPARENCY = (Table.Transparency or 0)
  1261. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1262. local CFRAME = (Table.CFrame or Torso.CFrame)
  1263. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1264. local ROTATION1 = (Table.RotationX or 0)
  1265. local ROTATION2 = (Table.RotationY or 0)
  1266. local ROTATION3 = (Table.RotationZ or 0)
  1267. local MATERIAL = (Table.Material or "Neon")
  1268. local COLOR = (Table.Color or C3(1,1,1))
  1269. local TIME = (Table.Time or 45)
  1270. local SOUNDID = (Table.SoundID or nil)
  1271. local SOUNDPITCH = (Table.SoundPitch or nil)
  1272. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1273. coroutine.resume(coroutine.create(function()
  1274. local PLAYSSOUND = false
  1275. local SOUND = nil
  1276. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1277. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1278. PLAYSSOUND = true
  1279. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1280. end
  1281. EFFECT.Color = COLOR
  1282. local MSH = nil
  1283. if TYPE == "Sphere" then
  1284. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1285. elseif TYPE == "Block" then
  1286. MSH = IT("BlockMesh",EFFECT)
  1287. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1288. elseif TYPE == "Wave" then
  1289. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1290. elseif TYPE == "Ring" then
  1291. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1292. elseif TYPE == "Slash" then
  1293. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1294. elseif TYPE == "Round Slash" then
  1295. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1296. elseif TYPE == "Swirl" then
  1297. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1298. elseif TYPE == "Skull" then
  1299. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1300. elseif TYPE == "Crystal" then
  1301. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1302. end
  1303. if MSH ~= nil then
  1304. local MOVESPEED = nil
  1305. if MOVEDIRECTION ~= nil then
  1306. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1307. end
  1308. local GROWTH = SIZE - ENDSIZE
  1309. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1310. if TYPE == "Block" then
  1311. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1312. else
  1313. EFFECT.CFrame = CFRAME
  1314. end
  1315. for LOOP = 1, TIME+1 do
  1316. Swait()
  1317. MSH.Scale = MSH.Scale - GROWTH/TIME
  1318. if TYPE == "Wave" then
  1319. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1320. end
  1321. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1322. if TYPE == "Block" then
  1323. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1324. else
  1325. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1326. end
  1327. if MOVEDIRECTION ~= nil then
  1328. local ORI = EFFECT.Orientation
  1329. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1330. EFFECT.Orientation = ORI
  1331. end
  1332. end
  1333. if PLAYSSOUND == false then
  1334. EFFECT:remove()
  1335. else
  1336. repeat Swait() until SOUND.Playing == false
  1337. EFFECT:remove()
  1338. end
  1339. else
  1340. if PLAYSSOUND == false then
  1341. EFFECT:remove()
  1342. else
  1343. repeat Swait() until SOUND.Playing == false
  1344. EFFECT:remove()
  1345. end
  1346. end
  1347. end))
  1348. end
  1349.  
  1350.  
  1351. function QuaternionSlerp(a, b, t)
  1352. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1353. local startInterp, finishInterp
  1354. if cosTheta >= 1.0E-4 then
  1355. if 1 - cosTheta > 1.0E-4 then
  1356. local theta = math.acos(cosTheta)
  1357. local invSinTheta = 1 / Sin(theta)
  1358. startInterp = Sin((1 - t) * theta) * invSinTheta
  1359. finishInterp = Sin(t * theta) * invSinTheta
  1360. else
  1361. startInterp = 1 - t
  1362. finishInterp = t
  1363. end
  1364. elseif 1 + cosTheta > 1.0E-4 then
  1365. local theta = math.acos(-cosTheta)
  1366. local invSinTheta = 1 / Sin(theta)
  1367. startInterp = Sin((t - 1) * theta) * invSinTheta
  1368. finishInterp = Sin(t * theta) * invSinTheta
  1369. else
  1370. startInterp = t - 1
  1371. finishInterp = t
  1372. end
  1373. 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
  1374. end
  1375. function rayCast(Position, Direction, Range, Ignore)
  1376. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1377. end
  1378. local RbxUtility = LoadLibrary("RbxUtility")
  1379. local Create = RbxUtility.Create
  1380.  
  1381. -------------------------------------------------------
  1382. --Start Damage Function--
  1383. -------------------------------------------------------
  1384. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  1385. local type = type
  1386. local rng = Instance.new("Part", char)
  1387. rng.Anchored = true
  1388. rng.BrickColor = color
  1389. rng.CanCollide = false
  1390. rng.FormFactor = 3
  1391. rng.Name = "Ring"
  1392. rng.Material = "Neon"
  1393. rng.Size = Vector3.new(1, 1, 1)
  1394. rng.Transparency = 0
  1395. rng.TopSurface = 0
  1396. rng.BottomSurface = 0
  1397. rng.CFrame = pos
  1398. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1399. local rngm = Instance.new("SpecialMesh", rng)
  1400. rngm.MeshType = "Sphere"
  1401. rngm.Scale = Vector3.new(x1, y1, z1)
  1402. local scaler2 = 1
  1403. local speeder = FastSpeed
  1404. if type == "Add" then
  1405. scaler2 = 1 * value
  1406. elseif type == "Divide" then
  1407. scaler2 = 1 / value
  1408. end
  1409. coroutine.resume(coroutine.create(function()
  1410. for i = 0, 10 / bonuspeed, 0.1 do
  1411. swait()
  1412. if type == "Add" then
  1413. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1414. elseif type == "Divide" then
  1415. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1416. end
  1417. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1418. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1419. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1420. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1421. end
  1422. rng:Destroy()
  1423. end))
  1424. end
  1425. -----------------------------
  1426. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1427. if hit.Parent == nil then
  1428. return
  1429. end
  1430. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1431. for _, v in pairs(hit.Parent:children()) do
  1432. if v:IsA("Humanoid") then
  1433. h = v
  1434. end
  1435. end
  1436. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1437.  
  1438. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1439. end
  1440.  
  1441. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1442. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1443. if hit.Parent.DebounceHit.Value == true then
  1444. return
  1445. end
  1446. end
  1447. if insta == true then
  1448. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1449. end
  1450. local c = Create("ObjectValue"){
  1451. Name = "creator",
  1452. Value = game:service("Players").LocalPlayer,
  1453. Parent = h,
  1454. }
  1455. game:GetService("Debris"):AddItem(c, .5)
  1456. if HitSound ~= nil and HitPitch ~= nil then
  1457. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1458. end
  1459. local Damage = math.random(minim, maxim)
  1460. local blocked = false
  1461. local block = hit.Parent:findFirstChild("Block")
  1462. if block ~= nil then
  1463. if block.className == "IntValue" then
  1464. if block.Value > 0 then
  1465. blocked = true
  1466. block.Value = block.Value - 1
  1467. print(block.Value)
  1468. end
  1469. end
  1470. end
  1471. if blocked == false then
  1472. h.Health = h.Health - Damage
  1473. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1474. else
  1475. h.Health = h.Health - (Damage / 2)
  1476. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1477. end
  1478. if Type == "Knockdown" then
  1479. local hum = hit.Parent.Humanoid
  1480. hum.PlatformStand = true
  1481. coroutine.resume(coroutine.create(function(HHumanoid)
  1482. swait(1)
  1483. HHumanoid.PlatformStand = false
  1484. end), hum)
  1485. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1486. local bodvol = Create("BodyVelocity"){
  1487. velocity = angle * knockback,
  1488. P = 5000,
  1489. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1490. Parent = hit,
  1491. }
  1492. local rl = Create("BodyAngularVelocity"){
  1493. P = 3000,
  1494. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1495. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1496. Parent = hit,
  1497. }
  1498. game:GetService("Debris"):AddItem(bodvol, .5)
  1499. game:GetService("Debris"):AddItem(rl, .5)
  1500. elseif Type == ". . ." then
  1501. local vp = Create("BodyVelocity"){
  1502. P = 500,
  1503. maxForce = Vector3.new(math.huge, 0, math.huge),
  1504. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1505. }
  1506. if knockback > 0 then
  1507. vp.Parent = hit.Parent.Torso
  1508. end
  1509. game:GetService("Debris"):AddItem(vp, .5)
  1510. elseif Type == "Up" then
  1511. local bodyVelocity = Create("BodyVelocity"){
  1512. velocity = Vector3.new(0, 20, 0),
  1513. P = 5000,
  1514. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1515. Parent = hit,
  1516. }
  1517. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1518. elseif Type == "DarkUp" then
  1519. coroutine.resume(coroutine.create(function()
  1520. for i = 0, 1, 0.1 do
  1521. swait()
  1522. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1523. end
  1524. end))
  1525. local bodyVelocity = Create("BodyVelocity"){
  1526. velocity = Vector3.new(0, 20, 0),
  1527. P = 5000,
  1528. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1529. Parent = hit,
  1530. }
  1531. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1532. elseif Type == "Snare" then
  1533. local bp = Create("BodyPosition"){
  1534. P = 2000,
  1535. D = 100,
  1536. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1537. position = hit.Parent.Torso.Position,
  1538. Parent = hit.Parent.Torso,
  1539. }
  1540. game:GetService("Debris"):AddItem(bp, 1)
  1541. elseif Type == "Freeze" then
  1542. local BodPos = Create("BodyPosition"){
  1543. P = 50000,
  1544. D = 1000,
  1545. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1546. position = hit.Parent.Torso.Position,
  1547. Parent = hit.Parent.Torso,
  1548. }
  1549. local BodGy = Create("BodyGyro") {
  1550. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1551. P = 20e+003,
  1552. Parent = hit.Parent.Torso,
  1553. cframe = hit.Parent.Torso.CFrame,
  1554. }
  1555. hit.Parent.Torso.Anchored = true
  1556. coroutine.resume(coroutine.create(function(Part)
  1557. swait(1.5)
  1558. Part.Anchored = false
  1559. end), hit.Parent.Torso)
  1560. game:GetService("Debris"):AddItem(BodPos, 3)
  1561. game:GetService("Debris"):AddItem(BodGy, 3)
  1562. end
  1563. local debounce = Create("BoolValue"){
  1564. Name = "DebounceHit",
  1565. Parent = hit.Parent,
  1566. Value = true,
  1567. }
  1568. game:GetService("Debris"):AddItem(debounce, Delay)
  1569. c = Create("ObjectValue"){
  1570. Name = "creator",
  1571. Value = Player,
  1572. Parent = h,
  1573. }
  1574. game:GetService("Debris"):AddItem(c, .5)
  1575. end
  1576. end
  1577. -------------------------------------------------------
  1578. --End Damage Function--
  1579. -------------------------------------------------------
  1580.  
  1581. -------------------------------------------------------
  1582. --Start Damage Function Customization--
  1583. -------------------------------------------------------
  1584. function ShowDamage(Pos, Text, Time, Color)
  1585. local Rate = (1 / 30)
  1586. local Pos = (Pos or Vector3.new(0, 0, 0))
  1587. local Text = (Text or "")
  1588. local Time = (Time or 2)
  1589. local Color = (Color or Color3.new(1, 0, 1))
  1590. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1591. EffectPart.Anchored = true
  1592. local BillboardGui = Create("BillboardGui"){
  1593. Size = UDim2.new(3, 0, 3, 0),
  1594. Adornee = EffectPart,
  1595. Parent = EffectPart,
  1596. }
  1597. local TextLabel = Create("TextLabel"){
  1598. BackgroundTransparency = 1,
  1599. Size = UDim2.new(1, 0, 1, 0),
  1600. Text = Text,
  1601. Font = "Bodoni",
  1602. TextColor3 = Color,
  1603. TextScaled = true,
  1604. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  1605. Parent = BillboardGui,
  1606. }
  1607. game.Debris:AddItem(EffectPart, (Time))
  1608. EffectPart.Parent = game:GetService("Workspace")
  1609. delay(0, function()
  1610. local Frames = (Time / Rate)
  1611. for Frame = 1, Frames do
  1612. wait(Rate)
  1613. local Percent = (Frame / Frames)
  1614. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1615. TextLabel.TextTransparency = Percent
  1616. end
  1617. if EffectPart and EffectPart.Parent then
  1618. EffectPart:Destroy()
  1619. end
  1620. end)
  1621. end
  1622.  
  1623. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1624. local type = type
  1625. local rng = Instance.new("Part", char)
  1626. rng.Anchored = true
  1627. rng.BrickColor = color
  1628. rng.CanCollide = false
  1629. rng.FormFactor = 3
  1630. rng.Name = "Ring"
  1631. rng.Material = "Neon"
  1632. rng.Size = Vector3.new(1, 1, 1)
  1633. rng.Transparency = 0
  1634. rng.TopSurface = 0
  1635. rng.BottomSurface = 0
  1636. rng.CFrame = pos
  1637. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1638. local rngm = Instance.new("SpecialMesh", rng)
  1639. rngm.MeshType = "Brick"
  1640. rngm.Scale = Vector3.new(x1,y1,z1)
  1641. local scaler2 = 1
  1642. local speeder = FastSpeed/10
  1643. if type == "Add" then
  1644. scaler2 = 1*value
  1645. elseif type == "Divide" then
  1646. scaler2 = 1/value
  1647. end
  1648. coroutine.resume(coroutine.create(function()
  1649. for i = 0,10/bonuspeed,0.1 do
  1650. swait()
  1651. if type == "Add" then
  1652. scaler2 = scaler2 - 0.01*value/bonuspeed
  1653. elseif type == "Divide" then
  1654. scaler2 = scaler2 - 0.01/value*bonuspeed
  1655. end
  1656. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  1657. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1658. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1659. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1660. end
  1661. rng:Destroy()
  1662. end))
  1663. end
  1664.  
  1665. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  1666. local p = Instance.new("Part",EffectModel)
  1667. p.BrickColor = BrickColor.new(colour)
  1668. p.Size = Vector3.new()
  1669. p.Anchored = true
  1670. p.CanCollide = false
  1671. p.CFrame = cf
  1672. if inverse == true then
  1673. p.Transparency = 1
  1674. else
  1675. p.Transparency = 0
  1676. end
  1677. local m = Instance.new("SpecialMesh",p)
  1678. m.MeshId = meshid
  1679. m.TextureId = textid
  1680. m.Scale = meshstart
  1681. coroutine.wrap(function()
  1682. for i=0,1,factor do
  1683. swait()
  1684. if inverse == true then
  1685. p.Transparency = 1-i
  1686. else
  1687. p.Transparency = i
  1688. end
  1689. m.Scale = m.Scale + meshadd
  1690. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1691. end
  1692. p:Destroy()
  1693. end)()
  1694. return p
  1695. end
  1696. -------------------------------------------------------
  1697. --End Damage Function Customization--
  1698. -------------------------------------------------------
  1699.  
  1700. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1701. for _, c in pairs(workspace:children()) do
  1702. local hum = c:findFirstChild("Humanoid")
  1703. if hum ~= nil then
  1704. local head = c:findFirstChild("Head")
  1705. if head ~= nil then
  1706. local targ = head.Position - Part.Position
  1707. local mag = targ.magnitude
  1708. if magni >= mag and c.Name ~= Player.Name then
  1709. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  1710. end
  1711. end
  1712. end
  1713. end
  1714. end
  1715.  
  1716.  
  1717. CFuncs = {
  1718. Part = {
  1719. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1720. local Part = Create("Part")({
  1721. Parent = Parent,
  1722. Reflectance = Reflectance,
  1723. Transparency = Transparency,
  1724. CanCollide = false,
  1725. Locked = true,
  1726. BrickColor = BrickColor.new(tostring(BColor)),
  1727. Name = Name,
  1728. Size = Size,
  1729. Material = Material
  1730. })
  1731. RemoveOutlines(Part)
  1732. return Part
  1733. end
  1734. },
  1735. Mesh = {
  1736. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1737. local Msh = Create(Mesh)({
  1738. Parent = Part,
  1739. Offset = OffSet,
  1740. Scale = Scale
  1741. })
  1742. if Mesh == "SpecialMesh" then
  1743. Msh.MeshType = MeshType
  1744. Msh.MeshId = MeshId
  1745. end
  1746. return Msh
  1747. end
  1748. },
  1749. Mesh = {
  1750. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1751. local Msh = Create(Mesh)({
  1752. Parent = Part,
  1753. Offset = OffSet,
  1754. Scale = Scale
  1755. })
  1756. if Mesh == "SpecialMesh" then
  1757. Msh.MeshType = MeshType
  1758. Msh.MeshId = MeshId
  1759. end
  1760. return Msh
  1761. end
  1762. },
  1763. Weld = {
  1764. Create = function(Parent, Part0, Part1, C0, C1)
  1765. local Weld = Create("Weld")({
  1766. Parent = Parent,
  1767. Part0 = Part0,
  1768. Part1 = Part1,
  1769. C0 = C0,
  1770. C1 = C1
  1771. })
  1772. return Weld
  1773. end
  1774. },
  1775. Sound = {
  1776. Create = function(id, par, vol, pit)
  1777. coroutine.resume(coroutine.create(function()
  1778. local S = Create("Sound")({
  1779. Volume = vol,
  1780. Pitch = pit or 1,
  1781. SoundId = id,
  1782. Parent = par or workspace
  1783. })
  1784. wait()
  1785. S:play()
  1786. game:GetService("Debris"):AddItem(S, 6)
  1787. end))
  1788. end
  1789. },
  1790. ParticleEmitter = {
  1791. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1792. local fp = Create("ParticleEmitter")({
  1793. Parent = Parent,
  1794. Color = ColorSequence.new(Color1, Color2),
  1795. LightEmission = LightEmission,
  1796. Size = Size,
  1797. Texture = Texture,
  1798. Transparency = Transparency,
  1799. ZOffset = ZOffset,
  1800. Acceleration = Accel,
  1801. Drag = Drag,
  1802. LockedToPart = LockedToPart,
  1803. VelocityInheritance = VelocityInheritance,
  1804. EmissionDirection = EmissionDirection,
  1805. Enabled = Enabled,
  1806. Lifetime = LifeTime,
  1807. Rate = Rate,
  1808. Rotation = Rotation,
  1809. RotSpeed = RotSpeed,
  1810. Speed = Speed,
  1811. VelocitySpread = VelocitySpread
  1812. })
  1813. return fp
  1814. end
  1815. }
  1816. }
  1817. function RemoveOutlines(part)
  1818. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1819. end
  1820. function CreatePart1(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1821. local Part = Create("Part")({
  1822. formFactor = FormFactor,
  1823. Parent = Parent,
  1824. Reflectance = Reflectance,
  1825. Transparency = Transparency,
  1826. CanCollide = false,
  1827. Locked = true,
  1828. BrickColor = BrickColor.new(tostring(BColor)),
  1829. Name = Name,
  1830. Size = Size,
  1831. Material = Material
  1832. })
  1833. RemoveOutlines(Part)
  1834. return Part
  1835. end
  1836. function CreateMesh1(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1837. local Msh = Create(Mesh)({
  1838. Parent = Part,
  1839. Offset = OffSet,
  1840. Scale = Scale
  1841. })
  1842. if Mesh == "SpecialMesh" then
  1843. Msh.MeshType = MeshType
  1844. Msh.MeshId = MeshId
  1845. end
  1846. return Msh
  1847. end
  1848. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1849. local Weld = Create("Weld")({
  1850. Parent = Parent,
  1851. Part0 = Part0,
  1852. Part1 = Part1,
  1853. C0 = C0,
  1854. C1 = C1
  1855. })
  1856. return Weld
  1857. end
  1858.  
  1859. abss = Instance.new("BillboardGui",char)
  1860. abss.Size = UDim2.new(10,0,10,0)
  1861. abss.Enabled = false
  1862. imgl = Instance.new("ImageLabel",abss)
  1863. imgl.Position = UDim2.new(0,0,0,0)
  1864. imgl.Size = UDim2.new(1,0,1,0)
  1865. imgl.Image = "rbxassetid://153485522"
  1866. imgl.BackgroundTransparency = 1
  1867. imgl.ImageColor3 = Color3.new(.9,0,0)
  1868. img2 = Instance.new("ImageLabel",abss)
  1869. img2.Position = UDim2.new(0,0,0,0)
  1870. img2.Size = UDim2.new(1,0,1,0)
  1871. img2.Image = "rbxassetid://153485522"
  1872. img2.BackgroundTransparency = 1
  1873. img2.ImageColor3 = Color3.new(.9,0,0)
  1874.  
  1875. function TargetSelect(person)
  1876. local dd=coroutine.wrap(function()
  1877. if targetted ~= person then
  1878. targetted = person
  1879. img2.Size = UDim2.new(1,0,1,0)
  1880. img2.ImageTransparency = 0
  1881. img2.Position = UDim2.new(0,0,0,0)
  1882. for i = 0, 2, 0.1 do
  1883. swait()
  1884. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  1885. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  1886. img2.ImageTransparency = img2.ImageTransparency + 0.05
  1887. end
  1888. end
  1889. end)
  1890. dd()
  1891. end
  1892.  
  1893. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1894. local NEWWELD = IT(TYPE)
  1895. NEWWELD.Part0 = PART0
  1896. NEWWELD.Part1 = PART1
  1897. NEWWELD.C0 = C0
  1898. NEWWELD.C1 = C1
  1899. NEWWELD.Parent = PARENT
  1900. return NEWWELD
  1901. end
  1902.  
  1903. local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0))
  1904.  
  1905. local Blood1 = Create("ParticleEmitter")({
  1906. Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)),
  1907. Transparency = NumberSequence.new(0.1, 1),
  1908. Size = NumberSequence.new(0.5, 0),
  1909. Texture = "rbxassetid://602578593",
  1910. Lifetime = NumberRange.new(0.8),
  1911. Rate = 255,
  1912. VelocitySpread = 40,
  1913. Rotation = NumberRange.new(100),
  1914. Speed = NumberRange.new(5),
  1915. LightEmission = 0,
  1916. LockedToPart = false,
  1917. Acceleration = Vector3.new(0, -10, 0),
  1918. EmissionDirection = "Bottom"
  1919. })
  1920. function Sayonara()
  1921. local target = nil
  1922. local targettorso = nil
  1923. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1924. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1925. target = mouse.Target.Parent.Humanoid
  1926. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1927. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1928. targetrightarm = mouse.Target.Parent:FindFirstChild("Right Arm")
  1929. targetleftarm = mouse.Target.Parent:FindFirstChild("Left Arm")
  1930. end
  1931. end
  1932. if target ~= nil then
  1933. targettorso.Anchored = true
  1934. attack = true
  1935. hum.WalkSpeed = 0
  1936. root.CFrame = targettorso.CFrame * CF(0,0,2.4)
  1937. for i = 0,6.2,0.1 do
  1938. swait()
  1939. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1940. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(0)), 0.3)
  1941. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  1942. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  1943. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1)
  1944. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-10)), 0.1)
  1945. end
  1946. do
  1947. CreateSound("429400881", targettorso, 5, 1)
  1948. local ModelArm02 = New("Model", char, "Arm", {})
  1949. local ModelArm03 = New("Model", char, "Arm", {})
  1950. local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {})
  1951. local Humanoid03 = New("Humanoid", ModelArm03, "Humanoid", {})
  1952. local Arm02 = targetleftarm:Clone()
  1953. local Arm03 = targetrightarm:Clone()
  1954. targetleftarm.Transparency = 1
  1955. targetrightarm.Transparency = 1
  1956. Arm02.Parent = ModelArm02
  1957. Arm03.Parent = ModelArm03
  1958. for i, v in pairs(Arm02:GetChildren()) do
  1959. v:Destroy()
  1960. end
  1961. for i, v in pairs(Arm03:GetChildren()) do
  1962. v:Destroy()
  1963. end
  1964. local weldArm02 = Instance.new("Weld")
  1965. weldArm02.Parent = Arm02
  1966. weldArm02.Part0 = targetleftarm
  1967. weldArm02.Part1 = Arm02
  1968. weldArm02.C1 = CFrame.new(0, 0, 0)
  1969. local weldArm03 = Instance.new("Weld")
  1970. weldArm03.Parent = Arm03
  1971. weldArm03.Part0 = targetrightarm
  1972. weldArm03.Part1 = Arm03
  1973. weldArm03.C1 = CFrame.new(0, 0, 0)
  1974. for i, v in pairs(target:GetChildren()) do
  1975. if v:IsA("Shirt") then
  1976. v:clone().Parent = ModelArm02
  1977. end
  1978. end
  1979. for i, v in pairs(target:GetChildren()) do
  1980. if v:IsA("Shirt") then
  1981. v:clone().Parent = ModelArm03
  1982. end
  1983. end
  1984. weldArm02.Part0 = la
  1985. weldArm02.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  1986. weldArm03.Part0 = ra
  1987. weldArm03.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  1988. local BE1 = Blood1:Clone()
  1989. BE1.Parent = targetleftarm
  1990. game:GetService("Debris"):AddItem(BE1, 3)
  1991. BE1.Rate = 255
  1992. local BE2 = Blood1:Clone()
  1993. BE2.Parent = targetrightarm
  1994. game:GetService("Debris"):AddItem(BE2, 3)
  1995. BE2.Rate = 255
  1996. for i = 0,6.2,0.1 do
  1997. swait()
  1998. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
  1999. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2000. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  2001. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  2002. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
  2003. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  2004. end
  2005. for i = 0,6.2,0.1 do
  2006. swait()
  2007. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2008. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2009. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  2010. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  2011. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(15)), 0.1)
  2012. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(-15)), 0.1)
  2013. end
  2014. CreateSound("541909763", targettorso, 5, .8)
  2015. weldArm02:Destroy()
  2016. Arm02.CanCollide = true
  2017. weldArm03:Destroy()
  2018. Arm03.CanCollide = true
  2019. local bodyVelocity2 = Create("BodyVelocity")({
  2020. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  2021. P = 5000,
  2022. maxForce = Vector3.new(8000, 8000, 8000),
  2023. Parent = Arm02
  2024. })
  2025. local bodyVelocity3 = Create("BodyVelocity")({
  2026. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  2027. P = 5000,
  2028. maxForce = Vector3.new(8000, 8000, 8000),
  2029. Parent = Arm03
  2030. })
  2031. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  2032. game:GetService("Debris"):AddItem(bodyVelocity3, 0.05)
  2033. for i = 0,6.2,0.1 do
  2034. swait()
  2035. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  2036. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2037. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15)
  2038. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  2039. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(15)), 0.1)
  2040. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(-15)), 0.1)
  2041. end
  2042. for i = 0,6.2,0.1 do
  2043. swait()
  2044. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2045. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2046. RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(90)), 0.15)
  2047. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  2048. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1)
  2049. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1)
  2050. end
  2051. targettorso:Remove()
  2052. for i = 0,6.2,0.1 do
  2053. swait()
  2054. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -2.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  2055. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2056. RH.C0 = clerp(RH.C0, CF(1, -0.2 - 0.1 * Cos(sine / 20), -.5 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(90)), 0.15)
  2057. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-35)), 0.15)
  2058. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55), Rad(0), Rad(15)), 0.1)
  2059. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55), Rad(0), Rad(-15)), 0.1)
  2060. end
  2061. end
  2062. targettorso.Anchored = false
  2063. attack = false
  2064. hum.WalkSpeed = 16
  2065. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  2066. end
  2067. end
  2068.  
  2069. -------------------------------------------------------
  2070. --Start Effect Function--
  2071. -------------------------------------------------------
  2072. EffectModel = Instance.new("Model", char)
  2073. Effects = {
  2074. Block = {
  2075. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2076. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2077. prt.Anchored = true
  2078. prt.CFrame = cframe
  2079. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2080. game:GetService("Debris"):AddItem(prt, 10)
  2081. if Type == 1 or Type == nil then
  2082. table.insert(Effects, {
  2083. prt,
  2084. "Block1",
  2085. delay,
  2086. x3,
  2087. y3,
  2088. z3,
  2089. msh
  2090. })
  2091. elseif Type == 2 then
  2092. table.insert(Effects, {
  2093. prt,
  2094. "Block2",
  2095. delay,
  2096. x3,
  2097. y3,
  2098. z3,
  2099. msh
  2100. })
  2101. else
  2102. table.insert(Effects, {
  2103. prt,
  2104. "Block3",
  2105. delay,
  2106. x3,
  2107. y3,
  2108. z3,
  2109. msh
  2110. })
  2111. end
  2112. end
  2113. },
  2114. Sphere = {
  2115. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2116. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2117. prt.Anchored = true
  2118. prt.CFrame = cframe
  2119. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2120. game:GetService("Debris"):AddItem(prt, 10)
  2121. table.insert(Effects, {
  2122. prt,
  2123. "Cylinder",
  2124. delay,
  2125. x3,
  2126. y3,
  2127. z3,
  2128. msh
  2129. })
  2130. end
  2131. },
  2132. Cylinder = {
  2133. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2134. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2135. prt.Anchored = true
  2136. prt.CFrame = cframe
  2137. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2138. game:GetService("Debris"):AddItem(prt, 10)
  2139. table.insert(Effects, {
  2140. prt,
  2141. "Cylinder",
  2142. delay,
  2143. x3,
  2144. y3,
  2145. z3,
  2146. msh
  2147. })
  2148. end
  2149. },
  2150. Wave = {
  2151. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2152. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2153. prt.Anchored = true
  2154. prt.CFrame = cframe
  2155. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  2156. game:GetService("Debris"):AddItem(prt, 10)
  2157. table.insert(Effects, {
  2158. prt,
  2159. "Cylinder",
  2160. delay,
  2161. x3 / 60,
  2162. y3 / 60,
  2163. z3 / 60,
  2164. msh
  2165. })
  2166. end
  2167. },
  2168. Ring = {
  2169. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2170. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2171. prt.Anchored = true
  2172. prt.CFrame = cframe
  2173. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2174. game:GetService("Debris"):AddItem(prt, 10)
  2175. table.insert(Effects, {
  2176. prt,
  2177. "Cylinder",
  2178. delay,
  2179. x3,
  2180. y3,
  2181. z3,
  2182. msh
  2183. })
  2184. end
  2185. },
  2186. Break = {
  2187. Create = function(brickcolor, cframe, x1, y1, z1)
  2188. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2189. prt.Anchored = true
  2190. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2191. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2192. local num = math.random(10, 50) / 1000
  2193. game:GetService("Debris"):AddItem(prt, 10)
  2194. table.insert(Effects, {
  2195. prt,
  2196. "Shatter",
  2197. num,
  2198. prt.CFrame,
  2199. math.random() - math.random(),
  2200. 0,
  2201. math.random(50, 100) / 100
  2202. })
  2203. end
  2204. },
  2205. Spiral = {
  2206. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2207. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2208. prt.Anchored = true
  2209. prt.CFrame = cframe
  2210. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2211. game:GetService("Debris"):AddItem(prt, 10)
  2212. table.insert(Effects, {
  2213. prt,
  2214. "Cylinder",
  2215. delay,
  2216. x3,
  2217. y3,
  2218. z3,
  2219. msh
  2220. })
  2221. end
  2222. },
  2223. Push = {
  2224. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2225. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2226. prt.Anchored = true
  2227. prt.CFrame = cframe
  2228. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2229. game:GetService("Debris"):AddItem(prt, 10)
  2230. table.insert(Effects, {
  2231. prt,
  2232. "Cylinder",
  2233. delay,
  2234. x3,
  2235. y3,
  2236. z3,
  2237. msh
  2238. })
  2239. end
  2240. }
  2241. }
  2242. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  2243. local fp = IT("Part")
  2244. fp.formFactor = formfactor
  2245. fp.Parent = parent
  2246. fp.Reflectance = reflectance
  2247. fp.Transparency = transparency
  2248. fp.CanCollide = false
  2249. fp.Locked = true
  2250. fp.BrickColor = brickcolor
  2251. fp.Name = name
  2252. fp.Size = size
  2253. fp.Position = tors.Position
  2254. RemoveOutlines(fp)
  2255. fp.Material = "Neon"
  2256. fp:BreakJoints()
  2257. return fp
  2258. end
  2259.  
  2260. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2261. local mesh = IT(Mesh)
  2262. mesh.Parent = part
  2263. if Mesh == "SpecialMesh" then
  2264. mesh.MeshType = meshtype
  2265. if meshid ~= "nil" then
  2266. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  2267. end
  2268. end
  2269. mesh.Offset = offset
  2270. mesh.Scale = scale
  2271. return mesh
  2272. end
  2273.  
  2274. function MagicCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  2275. local type = type
  2276. local rng = Instance.new("Part", char)
  2277. rng.Anchored = true
  2278. rng.BrickColor = color
  2279. rng.CanCollide = false
  2280. rng.FormFactor = 3
  2281. rng.Name = "Ring"
  2282. rng.Material = "Neon"
  2283. rng.Size = Vector3.new(1, 1, 1)
  2284. rng.Transparency = 1
  2285. rng.TopSurface = 0
  2286. rng.BottomSurface = 0
  2287. rng.CFrame = pos
  2288. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2289. local rngm = Instance.new("SpecialMesh", rng)
  2290. rngm.MeshType = MType
  2291. rngm.Scale = Vector3.new(x1, y1, z1)
  2292. local scaler2 = 1
  2293. local speeder = FastSpeed
  2294. if type == "Add" then
  2295. scaler2 = 1 * value
  2296. elseif type == "Divide" then
  2297. scaler2 = 1 / value
  2298. end
  2299. coroutine.resume(coroutine.create(function()
  2300. for i = 0, 10 / bonuspeed, 0.1 do
  2301. swait()
  2302. if type == "Add" then
  2303. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2304. elseif type == "Divide" then
  2305. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2306. end
  2307. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2308. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2309. rng.Transparency = rng.Transparency - 0.01 * bonuspeed
  2310. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2311. end
  2312. rng:Destroy()
  2313. end))
  2314. end
  2315.  
  2316. local PlayerSize = 1
  2317. local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh")
  2318. FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  2319. RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  2320. LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  2321. RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  2322. LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",Vector3.new(PlayerSize,PlayerSize,PlayerSize)
  2323.  
  2324. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  2325. local type = type
  2326. local rng = Instance.new("Part", char)
  2327. rng.Anchored = true
  2328. rng.BrickColor = color
  2329. rng.CanCollide = false
  2330. rng.FormFactor = 3
  2331. rng.Name = "Ring"
  2332. rng.Material = "Neon"
  2333. rng.Size = Vector3.new(1, 1, 1)
  2334. rng.Transparency = 0
  2335. rng.TopSurface = 0
  2336. rng.BottomSurface = 0
  2337. rng.CFrame = pos
  2338. local rngm = Instance.new("SpecialMesh", rng)
  2339. rngm.MeshType = MType
  2340. rngm.Scale = scale
  2341. local scaler2 = 1
  2342. if type == "Add" then
  2343. scaler2 = 1 * value
  2344. elseif type == "Divide" then
  2345. scaler2 = 1 / value
  2346. end
  2347. coroutine.resume(coroutine.create(function()
  2348. for i = 0, 10 / bonuspeed, 0.1 do
  2349. swait()
  2350. if type == "Add" then
  2351. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2352. elseif type == "Divide" then
  2353. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2354. end
  2355. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2356. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  2357. end
  2358. rng:Destroy()
  2359. end))
  2360. end
  2361.  
  2362. function Eviscerate(dude)
  2363. if dude.Name ~= char then
  2364. local bgf = IT("BodyGyro", dude.Head)
  2365. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  2366. local val = IT("BoolValue", dude)
  2367. val.Name = "IsHit"
  2368. local ds = coroutine.wrap(function()
  2369. dude:WaitForChild("Head"):BreakJoints()
  2370. wait(0.5)
  2371. target = nil
  2372. coroutine.resume(coroutine.create(function()
  2373. for i, v in pairs(dude:GetChildren()) do
  2374. if v:IsA("Accessory") then
  2375. v:Destroy()
  2376. end
  2377. if v:IsA("Humanoid") then
  2378. v:Destroy()
  2379. end
  2380. if v:IsA("CharacterMesh") then
  2381. v:Destroy()
  2382. end
  2383. if v:IsA("Model") then
  2384. v:Destroy()
  2385. end
  2386. if v:IsA("Part") or v:IsA("MeshPart") then
  2387. for x, o in pairs(v:GetChildren()) do
  2388. if o:IsA("Decal") then
  2389. o:Destroy()
  2390. end
  2391. end
  2392. coroutine.resume(coroutine.create(function()
  2393. v.Material = "Neon"
  2394. v.CanCollide = false
  2395. local PartEmmit1 = IT("ParticleEmitter", v)
  2396. PartEmmit1.LightEmission = 1
  2397. PartEmmit1.Texture = "rbxassetid://284205403"
  2398. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2399. PartEmmit1.Rate = 150
  2400. PartEmmit1.Lifetime = NumberRange.new(1)
  2401. PartEmmit1.Size = NumberSequence.new({
  2402. NumberSequenceKeypoint.new(0, 0.75, 0),
  2403. NumberSequenceKeypoint.new(1, 0, 0)
  2404. })
  2405. PartEmmit1.Transparency = NumberSequence.new({
  2406. NumberSequenceKeypoint.new(0, 0, 0),
  2407. NumberSequenceKeypoint.new(1, 1, 0)
  2408. })
  2409. PartEmmit1.Speed = NumberRange.new(0, 0)
  2410. PartEmmit1.VelocitySpread = 30000
  2411. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  2412. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  2413. local BodPoss = IT("BodyPosition", v)
  2414. BodPoss.P = 3000
  2415. BodPoss.D = 1000
  2416. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2417. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  2418. v.Color = maincolor.Color
  2419. coroutine.resume(coroutine.create(function()
  2420. for i = 0, 49 do
  2421. swait(1)
  2422. v.Transparency = v.Transparency + 0.08
  2423. end
  2424. wait(0.5)
  2425. PartEmmit1.Enabled = false
  2426. wait(3)
  2427. v:Destroy()
  2428. dude:Destroy()
  2429. end))
  2430. end))
  2431. end
  2432. end
  2433. end))
  2434. end)
  2435. ds()
  2436. end
  2437. end
  2438.  
  2439. function FindNearestHead(Position, Distance, SinglePlayer)
  2440. if SinglePlayer then
  2441. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  2442. end
  2443. local List = {}
  2444. for i, v in pairs(workspace:GetChildren()) do
  2445. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  2446. table.insert(List, v)
  2447. end
  2448. end
  2449. return List
  2450. end
  2451.  
  2452. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  2453. local type = type
  2454. local rng = Instance.new("Part", char)
  2455. rng.Anchored = true
  2456. rng.BrickColor = color
  2457. rng.CanCollide = false
  2458. rng.FormFactor = 3
  2459. rng.Name = "Ring"
  2460. rng.Material = "Neon"
  2461. rng.Size = Vector3.new(1, 1, 1)
  2462. rng.Transparency = 0
  2463. rng.TopSurface = 0
  2464. rng.BottomSurface = 0
  2465. rng.CFrame = pos
  2466. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2467. local rngm = Instance.new("SpecialMesh", rng)
  2468. rngm.MeshType = MType
  2469. rngm.Scale = Vector3.new(x1, y1, z1)
  2470. local scaler2 = 1
  2471. local speeder = FastSpeed
  2472. if type == "Add" then
  2473. scaler2 = 1 * value
  2474. elseif type == "Divide" then
  2475. scaler2 = 1 / value
  2476. end
  2477. coroutine.resume(coroutine.create(function()
  2478. for i = 0, 10 / bonuspeed, 0.1 do
  2479. swait()
  2480. if type == "Add" then
  2481. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2482. elseif type == "Divide" then
  2483. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2484. end
  2485. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2486. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2487. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2488. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2489. end
  2490. rng:Destroy()
  2491. end))
  2492. end
  2493.  
  2494. function SoulSteal(dude)
  2495. if dude.Name ~= char then
  2496. local bgf = IT("BodyGyro", dude.Head)
  2497. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  2498. local val = IT("BoolValue", dude)
  2499. val.Name = "IsHit"
  2500. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  2501. local soulst = coroutine.wrap(function()
  2502. local soul = Instance.new("Part",dude)
  2503. soul.Size = Vector3.new(1,1,1)
  2504. soul.CanCollide = false
  2505. soul.Anchored = false
  2506. soul.Position = torso.Position
  2507. soul.Transparency = 1
  2508. local PartEmmit1 = IT("ParticleEmitter", soul)
  2509. PartEmmit1.LightEmission = 1
  2510. PartEmmit1.Texture = "rbxassetid://569507414"
  2511. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2512. PartEmmit1.Rate = 250
  2513. PartEmmit1.Lifetime = NumberRange.new(1.6)
  2514. PartEmmit1.Size = NumberSequence.new({
  2515. NumberSequenceKeypoint.new(0, 1, 0),
  2516. NumberSequenceKeypoint.new(1, 0, 0)
  2517. })
  2518. PartEmmit1.Transparency = NumberSequence.new({
  2519. NumberSequenceKeypoint.new(0, 0, 0),
  2520. NumberSequenceKeypoint.new(1, 1, 0)
  2521. })
  2522. PartEmmit1.Speed = NumberRange.new(0, 0)
  2523. PartEmmit1.VelocitySpread = 30000
  2524. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  2525. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  2526. local BodPoss = IT("BodyPosition", soul)
  2527. BodPoss.P = 3000
  2528. BodPoss.D = 1000
  2529. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2530. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  2531. wait(1.6)
  2532. soul.Touched:connect(function(hit)
  2533. if hit.Parent == char then
  2534. soul:Destroy()
  2535. end
  2536. end)
  2537. wait(1.2)
  2538. while soul do
  2539. swait()
  2540. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2541. BodPoss.Position = tors.Position
  2542. end
  2543. end)
  2544. soulst()
  2545. end
  2546. end
  2547. function FaceMouse()
  2548. local Cam = workspace.CurrentCamera
  2549. return {
  2550. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2551. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2552. }
  2553. end
  2554. -------------------------------------------------------
  2555. --End Effect Function--
  2556. -------------------------------------------------------
  2557. function Cso(ID, PARENT, VOLUME, PITCH)
  2558. local NSound = nil
  2559. coroutine.resume(coroutine.create(function()
  2560. NSound = IT("Sound", PARENT)
  2561. NSound.Volume = VOLUME
  2562. NSound.Pitch = PITCH
  2563. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  2564. swait()
  2565. NSound:play()
  2566. game:GetService("Debris"):AddItem(NSound, 10)
  2567. end))
  2568. return NSound
  2569. end
  2570. function CameraEnshaking(Length, Intensity)
  2571. coroutine.resume(coroutine.create(function()
  2572. local intensity = 1 * Intensity
  2573. local rotM = 0.01 * Intensity
  2574. for i = 0, Length, 0.1 do
  2575. swait()
  2576. intensity = intensity - 0.05 * Intensity / Length
  2577. rotM = rotM - 5.0E-4 * Intensity / Length
  2578. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  2579. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  2580. end
  2581. hum.CameraOffset = Vector3.new(0, 0, 0)
  2582. end))
  2583. end
  2584. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  2585. local Hitboxpart = Instance.new("Part", EffectModel)
  2586. RemoveOutlines(Hitboxpart)
  2587. Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  2588. Hitboxpart.CanCollide = false
  2589. Hitboxpart.Transparency = 1
  2590. Hitboxpart.Anchored = true
  2591. Hitboxpart.CFrame = Pose
  2592. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  2593. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  2594. end
  2595. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2596. local prt = CreatePart1(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2597. prt.Anchored = true
  2598. prt.CFrame = cframe
  2599. local msh = CreateMesh1("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2600. game:GetService("Debris"):AddItem(prt, 10)
  2601. if Type == 1 or Type == nil then
  2602. table.insert(Effects, {
  2603. prt,
  2604. "Block1",
  2605. delay,
  2606. x3,
  2607. y3,
  2608. z3,
  2609. msh
  2610. })
  2611. elseif Type == 2 then
  2612. table.insert(Effects, {
  2613. prt,
  2614. "Block2",
  2615. delay,
  2616. x3,
  2617. y3,
  2618. z3,
  2619. msh
  2620. })
  2621. elseif Type == 3 then
  2622. table.insert(Effects, {
  2623. prt,
  2624. "Block3",
  2625. delay,
  2626. x3,
  2627. y3,
  2628. z3,
  2629. msh
  2630. })
  2631. end
  2632. end
  2633.  
  2634. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2635. local Part = Create("Part"){
  2636. Parent = Parent,
  2637. Reflectance = Reflectance,
  2638. Transparency = Transparency,
  2639. CanCollide = false,
  2640. Locked = true,
  2641. BrickColor = BrickColor.new(tostring(BColor)),
  2642. Name = Name,
  2643. Size = Size,
  2644. Material = Material,
  2645. }
  2646. RemoveOutlines(Part)
  2647. return Part
  2648. end
  2649.  
  2650. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2651. local Msh = Create(Mesh){
  2652. Parent = Part,
  2653. Offset = OffSet,
  2654. Scale = Scale,
  2655. }
  2656. if Mesh == "SpecialMesh" then
  2657. Msh.MeshType = MeshType
  2658. Msh.MeshId = MeshId
  2659. end
  2660. return Msh
  2661. end
  2662.  
  2663. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2664. local prt = CreatePart(workspace,"Neon",0,0,brickcolor,"Effect", Vector3.new(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2665. prt.Anchored = true
  2666. prt.CFrame = cframe
  2667. local msh = CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
  2668. game:GetService("Debris"):AddItem(prt,2)
  2669. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  2670. for i=0,1,delay do
  2671. swait()
  2672. Part.Transparency=i
  2673. Mesh.Scale=Mesh.Scale + Vector3.new(x3,y3,z3)
  2674. end
  2675. Part.Parent=nil
  2676. end),prt,msh,(math.random(0,1)+math.random())/5)
  2677. end
  2678. -------------------------------------------------------
  2679. --End Important Functions--
  2680. -------------------------------------------------------
  2681. -------------------------------------------------------
  2682.  
  2683. --[[
  2684. Thanks for using Build-To-Lua by jarredbcv.
  2685. ]]--
  2686.  
  2687. New = function(Object, Parent, Name, Data)
  2688. local Object = Instance.new(Object)
  2689. for Index, Value in pairs(Data or {}) do
  2690. Object[Index] = Value
  2691. end
  2692. Object.Parent = Parent
  2693. Object.Name = Name
  2694. return Object
  2695. end
  2696.  
  2697. Gaunty = New("Model",char,"Gaunty",{})
  2698. Handle = New("Part",Gaunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1.26999998, 1),CFrame = CFrame.new(-5.67319345, 3.02064276, -77.6615906, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2699. Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  2700. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765579, 3.62595344, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2701. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161155701, 0.603512526, 0.00862884521, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2702. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 3.62595367, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2703. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471122265, 0.600126028, 0.00564575195, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2704. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.5176549, 3.62595415, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2705. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812294, 0.606899738, 0.0116195679, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2706. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765471, 3.62595463, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2707. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.448780537, 0.610177517, 0.014503479, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2708. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2709. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.459102631, -0.489744425, -0.00598144531, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2710. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765627, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2711. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149136543, -0.486357927, -0.00299835205, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2712. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.51765537, 2.53595448, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2713. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160831451, -0.48297143, -1.52587891e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2714. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765566, 2.53595424, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2715. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460799217, -0.479694128, 0.00286865234, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2716. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.66865063, 3.64553881, -77.6613617, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2717. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  2718. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(-0.00235080719, 0.624869347, 0.00694274902, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2719. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 3.73544312, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2720. Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  2721. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.000443935394, 0.714845657, 0.00408172607, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2722. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480446, 3.52554965, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2723. Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  2724. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00275993347, 0.504870415, 0.0118331909, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2725. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.6686511, 2.55553746, -77.6613541, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2726. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  2727. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00966835022, -0.465003252, -0.00468444824, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2728. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 2.64544272, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2729. Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  2730. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0124630928, -0.375026226, -0.00754547119, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2731. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480494, 2.43554902, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2732. Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  2733. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0147790909, -0.585001707, 0.000205993652, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2734. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595463, -78.1079407, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2735. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.0018901825, 0.61005497, -0.439842224, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2736. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595558, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2737. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00464963913, 0.606931448, -0.149864197, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2738. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595606, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2739. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00278997421, 0.603431463, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2740. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595654, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2741. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00554895401, 0.600307703, 0.470123291, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2742. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595638, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2743. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0064702034, -0.489563704, 0.458496094, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2744. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595614, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2745. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00922966003, -0.486439705, 0.168525696, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2746. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265558, 2.53595638, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2747. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00736999512, -0.482939243, -0.161483765, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2748. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 2.53595614, -78.1079254, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2749. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0101289749, -0.479815245, -0.451454163, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2750. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765547, 3.62595677, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2751. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00554943085, 0.600307941, 0.47013092, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2752. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 3.62595701, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2753. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00278949738, 0.603432655, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2754. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2755. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.000350952148, 0.606987953, -0.149810791, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2756. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2757. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00311040878, 0.61011219, -0.439788818, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2758. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595734, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2759. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0151295662, -0.479759216, -0.451416016, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2760. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2761. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0123701096, -0.482883692, -0.161437988, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2762. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.4879227, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2763. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00923013687, -0.48643899, 0.168533325, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2764. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595686, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2765. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00647068024, -0.489563227, 0.458503723, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2766. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765478, 3.62595701, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2767. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471121788, 0.600129128, 0.00566101074, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2768. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765484, 3.62595725, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2769. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161154747, 0.603516102, 0.008644104, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2770. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765442, 3.62595773, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2771. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812771, 0.606903076, 0.0116348267, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2772. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765375, 3.6259582, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2773. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.44878149, 0.610180855, 0.0145187378, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2774. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765327, 2.53595781, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2775. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460801125, -0.47969079, 0.00289154053, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2776. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765299, 2.53595757, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2777. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160833359, -0.48296833, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2778. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765341, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2779. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149133682, -0.486355066, -0.00299072266, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2780. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765383, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2781. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.4591012, -0.489741802, -0.00597381592, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2782. NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203499, 3.4509573, -77.7865677, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2783. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00760126114, 0.431732178, -0.120269775, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2784. NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203451, 3.45095778, -77.5215683, -1.0000006, -6.18456397e-10, -9.12696123e-08, 6.18456397e-10, 1.0000006, -4.65661287e-09, 8.38190317e-08, 4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2785. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1),C1 = CFrame.new(0.00508022308, 0.428877592, 0.144706726, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2786. NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203403, 2.81095791, -77.7865601, -1.0000006, 8.81700544e-08, 3.7252903e-09, -8.69331416e-08, -1.0000006, 4.65661287e-09, -3.7252903e-09, -4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2787. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -8.74227766e-08, 0, 8.74227766e-08, -1, 0, 0, 0, 1),C1 = CFrame.new(0.0146594048, -0.208191872, -0.127082825, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2788. NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203356, 2.8209579, -77.5215607, 1.0000006, -8.69331416e-08, 8.38190317e-08, -8.81700544e-08, -1.0000006, -4.65661287e-09, 9.12696123e-08, -4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2789. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -8.74227766e-08, 8.74227766e-08, -8.74227766e-08, -1, -7.64274186e-15, 8.74227766e-08, 0, -1),C1 = CFrame.new(0.0120282173, -0.201047897, 0.137992859, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2790. Wedge = New("WedgePart",Gaunty,"Wedge",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.1099999, 0.569999993, 1.13),CFrame = CFrame.new(-5.6508193, 4.06113148, -77.6620178, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2791. mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.0109024048, 1.04061508, 0.010887146, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2792.  
  2793.  
  2794. for _,v in next, Gaunty:children() do
  2795. v.CanCollide = false
  2796. end
  2797. local all, last = {}, nil
  2798. ArmourParts = {}
  2799. NeonParts = {}
  2800. function scan(p)
  2801. for _, v in pairs(p:GetChildren()) do
  2802. if v:IsA("BasePart") then
  2803. if v.BrickColor == BrickColor.new("Black") then
  2804. table.insert(ArmourParts, v)
  2805. end
  2806. if v.BrickColor == BrickColor.new("Institutional white") then
  2807. table.insert(NeonParts, v)
  2808. end
  2809. if last then
  2810. local w = Instance.new("Weld")
  2811. w.Part0, w.Part1 = last, v
  2812. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  2813. w.Parent = last
  2814. end
  2815. table.insert(all, v)
  2816. last = v
  2817. end
  2818. scan(v)
  2819. end
  2820. end
  2821. scan(Gaunty)
  2822. local all2, last2 = {}, nil
  2823. ArmourParts2 = {}
  2824. NeonParts2 = {}
  2825. function scan2(p)
  2826. for _, v in pairs(p:GetChildren()) do
  2827. if v:IsA("BasePart") then
  2828. if v.BrickColor == BrickColor.new("Black") then
  2829. table.insert(ArmourParts2, v)
  2830. end
  2831. if v.BrickColor == BrickColor.new("Institutional white") then
  2832. table.insert(NeonParts2, v)
  2833. end
  2834. if last2 then
  2835. local w = Instance.new("Weld")
  2836. w.Part0, w.Part1 = last2, v
  2837. w.C0 = v.CFrame:toObjectSpace(last2.CFrame):inverse()
  2838. w.Parent = last2
  2839. end
  2840. table.insert(all2, v)
  2841. last2 = v
  2842. end
  2843. scan2(v)
  2844. end
  2845. end
  2846. local EyeSizes={
  2847. NumberSequenceKeypoint.new(0,0.65,0),
  2848. NumberSequenceKeypoint.new(0.5,0.7,0),
  2849. NumberSequenceKeypoint.new(1,0,0)
  2850. }
  2851. local EyeTrans={
  2852. NumberSequenceKeypoint.new(0,0,0),
  2853. NumberSequenceKeypoint.new(0.5,0,0),
  2854. NumberSequenceKeypoint.new(1,1,0)
  2855. }
  2856. local PE2=Instance.new("ParticleEmitter", ra)
  2857. PE2.LightEmission=.9
  2858. PE2.Color = ColorSequence.new(BrickC("Really red").Color,BrickC("Really blue").Color)
  2859. PE2.Transparency=NumberSequence.new(EyeTrans)
  2860. PE2.Lifetime=NumberRange.new(0.35)
  2861. PE2.Rotation=NumberRange.new(0,360)
  2862. PE2.Rate=999
  2863. PE2.VelocitySpread = 10000
  2864. PE2.Acceleration = Vector3.new(0,25,0)
  2865. PE2.ZOffset = 0.5
  2866. PE2.Drag = 0
  2867. PE2.Speed = NumberRange.new(0,0,0)
  2868. PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  2869. PE2.Name = "PE2"
  2870. PE2.Enabled = true
  2871. PE2.LockedToPart = true
  2872. local EyeSizes={
  2873. NumberSequenceKeypoint.new(0,0.65,0),
  2874. NumberSequenceKeypoint.new(0.5,0.7,0),
  2875. NumberSequenceKeypoint.new(1,0,0)
  2876. }
  2877. local EyeTrans={
  2878. NumberSequenceKeypoint.new(0,0,0),
  2879. NumberSequenceKeypoint.new(0.5,0,0),
  2880. NumberSequenceKeypoint.new(1,1,0)
  2881. }
  2882. local PE3=Instance.new("ParticleEmitter", ra)
  2883. PE3.LightEmission=.9
  2884. PE3.Color = ColorSequence.new(BrickC("Lime green").Color,BrickC("Really blue").Color)
  2885. PE3.Transparency=NumberSequence.new(EyeTrans)
  2886. PE3.Lifetime=NumberRange.new(0.35)
  2887. PE3.Rotation=NumberRange.new(0,360)
  2888. PE3.Rate=999
  2889. PE3.VelocitySpread = 10000
  2890. PE3.Acceleration = Vector3.new(0,25,0)
  2891. PE3.ZOffset = 0.5
  2892. PE3.Drag = 0
  2893. PE3.Speed = NumberRange.new(0,0,0)
  2894. PE3.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  2895. PE3.Name = "PE3"
  2896. PE3.Enabled = true
  2897. PE3.LockedToPart = true
  2898.  
  2899.  
  2900. NewInstance = function(instance,parent,properties)
  2901. local inst = Instance.new(instance,parent)
  2902. if(properties)then
  2903. for i,v in next, properties do
  2904. pcall(function() inst[i] = v end)
  2905. end
  2906. end
  2907. return inst;
  2908. end
  2909.  
  2910. local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(0,-.51,0)})
  2911. local HW2 = NewInstance('Motor', char, {Part0 = la, Part1 = Handle2, C0 = CF(0,-.51,0) * angles(Rad(0),Rad(180),Rad(0))})
  2912.  
  2913. for _,v in next, Gaunty:children() do
  2914. v.CanCollide = false
  2915. end
  2916. local all, last = {}, nil
  2917. ArmourParts = {}
  2918. NeonParts = {}
  2919. function scan(p)
  2920. for _, v in pairs(p:GetChildren()) do
  2921. if v:IsA("BasePart") then
  2922. if v.BrickColor == BrickColor.new("Black") then
  2923. table.insert(ArmourParts, v)
  2924. end
  2925. if v.BrickColor == BrickColor.new("Institutional white") then
  2926. table.insert(NeonParts, v)
  2927. end
  2928. if last then
  2929. local w = Instance.new("Weld")
  2930. w.Part0, w.Part1 = last, v
  2931. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  2932. w.Parent = last
  2933. end
  2934. table.insert(all, v)
  2935. last = v
  2936. end
  2937. scan(v)
  2938. end
  2939. end
  2940. scan(Gaunty)
  2941. local all2, last2 = {}, nil
  2942. ArmourParts2 = {}
  2943. NeonParts2 = {}
  2944. function scan2(p)
  2945. for _, v in pairs(p:GetChildren()) do
  2946. if v:IsA("BasePart") then
  2947. if v.BrickColor == BrickColor.new("Black") then
  2948. table.insert(ArmourParts2, v)
  2949. end
  2950. if v.BrickColor == BrickColor.new("Institutional white") then
  2951. table.insert(NeonParts2, v)
  2952. end
  2953. if last2 then
  2954. local w = Instance.new("Weld")
  2955. w.Part0, w.Part1 = last2, v
  2956. w.C0 = v.CFrame:toObjectSpace(last2.CFrame):inverse()
  2957. w.Parent = last2
  2958. end
  2959. table.insert(all2, v)
  2960. last2 = v
  2961. end
  2962. scan2(v)
  2963. end
  2964. end
  2965.  
  2966. --
  2967. -------------------------------------------------------
  2968. --Start Customization--
  2969. -------------------------------------------------------
  2970.  
  2971. ---------------------------------------------
  2972. local Player_Size = 1
  2973. if Player_Size ~= 1 then
  2974. root.Size = root.Size * Player_Size
  2975. tors.Size = tors.Size * Player_Size
  2976. hed.Size = hed.Size * Player_Size
  2977. ra.Size = ra.Size * Player_Size
  2978. la.Size = la.Size * Player_Size
  2979. rl.Size = rl.Size * Player_Size
  2980. ll.Size = ll.Size * Player_Size
  2981. ----------------------------------------------------------------------------------
  2982. rootj.Parent = root
  2983. neck.Parent = tors
  2984. RW.Parent = tors
  2985. LW.Parent = tors
  2986. RH.Parent = tors
  2987. LH.Parent = tors
  2988. ----------------------------------------------------------------------------------
  2989. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2990. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2991. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  2992. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  2993. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  2994. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  2995. ----------------------------------------------------------------------------------
  2996. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2997. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2998. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2999. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  3000. --hat.Parent = Character
  3001. end
  3002. ----------------------------------------------------------------------------------
  3003. local SONG = 1382488262
  3004. local SONG2 = 0
  3005. local Music = Instance.new("Sound",tors)
  3006. Music.Volume = 2.5
  3007. Music.TimePosition = 0
  3008. Music.Looped = true
  3009. Music.Pitch = 1 --Pitcher
  3010. ----------------------------------------------------------------------------------
  3011. local equipped = false
  3012. local idle = 0
  3013. local change = 1
  3014. local val = 0
  3015. local toim = 0
  3016. local idleanim = 0.4
  3017. local sine = 0
  3018. local Mode = 1
  3019. ----------------------------------------------------------------------------------
  3020. hum.WalkSpeed = 16
  3021. hum.JumpPower = 57
  3022. hum.Animator.Parent = nil
  3023. char.Head.face.Texture = "http://www.roblox.com/asset/?id=843367143"
  3024. local naeeym2 = IT("BillboardGui",char)
  3025. naeeym2.AlwaysOnTop = true
  3026. naeeym2.Size = UDim2.new(5,35,2,15)
  3027. naeeym2.StudsOffset = Vector3.new(0,2,0)
  3028. naeeym2.MaxDistance = 75
  3029. naeeym2.Adornee = hed
  3030. naeeym2.Name = "Name"
  3031. --naeeym2.PlayerToHideFrom = Player
  3032. local tecks2 = IT("TextLabel",naeeym2)
  3033. tecks2.BackgroundTransparency = 1
  3034. tecks2.TextScaled = true
  3035. tecks2.BorderSizePixel = 0
  3036. tecks2.Text = ". . ."
  3037. tecks2.Font = "Fantasy"
  3038. tecks2.TextSize = 30
  3039. tecks2.TextStrokeTransparency = 0
  3040. tecks2.TextColor3 = Color3.fromRGB(255,255,255)
  3041. tecks2.TextStrokeColor3 = Color3.fromRGB(180,128,255)
  3042. tecks2.Size = UDim2.new(1,0,0.5,0)
  3043. tecks2.Parent = naeeym2
  3044. -------------------------------------------------------
  3045. --End Customization--
  3046. -------------------------------------------------------
  3047.  
  3048. -----------------------------------------------------
  3049. --Start Attacks N Stuff--
  3050. -------------------------------------------------------
  3051. function resetmode()
  3052. tecks2.Text = ". . ."
  3053. tecks2.TextColor3 = Color3.fromRGB(255,255,255)
  3054. tecks2.TextStrokeColor3 = Color3.fromRGB(180,128,255)
  3055. for i, v in pairs(ArmourParts) do
  3056. v.BrickColor = BrickColor.new("Black")
  3057. v.Material = "Neon"
  3058. v.Transparency = 0
  3059. end
  3060. for i, v in pairs(NeonParts) do
  3061. maincolor = BrickColor.new("Dark stone grey")
  3062. v.BrickColor = maincolor
  3063. v.Material = "Neon"
  3064. v.Transparency = 0
  3065. end
  3066. for i, v in pairs(ArmourParts2) do
  3067. v.BrickColor = BrickColor.new("Black")
  3068. v.Material = "Neon"
  3069. v.Transparency = 0
  3070. end
  3071. for i, v in pairs(NeonParts2) do
  3072. maincolor = BrickColor.new("Dark stone grey")
  3073. v.BrickColor = maincolor
  3074. v.Material = "Neon"
  3075. v.Transparency = 0
  3076. end
  3077. Mode = 1
  3078. SONG = 1382488262
  3079. char.Head.face.Texture = "http://www.roblox.com/asset/?id=843367143"
  3080. end
  3081.  
  3082. function SHARDEM()
  3083. SONG = 1138145518
  3084. Music.TimePosition = 0
  3085. tecks2.Text = "============"
  3086. tecks2.TextColor3 = Color3.fromRGB(255,255,255)
  3087. tecks2.TextStrokeColor3 = Color3.fromRGB(180,128,255)
  3088. for i, v in pairs(ArmourParts) do
  3089. v.BrickColor = BrickColor.new("Black")
  3090. v.Material = "Neon"
  3091. v.Transparency = 0
  3092. end
  3093. for i, v in pairs(NeonParts) do
  3094. maincolor = BrickColor.new("Dark stone grey")
  3095. v.BrickColor = maincolor
  3096. v.Material = "Neon"
  3097. v.Transparency = 0
  3098. end
  3099. for i, v in pairs(ArmourParts2) do
  3100. v.BrickColor = BrickColor.new("Black")
  3101. v.Material = "Neon"
  3102. v.Transparency = 0
  3103. end
  3104. for i, v in pairs(NeonParts2) do
  3105. maincolor = BrickColor.new("Dark stone grey")
  3106. v.BrickColor = maincolor
  3107. v.Material = "Neon"
  3108. v.Transparency = 0
  3109. end
  3110. Mode = 1800
  3111. char.Head.face.Texture = "http://www.roblox.com/asset/?id=843367143"
  3112. end
  3113.  
  3114. function attackone()
  3115. attack = true
  3116. hum.WalkSpeed = 3.01
  3117. for i = 0, 1.7, 0.1 do
  3118. swait()
  3119. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(-40)), 0.3)
  3120. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(40)), 0.3)
  3121. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-7)), 0.3)
  3122. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3)
  3123. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .3* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(45)), 0.3)
  3124. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
  3125. end
  3126. Cso("203426541", ra, 10, 1)
  3127. for i = 0, 1.4, 0.1 do
  3128. swait()
  3129. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3)
  3130. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  3131. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.3)
  3132. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.3)
  3133. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.3)
  3134. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
  3135. end
  3136. for i = 0, 1.4, 0.1 do
  3137. swait()
  3138. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(55)), 0.3)
  3139. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-55)), 0.3)
  3140. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(87), Rad(0)) * angles(Rad(-30), Rad(0), Rad(15)), 0.3)
  3141. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-5), Rad(0), Rad(9)), 0.3)
  3142. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(90), Rad(-7.5 * Sin(sine / 20)), Rad(35)), 0.3)
  3143. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.3)
  3144. for i, v in pairs(FindNearestHead(tors.CFrame.p, 4)) do
  3145. if v:FindFirstChild("Head") then
  3146. Eviscerate(v)
  3147. end
  3148. end
  3149. end
  3150. attack = false
  3151. hum.WalkSpeed = 16
  3152. end
  3153. function attacktwo()
  3154. attack = true
  3155. hum.WalkSpeed = 3.01
  3156. for i = 0, 1.7, 0.1 do
  3157. swait()
  3158. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  3159. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  3160. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(-45)), 0.3)
  3161. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-25)), 0.3)
  3162. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
  3163. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
  3164. end
  3165. Cso("203426541", rl, 10, 1)
  3166. CameraEnshaking(2, 3)
  3167. for i = 0, 1.4, 0.1 do
  3168. swait()
  3169. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  3170. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  3171. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-7), Rad(0), Rad(65)), 0.3)
  3172. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1.1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-10), Rad(0), Rad(35)), 0.3)
  3173. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-7.5 * Sin(sine / 20)), Rad(8)), 0.3)
  3174. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-8)), 0.3)
  3175. for i, v in pairs(FindNearestHead(tors.CFrame.p, 5)) do
  3176. if v:FindFirstChild("Head") then
  3177. Eviscerate(v)
  3178. end
  3179. end
  3180. end
  3181. attack = false
  3182. hum.WalkSpeed = 16
  3183. end
  3184. function attackthree()
  3185. attack = true
  3186. hum.WalkSpeed = 3.01
  3187. for i = 0, 1.4, 0.1 do
  3188. swait()
  3189. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(0)), 0.3)
  3190. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3191. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-30)), 0.3)
  3192. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-15), Rad(0), Rad(30)), 0.3)
  3193. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
  3194. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
  3195. end
  3196. Cso("203426541", hed, 10, 1)
  3197. for i = 0, 1.7, 0.1 do
  3198. swait()
  3199. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  3200. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  3201. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(30)), 0.3)
  3202. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.1* Player_Size) * angles(Rad(0), Rad(-76), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-30)), 0.3)
  3203. RW.C0 = clerp(RW.C0, CF(1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(-35)), 0.3)
  3204. LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(90), Rad(0), Rad(35)), 0.3)
  3205. for i, v in pairs(FindNearestHead(tors.CFrame.p, 6)) do
  3206. if v:FindFirstChild("Head") then
  3207. Eviscerate(v)
  3208. end
  3209. end
  3210. end
  3211. attack = false
  3212. hum.WalkSpeed = 16
  3213. end
  3214.  
  3215. function Distort()
  3216. attack = true
  3217. hum.WalkSpeed = 0
  3218. local pos = root.Position
  3219. root.CFrame = CF(mouse.Hit.p+Vector3.new(0,3,0),pos)
  3220. Cso("847061203", char, 10, 0.85)
  3221. for i = 1,2.5,0.1 do
  3222. swait()
  3223. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  3224. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  3225. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  3226. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  3227. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  3228. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  3229. end
  3230. attack = false
  3231. hum.WalkSpeed = 8
  3232. end
  3233. function Ancient_Rage()
  3234. attack = true
  3235. hum.WalkSpeed = 0
  3236. Cso("135017578", tors, 10, 1.05)
  3237. for i = 1,14,0.1 do
  3238. swait()
  3239. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  3240. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  3241. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  3242. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  3243. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  3244. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  3245. for i, v in pairs(FindNearestHead(tors.CFrame.p, 20)) do
  3246. if v:FindFirstChild("Head") then
  3247. Eviscerate(v)
  3248. end
  3249. end
  3250. end
  3251. attack = false
  3252. hum.WalkSpeed = 16
  3253. end
  3254. function Technobeam()
  3255. attack = true
  3256. hum.WalkSpeed = 3.01
  3257. for i = 0, 4, 0.1 do
  3258. swait()
  3259. hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
  3260. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(40)), 0.2)
  3261. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  3262. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  3263. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  3264. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  3265. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  3266. end
  3267. for i = 0, 2, 0.1 do
  3268. swait()
  3269. hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
  3270. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(40)), 0.2)
  3271. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
  3272. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-25)), 0.2)
  3273. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(25)), 0.2)
  3274. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  3275. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  3276. end
  3277. Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
  3278. Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
  3279. Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, maincolor, "Sphere")
  3280. Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, maincolor, "Sphere")
  3281. CameraEnshaking(4, 5)
  3282. Cso("206049428", char, 10, 1)
  3283. for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
  3284. if v:FindFirstChild("Head") then
  3285. Eviscerate(v)
  3286. end
  3287. end
  3288. for i = 0, 2, 0.1 do
  3289. swait()
  3290. hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
  3291. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(40)), 0.2)
  3292. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
  3293. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
  3294. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
  3295. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
  3296. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
  3297. end
  3298. hum.WalkSpeed = 16
  3299. attack = false
  3300. end
  3301. function Taunt10000()
  3302. attack = true
  3303. Cso("333446256", char, 10, 1)
  3304. for i = 0, 15, 0.1 do
  3305. swait()
  3306. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1)
  3307. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  3308. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  3309. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  3310. RW.C0 = clerp(RW.C0, CF(.7* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-135)), 0.2)
  3311. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  3312. end
  3313. for i = 0, 15, 0.1 do
  3314. swait()
  3315. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1)
  3316. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  3317. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  3318. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  3319. RW.C0 = clerp(RW.C0, CF(.7* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-135)), 0.2)
  3320. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  3321. end
  3322. for i = 0, 20, 0.1 do
  3323. swait()
  3324. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(30)), 0.1)
  3325. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 3.5)), Rad(0), Rad(-30)), 0.1)
  3326. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  3327. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-86), Rad(0)) * angles(Rad(-5), Rad(0), Rad(0)), 0.1)
  3328. RW.C0 = clerp(RW.C0, CF(.7* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-135)), 0.2)
  3329. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  3330. end
  3331. attack = false
  3332. end
  3333. function OP9999()
  3334. attack = true
  3335. hum.WalkSpeed = 3.01
  3336. Cso("1690476035",char, 10, 1)
  3337. for i = 0,5.2,0.1 do
  3338. swait()
  3339. Effects.Block.Create(BrickC("Really red"), ll.CFrame * CF(0, -1, 0), 2, 2, 2, 3, 3, 3, 0.05)
  3340. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  3341. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3342. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
  3343. LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
  3344. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
  3345. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
  3346. end
  3347. Cso("824687369", char, 10, 1)
  3348. for i = 0,3.7,0.1 do
  3349. swait()
  3350. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  3351. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  3352. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
  3353. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
  3354. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  3355. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
  3356. CameraEnshaking(2, 8)
  3357. Effects.Sphere.Create(BrickColor.new("Really red"), root.CFrame * CF(0, -3, 0), 10, 4, 10, 9999999, -0.1, 9999999, 0.01)
  3358. for i, v in pairs(FindNearestHead(tors.CFrame.p, 9999999)) do
  3359. if v:FindFirstChild("Head") then
  3360. Eviscerate(v)
  3361. end
  3362. end
  3363. end
  3364. attack = false
  3365. hum.WalkSpeed = 16
  3366. end
  3367. -------------------------------------------------------
  3368. --End Attacks N Stuff--
  3369. -------------------------------------------------------
  3370. Sprinting = false
  3371. mouse.KeyDown:connect(function(key)
  3372. if string.byte(key) == 48 and attack == false and Mode ~= 10 then
  3373. Swing = 2
  3374. hum.WalkSpeed = 38.82
  3375. Sprinting = true
  3376. end
  3377. end)
  3378. mouse.KeyUp:connect(function(key)
  3379. if string.byte(key) == 48 and attack == false then
  3380. Swing = 1
  3381. Sprinting = false
  3382. hum.WalkSpeed = 16
  3383. end
  3384. end)
  3385. mouse.KeyDown:connect(function(key)
  3386. if attack == false then
  3387. ---------------------------------------------------------------------------
  3388. if key == 'm' and Mode == 1 then
  3389. Mode = 10
  3390. SONG = 865839103
  3391. local A = math.random(1,5)
  3392. if A == 1 then
  3393. SONG = 866334508
  3394. elseif A == 2 then
  3395. SONG = 865839103
  3396. elseif A == 3 then
  3397. SONG = 623662713
  3398. elseif A == 4 then
  3399. SONG = 919231299
  3400. elseif A == 5 then
  3401. SONG = 996616715
  3402. end
  3403. tecks2.Text = "The Killer Dragon"
  3404. tecks2.TextColor3 = Color3.new(255, 0, 0)
  3405. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  3406. for i, v in pairs(ArmourParts) do
  3407. v.BrickColor = BrickColor.random()
  3408. v.Material = "Neon"
  3409. v.Transparency = 0
  3410. end
  3411. for i, v in pairs(NeonParts) do
  3412. maincolor = BrickColor.random()
  3413. v.BrickColor = maincolor
  3414. v.Material = "Neon"
  3415. v.Transparency = 0
  3416. end
  3417. for i, v in pairs(ArmourParts2) do
  3418. v.BrickColor = BrickColor.new("Hot white")
  3419. v.Material = "Neon"
  3420. v.Transparency = 0
  3421. end
  3422. for i, v in pairs(NeonParts2) do
  3423. maincolor = BrickColor.new("Hot white")
  3424. v.BrickColor = maincolor
  3425. v.Material = "Neon"
  3426. v.Transparency = 0
  3427. end
  3428. elseif key == 'm' and Mode == 10 then
  3429. resetmode()
  3430. elseif key == 'e' and Mode == 10 then
  3431. Ancient_Rage()
  3432. elseif key == 'r' and Mode == 10 then
  3433. Distort()
  3434. elseif key == 't' and Mode == 10 then
  3435. Taunt10000()
  3436. elseif key == 'f' and Mode == 10 then
  3437. Technobeam()
  3438. elseif key == 'g' and Mode == 10 then
  3439. OP9999()
  3440. elseif key == 'n' and Mode == 1 then
  3441. SHARDEM()
  3442. elseif key == 'n' and Mode == 1800 then
  3443. resetmode()
  3444. end
  3445. end
  3446. end)
  3447. local Combo = 1
  3448. mouse.Button1Down:connect(function(key)
  3449. if attack == false then
  3450. if Combo == 1 then
  3451. Combo = 2
  3452. attackone()
  3453. elseif Combo == 2 then
  3454. Combo = 3
  3455. attacktwo()
  3456. elseif Combo == 3 then
  3457. Combo = 1
  3458. attackthree()
  3459. end
  3460. end
  3461. end)
  3462.  
  3463. -------------------------------------------------------
  3464. --Start Animations--
  3465. -------------------------------------------------------
  3466. while true do
  3467. swait()
  3468. sine = sine + change
  3469. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  3470. local velderp = root.Velocity.y
  3471. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  3472. if equipped == true or equipped == false then
  3473. if attack == false then
  3474. idle = idle + 1
  3475. else
  3476. idle = 0
  3477. end
  3478. if 1 < root.Velocity.y and hitfloor == nil then
  3479. Anim = "Jump"
  3480. if attack == false then
  3481. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.08)
  3482. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
  3483. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08)
  3484. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.08)
  3485. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.08)
  3486. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.08)
  3487. end
  3488. elseif -1 > root.Velocity.y and hitfloor == nil then
  3489. Anim = "Fall"
  3490. if attack == false then
  3491. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.08)
  3492. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
  3493. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.08)
  3494. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.08)
  3495. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.08)
  3496. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.08)
  3497. end
  3498. elseif torvel < 1 and hitfloor ~= nil then
  3499. Anim = "Idle"
  3500. change = 1
  3501. if attack == false then
  3502. if Mode == 1 then --Normal
  3503. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, 1.3 + 0.6 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(25)), 0.15)
  3504. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(20), Rad(-15)), 0.3)
  3505. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  3506. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  3507. RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
  3508. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  3509. elseif Mode == 1800 then --demon
  3510. tecks2.TextColor3 = BrickColor.Random().Color
  3511. tecks2.TextStrokeColor3 = BrickColor.Random().Color
  3512. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  3513. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(Mrandom(-45, 45)), Rad(Mrandom(-45, 45))), 0.1)
  3514. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  3515. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  3516. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.8* Player_Size + 0.01 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(165), Rad(Mrandom(-15, 15)), Rad(-50)), 0.1)
  3517. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.8* Player_Size + 0.01 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(165), Rad(Mrandom(-15, 15)), Rad(50)), 0.1)
  3518. elseif Mode == 10 then --INSANITY
  3519. rootj.C0 = clerp(rootj.C0, RootCF * CF(0 - 0.04 * Sin(sine / 24) * Player_Size, 0 + 0.04 * Sin(sine / 12) * Player_Size, 0 + 0.05 * Player_Size * Cos(sine / 12)) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(0 - 2.5 * Sin(sine / 24)), Rad(0)), 0.08)
  3520. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08)
  3521. RH.C0 = clerp(RH.C0, CF(1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(79), Rad(0)) * angles(Rad(-6 - 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08)
  3522. LH.C0 = clerp(LH.C0, CF(-1 * Player_Size, -1 * Player_Size - 0.06 - 0.05 * Player_Size * Cos(sine / 12), -0.01 * Player_Size) * angles(Rad(0 - 2.5 * Sin(sine / 12)), Rad(-79), Rad(0)) * angles(Rad(-6 + 2.5 * Sin(sine / 24)), Rad(0), Rad(0)), 0.08)
  3523. RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
  3524. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  3525. end
  3526. end
  3527. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  3528. Anim = "Walk"
  3529. change = 1.1
  3530. if attack == false then
  3531. if Mode == 1 then
  3532. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 2 + 0.25* Player_Size * Cos(sine / 12)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  3533. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-15 - 6.5 * Sin(sine / 12)), Rad(20), Rad(0)), 0.1)
  3534. RH.C0 = clerp(RH.C0, CF(1, -0.5 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5 + 3 * Sin(sine / 20)), Rad(0), Rad(10 + 3 * Sin(sine / 20))), 0.15)
  3535. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5 + 3 * Sin(sine / 20)), Rad(0), Rad(-10 + 3 * Sin(sine / 20))), 0.15)
  3536. RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
  3537. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  3538. elseif Mode == 1800 then
  3539. tecks2.TextColor3 = BrickColor.Random().Color
  3540. tecks2.TextStrokeColor3 = BrickColor.Random().Color
  3541. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  3542. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(46 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3543. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(20)), 0.3)
  3544. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-5 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(-20)), 0.3)
  3545. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 + 15 * Cos(sine / 7)), Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
  3546. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(25 - 15 * Cos(sine / 7)), Rad(0), Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  3547. elseif Mode == 10 then --INSANITY
  3548. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  3549. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 12)), Rad(0), Rad(0)), 0.08)
  3550. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3551. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3552. RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
  3553. LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 12)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
  3554. elseif Mode ~= 6 or Mode ~= 5 or Mode ~= 8 then
  3555. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  3556. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3557. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3558. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3559. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.1)
  3560. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  3561. end
  3562. end
  3563. elseif torvel >= 25 and hitfloor ~= nil then
  3564. Anim = "Sprint"
  3565. change = 1.35
  3566. if attack == false then
  3567. if Mode == 5 then
  3568. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  3569. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  3570. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.15)
  3571. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.15)
  3572. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1)
  3573. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1)
  3574. elseif Mode ~= 5 then
  3575. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  3576. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  3577. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3578. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  3579. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(125) * Cos(sine / 7) , Rad(0), Rad(5) - ra.RotVelocity.Y / 75), 0.15)
  3580. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-125) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.15)
  3581. end
  3582. end
  3583. end
  3584. end
  3585. Music.SoundId = "rbxassetid://"..SONG
  3586. Music.Looped = true
  3587. Music.Pitch = 1
  3588. Music.Volume = 8
  3589. Music.Parent = tors
  3590. Music:Resume()
  3591. if 0 < #Effects then
  3592. for e = 1, #Effects do
  3593. if Effects[e] ~= nil then
  3594. local Thing = Effects[e]
  3595. if Thing ~= nil then
  3596. local Part = Thing[1]
  3597. local Mode = Thing[2]
  3598. local Delay = Thing[3]
  3599. local IncX = Thing[4]
  3600. local IncY = Thing[5]
  3601. local IncZ = Thing[6]
  3602. if 1 >= Thing[1].Transparency then
  3603. if Thing[2] == "Block1" then
  3604. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3605. local Mesh = Thing[1].Mesh
  3606. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3607. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3608. elseif Thing[2] == "Block2" then
  3609. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  3610. local Mesh = Thing[7]
  3611. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3612. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3613. elseif Thing[2] == "Block3" then
  3614. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  3615. local Mesh = Thing[7]
  3616. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3617. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3618. elseif Thing[2] == "Cylinder" then
  3619. local Mesh = Thing[1].Mesh
  3620. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3621. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3622. elseif Thing[2] == "Blood" then
  3623. local Mesh = Thing[7]
  3624. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  3625. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3626. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3627. elseif Thing[2] == "Elec" then local Mesh = Thing[1].Mesh
  3628. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  3629. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3630. elseif Thing[2] == "Disappear" then
  3631. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3632. elseif Thing[2] == "Shatter" then
  3633. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3634. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3635. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3636. Thing[6] = Thing[6] + Thing[5]
  3637. end
  3638. else
  3639. Part.Parent = nil
  3640. table.remove(Effects, e)
  3641. end
  3642. end
  3643. end
  3644. end
  3645. end
  3646. end
  3647. -----------------------------------
  3648. --End Animations And Script--
  3649. -----------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement