Advertisement
wamandnj

Untitled

Oct 17th, 2018
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 114.02 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  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,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. script.Name = "Burning Hope xd!11"
  88. --//====================================================\\--
  89. --|| EDITED BY Penien23
  90. --\\====================================================//--
  91.  
  92.  
  93. script:ClearAllChildren()
  94. wait(0.2)
  95.  
  96. Player = owner
  97. PlayerGui = Player.PlayerGui
  98. Cam = workspace.CurrentCamera
  99. Backpack = Player.Backpack
  100. Character = Player.Character
  101. Humanoid = Character.Humanoid
  102. RootPart = Character["HumanoidRootPart"]
  103. Torso = Character["Torso"]
  104. Head = Character["Head"]
  105. RightArm = Character["Right Arm"]
  106. LeftArm = Character["Left Arm"]
  107. RightLeg = Character["Right Leg"]
  108. LeftLeg = Character["Left Leg"]
  109. RootJoint = RootPart["RootJoint"]
  110. Neck = Torso["Neck"]
  111. RightShoulder = Torso["Right Shoulder"]
  112. LeftShoulder = Torso["Left Shoulder"]
  113. RightHip = Torso["Right Hip"]
  114. LeftHip = Torso["Left Hip"]
  115. local TIME = 0
  116. local sick = Instance.new("Sound",Torso)
  117.  
  118. IT = Instance.new
  119. CF = CFrame.new
  120. VT = Vector3.new
  121. RAD = math.rad
  122. C3 = Color3.new
  123. UD2 = UDim2.new
  124. BRICKC = BrickColor.new
  125. ANGLES = CFrame.Angles
  126. EULER = CFrame.fromEulerAnglesXYZ
  127. COS = math.cos
  128. ACOS = math.acos
  129. SIN = math.sin
  130. ASIN = math.asin
  131. ABS = math.abs
  132. MRANDOM = math.random
  133. FLOOR = math.floor
  134. local RWINGS = {}
  135. local LWINGS = {}
  136. local GunPoint
  137. Player_Size = 1
  138.  
  139. -- Thingy To Make Song Work
  140.  
  141. p = game.Players.LocalPlayer
  142. char = p.Character
  143.  
  144. ---------------------------[[[ LOOPED SONG ]]]--------------------------
  145. local s = Instance.new("Sound",char)
  146. s.Name = "BGMusic"
  147. s.SoundId = "rbxassetid://1945855536"
  148. s.Pitch = 1
  149. s.Volume = 50
  150. s.Looped = true
  151. s.archivable = false
  152. s.Parent = char.Head
  153. wait(0.1)
  154. s:play()
  155.  
  156. -- Rest of Script
  157. -- Want To Use This For Scripts With No Songs? Go Ahead Copy This InfiniteOneWithdank created the looped song thing that is in here anyways.
  158.  
  159.  
  160. --//=================================\\
  161. --|| PARTICLES N STUFF
  162. --\\=================================//
  163.  
  164. local particleemitter = Instance.new('ParticleEmitter', LeftArm)
  165. particleemitter.VelocitySpread = 350
  166. particleemitter.Lifetime = NumberRange.new(1)
  167. particleemitter.Speed = NumberRange.new(0)
  168. cringememe= {}
  169. for i=0, 19 do
  170. cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  171. end
  172. particleemitter.Size = NumberSequence.new(cringememe)
  173. particleemitter.Rate = 20
  174. particleemitter.LockedToPart = true
  175. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  176. particleemitter.LightEmission = 1
  177. particleemitter.Texture = "rbxassetid://38727848"
  178. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  179.  
  180. local particleemitter = Instance.new('ParticleEmitter', Torso)
  181. particleemitter.VelocitySpread = 250
  182. particleemitter.Lifetime = NumberRange.new(3)
  183. particleemitter.Speed = NumberRange.new(1.5)
  184. youAreATHOT = {}
  185. for i=0, 19 do
  186. youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  187. end
  188. particleemitter.Size = NumberSequence.new(youAreATHOT)
  189. particleemitter.Rate = 10
  190. particleemitter.LockedToPart = false
  191. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  192. particleemitter.LightEmission = 1
  193. particleemitter.Texture = "rbxassetid://253188763"
  194. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  195.  
  196. local particleemitter = Instance.new('ParticleEmitter', RightArm)
  197. particleemitter.VelocitySpread = 350
  198. particleemitter.Lifetime = NumberRange.new(1)
  199. particleemitter.Speed = NumberRange.new(0)
  200. cringememe2= {}
  201. for i=0, 19 do
  202. cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  203. end
  204. particleemitter.Size = NumberSequence.new(cringememe2)
  205. particleemitter.Rate = 20
  206. particleemitter.LockedToPart = true
  207. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  208. particleemitter.LightEmission = 1
  209. particleemitter.Texture = "rbxassetid://38727848"
  210. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  211.  
  212. local particleemitter = Instance.new('ParticleEmitter', RightLeg)
  213. particleemitter.VelocitySpread = 350
  214. particleemitter.Lifetime = NumberRange.new(1)
  215. particleemitter.Speed = NumberRange.new(0)
  216. cringememe3= {}
  217. for i=0, 19 do
  218. cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  219. end
  220. particleemitter.Size = NumberSequence.new(cringememe3)
  221. particleemitter.Rate = 30
  222. particleemitter.LockedToPart = true
  223. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  224. particleemitter.LightEmission = 1
  225. particleemitter.Texture = "rbxassetid://38727848"
  226. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  227.  
  228. local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
  229. particleemitter.VelocitySpread = 350
  230. particleemitter.Lifetime = NumberRange.new(1)
  231. particleemitter.Speed = NumberRange.new(0)
  232. cringememe4= {}
  233. for i=0, 19 do
  234. cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  235. end
  236. particleemitter.Size = NumberSequence.new(cringememe4)
  237. particleemitter.Rate = 30
  238. particleemitter.LockedToPart = true
  239. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  240. particleemitter.LightEmission = 1
  241. particleemitter.Texture = "rbxassetid://38727848"
  242. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  243.  
  244. --//=================================\\
  245. --|| USEFUL VALUES
  246. --\\=================================//
  247.  
  248. Animation_Speed = 1.5
  249. local FORCERESET = false
  250. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  251. local Speed = 16
  252. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  253. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  254. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  255. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  256. local DAMAGEMULTIPLIER = 1
  257. local ANIM = "Idle"
  258. local ATTACK = false
  259. local EQUIPPED = false
  260. local HOLD = false
  261. local COMBO = 1
  262. local Rooted = false
  263. local SINE = 0
  264. local KEYHOLD = false
  265. local CHANGE = 2 / Animation_Speed
  266. local WALKINGANIM = false
  267. local VALUE1 = false
  268. local VALUE2 = false
  269. local ROBLOXIDLEANIMATION = IT("Animation")
  270. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  271. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  272. --ROBLOXIDLEANIMATION.Parent = Humanoid
  273. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  274. WEAPONGUI.Name = "BanishV3Gui"
  275. local Weapon = IT("Model")
  276. Weapon.Name = "Adds"
  277. local Effects = IT("Folder", Weapon)
  278. Effects.Name = "Effects"
  279. local ANIMATOR = Humanoid.Animator
  280. local ANIMATE = Character:FindFirstChild("Animate")
  281. local UNANCHOR = true
  282. local TOBANISH = {}
  283. script.Parent = PlayerGui
  284.  
  285. function StatLabel(CFRAME, TEXT, COLOR)
  286. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  287. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  288. local BODYGYRO = IT("BodyGyro", STATPART)
  289. game:GetService("Debris"):AddItem(STATPART ,5)
  290. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  291. BILLBOARDGUI.Adornee = STATPART
  292. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  293. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  294. BILLBOARDGUI.AlwaysOnTop = false
  295. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  296. TEXTLABEL.BackgroundTransparency = 1
  297. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  298. TEXTLABEL.Text = TEXT
  299. TEXTLABEL.Font = SKILLFONT
  300. TEXTLABEL.FontSize="Size42"
  301. TEXTLABEL.TextColor3 = COLOR
  302. TEXTLABEL.TextStrokeTransparency = 0
  303. TEXTLABEL.TextScaled = true
  304. TEXTLABEL.TextWrapped = true
  305. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  306. for i = 1, 50 do
  307. Swait()
  308. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  309. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  310. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  311. end
  312. THEPART.Parent = nil
  313. end),STATPART, TEXTLABEL)
  314. end
  315.  
  316. --//=================================\\
  317. --\\=================================//
  318.  
  319.  
  320. --//=================================\\
  321. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  322. --\\=================================//
  323.  
  324. ArtificialHB = Instance.new("BindableEvent", script)
  325. ArtificialHB.Name = "ArtificialHB"
  326.  
  327. script:WaitForChild("ArtificialHB")
  328.  
  329. frame = Frame_Speed
  330. tf = 0
  331. allowframeloss = false
  332. tossremainder = false
  333. lastframe = tick()
  334. script.ArtificialHB:Fire()
  335.  
  336. game:GetService("RunService").Heartbeat:connect(function(s, p)
  337. tf = tf + s
  338. if tf >= frame then
  339. if allowframeloss then
  340. script.ArtificialHB:Fire()
  341. lastframe = tick()
  342. else
  343. for i = 1, math.floor(tf / frame) do
  344. script.ArtificialHB:Fire()
  345. end
  346. lastframe = tick()
  347. end
  348. if tossremainder then
  349. tf = 0
  350. else
  351. tf = tf - frame * math.floor(tf / frame)
  352. end
  353. end
  354. end)
  355.  
  356. --//=================================\\
  357. --\\=================================//
  358.  
  359. --//=================================\\
  360. --|| SOME TAG EDIT
  361. --\\=================================//
  362.  
  363. m = owner
  364. char = m.Character
  365. local txt = Instance.new("BillboardGui", char)
  366. txt.Adornee = char.Head
  367. txt.Name = "_status"
  368. txt.Size = UDim2.new(2, 0, 1.2, 0)
  369. txt.StudsOffset = Vector3.new(-9, 8, 0)
  370. local text = Instance.new("TextLabel", txt)
  371. text.Size = UDim2.new(10, 0, 7, 0)
  372. text.FontSize = "Size24"
  373. text.TextScaled = true
  374. text.TextTransparency = 0
  375. text.BackgroundTransparency = 1
  376. text.TextTransparency = 0
  377. text.TextStrokeTransparency = 0
  378. text.Font = "Bodoni"
  379. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  380. v = Instance.new("Part")
  381. v.Name = "ColorBrick"
  382. v.Parent = m.Character
  383. v.FormFactor = "Symmetric"
  384. v.Anchored = true
  385. v.CanCollide = false
  386. v.BottomSurface = "Smooth"
  387. v.TopSurface = "Smooth"
  388. v.Size = Vector3.new(10, 5, 3)
  389. v.Transparency = 1
  390. v.CFrame = char.Torso.CFrame
  391. v.BrickColor = BrickColor.new("Really black")
  392. v.Transparency = 1
  393. v.Shape = "Block"
  394. spawn(function()
  395. local TweenService = game:GetService("TweenService")
  396. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  397. local Int = 0
  398. while wait(0.5) do
  399. if Int == #Colours then Int = 0 end
  400. Int = Int+1
  401. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  402. end
  403. end)
  404. text.Text = "i die now?"
  405. wait(2)
  406. text.Text = "i never die...."
  407. wait(3)
  408. text.Text = "I AM ULTIMATE HUMAN!"
  409. wait(2)
  410. text.Text = "ULTIMATE HUMAN"
  411.  
  412. --//=================================\\
  413. --\\=================================//
  414.  
  415. --//=================================\\
  416. --|| SOME FUNCTIONS
  417. --\\=================================//
  418.  
  419. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  420. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  421. end
  422.  
  423. function PositiveAngle(NUMBER)
  424. if NUMBER >= 0 then
  425. NUMBER = 0
  426. end
  427. return NUMBER
  428. end
  429.  
  430. function NegativeAngle(NUMBER)
  431. if NUMBER <= 0 then
  432. NUMBER = 0
  433. end
  434. return NUMBER
  435. end
  436.  
  437. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  438. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  439. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  440. wave.CFrame = CFRAME
  441. coroutine.resume(coroutine.create(function(PART)
  442. for i = 1, WAIT do
  443. Swait()
  444. mesh.Scale = mesh.Scale + GROW
  445. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  446. if DOESROT == true then
  447. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  448. end
  449. wave.Transparency = wave.Transparency + 0.5 / WAIT
  450. if wave.Transparency > 0.99 then
  451. wave:remove()
  452. end
  453. end
  454. end))
  455. end
  456.  
  457. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  458. for _, c in pairs(PARENT:GetChildren()) do
  459. if c.ClassName == "Model" then
  460. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  461. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  462. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  463. if DIST > (TORSO.Position - FROM).Magnitude then
  464. table.insert(TABLE, c)
  465. end
  466. AddChildrenToTable(FROM, c, DIST, TABLE)
  467. elseif c.ClassName == "Folder" then
  468. AddChildrenToTable(FROM, c, DIST, TABLE)
  469. end
  470. end
  471. end
  472. end
  473.  
  474. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  475. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  476. local mesh
  477. if KIND == "Base" then
  478. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  479. elseif KIND == "Thin" then
  480. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  481. elseif KIND == "Round" then
  482. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  483. end
  484. wave.CFrame = CFRAME
  485. coroutine.resume(coroutine.create(function(PART)
  486. for i = 1, WAIT do
  487. Swait()
  488. mesh.Scale = mesh.Scale + GROW / 10
  489. wave.Transparency = wave.Transparency + 0.5 / WAIT
  490. if wave.Transparency > 0.99 then
  491. wave:remove()
  492. end
  493. end
  494. end))
  495. end
  496.  
  497. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  498. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  499. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  500. wave.CFrame = CFRAME
  501. coroutine.resume(coroutine.create(function(PART)
  502. for i = 1, WAIT do
  503. Swait()
  504. mesh.Scale = mesh.Scale + GROW
  505. wave.Transparency = wave.Transparency + 1 / WAIT
  506. if wave.Transparency > 0.99 then
  507. wave:remove()
  508. end
  509. end
  510. end))
  511. end
  512.  
  513. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  514. local TORSO = Torso
  515. local HUM = Humanoid
  516. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  517. coroutine.wrap(function()
  518. VT = Vector3.new
  519. MRANDOM = math.random
  520. local A = TIME
  521. local B = INTENSITY
  522. local C = true
  523. local HUMANOID = Humanoid
  524. local TIMER = A or 35
  525. local SHAKE = B or 5
  526. local FADE = C or true
  527. if HUMANOID then
  528. local FADER = SHAKE / TIMER
  529. for i = 1, TIMER do
  530. wait()
  531. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  532. end
  533. HUMANOID.CameraOffset = VT(0, 0, 0)
  534. end
  535.  
  536. end)()
  537. end
  538. end
  539.  
  540. function Effect(data)
  541. local FX = data.Effect or 'ResizeAndFade'
  542. local Parent = data.Parent or Effects
  543. local Color = data.Color or C3.N(0,0,0)
  544. local Size = data.Size or V3.N(1,1,1)
  545. local MoveDir = data.MoveDirection or nil
  546. local MeshData = data.Mesh or nil
  547. local SndData = data.Sound or nil
  548. local Frames = data.Frames or 45
  549. local Manual = data.Manual or nil
  550. local Material = data.Material or nil
  551. local CFra = data.CFrame or Torso.CFrame
  552. local Settings = data.FXSettings or {}
  553. local Snd,Prt,Msh;
  554. local Shape = data.Shape or Enum.PartType.Block
  555. coroutine.resume(coroutine.create(function()
  556. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  557. Prt = Manual
  558. else
  559. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  560. Prt.Shape = Shape
  561. end
  562. if(typeof(MeshData) == 'table')then
  563. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  564. elseif(typeof(MeshData) == 'Instance')then
  565. Msh = MeshData:Clone()
  566. Msh.Parent = Prt
  567. elseif(Shape == Enum.PartType.Block)then
  568. Msh = Mesh(Prt,Enum.MeshType.Brick)
  569. end
  570. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  571. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  572. end
  573. if(Snd)then
  574. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  575. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  576. end
  577. local MoveSpeed = nil;
  578. if(MoveDir)then
  579. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  580. end
  581. local Inc = M.RNG()-M.RNG()
  582. local Thingie = 0
  583. local Thingie2 = M.RNG(50,100)/100
  584. if(FX ~= 'Arc')then
  585. for i = 1, Frames do
  586. if(swait and typeof(swait) == 'function')then
  587. swait()
  588. else
  589. wait()
  590. end
  591. if(FX == 'ResizeAndFade')then
  592. if(not Settings.EndSize)then
  593. Settings.EndSize = V3.N(0,0,0)
  594. end
  595. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  596. if(Settings.EndIsIncrement)then
  597. Prt.Size = Prt.Size + Settings.EndSize
  598. else
  599. Prt.Size = Prt.Size - grow/Frames
  600. end
  601. Prt.Transparency = (i/Frames)
  602. elseif(FX == 'Fade')then
  603. Prt.Transparency = (i/Frames)
  604. end
  605.  
  606. if(Settings.RandomizeCFrame)then
  607. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  608. end
  609. if(MoveDir and MoveSpeed)then
  610. local Orientation = Prt.Orientation
  611. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  612. Prt.Orientation = Orientation
  613. end
  614. end
  615. Prt:destroy()
  616. else
  617. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  618. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  619. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  620. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  621. assert(start ~= nil,"You need to specify a start point!")
  622. assert(endP ~= nil,"You need to specify an end point!")
  623. for i = 0, 1, Settings.Speed or 0.01 do
  624. if(swait and typeof(swait) == 'function')then
  625. swait()
  626. else
  627. wait()
  628. end
  629. if(Settings.Home)then
  630. endP = Settings.Home.CFrame
  631. end
  632. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  633. end
  634. if(Settings.RemoveOnGoal)then
  635. Prt:destroy()
  636. end
  637. end
  638. end))
  639. return Prt,Msh,Snd
  640. end
  641.  
  642. function RightWing()
  643. for i = 1, 2 do
  644. local PART
  645. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  646. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(-15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-30 * i)), CF(0, 0, 0))
  647. table.insert(RWINGS, WingWeld)
  648. PART = Wing
  649. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  650. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0))
  651. PART = Wing
  652. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  653. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  654. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  655. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  656. PART = Wing
  657. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  658. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  659. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  660. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  661. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  662. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  663. PART = Wing
  664. table.insert(RWINGS, WingWeld)
  665. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  666. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  667. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  668. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  669. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  670. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  671. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  672. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0))
  673. PART = Wing
  674. table.insert(RWINGS, WingWeld)
  675. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  676. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  677. PART = Wing
  678. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  679. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0))
  680. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  681. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  682. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  683. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0))
  684. PART = Wing
  685. table.insert(RWINGS, WingWeld)
  686. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  687. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  688. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  689. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  690. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  691. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  692. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  693. table.insert(EYES, Wing1)
  694. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0))
  695. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  696. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  697. PART = Wing
  698. table.insert(RWINGS, WingWeld)
  699. end
  700. BODY = {}
  701. for _, c in pairs(Character:GetDescendants()) do
  702. if c:IsA("BasePart") then
  703. table.insert(BODY, {
  704. c,
  705. c.Parent,
  706. c.Material,
  707. c.Color
  708. })
  709. elseif c:IsA("JointInstance") then
  710. table.insert(BODY, {
  711. c,
  712. c.Parent,
  713. nil,
  714. nil
  715. })
  716. end
  717. end
  718. end
  719. function LeftWing()
  720. for i = 1, 2 do
  721. local PART
  722. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  723. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(-0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30 * i)), CF(0, 0, 0))
  724. table.insert(LWINGS, WingWeld)
  725. PART = Wing
  726. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  727. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0))
  728. PART = Wing
  729. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  730. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  731. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  732. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  733. PART = Wing
  734. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  735. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  736. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  737. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  738. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  739. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  740. PART = Wing
  741. table.insert(LWINGS, WingWeld)
  742. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  743. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  744. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  745. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  746. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  747. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  748. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  749. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0))
  750. PART = Wing
  751. table.insert(LWINGS, WingWeld)
  752. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  753. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  754. PART = Wing
  755. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  756. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0))
  757. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  758. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  759. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  760. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0))
  761. PART = Wing
  762. table.insert(LWINGS, WingWeld)
  763. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  764. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  765. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  766. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  767. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  768. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  769. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  770. table.insert(EYES, Wing1)
  771. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0))
  772. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  773. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  774. PART = Wing
  775. table.insert(LWINGS, WingWeld)
  776. end
  777. BODY = {}
  778. for _, c in pairs(Character:GetDescendants()) do
  779. if c:IsA("BasePart") then
  780. table.insert(BODY, {
  781. c,
  782. c.Parent,
  783. c.Material,
  784. c.Color
  785. })
  786. elseif c:IsA("JointInstance") then
  787. table.insert(BODY, {
  788. c,
  789. c.Parent,
  790. nil,
  791. nil
  792. })
  793. end
  794. end
  795. end
  796.  
  797. function Swait(NUMBER)
  798. if NUMBER == 0 or NUMBER == nil then
  799. ArtificialHB.Event:wait()
  800. else
  801. for i = 1, NUMBER do
  802. ArtificialHB.Event:wait()
  803. end
  804. end
  805. end
  806.  
  807. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  808. local NEWMESH = IT(MESH)
  809. if MESH == "SpecialMesh" then
  810. NEWMESH.MeshType = MESHTYPE
  811. if MESHID ~= "nil" and MESHID ~= "" then
  812. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  813. end
  814. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  815. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  816. end
  817. end
  818. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  819. NEWMESH.Scale = SCALE
  820. NEWMESH.Parent = PARENT
  821. return NEWMESH
  822. end
  823.  
  824. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  825. local NEWPART = IT("Part")
  826. NEWPART.formFactor = FORMFACTOR
  827. NEWPART.Reflectance = REFLECTANCE
  828. NEWPART.Transparency = TRANSPARENCY
  829. NEWPART.CanCollide = false
  830. NEWPART.Locked = true
  831. NEWPART.Anchored = true
  832. if ANCHOR == false then
  833. NEWPART.Anchored = false
  834. end
  835. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  836. NEWPART.Name = NAME
  837. NEWPART.Size = SIZE
  838. NEWPART.Position = Torso.Position
  839. NEWPART.Material = MATERIAL
  840. NEWPART:BreakJoints()
  841. NEWPART.Parent = PARENT
  842. return NEWPART
  843. end
  844.  
  845. local function weldBetween(a, b)
  846. local weldd = Instance.new("ManualWeld")
  847. weldd.Part0 = a
  848. weldd.Part1 = b
  849. weldd.C0 = CFrame.new()
  850. weldd.C1 = b.CFrame:inverse() * a.CFrame
  851. weldd.Parent = a
  852. return weldd
  853. end
  854.  
  855.  
  856. function QuaternionFromCFrame(cf)
  857. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  858. local trace = m00 + m11 + m22
  859. if trace > 0 then
  860. local s = math.sqrt(1 + trace)
  861. local recip = 0.5 / s
  862. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  863. else
  864. local i = 0
  865. if m11 > m00 then
  866. i = 1
  867. end
  868. if m22 > (i == 0 and m00 or m11) then
  869. i = 2
  870. end
  871. if i == 0 then
  872. local s = math.sqrt(m00 - m11 - m22 + 1)
  873. local recip = 0.5 / s
  874. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  875. elseif i == 1 then
  876. local s = math.sqrt(m11 - m22 - m00 + 1)
  877. local recip = 0.5 / s
  878. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  879. elseif i == 2 then
  880. local s = math.sqrt(m22 - m00 - m11 + 1)
  881. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  882. end
  883. end
  884. end
  885.  
  886. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  887. local xs, ys, zs = x + x, y + y, z + z
  888. local wx, wy, wz = w * xs, w * ys, w * zs
  889. local xx = x * xs
  890. local xy = x * ys
  891. local xz = x * zs
  892. local yy = y * ys
  893. local yz = y * zs
  894. local zz = z * zs
  895. 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))
  896. end
  897.  
  898. function QuaternionSlerp(a, b, t)
  899. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  900. local startInterp, finishInterp;
  901. if cosTheta >= 0.0001 then
  902. if (1 - cosTheta) > 0.0001 then
  903. local theta = ACOS(cosTheta)
  904. local invSinTheta = 1 / SIN(theta)
  905. startInterp = SIN((1 - t) * theta) * invSinTheta
  906. finishInterp = SIN(t * theta) * invSinTheta
  907. else
  908. startInterp = 1 - t
  909. finishInterp = t
  910. end
  911. else
  912. if (1 + cosTheta) > 0.0001 then
  913. local theta = ACOS(-cosTheta)
  914. local invSinTheta = 1 / SIN(theta)
  915. startInterp = SIN((t - 1) * theta) * invSinTheta
  916. finishInterp = SIN(t * theta) * invSinTheta
  917. else
  918. startInterp = t - 1
  919. finishInterp = t
  920. end
  921. end
  922. 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
  923. end
  924.  
  925. function Clerp(a, b, t)
  926. local qa = {QuaternionFromCFrame(a)}
  927. local qb = {QuaternionFromCFrame(b)}
  928. local ax, ay, az = a.x, a.y, a.z
  929. local bx, by, bz = b.x, b.y, b.z
  930. local _t = 1 - t
  931. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  932. end
  933.  
  934. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  935. local frame = IT("Frame")
  936. frame.BackgroundTransparency = TRANSPARENCY
  937. frame.BorderSizePixel = BORDERSIZEPIXEL
  938. frame.Position = POSITION
  939. frame.Size = SIZE
  940. frame.BackgroundColor3 = COLOR
  941. frame.BorderColor3 = BORDERCOLOR
  942. frame.Name = NAME
  943. frame.Parent = PARENT
  944. return frame
  945. end
  946.  
  947. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  948. local label = IT("TextLabel")
  949. label.BackgroundTransparency = 1
  950. label.Size = UD2(1, 0, 1, 0)
  951. label.Position = UD2(0, 0, 0, 0)
  952. label.TextColor3 = TEXTCOLOR
  953. label.TextStrokeTransparency = STROKETRANSPARENCY
  954. label.TextTransparency = TRANSPARENCY
  955. label.FontSize = TEXTFONTSIZE
  956. label.Font = TEXTFONT
  957. label.BorderSizePixel = BORDERSIZEPIXEL
  958. label.TextScaled = false
  959. label.Text = TEXT
  960. label.Name = NAME
  961. label.Parent = PARENT
  962. return label
  963. end
  964.  
  965. function NoOutlines(PART)
  966. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  967. end
  968.  
  969. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  970. local NEWWELD = IT(TYPE)
  971. NEWWELD.Part0 = PART0
  972. NEWWELD.Part1 = PART1
  973. NEWWELD.C0 = C0
  974. NEWWELD.C1 = C1
  975. NEWWELD.Parent = PARENT
  976. return NEWWELD
  977. end
  978.  
  979. local S = IT("Sound")
  980. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  981. local NEWSOUND = nil
  982. coroutine.resume(coroutine.create(function()
  983. NEWSOUND = S:Clone()
  984. NEWSOUND.Parent = PARENT
  985. NEWSOUND.Volume = VOLUME
  986. NEWSOUND.Pitch = PITCH
  987. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  988. NEWSOUND:play()
  989. if DOESLOOP == true then
  990. NEWSOUND.Looped = true
  991. else
  992. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  993. NEWSOUND:remove()
  994. end
  995. end))
  996. return NEWSOUND
  997. end
  998.  
  999. function CFrameFromTopBack(at, top, back)
  1000. local right = top:Cross(back)
  1001. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1002. end
  1003.  
  1004. --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  1005. function Lightning(Table)
  1006. local Color = Table.Color or C3(1,1,1)
  1007. local StartPos = Table.Start or Torso.Position
  1008. local EndPos = Table.End or Mouse.Hit.p
  1009. local SegmentLength = Table.SegmentL or 2
  1010. local Thickness = Table.Thickness or 0.1
  1011. local Dissapear = Table.DoesFade or false
  1012. local Parent = Table.Ignore or Character
  1013. local MaxDist = Table.MaxDist or 400
  1014. local Branches = Table.Branches or false
  1015. local Thicken = Table.Thicken or false
  1016. local FadeTime = Table.FadeTime or 15
  1017. local FadeIn = Table.FadeIn or false
  1018. local Material = Table.Material or "Neon"
  1019. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  1020. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  1021. local LIGHTNINGMODEL = IT("Model",Effects)
  1022. LIGHTNINGMODEL.Name = "Lightning"
  1023. local LastBolt = nil
  1024. for E = 1, DISTANCE do
  1025. local ExtraSize = 0
  1026. if Thicken == true then
  1027. ExtraSize = (DISTANCE-E)/15
  1028. end
  1029. local TRANSPARENCY = 0
  1030. if FadeIn == true then
  1031. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  1032. if TRANSPARENCY < 0 then
  1033. TRANSPARENCY = 0
  1034. end
  1035. end
  1036. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  1037. PART.Color = Color
  1038. MakeForm(PART,"Cyl")
  1039. if LastBolt == nil then
  1040. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1041. else
  1042. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1043. end
  1044. LastBolt = PART
  1045. if Branches == true and E < (DISTANCE-5) then
  1046. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  1047. if CHOICE == 1 then
  1048. local LASTBRANCH = nil
  1049. for i = 1, MRANDOM(2,5) do
  1050. local ExtraSize2 = 0
  1051. if Thicken == true then
  1052. ExtraSize = ((DISTANCE-E)/25)/i
  1053. end
  1054. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  1055. PART.Color = Color
  1056. MakeForm(PART,"Cyl")
  1057. if LASTBRANCH == nil then
  1058. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1059. else
  1060. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1061. end
  1062. LASTBRANCH = PART
  1063. end
  1064. end
  1065. end
  1066. end
  1067. if Dissapear == true then
  1068. coroutine.resume(coroutine.create(function()
  1069. for i = 1, FadeTime do
  1070. Swait()
  1071. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  1072. if c.ClassName == "Part" then
  1073. c.Transparency = c.Transparency + (i/FadeTime)/10
  1074. end
  1075. end
  1076. end
  1077. LIGHTNINGMODEL:remove()
  1078. end))
  1079. elseif Dissapear == false then
  1080. Debris:AddItem(LIGHTNINGMODEL,0.1)
  1081. end
  1082. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  1083. end
  1084.  
  1085. --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})
  1086. local cR=255
  1087. local cG=0
  1088. local cB=0
  1089. local flg5=1 local omgidk=1
  1090. local add=15
  1091. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1092. if omgidk>10000 then omgidk=0 end
  1093. omgidk=omgidk+1
  1094. if cR>=255 then flg5=1 end
  1095. if cG>=255 then flg5=2 end
  1096. if cB>=255 then flg5=3 end
  1097. if flg5==1 then cR=cR-add cG=cG+add end
  1098. if flg5==2 then cG=cG-add cB=cB+add end
  1099. if flg5==3 then cB=cB-add cR=cR+add end
  1100. color=Color3.fromRGB(cR,cG,cB)
  1101. function WACKYEFFECT(Table)
  1102. local TYPE = (Table.EffectType or "Sphere")
  1103. local SIZE = (Table.Size or VT(6,6,6))
  1104. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  1105. local TRANSPARENCY = (Table.Transparency or 0)
  1106. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1107. local CFRAME = (Table.CFrame or Torso.CFrame)
  1108. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1109. local ROTATION1 = (Table.RotationX or 0)
  1110. local ROTATION2 = (Table.RotationY or 0)
  1111. local ROTATION3 = (Table.RotationZ or 0)
  1112. local MATERIAL = "Neon"
  1113. local COLOR = color
  1114. local TIME = (Table.Time or 45)
  1115. local SOUNDID = (Table.SoundID or nil)
  1116. local SOUNDPITCH = (Table.SoundPitch or nil)
  1117. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1118. coroutine.resume(coroutine.create(function()
  1119. local PLAYSSOUND = false
  1120. local SOUND = nil
  1121. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1122. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1123. PLAYSSOUND = true
  1124. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1125. end
  1126. EFFECT.Color = color
  1127. local MSH = nil
  1128. if TYPE == "Sphere" then
  1129. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1130. elseif TYPE == "Block" then
  1131. MSH = IT("BlockMesh",EFFECT)
  1132. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1133. elseif TYPE == "Wave" then
  1134. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1135. elseif TYPE == "Ring" then
  1136. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1137. elseif TYPE == "Slash" then
  1138. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1139. elseif TYPE == "Round Slash" then
  1140. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1141. elseif TYPE == "Swirl" then
  1142. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1143. elseif TYPE == "Skull" then
  1144. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1145. elseif TYPE == "Crystal" then
  1146. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1147. end
  1148. if MSH ~= nil then
  1149. local MOVESPEED = nil
  1150. if MOVEDIRECTION ~= nil then
  1151. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1152. end
  1153. local GROWTH = SIZE - ENDSIZE
  1154. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1155. if TYPE == "Block" then
  1156. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1157. else
  1158. EFFECT.CFrame = CFRAME
  1159. end
  1160. for LOOP = 1, TIME+1 do
  1161. Swait()
  1162. MSH.Scale = MSH.Scale - GROWTH/TIME
  1163. if TYPE == "Wave" then
  1164. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1165. end
  1166. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1167. if TYPE == "Block" then
  1168. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1169. else
  1170. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1171. end
  1172. if MOVEDIRECTION ~= nil then
  1173. local ORI = EFFECT.Orientation
  1174. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1175. EFFECT.Orientation = ORI
  1176. end
  1177. end
  1178. if PLAYSSOUND == false then
  1179. EFFECT:remove()
  1180. else
  1181. SOUND.Stopped:Connect(function()
  1182. EFFECT:remove()
  1183. end)
  1184. end
  1185. else
  1186. if PLAYSSOUND == false then
  1187. EFFECT:remove()
  1188. else
  1189. repeat Swait() until SOUND.Playing == false
  1190. EFFECT:remove()
  1191. end
  1192. end
  1193. end))
  1194. end
  1195. end)
  1196. function MakeForm(PART,TYPE)
  1197. if TYPE == "Cyl" then
  1198. local MSH = IT("CylinderMesh",PART)
  1199. elseif TYPE == "Ball" then
  1200. local MSH = IT("SpecialMesh",PART)
  1201. MSH.MeshType = "Sphere"
  1202. elseif TYPE == "Wedge" then
  1203. local MSH = IT("SpecialMesh",PART)
  1204. MSH.MeshType = "Wedge"
  1205. end
  1206. end
  1207. function SpawnTrail(FROM,TO,BIG)
  1208. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  1209. MakeForm(TRAIL,"Cyl")
  1210. local cR=255
  1211. local cG=0
  1212. local cB=0
  1213. local flg5=1 local omgidk=1
  1214. local add=15
  1215. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1216. if omgidk>10000 then omgidk=0 end
  1217. omgidk=omgidk+1
  1218. if cR>=255 then flg5=1 end
  1219. if cG>=255 then flg5=2 end
  1220. if cB>=255 then flg5=3 end
  1221. if flg5==1 then cR=cR-add cG=cG+add end
  1222. if flg5==2 then cG=cG-add cB=cB+add end
  1223. if flg5==3 then cB=cB-add cR=cR+add end
  1224. color=Color3.fromRGB(cR,cG,cB)
  1225. TRAIL.Color = color
  1226. end)
  1227. local DIST = (FROM - TO).Magnitude
  1228. if BIG == true then
  1229. TRAIL.Size = VT(5,DIST,5)
  1230. else
  1231. TRAIL.Size = VT(5,DIST,5)
  1232. end
  1233. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1234. coroutine.resume(coroutine.create(function()
  1235. for i = 1, 55 do
  1236. Swait()
  1237. TRAIL.Transparency = TRAIL.Transparency + 0.01
  1238. end
  1239. TRAIL:remove()
  1240. end))
  1241. end
  1242.  
  1243. Debris = game:GetService("Debris")
  1244.  
  1245. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1246. local DIRECTION = CF(StartPos,EndPos).lookVector
  1247. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1248. end
  1249.  
  1250. function turnto(position)
  1251. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1252. end
  1253.  
  1254. --//=================================\\
  1255. --|| WEAPON CREATION
  1256. --\\=================================//
  1257.  
  1258. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1259. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1260. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1261. MakeForm(Part,"Wedge")
  1262. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1263. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1264. MakeForm(Part,"Wedge")
  1265. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1266. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1267. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1268. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1269. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1270. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1271. MakeForm(Part,"Cyl")
  1272. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1273. for i = 1, 8 do
  1274. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1275. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1276. end
  1277. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1278. MakeForm(Part,"Cyl")
  1279. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1280. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1281. MakeForm(Part,"Ball")
  1282. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1283. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1284. MakeForm(Part,"Wedge")
  1285. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1286. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1287. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1288. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1289. MakeForm(Part,"Cyl")
  1290. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1291. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1292. MakeForm(Part,"Cyl")
  1293. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1294. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1295. MakeForm(Part,"Cyl")
  1296. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1297. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1298. MakeForm(Part,"Wedge")
  1299. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1300. local LASTPART = Handle
  1301. for i = 1, 10 do
  1302. if LASTPART == Handle then
  1303. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1304. LASTPART = Part
  1305. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1306. else
  1307. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1308. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1309. LASTPART = Part
  1310. end
  1311. end
  1312.  
  1313. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1314. MakeForm(Barrel,"Cyl")
  1315. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1316. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1317. MakeForm(Part,"Cyl")
  1318. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1319. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1320. MakeForm(Part,"Wedge")
  1321. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1322. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1323. MakeForm(Hole,"Cyl")
  1324. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1325. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1326. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1327. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1328. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1329. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1330. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1331. coroutine.resume(coroutine.create(function()
  1332. while wait() do
  1333. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1334. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1335. end
  1336. end))
  1337.  
  1338. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1339. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1340. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1341. MakeForm(Part,"Wedge")
  1342. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1343. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1344. MakeForm(Part,"Wedge")
  1345. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1346. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1347. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1348. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1349. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1350. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1351. MakeForm(Part,"Cyl")
  1352. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1353. for i = 1, 8 do
  1354. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1355. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1356. end
  1357. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1358. MakeForm(Part,"Cyl")
  1359. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1360. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1361. MakeForm(Part,"Ball")
  1362. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1363. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1364. MakeForm(Part,"Wedge")
  1365. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1366. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1367. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1368. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1369. MakeForm(Part,"Cyl")
  1370. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1371. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1372. MakeForm(Part,"Cyl")
  1373. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1374. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1375. MakeForm(Part,"Cyl")
  1376. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1377. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1378. MakeForm(Part,"Wedge")
  1379. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1380. local LASTPART = Handle
  1381. for i = 1, 10 do
  1382. if LASTPART == Handle then
  1383. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1384. LASTPART = Part
  1385. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1386. else
  1387. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1388. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1389. LASTPART = Part
  1390. end
  1391. end
  1392.  
  1393. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1394. MakeForm(Barrel,"Cyl")
  1395. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1396. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1397. MakeForm(Part,"Cyl")
  1398. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1399. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1400. MakeForm(Part,"Wedge")
  1401. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1402. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1403. MakeForm(Hole,"Cyl")
  1404. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1405. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1406. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1407. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1408. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1409. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1410. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1411. coroutine.resume(coroutine.create(function()
  1412. while wait() do
  1413. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1414. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1415. end
  1416. end))
  1417.  
  1418. local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, LeftArm, 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))
  1419.  
  1420. for i = 1, 35 do
  1421. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  1422. FACE.Color = C3(0,0,0)
  1423. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1424. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1425. end
  1426. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Black", "Eye", VT(0.6,0.1,1)/2,false)
  1427. MakeForm(Eye,"Ball")
  1428. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1429. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Black", "Eye", VT(0.6,0.1,1)/2,false)
  1430. MakeForm(Eye,"Ball")
  1431. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1432. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.1,1,1)/2,false)
  1433. MakeForm(Eye,"Ball")
  1434. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1435. local Eye = CreatePart(3, Character, "Neon", 0, 0, "White", "Eye", VT(0.1,1,1)/2,false)
  1436. MakeForm(Eye,"Ball")
  1437. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1438.  
  1439. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Eon", VT(0.5,0.5,1.25),false)
  1440. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1441.  
  1442. local Particle = IT("ParticleEmitter",nil)
  1443. Particle.Enabled = false
  1444. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1445. Particle.LightEmission = 0.5
  1446. Particle.Rate = 150
  1447. Particle.ZOffset = 0.2
  1448. Particle.Rotation = NumberRange.new(-180, 180)
  1449. Particle.RotSpeed = NumberRange.new(-180, 180)
  1450. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1451. Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
  1452.  
  1453. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1454. function ParticleEmitter(Table)
  1455. local PRTCL = Particle:Clone()
  1456. local Speed = Table.Speed or 5
  1457. local Drag = Table.Drag or 0
  1458. local Size1 = Table.Size1 or 1
  1459. local Size2 = Table.Size2 or 5
  1460. local Lifetime1 = Table.Lifetime1 or 1
  1461. local Lifetime2 = Table.Lifetime2 or 1.5
  1462. local Parent = Table.Parent or Torso
  1463. local Emit = Table.Emit or 100
  1464. local Offset = Table.Offset or 360
  1465. local Acel = Table.Acel or VT(0,0,0)
  1466. local Enabled = Table.Enabled or false
  1467. PRTCL.Parent = Parent
  1468. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1469. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1470. PRTCL.Speed = NumberRange.new(Speed)
  1471. PRTCL.VelocitySpread = Offset
  1472. PRTCL.Drag = Drag
  1473. PRTCL.Acceleration = Acel
  1474. if Enabled == false then
  1475. PRTCL:Emit(Emit)
  1476. Debris:AddItem(PRTCL,Lifetime2)
  1477. else
  1478. PRTCL.Enabled = true
  1479. end
  1480. return PRTCL
  1481. end
  1482.  
  1483.  
  1484. for i = 1, 10 do
  1485. if LASTPART == Handle then
  1486. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1487. LASTPART = Part
  1488. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1489. else
  1490. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1491. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1492. LASTPART = Part
  1493. end
  1494. end
  1495.  
  1496. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  1497. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  1498.  
  1499. local cR=255
  1500. local cG=0
  1501. local cB=0
  1502. local flg5=1 local omgidk=1
  1503. local add=15
  1504. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1505. if omgidk>10000 then omgidk=0 end
  1506. omgidk=omgidk+1
  1507. if cR>=255 then flg5=1 end
  1508. if cG>=255 then flg5=2 end
  1509. if cB>=255 then flg5=3 end
  1510. if flg5==1 then cR=cR-add cG=cG+add end
  1511. if flg5==2 then cG=cG-add cB=cB+add end
  1512. if flg5==3 then cB=cB-add cR=cR+add end
  1513. color=Color3.fromRGB(cR,cG,cB)
  1514. for _, c in pairs(Weapon:GetDescendants()) do
  1515. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1516. c.Material = "Glass"
  1517. c.Color = C3(0,0,0)
  1518. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1519. c.Color = color
  1520. c.Material = "Neon"
  1521. end
  1522. end
  1523. end)
  1524. Weapon.Parent = Character
  1525. for _, c in pairs(Weapon:GetChildren()) do
  1526. if c.ClassName == "Part" then
  1527. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1528. end
  1529. end
  1530.  
  1531. function swait(num)
  1532. if num == 0 or num == nil then
  1533. ArtificialHB.Event:wait()
  1534. else
  1535. for i = 0, num do
  1536. ArtificialHB.Event:wait()
  1537. end
  1538. end
  1539. end
  1540.  
  1541. function chatfunc(text)
  1542. local chat = coroutine.wrap(function()
  1543. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1544. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1545. end
  1546. local Bill = Instance.new("BillboardGui",Character)
  1547. Bill.Size = UDim2.new(0,100,0,40)
  1548. Bill.StudsOffset = Vector3.new(0,3,0)
  1549. Bill.Adornee = Character.Head
  1550. Bill.Name = "TalkingBillBoard"
  1551. local Hehe = Instance.new("TextLabel",Bill)
  1552. Hehe.BackgroundTransparency = 1
  1553. Hehe.BorderSizePixel = 0
  1554. Hehe.Text = ""
  1555. Hehe.Font = "Bodoni"
  1556. Hehe.TextSize = 40
  1557. Hehe.TextStrokeTransparency = 0
  1558. Hehe.Size = UDim2.new(1,0,0.5,0)
  1559. coroutine.resume(coroutine.create(function()
  1560. while Hehe ~= nil do
  1561. swait()
  1562. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1563. Hehe.Rotation = math.random(-5,5)
  1564. Hehe.TextColor3 = Color3.new(0,255,0)
  1565. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1566. end
  1567. end))
  1568. for i = 1,string.len(text),1 do
  1569. swait()
  1570. Hehe.Text = string.sub(text,1,i)
  1571. end
  1572. swait(90)--Re[math.random(1, 93)]
  1573. for i = 0, 1, .025 do
  1574. swait()
  1575. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1576. Hehe.TextStrokeTransparency = i
  1577. Hehe.TextTransparency = i
  1578. end
  1579. Bill:Destroy()
  1580. end)
  1581. chat()
  1582. end
  1583.  
  1584. function onChatted(msg)
  1585. chatfunc(msg)
  1586. end
  1587.  
  1588. Player.Chatted:connect(onChatted)
  1589.  
  1590. local BODY = {}
  1591. for _, c in pairs(Character:GetDescendants()) do
  1592. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1593. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1594. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1595. end
  1596. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  1597. elseif c:IsA("JointInstance") then
  1598. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  1599. end
  1600. end
  1601.  
  1602. function refit()
  1603. Character.Parent = workspace
  1604. for e = 1, #BODY do
  1605. if BODY[e] ~= nil then
  1606. local STUFF = BODY[e]
  1607. local PART = STUFF[1]
  1608. local PARENT = STUFF[2]
  1609. local MATERIAL = STUFF[3]
  1610. local COLOR = STUFF[4]
  1611. local TRANSPARENCY = STUFF[5]
  1612. --local SIZE = STUFF[6]
  1613. local NAME = STUFF[7]
  1614. if PART.ClassName == "Part" and PART ~= RootPart then
  1615. PART.Material = MATERIAL
  1616. PART.Transparency = TRANSPARENCY
  1617. PART.Name = NAME
  1618. end
  1619. if PART.Parent ~= PARENT then
  1620. Humanoid:remove()
  1621. PART.Parent = PARENT
  1622. Humanoid = IT("Humanoid",Character)
  1623. end
  1624. end
  1625. end
  1626. end
  1627.  
  1628. local SKILLTEXTCOLOR = C3(0,255,0)
  1629. local SKILLFONT = "Code"
  1630. local SKILLTEXTSIZE = 7
  1631.  
  1632. Humanoid.Died:connect(function()
  1633. refit()
  1634. end)
  1635.  
  1636. function printbye(Name)
  1637. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1638. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1639. end
  1640.  
  1641. workspace.ChildAdded:connect(function(instance)
  1642. for BANISH = 1, #TOBANISH do
  1643. if TOBANISH[BANISH] ~= nil then
  1644. if instance.Name == TOBANISH[BANISH] then
  1645. coroutine.resume(coroutine.create(function()
  1646. printbye(instance.Name)
  1647. instance:ClearAllChildren()
  1648. Debris:AddItem(instance,0.0005)
  1649. end))
  1650. end
  1651. end
  1652. end
  1653. end)
  1654.  
  1655. --//=================================\\
  1656. --|| DAMAGING
  1657. --\\=================================//
  1658.  
  1659. function Banish(Foe)
  1660. if Foe then
  1661. coroutine.resume(coroutine.create(function()
  1662. --if game.Players:FindFirstChild(Foe.Name) then
  1663. table.insert(TOBANISH,Foe.Name)
  1664. printbye(Foe.Name)
  1665. --end
  1666. Foe.Archivable = true
  1667. local CLONE = Foe:Clone()
  1668. Foe:Destroy()
  1669. CLONE.Parent = Effects
  1670. CLONE:BreakJoints()
  1671. local MATERIALS = {"Glass","Neon"}
  1672. for _, c in pairs(CLONE:GetDescendants()) do
  1673. if c:IsA("BasePart") then
  1674. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1675. CreateSound(340722848, c, 10, 1, false)
  1676. end
  1677. c.Anchored = true
  1678. c.Transparency = c.Transparency + 0.2
  1679. c.Material = MATERIALS[MRANDOM(1,2)]
  1680. c.Color = C3(0,255,0)
  1681. if c.ClassName == "MeshPart" then
  1682. c.TextureID = ""
  1683. end
  1684. if c:FindFirstChildOfClass("SpecialMesh") then
  1685. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1686. end
  1687. if c:FindFirstChildOfClass("Decal") then
  1688. c:FindFirstChildOfClass("Decal"):remove()
  1689. end
  1690. c.Name = "Banished"
  1691. c.CanCollide = false
  1692. else
  1693. c:remove()
  1694. end
  1695. end
  1696. local A = false
  1697. for i = 1, 35 do
  1698. if A == false then
  1699. A = true
  1700. elseif A == true then
  1701. A = false
  1702. end
  1703. for _, c in pairs(CLONE:GetDescendants()) do
  1704. if c:IsA("BasePart") then
  1705. c.Anchored = true
  1706. c.Material = MATERIALS[MRANDOM(1,2)]
  1707. c.Transparency = c.Transparency + 0.8/35
  1708. if A == false then
  1709. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1710. elseif A == true then
  1711. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1712. end
  1713. end
  1714. end
  1715. Swait()
  1716. end
  1717. CLONE:remove()
  1718. end))
  1719. end
  1720. end
  1721.  
  1722. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1723. local CHILDREN = workspace:GetDescendants()
  1724. for index, CHILD in pairs(CHILDREN) do
  1725. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1726. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1727. if HUM then
  1728. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1729. if TORSO then
  1730. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1731. if ISBANISH == true then
  1732. Banish(CHILD)
  1733. else
  1734. if ISBANISH == "Gravity" then
  1735. HUM.PlatformStand = true
  1736. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1737. local grav = Instance.new("BodyPosition",TORSO)
  1738. grav.D = 15
  1739. grav.P = 20000
  1740. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1741. grav.position = TORSO.Position
  1742. grav.Name = "V3BanishForce"..Player.Name
  1743. else
  1744. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1745. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1746. end
  1747. else
  1748. HUM.PlatformStand = false
  1749. end
  1750. end
  1751. elseif ISBANISH == "Gravity" then
  1752. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1753. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1754. HUM.PlatformStand = false
  1755. end
  1756. end
  1757. end
  1758. end
  1759. end
  1760. end
  1761. end
  1762.  
  1763. UnBanishTaunts = {"You Are Released.", "If You Do The Same Thing Twice You Shall Not Be Given Mercy.", "Your Actions Have Been Forgiven.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Its Only Fair To Show You Mercy."}
  1764. --//=================================\\
  1765. --|| ATTACK FUNCTIONS AND STUFF
  1766. --\\=================================//
  1767.  
  1768. local LAUGHS = {"907329532", "907329893", "865772398", "907333294"}
  1769.  
  1770. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1771. MakeForm(RightHole,"Cyl")
  1772. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1773. MakeForm(LeftHole,"Cyl")
  1774.  
  1775. function getbloody(victim,amount)
  1776. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1777. PART.CFrame = victim.CFrame
  1778. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1779. Debris:AddItem(PART,5)
  1780. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1781. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1782. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1783. local prtcl = asd:Clone()
  1784. prtcl.Parent = PART
  1785. prtcl:Emit(amount*10)
  1786. end
  1787.  
  1788. GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false)
  1789.  
  1790. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  1791. if DoesCourontine == false then
  1792. local Direction = CF(Part.Position, ToLocation)
  1793. local Distance = (Part.Position - ToLocation).magnitude
  1794. for i = 1, AmountOfTime do
  1795. Swait()
  1796. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  1797. Direction = Part.CFrame
  1798. end
  1799. Part:remove()
  1800. elseif DoesCourontine == true then
  1801. coroutine.resume(coroutine.create(function()
  1802. local Direction = CF(Part.Position, ToLocation)
  1803. local Distance = (Part.Position - ToLocation).magnitude
  1804. for i = 1, AmountOfTime do
  1805. Swait()
  1806. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  1807. Direction = Part.CFrame
  1808. end
  1809. Part:remove()
  1810. end))
  1811. end
  1812. end
  1813.  
  1814. function AttackTemplate()
  1815. ATTACK = true
  1816. Rooted = false
  1817. for i=0, 0, 0.1 / Animation_Speed do
  1818. Swait()
  1819. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1820. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1821. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1822. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1823. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1824. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1825. end
  1826. ATTACK = false
  1827. Rooted = false
  1828. end
  1829.  
  1830. function Nova_Blast()
  1831. local HITBODIES = {}
  1832. local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "White", "CenterPart", VT(0,0,0))
  1833. local HITFLOOR,ECH,NORMAL = Raycast(Mouse.Hit.p+VT(0,2,0), (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 10000000, Character)
  1834. CENTER.CFrame = CF(ECH)
  1835. local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Black", "Laser01", VT(25,99999,25))
  1836. RAY.Color = C3(0.05,0.05,0.15)
  1837. MakeForm(RAY,"Cyl")
  1838. RAY.CFrame = CF(ECH)
  1839. for i = 1, 75 do
  1840. Swait()
  1841. RAY.Transparency = RAY.Transparency - 1/75
  1842. RAY.Size = RAY.Size - VT(25/75,0,25/75)
  1843. MagicSphere(VT(1,1,1),15,CF(ECH)*CF(MRANDOM(-15,15),MRANDOM(0,100),MRANDOM(-15,15)),C3(1,1,1),VT(0,0,0))
  1844. end
  1845. killnearest(ECH,25,25)
  1846. MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2))
  1847. for i = 1, 25 do
  1848. MagicSphere(VT(1,1,1),i*3,CF(ECH)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0))
  1849. end
  1850. CreateSound("168586621", CENTER, 10, 0.8)
  1851. RAY:remove()
  1852. Debris:AddItem(CENTER,5)
  1853. end
  1854.  
  1855. function Morning_Star()
  1856. ATTACK = true
  1857. Rooted = true
  1858. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  1859. for i=0, 0, 0.1 / Animation_Speed do
  1860. Swait()
  1861. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1862. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1863. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1864. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1865. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1866. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1867. end
  1868. coroutine.resume(coroutine.create(function()
  1869. local POS = Mouse.Hit.p
  1870. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "White", "Eye", VT(0,2000,0))
  1871. MakeForm(RAY,"Cyl")
  1872. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "White", "Eye", VT(0,0,0))
  1873. MakeForm(SPHERE,"Ball")
  1874. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Eye", VT(0,0,0))
  1875. MakeForm(SHIELD,"Ball")
  1876. SHIELD.CFrame = CF(POS)
  1877. RAY.CFrame = CF(POS)
  1878. SPHERE.CFrame = CF(POS)
  1879. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1880. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1881. for i = 1, 200 do
  1882. Swait()
  1883. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1884. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1885. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1886. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1887. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1888. end
  1889. for i = 1, 45 do
  1890. Swait()
  1891. RAY.Transparency = RAY.Transparency + 1/45
  1892. SPHERE.Transparency = RAY.Transparency
  1893. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1894. end
  1895. RAY:remove()
  1896. SHIELD:remove()
  1897. SPHERE:remove()
  1898. end))
  1899. for i=0, 0, 0.1 / Animation_Speed do
  1900. Swait()
  1901. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1902. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1903. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1904. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1905. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1906. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1907. end
  1908. ATTACK = false
  1909. Rooted = false
  1910. end
  1911.  
  1912. function Deathbound()
  1913. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  1914. ATTACK = true
  1915. Rooted = true
  1916. for i=0, 0, 0.1 / Animation_Speed do
  1917. Swait()
  1918. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1919. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1920. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1921. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1922. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1923. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1924. end
  1925. local DONE = false
  1926. local GATE = nil
  1927. local GATESPIN = true
  1928. coroutine.resume(coroutine.create(function()
  1929. repeat
  1930. Swait()
  1931. if GATE ~= nil then
  1932. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1933. end
  1934. until GATESPIN == false
  1935. end))
  1936. coroutine.resume(coroutine.create(function()
  1937. repeat
  1938. Swait()
  1939. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1940. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1941. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1942. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1943. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1944. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1945. until DONE == true
  1946. Swait(50)
  1947. for i = 1, 35 do
  1948. Swait(4)
  1949. local FIRED = false
  1950. local CHILDREN = workspace:GetDescendants()
  1951. for index, CHILD in pairs(CHILDREN) do
  1952. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1953. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1954. if HUM then
  1955. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1956. if TORSO then
  1957. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1958. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1959. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1960. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  1961. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1962. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1963. Kill(CHILD)
  1964. FIRED = true
  1965. break
  1966. end
  1967. end
  1968. end
  1969. end
  1970. end
  1971. if FIRED == false then
  1972. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1973. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  1974. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1975. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1976. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1977. if HITBOD ~= nil then
  1978. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1979. Kill(HITBOD.Parent)
  1980. end
  1981. end
  1982. end
  1983. end
  1984. for i = 1, 45 do
  1985. Swait()
  1986. GATE.Size = GATE.Size - VT(30,0,30)
  1987. end
  1988. GATESPIN = false
  1989. GATE:remove()
  1990. end))
  1991. Swait(15)
  1992. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1993. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Eye", VT(0,0,0))
  1994. local DECAL = IT("Decal",GATE)
  1995. DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
  1996. DECAL.Face = "Top"
  1997. GATE.CFrame = CF(HITPOS)
  1998. CreateSound(160772554, GATE, 7, 1.3, false)
  1999. for i = 1, 45 do
  2000. Swait()
  2001. GATE.Size = GATE.Size + VT(30,0,30)
  2002. end
  2003. CreateSound(145080998, RightHole, 7, 1, false)
  2004. CreateSound(145080998, LeftHole, 7, 1, false)
  2005. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2006. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2007. ATTACK = false
  2008. Rooted = false
  2009. DONE = true
  2010. end
  2011.  
  2012. function Nuke()
  2013. ATTACK = true
  2014. Rooted = true
  2015. local CHARGE = false
  2016. local BLASTS = {468991944, 468991990}
  2017. coroutine.resume(coroutine.create(function()
  2018. repeat
  2019. Swait()
  2020. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  2021. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  2022. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  2023. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  2024. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2025. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2026. until CHARGE == true
  2027. for i = 0, 0.4, 0.1 / Animation_Speed do
  2028. Swait()
  2029. WACKYEFFECT({
  2030. Time = 15,
  2031. EffectType = "Sphere",
  2032. Size = VT(60, 60, 60),
  2033. Size2 = VT(0, 0, 0),
  2034. Transparency = 1,
  2035. Transparency2 = 0.7,
  2036. CFrame = CF(RootPart.Position),
  2037. MoveToPos = nil,
  2038. RotationX = 0,
  2039. RotationY = 0,
  2040. RotationZ = 0,
  2041. Material = "Neon",
  2042. Color = C3(1, 1, 1),
  2043. SoundID = nil,
  2044. SoundPitch = nil,
  2045. SoundVolume = nil
  2046. })
  2047. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2048. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2049. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2050. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2051. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2052. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2053. end
  2054. coroutine.resume(coroutine.create(function()
  2055. local POS = RootPart.Position
  2056. wait(0.2)
  2057. for i = 1, 5 do
  2058. WACKYEFFECT({
  2059. Time = 65,
  2060. EffectType = "Sphere",
  2061. Size = VT(2, 2, 2),
  2062. Size2 = VT(0, 0, 500),
  2063. Transparency = 1,
  2064. Transparency2 = 0,
  2065. CFrame = CF(POS),
  2066. MoveToPos = nil,
  2067. RotationX = MRANDOM(-2, 2),
  2068. RotationY = MRANDOM(-12, 12),
  2069. RotationZ = MRANDOM(-2, 2),
  2070. Material = "Neon",
  2071. Color = C3(1, 1, 1),
  2072. SoundID = nil,
  2073. SoundPitch = nil,
  2074. SoundVolume = nil
  2075. })
  2076. end
  2077. wait(1)
  2078. SHAKECAM(POS, 9999999999, 25, 25)
  2079. ApplyAoE(POS, 450)
  2080. WACKYEFFECT({
  2081. Time = 85,
  2082. EffectType = "Sphere",
  2083. Size = VT(120, 120, 120),
  2084. Size2 = VT(350, 350, 350),
  2085. Transparency = 0,
  2086. Transparency2 = 1,
  2087. CFrame = CF(POS),
  2088. MoveToPos = nil,
  2089. RotationX = 0,
  2090. RotationY = 0,
  2091. RotationZ = 0,
  2092. Material = "Neon",
  2093. Color = C3(1, 1, 1),
  2094. SoundID = nil,
  2095. SoundPitch = 1,
  2096. SoundVolume = 10
  2097. })
  2098. for i = 1, 20 do
  2099. WACKYEFFECT({
  2100. Time = 85,
  2101. EffectType = "Sphere",
  2102. Size = VT(120, 120, 120),
  2103. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  2104. Transparency = 0.8,
  2105. Transparency2 = 1,
  2106. CFrame = CF(POS),
  2107. MoveToPos = nil,
  2108. RotationX = 0,
  2109. RotationY = 0,
  2110. RotationZ = 0,
  2111. Material = "Neon",
  2112. Color = C3(1, 1, 1),
  2113. SoundID = nil,
  2114. SoundPitch = 1,
  2115. SoundVolume = 10
  2116. })
  2117. WACKYEFFECT({
  2118. Time = 100,
  2119. EffectType = "Wave",
  2120. Size = VT(25, 2, 25),
  2121. Size2 = VT(400, 0, 400) * 1.2,
  2122. Transparency = 0,
  2123. Transparency2 = 1,
  2124. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2125. MoveToPos = nil,
  2126. RotationX = 0,
  2127. RotationY = 0,
  2128. RotationZ = 0,
  2129. Material = "Neon",
  2130. Color = C3(1, 1, 1),
  2131. SoundID = nil,
  2132. SoundPitch = nil,
  2133. SoundVolume = nil
  2134. })
  2135. end
  2136. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2137. for i = 1, 5 do
  2138. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  2139. WACKYEFFECT({
  2140. Time = 120,
  2141. EffectType = "Wave",
  2142. Size = VT(150, 2, 150),
  2143. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  2144. Transparency = 0,
  2145. Transparency2 = 1,
  2146. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  2147. MoveToPos = nil,
  2148. RotationX = 0,
  2149. RotationY = 0,
  2150. RotationZ = 0,
  2151. Material = "Neon",
  2152. Color = C3(1, 1, 1),
  2153. SoundID = nil,
  2154. SoundPitch = nil,
  2155. SoundVolume = nil
  2156. })
  2157. end
  2158. end))
  2159. for i = 0, 1, 0.1 / Animation_Speed do
  2160. Swait()
  2161. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2162. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2163. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2164. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2165. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2166. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2167. end
  2168. ATTACK = false
  2169. Rooted = false
  2170. end))
  2171. for i = 1, 30 do
  2172. wait(0.01)
  2173. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  2174. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2175. if HITFLOOR then
  2176. ApplyAoE(HITPOS, 65, true)
  2177. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2178. WACKYEFFECT({
  2179. Time = 25,
  2180. EffectType = "Sphere",
  2181. Size = VT(22, 22, 22),
  2182. Size2 = VT(85, 85, 85),
  2183. Transparency = 0,
  2184. Transparency2 = 1,
  2185. CFrame = CF(HITPOS),
  2186. MoveToPos = nil,
  2187. RotationX = 0,
  2188. RotationY = 0,
  2189. RotationZ = 0,
  2190. Material = "Neon",
  2191. Color = C3(1, 1, 1),
  2192. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  2193. SoundPitch = MRANDOM(9, 12) / 10,
  2194. SoundVolume = 10
  2195. })
  2196. for e = 1, 3 do
  2197. WACKYEFFECT({
  2198. EffectType = "Wave",
  2199. Size = VT(25, 0, 25),
  2200. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  2201. Transparency = 0,
  2202. Transparency2 = 1,
  2203. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  2204. MoveToPos = nil,
  2205. RotationX = 0,
  2206. RotationY = 3,
  2207. RotationZ = 0,
  2208. Material = "Neon",
  2209. Color = C3(1, 1, 1),
  2210. SoundID = nil,
  2211. SoundPitch = nil,
  2212. SoundVolume = nil
  2213. })
  2214. WACKYEFFECT({
  2215. Time = 35,
  2216. EffectType = "Sphere",
  2217. Size = VT(22, 45, 22),
  2218. Size2 = VT(25, 45 + e * 75, 25),
  2219. Transparency = 0,
  2220. Transparency2 = 1,
  2221. CFrame = CF(HITPOS) * TURN,
  2222. MoveToPos = nil,
  2223. RotationX = 0,
  2224. RotationY = 0,
  2225. RotationZ = 0,
  2226. Material = "Neon",
  2227. Color = C3(1, 1, 1),
  2228. SoundID = nil,
  2229. SoundPitch = MRANDOM(9, 12) / 10,
  2230. SoundVolume = 10
  2231. })
  2232. end
  2233. end
  2234. end
  2235. CHARGE = true
  2236. end
  2237.  
  2238. function oofBeam()
  2239. ATTACK = true
  2240. Rooted = false
  2241. VALUE2 = true
  2242. local GYRO = IT("BodyGyro", RootPart)
  2243. GYRO.D = 20
  2244. GYRO.P = 4000
  2245. GYRO.MaxTorque = VT(0, 40000, 0)
  2246. local POS = RootPart.Position + VT(0, 25, 0)
  2247. CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10)
  2248. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2249. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2250. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2251. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2252. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2253. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2254. coroutine.resume(coroutine.create(function()
  2255. local E = 0
  2256. repeat
  2257. E = E + 5
  2258. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2259. Swait()
  2260. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2261. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2262. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2263. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2264. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2265. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2266. until ATTACK == false
  2267. GYRO:remove()
  2268. end))
  2269. for i = 1, 50 do
  2270. Swait()
  2271. end
  2272. for i = 1, 25 do
  2273. Swait()
  2274. WACKYEFFECT({
  2275. Time = 15,
  2276. EffectType = "Ball",
  2277. Size = VT(4, 4, 4),
  2278. Size2 = VT(0, 0, 0),
  2279. Transparency = 1,
  2280. Transparency2 = 0,
  2281. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  2282. MoveToPos = Eon.Position,
  2283. RotationX = 0,
  2284. RotationY = 0,
  2285. RotationZ = 0,
  2286. Material = "Neon",
  2287. Color = C3(1, 0, 0),
  2288. SoundID = nil,
  2289. SoundPitch = nil,
  2290. SoundVolume = nil
  2291. })
  2292. end
  2293. local LOOP = 0
  2294. local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lime green"), "Beamo", VT(0,0,0))
  2295. MakeForm(BEAMO, "Ball")
  2296. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  2297. MakeForm(BEAM, "Cyl")
  2298. repeat
  2299. local DISTANCE = (Eon.Position - Mouse.Hit.p).Magnitude
  2300. if DISTANCE < 2000 then
  2301. BEAMO.Size = VT(3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4))
  2302. BEAMO.CFrame = CF(Eon.Position)
  2303. BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4))
  2304. BEAM.CFrame = CF(Eon.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  2305. ApplyAoE(Mouse.Hit.p, 14,true,false)
  2306. WACKYEFFECT({
  2307. Time = 35,
  2308. EffectType = "Sphere",
  2309. Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2,
  2310. Size2 = VT(5, 75, 5),
  2311. Transparency = 0,
  2312. Transparency2 = 1,
  2313. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2314. MoveToPos = nil,
  2315. RotationX = 0,
  2316. RotationY = 0,
  2317. RotationZ = 0,
  2318. Material = "Neon",
  2319. Color = C3(1, 0, 0),
  2320. SoundID = nil,
  2321. SoundPitch = MRANDOM(9, 12) / 10,
  2322. SoundVolume = 10
  2323. })
  2324. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame, MoveToPos = Eon.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-6).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2325. Swait()
  2326. LOOP = LOOP + 1
  2327. end
  2328. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  2329. coroutine.resume(coroutine.create(function()
  2330. for i = 1, 15 do
  2331. Swait()
  2332. BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
  2333. BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
  2334. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  2335. BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
  2336. end
  2337. BEAM:remove()
  2338. BEAMO:remove()
  2339. end))
  2340. ATTACK = false
  2341. Rooted = false
  2342. VALUE2 = false
  2343. end
  2344.  
  2345. function Absoluteum()
  2346. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  2347. if HITFLOOR ~= nil then
  2348. do
  2349. local HITBODIES = {}
  2350. ATTACK = true
  2351. Rooted = true
  2352. local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Black", "ABSOLUTEUM", VT(0, 0, 0))
  2353. MakeForm(ABSOLUTE, "Ball")
  2354. CreateSound("416200578", RootPart, 10, 1)
  2355. for i = 0, 8, 0.1 / Animation_Speed do
  2356. Swait()
  2357. ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2)
  2358. ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0)
  2359. ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01
  2360. local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Black", "ABSOLUTEUM", VT(2, 2, 2))
  2361. MakeForm(CHARGE, "Ball")
  2362. CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15))
  2363. FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true)
  2364. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2365. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2366. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2367. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2368. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2369. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2370. end
  2371. CreateSound(LAUGHS[MRANDOM(1, #LAUGHS)], Head, 10, 0.9)
  2372. CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10)
  2373. for i = 1, 45 do
  2374. Swait()
  2375. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2376. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2377. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2378. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2379. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2380. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2381. end
  2382. coroutine.resume(coroutine.create(function()
  2383. local IMPACT = false
  2384. local BULLET = ABSOLUTE
  2385. MakeForm(BULLET, "Ball")
  2386. BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p)
  2387. for i = 1, 500 do
  2388. Swait()
  2389. BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2)
  2390. local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character)
  2391. MagicSphere(VT(10, 10, 10), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Really red", VT(-10, -10, -10) / 55)
  2392. if HIT ~= nil then
  2393. IMPACT = true
  2394. break
  2395. end
  2396. end
  2397. if IMPACT == false then
  2398. for i = 1, 40 do
  2399. Swait()
  2400. BULLET.Size = BULLET.Size * 0.9
  2401. end
  2402. BULLET:remove()
  2403. else
  2404. CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10)
  2405. for i = 1, 175 do
  2406. Swait()
  2407. BULLET.Size = BULLET.Size * 0.99
  2408. Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Black", VT(i, 0, i) / 85)
  2409. end
  2410. CreateSound("438666001", BULLET, 10, 3)
  2411. Swait(35)
  2412. BULLET.Transparency = 1
  2413. for i = 1, 20 do
  2414. for e = 1, 5 do
  2415. MagicSphere(VT(0.2, 0.2, 0.2), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "White", VT(1, 1, i * 4), 0)
  2416. Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Black", VT(i, 0, i) / 3)
  2417. end
  2418. AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES)
  2419. CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10)
  2420. CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10)
  2421. MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2)
  2422. Swait(5)
  2423. for e = 1, #HITBODIES do
  2424. if HITBODIES[e] ~= nil then
  2425. local BOD = HITBODIES[e]
  2426. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  2427. if TORS then
  2428. BOD:BreakJoints()
  2429. for _, c in pairs(BOD:GetChildren()) do
  2430. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  2431. local bv = Instance.new("BodyVelocity")
  2432. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2433. bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250
  2434. bv.Parent = c
  2435. Debris:AddItem(bv, 0.2)
  2436. end
  2437. end
  2438. end
  2439. end
  2440. end
  2441. CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Black", VT(i, 0, i) * 2)
  2442. end
  2443. MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(12, 12, 12))
  2444. Debris:AddItem(BULLET, 10)
  2445. end
  2446. end))
  2447. ATTACK = false
  2448. Rooted = false
  2449. end
  2450. end
  2451. end
  2452. --//=================================\\
  2453. --|| ASSIGN THINGS TO KEYS
  2454. --\\=================================//
  2455.  
  2456. function MouseDown(Mouse)
  2457. if ATTACK == false then
  2458. end
  2459. end
  2460.  
  2461. function MouseUp(Mouse)
  2462. HOLD = false
  2463. end
  2464.  
  2465. function KeyDown(Key)
  2466. KEYHOLD = true
  2467.  
  2468. if Key == "q" and ATTACK == false then
  2469. Nova_Blast()
  2470. end
  2471.  
  2472. if Key == "z" and ATTACK == false then
  2473. oofBeam()
  2474. end
  2475.  
  2476. if Key == "f" and ATTACK == false then
  2477. Nuke()
  2478. end
  2479.  
  2480. if Key == "v" and ATTACK == false then
  2481. Morning_Star()
  2482. end
  2483.  
  2484. if Key == "x" and ATTACK == false then
  2485. Deathbound()
  2486. end
  2487.  
  2488. if Key == "c" and ATTACK == false then
  2489. Absoluteum()
  2490. end
  2491.  
  2492. if Key == "p" and ATTACK == false then
  2493. if Speed == 16 then
  2494. Speed = 150
  2495. elseif Speed == 150 then
  2496. Speed = 16
  2497. end
  2498. end
  2499. end
  2500.  
  2501. function KeyUp(Key)
  2502. KEYHOLD = false
  2503. end
  2504.  
  2505. Mouse.Button1Down:connect(function(NEWKEY)
  2506. MouseDown(NEWKEY)
  2507. end)
  2508. Mouse.Button1Up:connect(function(NEWKEY)
  2509. MouseUp(NEWKEY)
  2510. end)
  2511. Mouse.KeyDown:connect(function(NEWKEY)
  2512. KeyDown(NEWKEY)
  2513. end)
  2514. Mouse.KeyUp:connect(function(NEWKEY)
  2515. KeyUp(NEWKEY)
  2516. end)
  2517.  
  2518. --//=================================\\
  2519. --\\=================================//
  2520.  
  2521.  
  2522. function unanchor()
  2523. if UNANCHOR == true then
  2524. g = Character:GetChildren()
  2525. for i = 1, #g do
  2526. if g[i].ClassName == "Part" then
  2527. g[i].Anchored = false
  2528. end
  2529. end
  2530. end
  2531. end
  2532.  
  2533.  
  2534. --//=================================\\
  2535. --|| WRAP THE WHOLE SCRIPT UP
  2536. --\\=================================//
  2537.  
  2538. Humanoid.Changed:connect(function(Jump)
  2539. if Jump == "Jump" and (Disable_Jump == true) then
  2540. Humanoid.Jump = false
  2541. end
  2542. end)
  2543.  
  2544. local CONNECT = nil
  2545.  
  2546. while true do
  2547. Swait()
  2548. ANIMATE.Parent = nil
  2549. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2550. Humanoid = IT("Humanoid",Character)
  2551. end
  2552. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2553. v:Stop();
  2554. end
  2555. SINE = SINE + CHANGE
  2556. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2557. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2558. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2559. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2560. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2561. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2562. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2563. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2564. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2565. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2566. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2567. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2568. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2569. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2570. end
  2571. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2572. ANIM = "Jump"
  2573. if ATTACK == false then
  2574. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2575. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2576. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2577. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2578. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2579. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2580. end
  2581. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2582. ANIM = "Fall"
  2583. if ATTACK == false then
  2584. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2585. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2586. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2587. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2588. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2589. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2590. end
  2591. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2592. ANIM = "Idle"
  2593. if ATTACK == false then
  2594. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2595. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2596. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2597. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2598. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2599. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2600. end
  2601. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2602. ANIM = "Walk"
  2603. if ATTACK == false then
  2604. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2605. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2606. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2607. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2608. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2609. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2610. end
  2611. end
  2612. unanchor()
  2613. Humanoid.MaxHealth = "inf"
  2614. Humanoid.Health = "inf"
  2615. if Rooted == false then
  2616. Disable_Jump = false
  2617. Humanoid.WalkSpeed = Speed
  2618. elseif Rooted == true then
  2619. Disable_Jump = true
  2620. Humanoid.WalkSpeed = 0
  2621. end
  2622. sick.Parent = Torso
  2623. sick:resume()
  2624. sick.Volume = 0
  2625. sick.Pitch = 1
  2626. sick.SoundId = "rbxassetid://933032912"
  2627. sick.Name = "BanishV3Music"
  2628. end
  2629.  
  2630. --//=================================\\
  2631. --\\=================================//
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637. --//====================================================\\--
  2638. --|| END OF SCRIPT
  2639. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement