Advertisement
Goo345

Untitled

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