ChiefLeen

Rainbow King 1

May 22nd, 2022
1,169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 176.04 KB | None | 0 0
  1.  
  2. HumanDied = false
  3. local CountSCIFIMOVIELOL = 1
  4. function SCIFIMOVIELOL(Part0,Part1,Position,Angle)
  5. local AlignPos = Instance.new('AlignPosition', Part1); AlignPos.Name = "AliP_"..CountSCIFIMOVIELOL
  6. AlignPos.ApplyAtCenterOfMass = true;
  7. AlignPos.MaxForce = 5772000--67752;
  8. AlignPos.MaxVelocity = math.huge/9e110;
  9. AlignPos.ReactionForceEnabled = false;
  10. AlignPos.Responsiveness = 200;
  11. AlignPos.RigidityEnabled = false;
  12. local AlignOri = Instance.new('AlignOrientation', Part1); AlignOri.Name = "AliO_"..CountSCIFIMOVIELOL
  13. AlignOri.MaxAngularVelocity = math.huge/9e110;
  14. AlignOri.MaxTorque = 5772000
  15. AlignOri.PrimaryAxisOnly = false;
  16. AlignOri.ReactionTorqueEnabled = false;
  17. AlignOri.Responsiveness = 200;
  18. AlignOri.RigidityEnabled = false;
  19. local AttachmentA=Instance.new('Attachment',Part1); AttachmentA.Name = "Ath_"..CountSCIFIMOVIELOL
  20. local AttachmentB=Instance.new('Attachment',Part0); AttachmentB.Name = "Ath_"..CountSCIFIMOVIELOL
  21. AttachmentA.Orientation = Angle or Vector3.new(0,0,0)
  22. AttachmentA.Position = Position or Vector3.new(0,0,0)
  23. AlignPos.Attachment1 = AttachmentA;
  24. AlignPos.Attachment0 = AttachmentB;
  25. AlignOri.Attachment1 = AttachmentA;
  26. AlignOri.Attachment0 = AttachmentB;
  27. CountSCIFIMOVIELOL = CountSCIFIMOVIELOL + 1
  28. return {AlignPos,AlignOri,AttachmentA,AttachmentB}
  29. end
  30.  
  31. if _G.netted ~= true then
  32. _G.netted = true
  33. coroutine.wrap(function()
  34. settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
  35. settings().Physics.AllowSleep = false
  36. game:GetService("RunService").RenderStepped:Connect(function()
  37. game:FindFirstChildOfClass("Players").LocalPlayer.MaximumSimulationRadius=math.pow(math.huge,math.huge)
  38. sethiddenproperty(game:FindFirstChildOfClass("Players").LocalPlayer,"SimulationRadius",math.huge*math.huge)
  39. end)
  40. end)()
  41. end
  42.  
  43. game:FindFirstChildOfClass("Players").LocalPlayer["Character"].Archivable = true
  44. local hatnameclone = {}
  45. for _,v in next, game:FindFirstChildOfClass("Players").LocalPlayer["Character"]:GetChildren() do
  46. if v:IsA("Accessory") then
  47. if hatnameclone[v.Name] then
  48. if hatnameclone[v.Name] == "s" then
  49. hatnameclone[v.Name] = {}
  50. end
  51. table.insert(hatnameclone[v.Name],v)
  52. else
  53. hatnameclone[v.Name] = "s"
  54. end
  55. end
  56. end
  57. for _,v in pairs(hatnameclone) do
  58. if type(v) == "table" then
  59. local num = 1
  60. for _,w in pairs(v) do
  61. w.Name = w.Name..num
  62. num = num + 1
  63. end
  64. end
  65. end
  66. hatnameclone = nil
  67.  
  68. local DeadChar = game:FindFirstChildOfClass("Players").LocalPlayer.Character
  69.  
  70. local fldr = Instance.new("Folder",game:FindFirstChildOfClass("Players").LocalPlayer["Character"])
  71. fldr.Name = "DMYF"
  72. local CloneChar = DeadChar:Clone()
  73. local ANIMATIONHERE
  74. if CloneChar:FindFirstChild("Animate") then
  75. ANIMATIONHERE = CloneChar:FindFirstChild("Animate"):Clone()
  76. CloneChar:FindFirstChild("Animate"):Destroy()
  77. end
  78. if CloneChar:FindFirstChildOfClass("Folder") then CloneChar:FindFirstChildOfClass("Folder"):Destroy() end
  79. if CloneChar.Torso:FindFirstChild("Neck") then
  80. local Clonessss = CloneChar.Torso:FindFirstChild("Neck"):Clone()
  81. Clonessss.Part0 = nil
  82. Clonessss.Part1 = DeadChar.Head
  83. Clonessss.Parent = DeadChar.Torso
  84. end
  85. CloneChar.Parent = fldr
  86. CloneChar.HumanoidRootPart.CFrame = DeadChar.HumanoidRootPart.CFrame
  87. CloneChar.Humanoid.BreakJointsOnDeath = false
  88. CloneChar.Name = "non"
  89. CloneChar.Humanoid.DisplayDistanceType = "None"
  90.  
  91. for _,v in next, DeadChar:GetChildren() do
  92. if v:IsA("Accessory") then
  93. local topacc = false
  94. if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
  95. v.Handle.Massless = true
  96. v.Handle.CanCollide = false
  97. if v.Handle:FindFirstChildOfClass("Attachment") then
  98. local ath__ = v.Handle:FindFirstChildOfClass("Attachment")
  99. if ath__.Name == "HatAttachment" or ath__.Name == "HairAttachment" or ath__.Name == "FaceFrontAttachment" or ath__.Name == "FaceCenterAttachment" then
  100. topacc = ath__.Name
  101. end
  102. end
  103. local bv = Instance.new("BodyVelocity",v.Handle)
  104. bv.Velocity = Vector3.new(0,0,0)
  105. coroutine.wrap(function()
  106. if topacc then
  107. local allthings = SCIFIMOVIELOL(v.Handle,DeadChar.Torso,Vector3.new(0,1.5,0)+ (DeadChar.Head[topacc].Position + (v.Handle[topacc].Position*-1)),Vector3.new(0,0,0))
  108. local normaltop = allthings[1].Attachment1
  109. local alipos = allthings[1]
  110. local alirot = allthings[2]
  111. local p0 = v.Handle
  112. local p1 = DeadChar.Head
  113. alipos.Parent = CloneChar:FindFirstChild(v.Name).Handle
  114. alirot.Parent = CloneChar:FindFirstChild(v.Name).Handle
  115. while true do
  116. game:GetService("RunService").RenderStepped:wait()
  117. if HumanDied then break end
  118. coroutine.wrap(function()
  119. if alipos.Attachment1 == normaltop then
  120. p0.CFrame = p0.CFrame:lerp((((DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)) * p1[topacc].CFrame) * p0[topacc].CFrame:inverse()),1)
  121. else
  122. v.Handle.CFrame = v.Handle.CFrame:lerp(alipos.Attachment1.Parent.CFrame * CFrame.new(alipos.Attachment1.Position) * CFrame.Angles(math.rad(alipos.Attachment1.Rotation.X),math.rad(alipos.Attachment1.Rotation.Y),math.rad(alipos.Attachment1.Rotation.Z)),1)
  123. end
  124. end)()
  125. end
  126. else
  127. SCIFIMOVIELOL(v.Handle,CloneChar[v.Name].Handle,Vector3.new(0,0,0),Vector3.new(0,0,0))
  128. end
  129. end)()
  130. end
  131. end
  132.  
  133. local a = DeadChar.Torso
  134. local b = DeadChar.HumanoidRootPart
  135. local c = DeadChar.Humanoid
  136. a.Parent = game:FindFirstChildOfClass("Workspace")
  137. c.Parent = game:FindFirstChildOfClass("Workspace")
  138. local told = a:Clone()
  139. local told1 = c:Clone()
  140. b["RootJoint"].Part0 = told
  141. b["RootJoint"].Part1 = DeadChar.Head
  142. a.Name = "torso"
  143. a.Neck:Destroy()
  144. c.Name = "Mizt Hub Best"
  145. told.Parent = DeadChar
  146. told1.Parent = DeadChar
  147. DeadChar.PrimaryPart = told
  148. told1.Health = 0
  149. b:Destroy()
  150. a.Parent = DeadChar
  151. c.Parent = DeadChar
  152. told:Destroy()
  153. told1:Destroy()
  154. a.Name = "Torso"
  155.  
  156. if CloneChar.Head:FindFirstChildOfClass("Decal") then CloneChar.Head:FindFirstChildOfClass("Decal").Transparency = 1 end
  157. if DeadChar:FindFirstChild("Animate") then DeadChar:FindFirstChild("Animate"):Destroy() end
  158.  
  159. local Collider
  160. function UnCollide()
  161. if HumanDied then Collider:Disconnect(); return end
  162. --[[for _,Parts in next, CloneChar:GetChildren() do
  163. if Parts:IsA("BasePart") then
  164. Parts.CanCollide = false
  165. end
  166. end]]
  167. for _,Parts in next, DeadChar:GetChildren() do
  168. if Parts:IsA("BasePart") then
  169. Parts.CanCollide = false
  170. end
  171. end
  172. end
  173. Collider = game:GetService("RunService").Stepped:Connect(UnCollide)
  174.  
  175. local resetBindable = Instance.new("BindableEvent")
  176. resetBindable.Event:connect(function()
  177. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  178. resetBindable:Destroy()
  179. HumanDied = true
  180. pcall(function()
  181. game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  182. DeadChar.Head:Destroy()
  183. DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
  184. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  185. if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
  186. end)
  187. end)
  188. game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
  189.  
  190. coroutine.wrap(function()
  191. while true do
  192. game:GetService("RunService").RenderStepped:wait()
  193. if not CloneChar or not CloneChar:FindFirstChild("Head") or not CloneChar:FindFirstChildOfClass("Humanoid") or CloneChar:FindFirstChildOfClass("Humanoid").Health <= 0 and not DeadChar or not DeadChar:FindFirstChild("Head") or not DeadChar:FindFirstChildOfClass("Humanoid") or DeadChar:FindFirstChildOfClass("Humanoid").Health <= 0 then
  194. HumanDied = true
  195. pcall(function()
  196. game:FindFirstChildOfClass("Players").LocalPlayer.Character = DeadChar
  197. DeadChar.Head:Destroy()
  198. DeadChar:FindFirstChildOfClass("Humanoid"):Destroy()
  199. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  200. if DeadChar:FindFirstChildOfClass("Folder") then DeadChar:FindFirstChildOfClass("Folder"):Destroy() end
  201. end)
  202. if resetBindable then
  203. game:GetService("StarterGui"):SetCore("ResetButtonCallback", true)
  204. resetBindable:Destroy()
  205. end
  206. break
  207. end
  208. end
  209. end)()
  210.  
  211.  
  212. SCIFIMOVIELOL(DeadChar["Head"],CloneChar["Head"])
  213. SCIFIMOVIELOL(DeadChar["Torso"],CloneChar["Torso"])
  214. SCIFIMOVIELOL(DeadChar["Left Arm"],CloneChar["Left Arm"])
  215. SCIFIMOVIELOL(DeadChar["Right Arm"],CloneChar["Right Arm"])
  216. SCIFIMOVIELOL(DeadChar["Left Leg"],CloneChar["Left Leg"])
  217. SCIFIMOVIELOL(DeadChar["Right Leg"],CloneChar["Right Leg"])
  218.  
  219. for _,v in pairs(DeadChar:GetChildren()) do
  220. if v:IsA("BasePart") and v.Name ~= "Head" then
  221. --[[local bv = Instance.new("BodyVelocity",v)
  222. bv.Velocity = Vector3.new(0,0,0)
  223. coroutine.wrap(function()
  224. while true do
  225. game:GetService("RunService").RenderStepped:wait()
  226. if HumanDied then break end
  227. v.CFrame = CloneChar[v.Name].CFrame
  228. end
  229. end)()]]
  230. elseif v:IsA("BasePart") and v.Name == "Head" then
  231. local bv = Instance.new("BodyVelocity",v)
  232. bv.Velocity = Vector3.new(0,0,0)
  233. coroutine.wrap(function()
  234. while true do
  235. game:GetService("RunService").RenderStepped:wait()
  236. if HumanDied then break end
  237. v.CFrame = DeadChar.Torso.CFrame * CFrame.new(0,1.5,0)
  238. end
  239. end)()
  240. end
  241. end
  242.  
  243. for _,BodyParts in next, CloneChar:GetDescendants() do
  244. if BodyParts:IsA("BasePart") or BodyParts:IsA("Part") then
  245. BodyParts.Transparency = 1 end end
  246. game:GetService("RunService").RenderStepped:wait()
  247. game:FindFirstChildOfClass("Players").LocalPlayer.Character = CloneChar
  248. game:FindFirstChildOfClass("Workspace"):FindFirstChildOfClass("Camera").CameraSubject = CloneChar.Humanoid
  249.  
  250. for _,v in next, DeadChar:GetChildren() do
  251. if v:IsA("Accessory") then
  252. if v.Handle:FindFirstChildOfClass("Weld") then v.Handle:FindFirstChildOfClass("Weld"):Destroy() end
  253. end
  254. end
  255.  
  256. if ANIMATIONHERE then ANIMATIONHERE.Parent = CloneChar end
  257.  
  258. --////===============================\\\\--
  259. ---/-------------------------------------\---
  260. ---| Made By Auto |---
  261. ---| Helped Something by XDDAB |---
  262. ---\-------------------------------------/---
  263. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  264. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  265. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  266. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  267. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  268. local R3 = {N=Region3.new}
  269. local De = S.Debris
  270. local WS = workspace
  271. local Lght = S.Lighting
  272. local RepS = S.ReplicatedStorage
  273. local IN = Instance.new
  274. local Plrs = S.Players
  275.  
  276. Player = game:GetService("Players").LocalPlayer
  277. lplr = game:GetService("Players").LocalPlayer
  278. Character = Player.Character
  279. Mouse = Player:GetMouse()
  280. PlayerGui = Player.PlayerGui
  281. Backpack = Player.Backpack
  282. Humanoid = Character.Humanoid
  283. RootPart = Character["HumanoidRootPart"]
  284. Torso = Character["Torso"]
  285. Head = Character["Head"]
  286. RightArm = Character["Right Arm"]
  287. LeftArm = Character["Left Arm"]
  288. RightLeg = Character["Right Leg"]
  289. LeftLeg = Character["Left Leg"]
  290. RootJoint = RootPart["RootJoint"]
  291. Neck = Torso["Neck"]
  292. RightShoulder = Torso["Right Shoulder"]
  293. LeftShoulder = Torso["Left Shoulder"]
  294. RightHip = Torso["Right Hip"]
  295. LeftHip = Torso["Left Hip"]
  296.  
  297. IT = Instance.new
  298. it = Instance.new
  299. CF = CFrame.new
  300. VT = Vector3.new
  301. RAD = math.rad
  302. C3 = Color3.new
  303. UD2 = UDim2.new
  304. BRICKC = BrickColor.new
  305. ANGLES = CFrame.Angles
  306. EULER = CFrame.fromEulerAnglesXYZ
  307. COS = math.cos
  308. ACOS = math.acos
  309. SIN = math.sin
  310. ASIN = math.asin
  311. ABS = math.abs
  312. MRANDOM = math.random
  313. FLOOR = math.floor
  314. vt = Vector3.new
  315. cf = CFrame.new
  316.  
  317.  
  318. --//=================================\\
  319. --|| USEFUL VALUES
  320. --\\=================================//
  321. local SONG1 = 3522311451
  322. local SONG2 = 3522311451
  323. local BanishMode = 1
  324. local KeepPlayersOutfit = false
  325. local SIZE = 1
  326. local Player_Size = 1
  327. local Jump = 50
  328. local Animation_Speed = 3
  329. local lastbeat = 0
  330. local lastloud = 0
  331. local AntiBullet = true
  332. local PlaybackSound = 0
  333. local Speed = 45
  334. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  335. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  336. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  337. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  338. local faceShadingFolder = IT("Model", Character)
  339. faceShadingFolder.Name = "Face Shading Folder"
  340. local Weapon = IT("Model")
  341. Weapon.Name = "Finding Lost"
  342. local Karma = IT("Model")
  343. Weapon.Name = "Finding Lost"
  344. local KarmaWeapon = IT("Model")
  345. Weapon.Name = "Finding Lost"
  346. local KarmaWeapon2 = IT("Model")
  347. Weapon.Name = "Finding Lost"
  348. local HornFolder = IT("Model", Character)
  349. HornFolder.Name = "Horns"
  350. local BannedSkids = {}
  351. local TOBANISH = {}
  352. local TAIL = {}
  353. local Hue = 0
  354. local qui = Enum.EasingStyle.Quint
  355. local io = Enum.EasingDirection.InOut
  356. local char = Player.Character
  357. local t = char:FindFirstChild("Torso")
  358. local ls = t:FindFirstChild("Left Shoulder")
  359. local rh = t:FindFirstChild("Right Hip")
  360. local lh = t:FindFirstChild("Left Hip")
  361. local hum = char:FindFirstChildOfClass("Humanoid")
  362. local tweens = game:GetService("TweenService")
  363. local rs = t:FindFirstChild("Right Shoulder")
  364. local rut = char.HumanoidRootPart
  365. local rutj = rut.RootJoint
  366. local t = char:FindFirstChild("Torso")
  367. local nec = t.Neck
  368. local MAINRUINCOLOR = BrickColor.Black()
  369. local DAMAGEMULTIPLIER = 1
  370. local ANIM = "Idle"
  371. local ATTACK = false
  372. local targetted = nil
  373. local EQUIPPED = false
  374. local HOLD = false
  375. local furmode = false
  376. local sitting = false
  377. local COMBO = 1
  378. local Rooted = false
  379. local SINE = 0
  380. local rad = math.rad
  381. local KEYHOLD = false
  382. local CHANGE = 2 / Animation_Speed
  383. local WALKINGANIM = false
  384. local VALUE1 = false
  385. local VALUE2 = false
  386. local RunService = game:GetService("RunService")
  387. local ROBLOXIDLEANIMATION = IT("Animation")
  388. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  389. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  390. --ROBLOXIDLEANIMATION.Parent = Humanoid
  391. local Effects = IT("Folder", Character)
  392. Effects.Name = "Effects"
  393. pcall(function()
  394. Character.Animate.Parent = nil
  395. end)
  396. local UNANCHOR = true
  397.  
  398. function Rainbowify(name)
  399. coroutine.wrap(function()
  400. while RunService.Stepped:Wait() do
  401. for a = 1,360,1 do wait(.0000000000000000000000001)
  402. name.Color = Color3.fromHSV(a/360,1,1)
  403. end
  404. end
  405. end)()
  406. end
  407.  
  408. function RainbowifyText(name)
  409. coroutine.wrap(function()
  410. while RunService.Stepped:Wait() do
  411. for a = 1,360,1 do wait(.0000000000000000000000001)
  412. name.TextColor3 = Color3.fromHSV(a/360,1,1)
  413. name.TextStrokeColor3 = Color3.fromHSV(a/360,1,1)
  414. end
  415. end
  416. end)()
  417. end
  418.  
  419. local FONTS = {
  420. Enum.Font.Antique,
  421. Enum.Font.Arcade,
  422. Enum.Font.Arial,
  423. Enum.Font.ArialBold,
  424. Enum.Font.Bodoni,
  425. Enum.Font.Cartoon,
  426. Enum.Font.Code,
  427. Enum.Font.Fantasy,
  428. Enum.Font.Garamond,
  429. Enum.Font.Highway,
  430. Enum.Font.Legacy,
  431. Enum.Font.SciFi,
  432. Enum.Font.SourceSans,
  433. Enum.Font.SourceSansBold,
  434. Enum.Font.SourceSansItalic,
  435. Enum.Font.SourceSansLight,
  436. Enum.Font.SourceSansSemibold
  437. }
  438.  
  439. local naeeym2 = Instance.new("BillboardGui",Character)
  440. naeeym2.AlwaysOnTop = true
  441. naeeym2.Size = UDim2.new(7,35,3,15)
  442. naeeym2.StudsOffset = Vector3.new(0,2,0)
  443. naeeym2.MaxDistance = 10000
  444. naeeym2.Adornee = Head
  445. naeeym2.Name = "Name2"
  446. local tecks2 = Instance.new("TextLabel",naeeym2)
  447. tecks2.BackgroundTransparency = 1
  448. tecks2.TextScaled = true
  449. tecks2.BorderSizePixel = 0
  450. tecks2.Text = "Rainbow King"
  451. tecks2.Font = "Arcade"
  452. tecks2.TextSize = 35
  453. tecks2.TextStrokeTransparency = 0
  454. tecks2.Size = UDim2.new(1,0,0.5,0)
  455. tecks2.Parent = naeeym2
  456. tecks2.TextColor3 = Color3.fromRGB()
  457. coroutine.resume(coroutine.create(function()
  458. while true do
  459. Swait()
  460. tecks2.Font = FONTS[MRANDOM(1, #FONTS)]
  461. tecks2.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  462. end
  463. end))
  464. spawn(function() RainbowifyText(tecks2) end)
  465.  
  466. --//=================================\\
  467. --\\=================================//
  468.  
  469. --//=================================\\
  470. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  471. --\\=================================//
  472. --//=================================\\
  473. --\\=================================//
  474.  
  475.  
  476. --//=================================\\
  477. --|| SOME FUNCTIONS
  478. --\\=================================//
  479. NewInstance = function(instance,parent,properties)
  480. local inst = Instance.new(instance,parent)
  481. if(properties)then
  482. for i,v in next, properties do
  483. pcall(function() inst[i] = v end)
  484. end
  485. end
  486. return inst;
  487. end
  488.  
  489. local tlerp = function(part,tablee,leinght,easingstyle,easingdirec)
  490. pcall(function()
  491. local info = TweenInfo.new(
  492. leinght,
  493. easingstyle,
  494. easingdirec,
  495. 0,
  496. false,
  497. 0
  498. )
  499. local lerp = tweens:Create(part,info,tablee)
  500. lerp:Play()
  501. end)
  502. end
  503.  
  504. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  505. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  506. end
  507.  
  508. function PositiveAngle(NUMBER)
  509. if NUMBER >= 0 then
  510. NUMBER = 0
  511. end
  512. return NUMBER
  513. end
  514.  
  515. function NegativeAngle(NUMBER)
  516. if NUMBER <= 0 then
  517. NUMBER = 0
  518. end
  519. return NUMBER
  520. end
  521.  
  522. function Swait(NUMBER)
  523. if NUMBER == 0 or NUMBER == nil then
  524. game:service("RunService").Stepped:wait()
  525. else
  526. for i = 1, NUMBER do
  527. game:service("RunService").Stepped:wait()
  528. end
  529. end
  530. end
  531.  
  532. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  533. local NEWMESH = IT(MESH)
  534. if MESH == "SpecialMesh" then
  535. NEWMESH.MeshType = MESHTYPE
  536. if MESHID ~= "nil" and MESHID ~= "" then
  537. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  538. end
  539. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  540. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  541. end
  542. end
  543. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  544. NEWMESH.Scale = SCALE
  545. NEWMESH.Parent = PARENT
  546. return NEWMESH
  547. end
  548.  
  549. function hasarrived(whom)
  550. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  551. coroutine.resume(coroutine.create(function()
  552. if v.PlayerGui:FindFirstChild("ARRIVAL")~= nil then
  553. v.PlayerGui:FindFirstChild("ARRIVAL"):destroy()
  554. end
  555. local droppingFrame = false
  556. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  557. scrg.Name = "ARRIVAL"
  558. local mainFrame = Instance.new("Frame", scrg)
  559. mainFrame.Name = "MainFrame"
  560. mainFrame.BackgroundTransparency = 0
  561. mainFrame.BorderSizePixel = 5
  562. mainFrame.Size = UDim2.new(1, 0, -0.013, 100)
  563. mainFrame.Position = UDim2.new(0, 0, 0.365, 0)
  564. local TextFrame = Instance.new("TextLabel",mainFrame)
  565. TextFrame.Name = "TextFrame"
  566. TextFrame.Font = "Arcade"
  567. TextFrame.Text = ""
  568. TextFrame.TextScaled = true
  569. TextFrame.TextSize = 14
  570. TextFrame.TextStrokeTransparency = 0
  571. TextFrame.BackgroundTransparency = 1
  572. TextFrame.Size = UDim2.new(1, 0, 0, 92)
  573. TextFrame.Position = UDim2.new(0, 0, 0, 0)
  574. local fvalen = 0.55
  575. local fval = -0.49
  576. coroutine.resume(coroutine.create(function()
  577. while true do
  578. Swait()
  579. mainFrame.BackgroundColor3 = C3(0,0,0)
  580. mainFrame.BorderColor3 = C3(1, 1, 1)
  581. if(not droppingFrame)then
  582. mainFrame.Rotation = 0 - 2 * COS(SINE / 24)
  583. end
  584. TextFrame.TextColor3 = C3(0,0,0)
  585. TextFrame.Font = FONTS[MRANDOM(1, #FONTS)]
  586. TextFrame.TextStrokeColor3 = C3(1, 1, 1)
  587. TextFrame.TextStrokeTransparency = 0
  588. end
  589. end))
  590. for i = 1,string.len(whom),1 do
  591. TextFrame.Text = string.sub(whom,1,i)
  592. wait(0.2)
  593. end
  594. wait(2)
  595. droppingFrame = true
  596. mainFrame.Rotation = 0
  597. local vinc2 = 1
  598. for i = 0, 99 do
  599. Swait()
  600. vinc2 = vinc2 + 0.25
  601. mainFrame.Position = mainFrame.Position + UDim2.new(0,0,0.0005*vinc2,0)
  602. end
  603. scrg:Destroy()
  604. end))
  605. end
  606. end
  607.  
  608. function hasarrivedB(whom)
  609. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  610. coroutine.resume(coroutine.create(function()
  611. if v.PlayerGui:FindFirstChild("ARRIVAL")~= nil then
  612. v.PlayerGui:FindFirstChild("ARRIVAL"):destroy()
  613. end
  614. local droppingFrame = false
  615. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  616. scrg.Name = "ARRIVAL"
  617. local mainFrame = Instance.new("Frame", scrg)
  618. mainFrame.Name = "MainFrame"
  619. mainFrame.BackgroundTransparency = 1
  620. mainFrame.BorderSizePixel = 0
  621. mainFrame.Size = UDim2.new(1, 0, -0.013, 100)
  622. mainFrame.Position = UDim2.new(0, 0, 0.365, 0)
  623. local TextFrame = Instance.new("TextLabel",mainFrame)
  624. TextFrame.Name = "TextFrame"
  625. TextFrame.Font = "Arcade"
  626. TextFrame.Text = ""
  627. TextFrame.TextScaled = true
  628. TextFrame.TextSize = 9
  629. TextFrame.TextStrokeTransparency = 1
  630. TextFrame.BackgroundTransparency = 1
  631. TextFrame.TextColor3 = C3(1,1,1)
  632. TextFrame.TextStrokeColor3 = C3(0, 0, 0)
  633. TextFrame.Size = UDim2.new(1, 0, 0, 92)
  634. TextFrame.Position = UDim2.new(0, 0, 0, 0)
  635. spawn(function() RainbowifyText(TextFrame) end)
  636. local fvalen = 0.55
  637. local fval = -0.49
  638. coroutine.resume(coroutine.create(function()
  639. while true do
  640. Swait()
  641. mainFrame.BackgroundColor3 = C3(0,0,0)
  642. mainFrame.BorderColor3 = C3(0, 0, 0)
  643. if(not droppingFrame)then
  644. mainFrame.Rotation = 0 - 2 * COS(SINE / 24)
  645. end
  646. TextFrame.TextStrokeTransparency = 0
  647. end
  648. end))
  649. for i = 1,string.len(whom),1 do
  650. TextFrame.Text = string.sub(whom,1,i)
  651. wait(0.2)
  652. end
  653. wait(2)
  654. droppingFrame = true
  655. mainFrame.Rotation = 0
  656. local vinc2 = 1
  657. for i = 0, 99 do
  658. Swait()
  659. vinc2 = vinc2 + 0.25
  660. mainFrame.Position = mainFrame.Position + UDim2.new(0,0,0.0005*vinc2,0)
  661. end
  662. scrg:Destroy()
  663. end))
  664. end
  665. end
  666.  
  667. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  668. local NEWPART = IT("Part")
  669. NEWPART.formFactor = FORMFACTOR
  670. NEWPART.Reflectance = REFLECTANCE
  671. NEWPART.Transparency = TRANSPARENCY
  672. NEWPART.CanCollide = false
  673. NEWPART.Locked = true
  674. NEWPART.Anchored = true
  675. if ANCHOR == false then
  676. NEWPART.Anchored = false
  677. end
  678. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  679. NEWPART.Name = NAME
  680. NEWPART.Size = SIZE
  681. NEWPART.Position = Torso.Position
  682. NEWPART.Material = MATERIAL
  683. NEWPART:BreakJoints()
  684. NEWPART.Parent = PARENT
  685. return NEWPART
  686. end
  687.  
  688. local function weldBetween(a, b)
  689. local weldd = Instance.new("ManualWeld")
  690. weldd.Part0 = a
  691. weldd.Part1 = b
  692. weldd.C0 = CFrame.new()
  693. weldd.C1 = b.CFrame:inverse() * a.CFrame
  694. weldd.Parent = a
  695. return weldd
  696. end
  697.  
  698.  
  699. function QuaternionFromCFrame(cf)
  700. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  701. local trace = m00 + m11 + m22
  702. if trace > 0 then
  703. local s = math.sqrt(1 + trace)
  704. local recip = 0.5 / s
  705. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  706. else
  707. local i = 0
  708. if m11 > m00 then
  709. i = 1
  710. end
  711. if m22 > (i == 0 and m00 or m11) then
  712. i = 2
  713. end
  714. if i == 0 then
  715. local s = math.sqrt(m00 - m11 - m22 + 1)
  716. local recip = 0.5 / s
  717. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  718. elseif i == 1 then
  719. local s = math.sqrt(m11 - m22 - m00 + 1)
  720. local recip = 0.5 / s
  721. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  722. elseif i == 2 then
  723. local s = math.sqrt(m22 - m00 - m11 + 1)
  724. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  725. end
  726. end
  727. end
  728.  
  729. function turnto(position)
  730. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  731. end
  732.  
  733. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  734. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
  735. local mesh = IT("SpecialMesh",wave)
  736. mesh.MeshType = "FileMesh"
  737. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  738. mesh.Scale = SIZE
  739. mesh.Offset = VT(0,0,-SIZE.X/8)
  740. wave.CFrame = CFRAME
  741. coroutine.resume(coroutine.create(function(PART)
  742. for i = 1, WAIT do
  743. Swait()
  744. mesh.Scale = mesh.Scale + GROW
  745. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  746. wave.Color = C3(0,0,0)
  747. if DOESROT == true then
  748. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  749. end
  750. wave.Transparency = wave.Transparency + (0.5/WAIT)
  751. if wave.Transparency > 0.99 then
  752. wave:remove()
  753. end
  754. end
  755. end))
  756. end
  757.  
  758. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  759. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
  760. local mesh = IT("SpecialMesh",wave)
  761. mesh.MeshType = "FileMesh"
  762. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  763. mesh.Scale = SIZE
  764. wave.CFrame = CFRAME
  765. coroutine.resume(coroutine.create(function(PART)
  766. for i = 1, WAIT do
  767. Swait()
  768. mesh.Scale = mesh.Scale + GROW
  769. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  770. wave.Color = C3(0,0,0)
  771. if DOESROT == true then
  772. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  773. end
  774. wave.Transparency = wave.Transparency + (0.5/WAIT)
  775. if wave.Transparency > 0.99 then
  776. wave:remove()
  777. end
  778. end
  779. end))
  780. end
  781.  
  782. function killnearest(position,range,maxstrength,direction)
  783. for i,v in ipairs(workspace:GetChildren()) do
  784. local body = v:GetChildren()
  785. for part = 1, #body do
  786. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  787. if(body[part].Position - position).Magnitude < range then
  788. if v.ClassName == "Model" then
  789. --v:BreakJoints()
  790. end
  791. local POS = position
  792. coroutine.resume(coroutine.create(function()
  793. body[part].Anchored = true
  794. body[part].Parent = Effects
  795. --body[part].CanCollide = true
  796. local SIZE = body[part].Size
  797. body[part].Material = "Neon"
  798. CFuncs["Sound"].Create("rbxassetid://62339698", workspace, 10, 0.3)
  799. for i = 1, 75 do
  800. Swait()
  801. body[part].Color = C3(255/255, 255/255, 255/255)
  802. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  803. end
  804. coroutine.resume(coroutine.create(function()
  805. while true do
  806. Swait()
  807. body[part].Color = C3(255/255, 255/255, 255/255)
  808. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  809. end
  810. end))
  811. body[part].Anchored = false
  812. body[part].Velocity = direction.lookVector*maxstrength
  813. end))
  814. end
  815. end
  816. end
  817. if v.ClassName == "Part" then
  818. if v.Anchored == false and (v.Position - position).Magnitude < range then
  819. local POS = position
  820. coroutine.resume(coroutine.create(function()
  821. v.Anchored = true
  822. v.Parent = Effects
  823. local SIZE = v.Size
  824. v.Material = "Neon"
  825. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  826. for i = 1, 75 do
  827. Swait()
  828. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  829. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  830. end
  831. coroutine.resume(coroutine.create(function()
  832. while true do
  833. Swait()
  834. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  835. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  836. end
  837. end))
  838. v.Anchored = false
  839. v.Velocity = direction.lookVector*maxstrength
  840. end))
  841. end
  842. end
  843. end
  844. end
  845.  
  846.  
  847. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  848. local wave = CreatePart(3, Effects, "Neon", 0, 0, COLOR, "Effect", VT(1,1,1), true)
  849. local mesh = IT("SpecialMesh",wave)
  850. mesh.MeshType = "Sphere"
  851. mesh.Scale = SIZE
  852. mesh.Offset = VT(0,0,0)
  853. wave.CFrame = CFRAME
  854. coroutine.resume(coroutine.create(function(PART)
  855. for i = 1, WAIT do
  856. Swait()
  857. mesh.Scale = mesh.Scale + GROW
  858. wave.Color = C3(0,0,0)
  859. wave.Transparency = wave.Transparency + (1/WAIT)
  860. if wave.Transparency > 0.99 then
  861. wave:remove()
  862. end
  863. end
  864. end))
  865. end
  866.  
  867. function SpliceSlice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  868. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  869. local mesh
  870. if KIND == "Base" then
  871. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  872. elseif KIND == "Thin" then
  873. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  874. elseif KIND == "Round" then
  875. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  876. end
  877. wave.CFrame = CFRAME
  878. coroutine.resume(coroutine.create(function(PART)
  879. for i = 1, WAIT do
  880. Swait()
  881. mesh.Scale = mesh.Scale + GROW / 10
  882. wave.Color = C3(0,0,0)
  883. wave.Transparency = wave.Transparency + 0.5 / WAIT
  884. if wave.Transparency > 0.99 then
  885. wave:remove()
  886. end
  887. end
  888. end))
  889. end
  890.  
  891. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  892. for _, c in pairs(PARENT:GetChildren()) do
  893. if c.ClassName == "Model" then
  894. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  895. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  896. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  897. if DIST > (TORSO.Position - FROM).Magnitude then
  898. table.insert(TABLE, c)
  899. end
  900. AddChildrenToTable(FROM, c, DIST, TABLE)
  901. elseif c.ClassName == "Folder" then
  902. AddChildrenToTable(FROM, c, DIST, TABLE)
  903. end
  904. end
  905. end
  906. end
  907.  
  908. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  909. local xs, ys, zs = x + x, y + y, z + z
  910. local wx, wy, wz = w * xs, w * ys, w * zs
  911. local xx = x * xs
  912. local xy = x * ys
  913. local xz = x * zs
  914. local yy = y * ys
  915. local yz = y * zs
  916. local zz = z * zs
  917. 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))
  918. end
  919.  
  920. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  921. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(1,1,1), true)
  922. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  923. wave.CFrame = CFRAME
  924. coroutine.resume(coroutine.create(function(PART)
  925. for i = 1, WAIT do
  926. Swait()
  927. mesh.Scale = mesh.Scale * GROW
  928. wave.Color = C3(0,0,0)
  929. wave.Transparency = wave.Transparency + (0.5/WAIT)
  930. if wave.Transparency > 0.99 then
  931. wave:remove()
  932. end
  933. end
  934. end))
  935. end
  936.  
  937. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  938. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
  939. local mesh = IT("SpecialMesh",wave)
  940. mesh.MeshType = "FileMesh"
  941. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  942. mesh.Scale = SIZE
  943. wave.CFrame = CFRAME
  944. coroutine.resume(coroutine.create(function(PART)
  945. for i = 1, WAIT do
  946. Swait()
  947. mesh.Scale = mesh.Scale + GROW
  948. wave.Color = C3(0,0,0)
  949. if DOESROT == true then
  950. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  951. end
  952. wave.Transparency = wave.Transparency + (0.5/WAIT)
  953. if wave.Transparency > 0.99 then
  954. wave:remove()
  955. end
  956. end
  957. end))
  958. end
  959.  
  960. function QuaternionSlerp(a, b, t)
  961. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  962. local startInterp, finishInterp;
  963. if cosTheta >= 0.0001 then
  964. if (1 - cosTheta) > 0.0001 then
  965. local theta = ACOS(cosTheta)
  966. local invSinTheta = 1 / SIN(theta)
  967. startInterp = SIN((1 - t) * theta) * invSinTheta
  968. finishInterp = SIN(t * theta) * invSinTheta
  969. else
  970. startInterp = 1 - t
  971. finishInterp = t
  972. end
  973. else
  974. if (1 + cosTheta) > 0.0001 then
  975. local theta = ACOS(-cosTheta)
  976. local invSinTheta = 1 / SIN(theta)
  977. startInterp = SIN((t - 1) * theta) * invSinTheta
  978. finishInterp = SIN(t * theta) * invSinTheta
  979. else
  980. startInterp = t - 1
  981. finishInterp = t
  982. end
  983. end
  984. 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
  985. end
  986.  
  987. function Clerp(a, b, t)
  988. local qa = {QuaternionFromCFrame(a)}
  989. local qb = {QuaternionFromCFrame(b)}
  990. local ax, ay, az = a.x, a.y, a.z
  991. local bx, by, bz = b.x, b.y, b.z
  992. local _t = 1 - t
  993. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  994. end
  995.  
  996. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  997. local frame = IT("Frame")
  998. frame.BackgroundTransparency = TRANSPARENCY
  999. frame.BorderSizePixel = BORDERSIZEPIXEL
  1000. frame.Position = POSITION
  1001. frame.Size = SIZE
  1002. frame.BackgroundColor3 = COLOR
  1003. frame.BorderColor3 = BORDERCOLOR
  1004. frame.Name = NAME
  1005. frame.Parent = PARENT
  1006. return frame
  1007. end
  1008.  
  1009. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1010. local label = IT("TextLabel")
  1011. label.BackgroundTransparency = 1
  1012. label.Size = UD2(1, 0, 1, 0)
  1013. label.Position = UD2(0, 0, 0, 0)
  1014. label.TextColor3 = TEXTCOLOR
  1015. label.TextStrokeTransparency = STROKETRANSPARENCY
  1016. label.TextTransparency = TRANSPARENCY
  1017. label.FontSize = TEXTFONTSIZE
  1018. label.Font = TEXTFONT
  1019. label.BorderSizePixel = BORDERSIZEPIXEL
  1020. label.TextScaled = false
  1021. label.Text = TEXT
  1022. label.Name = NAME
  1023. label.Parent = PARENT
  1024. return label
  1025. end
  1026.  
  1027. function NoOutlines(PART)
  1028. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1029. end
  1030.  
  1031. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1032. local NEWWELD = IT(TYPE)
  1033. NEWWELD.Part0 = PART0
  1034. NEWWELD.Part1 = PART1
  1035. NEWWELD.C0 = C0
  1036. NEWWELD.C1 = C1
  1037. NEWWELD.Parent = PARENT
  1038. return NEWWELD
  1039. end
  1040.  
  1041. local S = IT("Sound")
  1042. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1043. local NEWSOUND = nil
  1044. coroutine.resume(coroutine.create(function()
  1045. NEWSOUND = S:Clone()
  1046. NEWSOUND.Parent = PARENT
  1047. NEWSOUND.Volume = VOLUME
  1048. NEWSOUND.Pitch = PITCH
  1049. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1050. NEWSOUND:play()
  1051. if DOESLOOP == true then
  1052. NEWSOUND.Looped = true
  1053. else
  1054. repeat wait(1) until NEWSOUND.Playing == false
  1055. NEWSOUND:remove()
  1056. end
  1057. end))
  1058. return NEWSOUND
  1059. end
  1060.  
  1061. function CFrameFromTopBack(at, top, back)
  1062. local right = top:Cross(back)
  1063. 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)
  1064. end
  1065.  
  1066. --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})
  1067. function WACKYEFFECT(Table)
  1068. local TYPE = (Table.EffectType or "Sphere")
  1069. local SIZE = (Table.Size or VT(1,1,1))
  1070. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1071. local TRANSPARENCY = (Table.Transparency or 0)
  1072. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1073. local CFRAME = (Table.CFrame or Torso.CFrame)
  1074. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1075. local ROTATION1 = (Table.RotationX or 0)
  1076. local ROTATION2 = (Table.RotationY or 0)
  1077. local ROTATION3 = (Table.RotationZ or 0)
  1078. local MATERIAL = (Table.Material or "Neon")
  1079. local COLOR = (Table.Color or C3(1,1,1))
  1080. local TIME = (Table.Time or 45)
  1081. local SOUNDID = (Table.SoundID or nil)
  1082. local SOUNDPITCH = (Table.SoundPitch or nil)
  1083. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1084. coroutine.resume(coroutine.create(function()
  1085. local PLAYSSOUND = false
  1086. local SOUND = nil
  1087. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1088. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1089. PLAYSSOUND = true
  1090. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1091. end
  1092. EFFECT.Color = COLOR
  1093. local MSH = nil
  1094. if TYPE == "Sphere" then
  1095. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1096. elseif TYPE == "Block" or TYPE == "Box" then
  1097. MSH = IT("BlockMesh",EFFECT)
  1098. MSH.Scale = SIZE
  1099. elseif TYPE == "Wave" then
  1100. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1101. elseif TYPE == "Ring" then
  1102. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1103. elseif TYPE == "Slash" then
  1104. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1105. elseif TYPE == "Round Slash" then
  1106. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1107. elseif TYPE == "Swirl" then
  1108. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1109. elseif TYPE == "Skull" then
  1110. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1111. elseif TYPE == "Crystal" then
  1112. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1113. end
  1114. if MSH ~= nil then
  1115. local MOVESPEED = nil
  1116. if MOVEDIRECTION ~= nil then
  1117. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1118. end
  1119. local GROWTH = SIZE - ENDSIZE
  1120. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1121. if TYPE == "Block" then
  1122. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1123. else
  1124. EFFECT.CFrame = CFRAME
  1125. end
  1126. for LOOP = 1, TIME+1 do
  1127. Swait()
  1128. MSH.Scale = MSH.Scale - GROWTH/TIME
  1129. if TYPE == "Wave" then
  1130. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1131. end
  1132. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1133. if TYPE == "Block" then
  1134. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1135. else
  1136. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1137. end
  1138. if MOVEDIRECTION ~= nil then
  1139. local ORI = EFFECT.Orientation
  1140. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1141. EFFECT.Orientation = ORI
  1142. end
  1143. end
  1144. if PLAYSSOUND == false then
  1145. EFFECT:remove()
  1146. else
  1147. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1148. EFFECT:remove()
  1149. end
  1150. else
  1151. if PLAYSSOUND == false then
  1152. EFFECT:remove()
  1153. else
  1154. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1155. EFFECT:remove()
  1156. end
  1157. end
  1158. end))
  1159. end
  1160.  
  1161. Debris = game:GetService("Debris")
  1162.  
  1163. function CharacterFade(COLOR,TIMER)
  1164. coroutine.resume(coroutine.create(function()
  1165. local FADE = IT("Model",Effects)
  1166. FADE.Name = "FadingEffect"
  1167. for _, c in pairs(Character:GetChildren()) do
  1168. if c.ClassName == "Part" and c ~= RootPart then
  1169. local FADER = c:Clone()
  1170. FADER.Color = COLOR
  1171. FADER.CFrame = c.CFrame
  1172. FADER.Parent = FADE
  1173. FADER.Anchored = true
  1174. FADER.Transparency = 0.25+c.Transparency
  1175. FADER:BreakJoints()
  1176. FADER.Material = "Neon"
  1177. if FADER.Name == "Head" then
  1178. FADER:ClearAllChildren()
  1179. FADER.Size = VT(1,1,1)
  1180. end
  1181. FADER.CanCollide = false
  1182. end
  1183. end
  1184. local TRANS = 0.75/TIMER
  1185. for i = 1, TIMER do
  1186. Swait()
  1187. for _, c in pairs(FADE:GetChildren()) do
  1188. if c.ClassName == "Part" then
  1189. c.Transparency = c.Transparency + TRANS
  1190. end
  1191. end
  1192. end
  1193. FADE:remove()
  1194. end))
  1195. end
  1196.  
  1197. function Chunks(PART)
  1198. for i = 1, MRANDOM(3,5) do
  1199. coroutine.resume(coroutine.create(function()
  1200. local CHUNK = CreatePart(3, workspace, PART.Material, 0, PART.Transparency, PART.BrickColor, "Chunk", VT(0.3,0.3,0.3)*MRANDOM(7,13)/10, false)
  1201. CHUNK.CFrame = PART.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1202. local CFRAME = PART.CFrame*CF(MRANDOM(-4,4)/2,MRANDOM(-4,4)/2,-6)
  1203. CHUNK.Velocity = CF(PART.Position,CFRAME.p).lookVector*MRANDOM(15,65)
  1204. wait(0.1)
  1205. --CHUNK.CanCollide = true
  1206. wait(MRANDOM(15,25)/5)
  1207. for i = 1, 25 do
  1208. Swait()
  1209. CHUNK.Transparency = CHUNK.Transparency + 1/25
  1210. end
  1211. CHUNK:remove()
  1212. end))
  1213. end
  1214. end
  1215.  
  1216. New = function(Object, Parent, Name, Data)
  1217. local Object = Instance.new(Object)
  1218. for Index, Value in pairs(Data or {}) do
  1219. Object[Index] = Value
  1220. end
  1221. Object.Parent = Parent
  1222. Object.Name = Name
  1223. return Object
  1224. end
  1225.  
  1226. NewInstance = function(instance,parent,properties)
  1227. local inst = Instance.new(instance,parent)
  1228. if(properties)then
  1229. for i,v in next, properties do
  1230. pcall(function() inst[i] = v end)
  1231. end
  1232. end
  1233. return inst;
  1234. end
  1235.  
  1236. local function ToMesh(Part)
  1237. local Mesh=Instance.new("SpecialMesh",Part)
  1238. if Part.Shape==Enum.PartType.Block then Mesh.MeshType="Brick"elseif Part.Shape==Enum.PartType.Ball then Mesh.MeshType="Sphere"elseif Part.Shape==Enum.PartType.Cylinder then Mesh.MeshType="Cylinder"end
  1239. Mesh.Scale=Part.Size*20 Part.Size=Vector3.new()
  1240. return Mesh
  1241. end
  1242. local function GHK(char)
  1243. local Players=game:service("Players")
  1244. local soidk=Players:FindFirstChild(tostring(char))
  1245. if soidk~=nil then if soidk.Character and soidk~=Player and tostring(soidk)~="CKBackup"then-- print("hit : "..tostring(soidk))
  1246. if soidk.Character:FindFirstChild("HumanoidRootPart")then
  1247. local p=Instance.new("Part")p.Size=Vector3.new(8,8,8)p.Material="Neon"p.Color=Color3.new(1)local m=ToMesh(p)p.Anchored=true p.CanCollide=false p.CFrame=soidk.Character.HumanoidRootPart.CFrame p.Parent=workspace m.MeshType="Sphere"
  1248. p.CFrame=p.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),0)spawn(function()for i=0,1,.05 do if p.Parent then m.Scale=m.Scale+Vector3.new(25,25,25)p.Transparency=i swait()end end p:Destroy()end)
  1249. for i=1,3 do local p=Instance.new("Part")p.Size=Vector3.new(8,8,8)p.Material="Neon"p.Color=Color3.new(1)local m=ToMesh(p)p.Anchored=true p.CanCollide=false p.CFrame=soidk.Character.HumanoidRootPart.CFrame p.Parent=workspace m.MeshType="Sphere"
  1250. p.CFrame=p.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),0)spawn(function()for i=0,1,.01 do if p.Parent then m.Scale=m.Scale+Vector3.new(25,-1,-1)p.Transparency=i swait()end end p:Destroy()end)
  1251. end
  1252. end spawn(function()swait(20)soidk.Character:Destroy()end)
  1253. end
  1254. end return soidk end
  1255.  
  1256. function dmg(dude,bloods,isfal)--(Position, Direction, Range, Ignore)
  1257. if dude.Name ~= Character then
  1258. dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1259. if dude:FindFirstChild("Head")then local bgf = Instance.new("BodyGyro",dude.Head)
  1260. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)end
  1261. local val = Instance.new("BoolValue",dude)
  1262. val.Name = "IsHit"local spd=20 local spr=math.random(20,30)if not isfal then GHK(dude)end
  1263. if dude:FindFirstChild("Head")then
  1264. if bloods~=nil then spr=bloods end
  1265. for i = 1, spr do
  1266. --[[local blo = Instance.new("Part",workspace) --classic
  1267. blo.Size = Vector3.new(.6,.2,.6)
  1268. blo.Material = "SmoothPlastic"
  1269. blo.BrickColor = BrickColor.new("Crimson")
  1270. --blo.Position = dude.Head.Position
  1271. blo.CFrame = dude.Head.CFrame
  1272. game:GetService("Debris"):AddItem(blo,30)]]
  1273. local bs=Instance.new("Part")bs.CFrame=dude.Head.CFrame bs.Size=Vector3.new()bs.CanCollide=false bs.Shape="Ball"bs.BrickColor=BrickColor.new("Crimson")
  1274. local m=Instance.new("SpecialMesh",bs)m.MeshType="Sphere"m.Scale=Vector3.new(.5,.5,.5)*20
  1275. bs.Velocity=Vector3.new(math.random(-spd,spd),math.random(30,50),math.random(-spd,spd))bs.Parent=workspace
  1276. spawn(function()swait(3)local hit=nil bs.Name="Blood"
  1277. for i=1,100 do
  1278. if hit==nil then
  1279. swait()local h,p =workspace:FindPartOnRayWithIgnoreList(Ray.new(bs.CFrame.p,(bs.CFrame.p-bs.CFrame*CFrame.new(0,0,1).p).unit*2),{Character,dude,bs},false,true) --rayCast(bs.CFrame.p,bs.CFrame.lookVector,3,bs)
  1280. if h~=nil then hit=p end
  1281. end
  1282. end
  1283. if hit==nil then hit=bs.Position end
  1284. bs:Destroy()local bl=Instance.new("Part",workspace)bl.Anchored=true bl.CanCollide=false bl.CFrame=CFrame.new(hit)bl.Color=bs.Color bl.Material="Neon"
  1285. bl.Size=Vector3.new(1,.1,1)local sm=Instance.new("SpecialMesh",bl)sm.MeshType="Sphere"swait(250)for i=0,1,.05 do if bl.Parent then bl.Transparency=i swait()end end bl:Destroy()
  1286. end)
  1287. end
  1288. end
  1289. end
  1290. end
  1291.  
  1292. function mdmg(Part, Magnitude,Spread)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1293. --local buddy
  1294. for _, c in pairs(workspace:children()) do
  1295. local hum = c:FindFirstChildOfClass("Humanoid")
  1296. if hum ~= nil then
  1297. local head = c:findFirstChild("HumanoidRootPart")
  1298. if head ~= nil then
  1299. local targ = head.Position - Part.Position
  1300. local mag = targ.magnitude
  1301. if mag <= Magnitude and c.Name ~= Player.Name then
  1302. if c.Name ~= Character then
  1303. if c.Name ~= "tomonaoboys" then
  1304. local asd = Instance.new("ParticleEmitter",c.HumanoidRootPart)
  1305. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1306. asd.LightEmission = .1
  1307. asd.Size = NumberSequence.new(0.2)
  1308. asd.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1309. asd.ZOffset = .9
  1310. asd.Acceleration = Vector3.new(0, -5, 0)
  1311. asd.LockedToPart = false
  1312. asd.EmissionDirection = "Back"
  1313. asd.Lifetime = NumberRange.new(1, 2)
  1314. asd.Rate = 1000
  1315. asd.Rotation = NumberRange.new(-10000, 10000)
  1316. asd.RotSpeed = NumberRange.new(-100, 100)
  1317. asd.Speed = NumberRange.new(6)
  1318. asd.VelocitySpread = 1000000
  1319. asd.Enabled=true
  1320. --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  1321. if Spread==nil then Spread=1 end
  1322. dmg(c,Spread)
  1323. coroutine.wrap(function()
  1324. wait(.2)
  1325. asd.Enabled = false
  1326. wait(2)
  1327. asd:Remove()
  1328. end)()
  1329. else
  1330. Effects.Sphere.Create(BrickColor.new("Bright red"), c.HumanoidRootPart.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  1331.  
  1332. end
  1333. end
  1334. end
  1335. end
  1336. end
  1337. if c:FindFirstChild("Torso")then
  1338. if (Part.Position-c.Torso.Position).magnitude<=Magnitude then
  1339. GHK(c)
  1340. end
  1341. end
  1342. end
  1343. end
  1344.  
  1345. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  1346. local chaosmode = true
  1347. hum = char.Humanoid
  1348. local storehumanoidWS = 16
  1349. local type = type
  1350. local rng = Instance.new("Part", char)
  1351. rng.Anchored = true
  1352. rng.BrickColor = color
  1353. rng.CanCollide = false
  1354. rng.FormFactor = 3
  1355. rng.Name = "Ring"
  1356. rng.Material = "Neon"
  1357. rng.Size = Vector3.new(1, 1, 1)
  1358. rng.Transparency = 0
  1359. rng.TopSurface = 0
  1360. rng.BottomSurface = 0
  1361. rng.CFrame = pos
  1362. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1363. local rngm = Instance.new("SpecialMesh", rng)
  1364. rngm.MeshType = "Sphere"
  1365. rngm.Scale = vt(x1, y1, z1)
  1366. local scaler2 = 1
  1367. local speeder = FastSpeed
  1368. if type == "Add" then
  1369. scaler2 = 1 * value
  1370. elseif type == "Divide" then
  1371. scaler2 = 1 / value
  1372. end
  1373. coroutine.resume(coroutine.create(function()
  1374. for i = 0, 10 / bonuspeed, 0.1 do
  1375. swait()
  1376. if type == "Add" then
  1377. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1378. elseif type == "Divide" then
  1379. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1380. end
  1381. if chaosmode == true then
  1382. rng.BrickColor = BrickColor.Black()
  1383. end
  1384. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1385. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1386. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1387. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1388. end
  1389. rng:Destroy()
  1390. end))
  1391. end
  1392.  
  1393. function sphere(bonuspeed, type, pos, scale, value, color)
  1394. local chaosmode = true
  1395. local type = type
  1396. local rng = Instance.new("Part", char)
  1397. rng.Anchored = true
  1398. rng.BrickColor = color
  1399. rng.CanCollide = false
  1400. rng.FormFactor = 3
  1401. rng.Name = "Ring"
  1402. rng.Material = "Neon"
  1403. rng.Size = Vector3.new(1, 1, 1)
  1404. rng.Transparency = 0
  1405. rng.TopSurface = 0
  1406. rng.BottomSurface = 0
  1407. rng.CFrame = pos
  1408. local rngm = Instance.new("SpecialMesh", rng)
  1409. rngm.MeshType = "Sphere"
  1410. rngm.Scale = scale
  1411. local scaler2 = 1
  1412. if type == "Add" then
  1413. scaler2 = 1 * value
  1414. elseif type == "Divide" then
  1415. scaler2 = 1 / value
  1416. end
  1417. coroutine.resume(coroutine.create(function()
  1418. for i = 0, 10 / bonuspeed, 0.1 do
  1419. swait()
  1420. if type == "Add" then
  1421. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1422. elseif type == "Divide" then
  1423. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1424. end
  1425. if chaosmode == true then
  1426. rng.BrickColor = BrickColor.Black()
  1427. end
  1428. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1429. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1430. end
  1431. rng:Destroy()
  1432. end))
  1433. end
  1434.  
  1435. local function Create(Type)
  1436. local NewInstance = Instance.new(Type)
  1437. return function(Properties)
  1438. for i,v in pairs(Properties) do
  1439. NewInstance[i] = v
  1440. end
  1441. return NewInstance
  1442. end
  1443. end
  1444.  
  1445. function RemoveOutlines(part)
  1446. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1447. end
  1448.  
  1449. CFuncs = {
  1450. ["Part"] = {
  1451. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1452. local Part = Create("Part"){
  1453. Parent = Parent,
  1454. Reflectance = Reflectance,
  1455. Transparency = Transparency,
  1456. CanCollide = false,
  1457. Locked = true,
  1458. BrickColor = BrickColor.new(tostring(BColor)),
  1459. Name = Name,
  1460. Size = Size,
  1461. Material = Material,
  1462. }
  1463. RemoveOutlines(Part)
  1464. return Part
  1465. end;
  1466. };
  1467.  
  1468. ["Mesh"] = {
  1469. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1470. local Msh = Create(Mesh){
  1471. Parent = Part,
  1472. Offset = OffSet,
  1473. Scale = Scale,
  1474. }
  1475. if Mesh == "SpecialMesh" then
  1476. Msh.MeshType = MeshType
  1477. Msh.MeshId = MeshId
  1478. end
  1479. return Msh
  1480. end;
  1481. };
  1482.  
  1483. ["Mesh"] = {
  1484. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1485. local Msh = Create(Mesh){
  1486. Parent = Part,
  1487. Offset = OffSet,
  1488. Scale = Scale,
  1489. }
  1490. if Mesh == "SpecialMesh" then
  1491. Msh.MeshType = MeshType
  1492. Msh.MeshId = MeshId
  1493. end
  1494. return Msh
  1495. end;
  1496. };
  1497.  
  1498. ["Weld"] = {
  1499. Create = function(Parent, Part0, Part1, C0, C1)
  1500. local Weld = Create("Weld"){
  1501. Parent = Parent,
  1502. Part0 = Part0,
  1503. Part1 = Part1,
  1504. C0 = C0,
  1505. C1 = C1,
  1506. }
  1507. return Weld
  1508. end;
  1509. };
  1510.  
  1511. ["Sound"] = {
  1512. Create = function(id, par, vol, pit)
  1513. coroutine.resume(coroutine.create(function()
  1514. local S = Create("Sound"){
  1515. Volume = vol,
  1516. Name = "EffectSoundo",
  1517. Pitch = pit or 1,
  1518. SoundId = id,
  1519. Parent = par or workspace,
  1520. }
  1521. wait()
  1522. S:play()
  1523. game:GetService("Debris"):AddItem(S, 10)
  1524. end))
  1525. end;
  1526. };
  1527.  
  1528. ["TimeSound"] = {
  1529. Create = function(id, par, vol, pit, timepos)
  1530. coroutine.resume(coroutine.create(function()
  1531. local S = Create("Sound"){
  1532. Volume = vol,
  1533. Name = "EffectSoundo",
  1534. Pitch = pit or 1,
  1535. SoundId = id,
  1536. TimePosition = timepos,
  1537. Parent = par or workspace,
  1538. }
  1539. wait()
  1540. S:play()
  1541. game:GetService("Debris"):AddItem(S, 10)
  1542. end))
  1543. end;
  1544. };
  1545. ["EchoSound"] = {
  1546. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  1547. coroutine.resume(coroutine.create(function()
  1548. local Sas = Create("Sound"){
  1549. Volume = vol,
  1550. Name = "EffectSoundo",
  1551. Pitch = pit or 1,
  1552. SoundId = id,
  1553. TimePosition = timepos,
  1554. Parent = par or workspace,
  1555. }
  1556. local E = Create("EchoSoundEffect"){
  1557. Delay = echodelay,
  1558. Name = "Echo",
  1559. Feedback = fedb,
  1560. DryLevel = dryl,
  1561. Parent = Sas,
  1562. }
  1563. wait()
  1564. Sas:play()
  1565. game:GetService("Debris"):AddItem(Sas, delays)
  1566. end))
  1567. end;
  1568. };
  1569.  
  1570. ["LongSound"] = {
  1571. Create = function(id, par, vol, pit)
  1572. coroutine.resume(coroutine.create(function()
  1573. local S = Create("Sound"){
  1574. Volume = vol,
  1575. Pitch = pit or 1,
  1576. SoundId = id,
  1577. Parent = par or workspace,
  1578. }
  1579. wait()
  1580. S:play()
  1581. game:GetService("Debris"):AddItem(S, 60)
  1582. end))
  1583. end;
  1584. };
  1585.  
  1586. ["ParticleEmitter"] = {
  1587. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1588. local fp = Create("ParticleEmitter"){
  1589. Parent = Parent,
  1590. Color = ColorSequence.new(Color1, Color2),
  1591. LightEmission = LightEmission,
  1592. Size = Size,
  1593. Texture = Texture,
  1594. Transparency = Transparency,
  1595. ZOffset = ZOffset,
  1596. Acceleration = Accel,
  1597. Drag = Drag,
  1598. LockedToPart = LockedToPart,
  1599. VelocityInheritance = VelocityInheritance,
  1600. EmissionDirection = EmissionDirection,
  1601. Enabled = Enabled,
  1602. Lifetime = LifeTime,
  1603. Rate = Rate,
  1604. Rotation = Rotation,
  1605. RotSpeed = RotSpeed,
  1606. Speed = Speed,
  1607. VelocitySpread = VelocitySpread,
  1608. }
  1609. return fp
  1610. end;
  1611. };
  1612.  
  1613. CreateTemplate = {
  1614.  
  1615. };
  1616. }
  1617.  
  1618. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  1619. local type = type
  1620. local rotenable = rotatingop
  1621. local rng = Instance.new("Part", Effects)
  1622. rng.Anchored = true
  1623. rng.BrickColor = color
  1624. rng.CanCollide = false
  1625. rng.FormFactor = 3
  1626. rng.Name = "Ring"
  1627. rng.Material = "Neon"
  1628. rng.Size = Vector3.new(1, 1, 1)
  1629. rng.Transparency = 0
  1630. if typeoftrans == "In" then
  1631. rng.Transparency = 1
  1632. end
  1633. rng.TopSurface = 0
  1634. rng.BottomSurface = 0
  1635. rng.CFrame = pos
  1636. local rngm = Instance.new("SpecialMesh", rng)
  1637. rngm.MeshType = "FileMesh"
  1638. if typeofshape == "Normal" then
  1639. rngm.MeshId = "rbxassetid://662586858"
  1640. elseif typeofshape == "Round" then
  1641. rngm.MeshId = "rbxassetid://662585058"
  1642. end
  1643. rngm.Scale = scale
  1644. local scaler2 = 1/10
  1645. if type == "Add" then
  1646. scaler2 = 1*value/10
  1647. elseif type == "Divide" then
  1648. scaler2 = 1/value/10
  1649. end
  1650. local randomrot = MRANDOM(1,2)
  1651. coroutine.resume(coroutine.create(function()
  1652. for i = 0,10/bonuspeed,0.1 do
  1653. Swait()
  1654. if type == "Add" then
  1655. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  1656. elseif type == "Divide" then
  1657. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  1658. end
  1659. if rotenable == true then
  1660. if randomrot == 1 then
  1661. rng.CFrame = rng.CFrame*CFrame.Angles(0,RAD(rotspeed*bonuspeed/2),0)
  1662. elseif randomrot == 2 then
  1663. rng.CFrame = rng.CFrame*CFrame.Angles(0,RAD(-rotspeed*bonuspeed/2),0)
  1664. end
  1665. end
  1666. if typeoftrans == "Out" then
  1667. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1668. elseif typeoftrans == "In" then
  1669. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  1670. end
  1671. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  1672. end
  1673. rng:Destroy()
  1674. end))
  1675. end
  1676.  
  1677. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  1678. local type = type
  1679. local rng = Instance.new("Part", Effects)
  1680. rng.Anchored = true
  1681. rng.BrickColor = color
  1682. rng.Color = color3
  1683. rng.CanCollide = false
  1684. rng.FormFactor = 3
  1685. rng.Name = "Ring"
  1686. rng.Material = "Neon"
  1687. rng.Size = Vector3.new(1, 1, 1)
  1688. rng.Transparency = 0
  1689. rng.TopSurface = 0
  1690. rng.BottomSurface = 0
  1691. rng.CFrame = pos
  1692. local rngm = Instance.new("SpecialMesh", rng)
  1693. rngm.MeshType = "Brick"
  1694. rngm.Scale = scale
  1695. local scaler2 = 1
  1696. local scaler2b = 1
  1697. local scaler2c = 1
  1698. if type == "Add" then
  1699. scaler2 = 1*value
  1700. scaler2b = 1*value2
  1701. scaler2c = 1*value3
  1702. elseif type == "Divide" then
  1703. scaler2 = 1/value
  1704. scaler2b = 1/value2
  1705. scaler2c = 1/value3
  1706. end
  1707. coroutine.resume(coroutine.create(function()
  1708. for i = 0,10/bonuspeed,0.1 do
  1709. Swait()
  1710. if type == "Add" then
  1711. scaler2 = scaler2 - 0.01*value/bonuspeed
  1712. scaler2b = scaler2b - 0.01*value/bonuspeed
  1713. scaler2c = scaler2c - 0.01*value/bonuspeed
  1714. elseif type == "Divide" then
  1715. scaler2 = scaler2 - 0.01/value*bonuspeed
  1716. scaler2b = scaler2b - 0.01/value*bonuspeed
  1717. scaler2c = scaler2c - 0.01/value*bonuspeed
  1718. end
  1719. rng.CFrame = rng.CFrame*CFrame.Angles(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1720. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1721. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1722. end
  1723. rng:Destroy()
  1724. end))
  1725. end
  1726.  
  1727. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  1728. local type = type
  1729. local rng = Instance.new("Part", Effects)
  1730. rng.Anchored = true
  1731. rng.BrickColor = color
  1732. rng.CanCollide = false
  1733. rng.FormFactor = 3
  1734. rng.Name = "Ring"
  1735. rng.Material = "Neon"
  1736. rng.Size = Vector3.new(1, 1, 1)
  1737. rng.Transparency = 0
  1738. rng.TopSurface = 0
  1739. rng.BottomSurface = 0
  1740. rng.CFrame = pos
  1741. local rngm = Instance.new("SpecialMesh", rng)
  1742. rngm.MeshType = "Sphere"
  1743. rngm.Scale = scale
  1744. local scaler2 = 1
  1745. local scaler2b = 1
  1746. local scaler2c = 1
  1747. if type == "Add" then
  1748. scaler2 = 1*value
  1749. scaler2b = 1*value2
  1750. scaler2c = 1*value3
  1751. elseif type == "Divide" then
  1752. scaler2 = 1/value
  1753. scaler2b = 1/value2
  1754. scaler2c = 1/value3
  1755. end
  1756. coroutine.resume(coroutine.create(function()
  1757. for i = 0,10/bonuspeed,0.1 do
  1758. Swait()
  1759. if type == "Add" then
  1760. scaler2 = scaler2 - 0.01*value/bonuspeed
  1761. scaler2b = scaler2b - 0.01*value/bonuspeed
  1762. scaler2c = scaler2c - 0.01*value/bonuspeed
  1763. elseif type == "Divide" then
  1764. scaler2 = scaler2 - 0.01/value*bonuspeed
  1765. scaler2b = scaler2b - 0.01/value*bonuspeed
  1766. scaler2c = scaler2c - 0.01/value*bonuspeed
  1767. end
  1768. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1769. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1770. end
  1771. rng:Destroy()
  1772. end))
  1773. end
  1774.  
  1775. function ManualDamage(Humanoid,Damage,TorsoPart)
  1776. if true then return end
  1777. end
  1778.  
  1779. function ManualAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1780. local CHILDREN = workspace:GetDescendants()
  1781. for index, CHILD in pairs(CHILDREN) do
  1782. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1783. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1784. if HUM then
  1785. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1786. if TORSO then
  1787. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1788. if FLING > 0 then
  1789. for _, c in pairs(CHILD:GetChildren()) do
  1790. if c:IsA("BasePart") then
  1791. local bv = Instance.new("BodyVelocity")
  1792. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1793. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1794. bv.Parent = c
  1795. Debris:AddItem(bv,0.05)
  1796. end
  1797. end
  1798. end
  1799. end
  1800. end
  1801. end
  1802. end
  1803. end
  1804. end
  1805.  
  1806. function dmj(dude)
  1807. local targetted
  1808. if dude.Name ~= Character then
  1809. local bgf = Instance.new("BodyGyro",dude.Head)
  1810. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1811. --[[local val = Instance.new("BoolValue",dude)
  1812. val.Name = "IsHit"]]--
  1813. local ds = coroutine.wrap(function()
  1814. for i, v in pairs(dude:GetChildren()) do
  1815. if v:IsA("Part") or v:IsA("MeshPart") then
  1816. v.Name = "DEMINISHED"
  1817. CFuncs["Sound"].Create("rbxassetid://763718160", v, 0.75, 0.6)
  1818. CFuncs["Sound"].Create("rbxassetid://782353443", v, 1, 0.5)
  1819. for i = 0, 1 do
  1820. sphere2(1,"Add",v.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,10,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  1821. end
  1822. end
  1823. end
  1824. wait(0.5)
  1825. targetted = nil
  1826. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.25, 0.215)
  1827. coroutine.resume(coroutine.create(function()
  1828. for i, v in pairs(dude:GetChildren()) do
  1829. if v:IsA("Accessory") then
  1830. v:Destroy()
  1831. end
  1832. if v:IsA("Humanoid") then
  1833. v:Destroy()
  1834. end
  1835. if v:IsA("CharacterMesh") then
  1836. v:Destroy()
  1837. end
  1838. if v:IsA("Model") then
  1839. v:Destroy()
  1840. end
  1841. if v:IsA("Part") or v:IsA("MeshPart") then
  1842. for x, o in pairs(v:GetChildren()) do
  1843. if o:IsA("Decal") then
  1844. o:Destroy()
  1845. end
  1846. end
  1847. coroutine.resume(coroutine.create(function()
  1848. v.Material = "Neon"
  1849. v.CanCollide = false
  1850. v.Anchored = false
  1851. local bld = Instance.new("ParticleEmitter",v)
  1852. bld.LightEmission = 1
  1853. bld.Texture = "rbxassetid://363275192" ---284205403
  1854. bld.Color = ColorSequence.new(BrickColor.new("Really black").Color)
  1855. bld.Rate = 500
  1856. bld.Lifetime = NumberRange.new(1)
  1857. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  1858. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  1859. bld.Speed = NumberRange.new(2,5)
  1860. bld.VelocitySpread = 50000
  1861. bld.Rotation = NumberRange.new(-500,500)
  1862. bld.RotSpeed = NumberRange.new(-500,500)
  1863. local sbs = Instance.new("BodyPosition", v)
  1864. sbs.P = 3000
  1865. sbs.D = 1000
  1866. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1867. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  1868. v.Color = BrickColor.new("Really black").Color
  1869. coroutine.resume(coroutine.create(function()
  1870. for i = 0, 4 do
  1871. slash(math.random(10,50)/10,3,true,"Round","Add","Out",v.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.0025,0.01),math.random(10,100)/2500,BrickColor.new("White"))
  1872. end
  1873. block(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  1874. CFuncs["Sound"].Create("rbxassetid://782353117", v, 0.25, 0.7)
  1875. CFuncs["Sound"].Create("rbxassetid://1192402877", workspace, 3, 0.25)
  1876. bld.Speed = NumberRange.new(10,25)
  1877. bld.Drag = 5
  1878. bld.Acceleration = vt(0,2,0)
  1879. wait(0.5)
  1880. bld.Enabled = false
  1881. wait(4)
  1882. coroutine.resume(coroutine.create(function()
  1883. for i = 0, 99 do
  1884. swait()
  1885. end
  1886. end))
  1887. end))
  1888. end))
  1889. end
  1890. end
  1891. end))
  1892. end)
  1893. ds()
  1894. end
  1895. end
  1896.  
  1897.  
  1898. local function FindHumanoid(Part)local humanoid=nil if Part.Parent then if Part.Parent~=Player.Character and Part.Parent:FindFirstChildOfClass("Humanoid")~=nil then humanoid=Part.Parent:FindFirstChildOfClass("Humanoid")else if Part.Parent.Parent then if Part.Parent.Parent:FindFirstChildOfClass("Humanoid")and Part.Parent.Parent~=Player.Character then humanoid=Part.Parent.Parent:FindFirstChildOfClass("Humanoid")end end end end if humanoid==Humanoid then humanoid=nil end return humanoid end
  1899. function CreateBeam(Parent,isReversed)local p=Instance.new("Beam",Parent)local a0=Instance.new("Attachment",Parent)local a1=Instance.new("Attachment",Parent)if isReversed then p.Attachment0=a1 p.Attachment1=a0 else p.Attachment0=a0 p.Attachment1=a1 end return a0,a1,p end
  1900. function CTE(Part)Part.Size=Vector3.new()Part.Transparency=1 Part.CanCollide=false Part.Anchored=true local j=Instance.new("BodyVelocity",Part)j.MaxForce=Vector3.new(1/0,1/0,1/0)j.Velocity=Vector3.new(0,0,0)end
  1901. function RingE(pos,siz,tim,dsiz,seg,wid,z,col,w)local IDK=.7
  1902. local p=Instance.new("Part",workspace)if col==nil then col=ColorSequence.new(Color3.new())end if z==nil then z=0 end
  1903. CTE(p)p.CFrame=pos
  1904. local a0,a1,b=CreateBeam(p)a0.Position=Vector3.new(0,0,-dsiz)a1.Position=-a0.Position b.Texture="rbxassetid://1251856844"b.Color=col
  1905. local b2=Instance.new("Beam",b.Parent)b2.Attachment0=a1 b2.Attachment1=a0 b2.Texture="rbxassetid://1251856844"b2.Color=col
  1906. b.CurveSize0=math.abs(a0.Position.Z)*2 *IDK b.CurveSize1=math.abs(a0.Position.Z)*2 *IDK b2.CurveSize0=-math.abs(a0.Position.Z)*2 *IDK b2.CurveSize1=math.abs(a0.Position.Z)*2 *IDK
  1907. b.Segments=seg b2.Segments=seg b.ZOffset=z b2.ZOffset=z b.Width0=wid b.Width1=wid b2.Width0=wid b2.Width1=wid spawn(function()
  1908. for i=1,tim do if p.Parent then
  1909. a0.Position=a0.Position-Vector3.new(0,0,siz)a1.Position=a1.Position+Vector3.new(0,0,siz)b.CurveSize0=(a1.Position.Z*2)*IDK b.CurveSize1=-(a1.Position.Z*2)*IDK
  1910. b2.CurveSize0=-(a1.Position.Z*2)*IDK b2.CurveSize1=(a1.Position.Z*2)*IDK
  1911. if w~=nil then b.Width0=b.Width0+w b.Width1=b.Width0 b2.Width0=b.Width0 b2.Width1=b.Width0 end b.Transparency=NumberSequence.new(i/tim)b2.Transparency=NumberSequence.new(i/tim)swait()
  1912. end end p:Destroy()
  1913. end)
  1914. end
  1915.  
  1916. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1917. if FLOOR ~= nil then
  1918. for i = 1, AMOUNT do
  1919. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  1920. DEBREE.Material = FLOOR.Material
  1921. DEBREE.Color = FLOOR.Color
  1922. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1923. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  1924. coroutine.resume(coroutine.create(function()
  1925. Swait(15)
  1926. DEBREE.Parent = workspace
  1927. --DEBREE.CanCollide = true
  1928. Debris:AddItem(DEBREE,SWAIT)
  1929. end))
  1930. end
  1931. end
  1932. end
  1933.  
  1934. --//=================================\\
  1935. --|| GUIS AND MISC
  1936. --\\=================================//
  1937.  
  1938. local SKILLTEXTCOLOR = C3(1,0,0)
  1939. local SKILLFONT = "Antique"
  1940. local SKILLTEXTSIZE = 7
  1941.  
  1942. local ATTACKS = {"Z - Neckless","C - Brave Speed","G - Slashed","V - Dirtface"}
  1943.  
  1944. local GUIS = {}
  1945. local WEAPONGUI = IT("ScreenGui")
  1946. WEAPONGUI.Name = "[M U R D E R]"
  1947. for i = 1, #ATTACKS do
  1948. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97-(0.02*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  1949. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Skill text")
  1950. SKILLTEXT.TextXAlignment = "Right"
  1951. table.insert(GUIS,SKILLTEXT)
  1952. end
  1953.  
  1954. local sick = IT("Sound", Torso)
  1955. sick.SoundId = "rbxassetid://"..SONG1
  1956. sick.TimePosition = 0
  1957. sick.Looped = true
  1958. sick.Pitch = 1
  1959. sick.Volume = 10
  1960. sick:Play()
  1961.  
  1962. local BODY = {}
  1963. for _, c in pairs(Character:GetDescendants()) do
  1964. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1965. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1966. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1967. end
  1968. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1969. elseif c:IsA("JointInstance") then
  1970. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1971. end
  1972. end
  1973. for e = 1, #BODY do
  1974. if BODY[e] ~= nil then
  1975. local STUFF = BODY[e]
  1976. local PART = STUFF[1]
  1977. local PARENT = STUFF[2]
  1978. local MATERIAL = STUFF[3]
  1979. local COLOR = STUFF[4]
  1980. local TRANSPARENCY = STUFF[5]
  1981. if PART.ClassName == "Part" and PART ~= RootPart then
  1982. PART.Material = MATERIAL
  1983. PART.Color = COLOR
  1984. PART.Transparency = TRANSPARENCY
  1985. end
  1986. end
  1987. end
  1988.  
  1989. warn("All your friends are dead.")
  1990. warn("You're the only one left...")
  1991. warn("YOU NEED TO AVENGE THEM =)")
  1992.  
  1993. --//=================================\\
  1994. --|| DAMAGING
  1995. --\\=================================//
  1996.  
  1997. function ApplyDamage(Humanoid,Damage,OneShot)
  1998. Damage = Damage * DAMAGEMULTIPLIER
  1999. local DEAD = false
  2000. if DEAD == true then
  2001. local PARTS = {}
  2002. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  2003. if CHILD:IsA("BasePart") then
  2004. table.insert(PARTS,CHILD)
  2005. end
  2006. end
  2007. coroutine.resume(coroutine.create(function()
  2008. wait(2)
  2009. repeat
  2010. Swait()
  2011. local PIECE = nil
  2012. if MRANDOM(1,5) == 1 then
  2013. for E = 1, #PARTS do
  2014. if MRANDOM(1,5) == 1 then
  2015. PIECE = PARTS[E]
  2016. table.remove(PARTS,E)
  2017. break
  2018. end
  2019. end
  2020. end
  2021. if PIECE ~= nil then
  2022. if PIECE.Name == "Head" then
  2023. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  2024. else
  2025. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  2026. end
  2027. PIECE:Remove()
  2028. end
  2029. until #PARTS == 0
  2030. end))
  2031. end
  2032. end
  2033.  
  2034. --//=================================\\
  2035. --|| WEAPON CREATION
  2036. --\\=================================//
  2037. function Rainbowify(HighRanksCrest)
  2038. while RunService.Stepped:Wait() do
  2039. for hue = 0, 1, 0.06 do
  2040. HighRanksCrest.Color = Color3.fromHSV(hue,1,1)
  2041. wait(0.001)
  2042. end
  2043. end
  2044. end
  2045. local HighRanksCrest = Instance.new("Part", Character)
  2046. HighRanksCrest.Name = "HighRanksCrest"
  2047. HighRanksCrest.CanCollide = false
  2048. HighRanksCrest.BrickColor = BrickColor.new("Institutional white")
  2049. HighRanksCrest.Transparency = 0
  2050. HighRanksCrest.Material = "Neon"
  2051. HighRanksCrest.Size = Vector3.new(1, 1, 2)
  2052. --HighRanksCrest.TopSurface = Enum.SurfaceType.Neon
  2053. --HighRanksCrest.BottomSurface = Enum.SurfaceType.Neon
  2054.  
  2055. local Weld = Instance.new("Weld", HighRanksCrest)
  2056. Weld.Part0 = Torso
  2057. Weld.Part1 = HighRanksCrest
  2058. Weld.C1 = CFrame.new(0, -2.5, -1.75)
  2059. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  2060.  
  2061. local M2 = Instance.new("SpecialMesh")
  2062. M2.Parent = HighRanksCrest
  2063. M2.MeshId = "http://www.roblox.com/asset/?id=4758429875"
  2064. --M2.Material = Enum.Material.Neon
  2065. M2.TextureId = "http://www.roblox.com/asset/?id=4773903172"
  2066. M2.Scale = Vector3.new(1.5, 1.5, 1.5)
  2067. spawn(function() Rainbowify(HighRanksCrest) end)
  2068.  
  2069. local outer = Instance.new("Part")
  2070. outer.Locked = true
  2071. outer.CanCollide = false
  2072. outer.Shape = Enum.PartType.Cylinder
  2073. outer.Size = Vector3.new(0.05, 1, 1)
  2074. outer.Material = Enum.Material.Neon
  2075. outer.Color = Color3.new(0, 0, 0)
  2076. outer.Parent = Character
  2077. spawn(function() Rainbowify(outer) end)
  2078.  
  2079. local outerm = Instance.new("SpecialMesh")
  2080. outerm.MeshType = Enum.MeshType.Cylinder
  2081. outerm.Parent = outer
  2082.  
  2083. local weld1 = Instance.new("Weld")
  2084. weld1.Part0 = outer
  2085. weld1.Part1 = Character["HumanoidRootPart"]
  2086. weld1.Parent = outer
  2087. weld1.C0 = CFrame.new(-2.95, 0, 0) * CFrame.Angles(0, 0, 1.571)
  2088. coroutine.resume(coroutine.create(function()
  2089. while true do
  2090. Swait()
  2091. outerm.Scale = Vector3.new(0, sick.PlaybackLoudness / 25, sick.PlaybackLoudness / 25)
  2092. end
  2093. end))
  2094.  
  2095. RightArm.Material = Enum.Material.Plastic -- this script and below rainbowifies the body parts
  2096. spawn(function() Rainbowify(RightArm) end)
  2097.  
  2098. LeftArm.Material = Enum.Material.Plastic
  2099. spawn(function() Rainbowify(LeftArm) end)
  2100.  
  2101. Torso.Material = Enum.Material.Neon
  2102. spawn(function() Rainbowify(Torso) end)
  2103.  
  2104. LeftLeg.Material = Enum.Material.Plastic
  2105. spawn(function() Rainbowify(LeftLeg) end)
  2106.  
  2107. RightLeg.Material = Enum.Material.Plastic
  2108. spawn(function() Rainbowify(RightLeg) end)
  2109.  
  2110. Head.Material = Enum.Material.Plastic
  2111. spawn(function() Rainbowify(Head) end)
  2112.  
  2113. RightArm.Material = Enum.Material.ForceField -- this script and below rainbowifies the body parts
  2114. spawn(function() Rainbowify(RightArm) end)
  2115.  
  2116. LeftArm.Material = Enum.Material.ForceField
  2117. spawn(function() Rainbowify(LeftArm) end)
  2118.  
  2119. Torso.Material = Enum.Material.Neon
  2120. spawn(function() Rainbowify(Torso) end)
  2121.  
  2122. LeftLeg.Material = Enum.Material.ForceField
  2123. spawn(function() Rainbowify(LeftLeg) end)
  2124.  
  2125. RightLeg.Material = Enum.Material.ForceField
  2126. spawn(function() Rainbowify(RightLeg) end)
  2127.  
  2128. Head.Material = Enum.Material.ForceField
  2129. spawn(function() Rainbowify(Head) end)
  2130.  
  2131. function Weld(part0,part1,c0,c1)
  2132. local weld = IT("Weld")
  2133. weld.Parent = part0
  2134. weld.Part0 = part0
  2135. weld.Part1 = part1
  2136. weld.C0 = c0 or CF()
  2137. weld.C1 = c1 or CF()
  2138. return weld
  2139. end
  2140.  
  2141. function MakeForm(PART,TYPE)
  2142. if TYPE == "Cyl" then
  2143. local MSH = IT("CylinderMesh",PART)
  2144. elseif TYPE == "Ball" then
  2145. local MSH = IT("SpecialMesh",PART)
  2146. MSH.MeshType = "Sphere"
  2147. elseif TYPE == "Wedge" then
  2148. local MSH = IT("SpecialMesh",PART)
  2149. MSH.MeshType = "Wedge"
  2150. end
  2151. end
  2152.  
  2153. if Head:FindFirstChildOfClass("Decal") then
  2154. Head:FindFirstChildOfClass("Decal").Texture = "rbxassetid://398671601"
  2155. else
  2156. local newFace = Instance.new("Decal", Head)
  2157. newFace.Parent = Head
  2158. newFace.Face = "Front"
  2159. newFace.Texture = "rbxassetid://398671601"
  2160. end
  2161.  
  2162. New = function(Object, Parent, Name, Data)
  2163. local Object = Instance.new(Object)
  2164. for Index, Value in pairs(Data or {}) do
  2165. Object[Index] = Value
  2166. end
  2167. Object.Parent = Parent
  2168. Object.Name = Name
  2169. return Object
  2170. end
  2171.  
  2172. local all, last = {}, nil
  2173. ArmourParts = {}
  2174. NeonParts = {}
  2175. function scan(p)
  2176. for _, v in pairs(p:GetChildren()) do
  2177. if v:IsA("BasePart") then
  2178. if v.BrickColor == BrickColor.new("Black") then
  2179. table.insert(ArmourParts, v)
  2180. end
  2181. if v.BrickColor == BrickColor.new("Institutional white") then
  2182. table.insert(NeonParts, v)
  2183. end
  2184. if last then
  2185. local w = Instance.new("Weld")
  2186. w.Part0, w.Part1 = last, v
  2187. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  2188. w.Parent = last
  2189. end
  2190. table.insert(all, v)
  2191. last = v
  2192. end
  2193. scan(v)
  2194. end
  2195. end
  2196.  
  2197. for i, v in pairs(ArmourParts) do
  2198. v.BrickColor = BrickColor.new("Black")
  2199. v.Material = Enum.Material.Neon
  2200. end
  2201. for i, v in pairs(NeonParts) do
  2202. v.BrickColor = BrickColor.Black()
  2203. end
  2204.  
  2205. for i = 1, 10 do
  2206. local FACE = CreatePart(3, faceShadingFolder, "Neon", 0, 0+(i-1)/10.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  2207. FACE.Color = C3(0,0,0)
  2208. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  2209. CreateWeldOrSnapOrMotor("Weld", FACE, Head, FACE, CF(0,0.28-(i-1)/30,0), CF(0, 0, 0))
  2210. spawn(function() Rainbowify(FACE) end)
  2211. end
  2212.  
  2213. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really white", "Scarf", VT(1,1,1),false)
  2214. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  2215. PRT.Color = C3(1,1,1)
  2216.  
  2217. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really white", "Scarf", VT(1,1,1),false)
  2218. PRT.Color = C3(1,1,1)
  2219. spawn(function() Rainbowify(PRT) end)
  2220. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  2221. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  2222. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eye", VT(0.6,0.1,1)/2,false)
  2223. MakeForm(Eye,"Ball")
  2224. spawn(function() Rainbowify(Eye) end)
  2225. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  2226. Eye:Destroy()
  2227. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Eye", VT(0.6,0.1,1)/2,false)
  2228. MakeForm(Eye,"Ball")
  2229. spawn(function() Rainbowify(Eye) end)
  2230. Eye:Destroy()
  2231.  
  2232. local Particle =IT("ParticleEmitter",nil)
  2233. Particle.Enabled = false
  2234. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2235. Particle.LightEmission = 0.5
  2236. Particle.Rate = 150
  2237. Particle.ZOffset = 0.2
  2238. Particle.Rotation = NumberRange.new(-180, 180)
  2239. Particle.RotSpeed = NumberRange.new(-180, 180)
  2240. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2241. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  2242.  
  2243. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2244. function ParticleEmitter(Table)
  2245. local PRTCL = Particle:Clone()
  2246. local Speed = Table.Speed or 5
  2247. local Drag = Table.Drag or 0
  2248. local Size1 = Table.Size1 or 1
  2249. local Size2 = Table.Size2 or 5
  2250. local Lifetime1 = Table.Lifetime1 or 1
  2251. local Lifetime2 = Table.Lifetime2 or 1.5
  2252. local Parent = Table.Parent or Torso
  2253. local Emit = Table.Emit or 100
  2254. local Offset = Table.Offset or 360
  2255. local Acel = Table.Acel or VT(0,0,0)
  2256. local Enabled = Table.Enabled or false
  2257. PRTCL.Parent = Parent
  2258. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2259. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2260. PRTCL.Speed = NumberRange.new(Speed)
  2261. PRTCL.VelocitySpread = Offset
  2262. PRTCL.Drag = Drag
  2263. PRTCL.Acceleration = Acel
  2264. if Enabled == false then
  2265. PRTCL:Emit(Emit)
  2266. Debris:AddItem(PRTCL,Lifetime2)
  2267. else
  2268. PRTCL.Enabled = true
  2269. end
  2270. return PRTCL
  2271. end
  2272.  
  2273. -- IdleWeapon(Karma) --
  2274. local Handle = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2275. spawn(function() Rainbowify(Handle) end)
  2276. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2277. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2278. MakeForm(Part,"Wedge")
  2279. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2280. spawn(function() Rainbowify(Part) end)
  2281. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2282. MakeForm(Part,"Wedge")
  2283. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2284. spawn(function() Rainbowify(Part) end)
  2285. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2286. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2287. spawn(function() Rainbowify(Part) end)
  2288. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2289. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2290. spawn(function() Rainbowify(Part) end)
  2291. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2292. MakeForm(Part,"Cyl")
  2293. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2294. spawn(function() Rainbowify(Part) end)
  2295. for i = 1, 8 do
  2296. local Piece = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2297. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2298. spawn(function() Rainbowify(Piece) end)
  2299. end
  2300. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2301. MakeForm(Part,"Cyl")
  2302. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2303. spawn(function() Rainbowify(Part) end)
  2304. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2305. MakeForm(Part,"Ball")
  2306. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2307. spawn(function() Rainbowify(Part) end)
  2308. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2309. MakeForm(Part,"Wedge")
  2310. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2311. spawn(function() Rainbowify(Part) end)
  2312. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2313. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2314. spawn(function() Rainbowify(Part) end)
  2315. local Part = CreatePart(3, Weapon, "ForceField", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2316. MakeForm(Part,"Cyl")
  2317. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2318. spawn(function() Rainbowify(Part) end)
  2319. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2320. MakeForm(Part,"Cyl")
  2321. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2322. spawn(function() Rainbowify(Part) end)
  2323. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2324. MakeForm(Part,"Cyl")
  2325. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2326. spawn(function() Rainbowify(Part) end)
  2327. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2328. MakeForm(Part,"Wedge")
  2329. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2330. spawn(function() Rainbowify(Part) end)
  2331. local LASTPART = Handle
  2332. for i = 1, 10 do
  2333. if LASTPART == Handle then
  2334. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2335. LASTPART = Part
  2336. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2337. spawn(function() Rainbowify(Part) end)
  2338. else
  2339. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  2340. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2341. LASTPART = Part
  2342. spawn(function() Rainbowify(Part) end)
  2343. end
  2344. end
  2345.  
  2346. local Barrel = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.15,4,0.15),false)
  2347. MakeForm(Barrel,"Cyl")
  2348. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.85) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2349. spawn(function() Rainbowify(Barrel) end)
  2350. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0.25,2,0.25),false)
  2351. MakeForm(Part,"Cyl")
  2352. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.2, 0), CF(0, 0, 0))
  2353. spawn(function() Rainbowify(Part) end)
  2354. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2355. MakeForm(Part,"Wedge")
  2356. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2357. spawn(function() Rainbowify(Part) end)
  2358. local Hole = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2359. MakeForm(Hole,"Cyl")
  2360. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2, 0), CF(0, 0, 0))
  2361. spawn(function() Rainbowify(Hole) end)
  2362. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2363. spawn(function() Rainbowify(Part) end)
  2364. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2365. CreateMesh("SpecialMesh", Part, "FileMesh", 4665707228, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2366. local Part = CreatePart(3, Weapon, "Neon", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2367. spawn(function() Rainbowify(Part) end)
  2368. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2369. CreateMesh("SpecialMesh", Part, "FileMesh", 4758429875, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2370. coroutine.resume(coroutine.create(function()
  2371. while wait() do
  2372. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(sick.PlaybackLoudness/60 + 0.05))
  2373. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-sick.PlaybackLoudness/60 - 0.05))
  2374. end
  2375. end))
  2376.  
  2377. local LASTPART = Torso
  2378. for i = 1, 45 do
  2379. local MATH = 1 - i / 60
  2380. if LASTPART == Torso then
  2381. local Tail = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Tail", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  2382. local WLD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Tail, CF(0, -0.75, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2383. LASTPART = Tail
  2384. spawn(function() Rainbowify(Tail) end)
  2385. coroutine.resume(coroutine.create(function()
  2386. while true do
  2387. Swait()
  2388. if BanishMode == "1" or BanishMode == "1" then
  2389. local val = MRANDOM(1,255)
  2390. Tail.Color = Color3.fromRGB(val,val,val)
  2391. elseif BanishMode == "2" then
  2392. Tail.Color = BrickColor
  2393. elseif BanishMode == "3" or BanishMode == "3" then
  2394. Tail.Color = BrickColor.Random().Color
  2395. elseif BanishMode == "324" or BanishMode == '324' then
  2396. Tail.Color = Color3.fromRGB(0+170*sick.PlaybackLoudness/1000,0,0+170*sick.PlaybackLoudness/1000)
  2397. elseif BanishMode == "666" then
  2398. Tail.Color = Color3.fromHSV(Hue/360,1,math.clamp(sick.PlaybackLoudness/950,0,1))
  2399. elseif BanishMode == '555' or BanishMode == '555' or BanishMode == '555' then
  2400. Tail.Color = Color3.fromRGB(0,math.random(0,255),0)
  2401. elseif BanishMode == '1555' or BanishMode == '1555' or BanishMode == '1555' then
  2402. Tail.Color = Color3.fromRGB(math.random(0,255),0,0)
  2403. elseif BanishMode == "900" then
  2404. Tail.Color = Color3.fromRGB(0,0,0+178*sick.PlaybackLoudness/100)
  2405. elseif BanishMode == '777' or BanishMode == '777' then
  2406. Tail.Color = Color3.fromRGB(0+178*sick.PlaybackLoudness/100,0,0)
  2407. elseif BanishMode == '1444' then
  2408. Tail.Color = Color3.fromRGB(0,0+89*sick.PlaybackLoudness/100,0+18*sick.PlaybackLoudness/100)
  2409. elseif BanishMode == '1444' then
  2410. Tail.Color = C3(98/255 + sick.PlaybackLoudness/1000, 37/255 + sick.PlaybackLoudness/1000, 209/255 + sick.PlaybackLoudness/1000)
  2411. elseif BanishMode == '777' or BanishMode == '777' or BanishMode == '777' then
  2412. Tail.Color = C3(math.min(1,sick.PlaybackLoudness/500),math.min(1,sick.PlaybackLoudness/500),math.min(1,sick.PlaybackLoudness/500))
  2413. end
  2414. end
  2415. end))
  2416. table.insert(TAIL, WLD)
  2417. else
  2418. local Tail = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Tail", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  2419. local WLD = CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Tail, CF(0, Tail.Size.Y / 2, 0) * ANGLES(RAD(-1.2), RAD(0), RAD(0)), CF(0, 0, 0))
  2420. LASTPART = Tail
  2421. spawn(function() Rainbowify(Tail) end)
  2422. coroutine.resume(coroutine.create(function()
  2423. while true do
  2424. Swait()
  2425. if BanishMode == "1" or BanishMode == "1" then
  2426. local val = MRANDOM(1,255)
  2427. Tail.Color = Color3.fromRGB(val,val,val)
  2428. elseif BanishMode == "2" then
  2429. Tail.Color = BrickColor
  2430. elseif BanishMode == "3" or BanishMode == "3" then
  2431. Tail.Color = BrickColor.Random().Color
  2432. elseif BanishMode == "324" or BanishMode == '324' then
  2433. Tail.Color = Color3.fromRGB(0+170*sick.PlaybackLoudness/1000,0,0+170*sick.PlaybackLoudness/1000)
  2434. elseif BanishMode == "666" then
  2435. Tail.Color = Color3.fromHSV(Hue/360,1,math.clamp(sick.PlaybackLoudness/950,0,1))
  2436. elseif BanishMode == '555' or BanishMode == '555' or BanishMode == '555' then
  2437. Tail.Color = Color3.fromRGB(0,math.random(0,255),0)
  2438. elseif BanishMode == '1555' or BanishMode == '1555' or BanishMode == '1555' then
  2439. Tail.Color = Color3.fromRGB(math.random(0,255),0,0)
  2440. elseif BanishMode == "900" then
  2441. Tail.Color = Color3.fromRGB(0,0,0+178*sick.PlaybackLoudness/100)
  2442. elseif BanishMode == '777' or BanishMode == '777' then
  2443. Tail.Color = Color3.fromRGB(0+178*sick.PlaybackLoudness/100,0,0)
  2444. elseif BanishMode == '1444' then
  2445. Tail.Color = Color3.fromRGB(0,0+89*sick.PlaybackLoudness/100,0+18*sick.PlaybackLoudness/100)
  2446. elseif BanishMode == '1444' then
  2447. Tail.Color = C3(98/255 + sick.PlaybackLoudness/1000, 37/255 + sick.PlaybackLoudness/1000, 209/255 + sick.PlaybackLoudness/1000)
  2448. elseif BanishMode == '777' or BanishMode == '777' or BanishMode == '777' then
  2449. Tail.Color = C3(math.min(1,sick.PlaybackLoudness/500),math.min(1,sick.PlaybackLoudness/500),math.min(1,sick.PlaybackLoudness/500))
  2450. end
  2451. end
  2452. end))
  2453. table.insert(TAIL, WLD)
  2454. end
  2455. end
  2456.  
  2457. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  2458. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  2459.  
  2460. local LASTPART = Head
  2461. for i = 1, 40 do
  2462. local MATH = (1-(i/25))
  2463. if LASTPART == Head then
  2464. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  2465. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  2466. LASTPART = Horn
  2467. spawn(function() Rainbowify(Horn) end)
  2468. coroutine.resume(coroutine.create(function()
  2469. while true do
  2470. Swait()
  2471. if BanishMode == "1" then
  2472. local val = MRANDOM(1,255)
  2473. Horn.Color = Color3.fromRGB(val,val,val)
  2474. elseif BanishMode == "Relaxed" then
  2475. Horn.Color = Color3.fromRGB(val,val,val)
  2476. elseif BanishMode == "Insanity" or BanishMode == "krma" then
  2477. Horn.Color = BrickColor.Random().Color
  2478. elseif BanishMode == "Vis" or BanishMode == 'poisoned' then
  2479. Horn.Color = Color3.fromRGB(0+170*sick.PlaybackLoudness/1000,0,0+170*sick.PlaybackLoudness/1000)
  2480. elseif BanishMode == "Sit" then
  2481. Horn.Color = Color3.fromHSV(Hue/360,1,math.clamp(sick.PlaybackLoudness/950,0,1))
  2482. elseif BanishMode == 'error' then
  2483. Horn.Color = Color3.fromRGB(0,math.random(0,255),0)
  2484. elseif BanishMode == 'nebula' or BanishMode == 'edgialization' or BanishMode == 'Geno' then
  2485. Horn.Color = Color3.fromRGB(math.random(0,255),0,0)
  2486. elseif BanishMode == "???" then
  2487. Horn.Color = Color3.fromRGB(0,0,0+178*sick.PlaybackLoudness/100)
  2488. elseif BanishMode == 'Rev' or BanishMode == 'unholy' then
  2489. Horn.Color = Color3.fromRGB(0+178*sick.PlaybackLoudness/100,0,0)
  2490. elseif BanishMode == 'mnlght' then
  2491. Horn.Color = Color3.fromRGB(0,0+89*sick.PlaybackLoudness/100,0+18*sick.PlaybackLoudness/100)
  2492. elseif BanishMode == 'death' then
  2493. Horn.Color = C3(98/255 + sick.PlaybackLoudness/1000, 37/255 + sick.PlaybackLoudness/1000, 209/255 + sick.PlaybackLoudness/1000)
  2494. elseif BanishMode == 'uncolored' or BanishMode == 'unknown' or BanishMode == 'depressed' then
  2495. Horn.Color = C3(math.min(1,sick.PlaybackLoudness/500),math.min(1,sick.PlaybackLoudness/500),math.min(1,sick.PlaybackLoudness/500))
  2496. end
  2497. end
  2498. end))
  2499. else
  2500. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  2501. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-2.5), RAD(0)), CF(0, 0, 0))
  2502. LASTPART = Horn
  2503. spawn(function() Rainbowify(Horn) end)
  2504. coroutine.resume(coroutine.create(function()
  2505. while true do
  2506. Swait()
  2507. if BanishMode == "1" then
  2508. local val = MRANDOM(1,255)
  2509. Horn.Color = Color3.fromRGB(val,val,val)
  2510. elseif BanishMode == "Relaxed" then
  2511. Horn.Color = Color3.fromRGB(val,val,val)
  2512. elseif BanishMode == "Insanity" or BanishMode == "krma" then
  2513. Horn.Color = BrickColor.Random().Color
  2514. elseif BanishMode == "Vis" or BanishMode == 'poisoned' then
  2515. Horn.Color = Color3.fromRGB(0+170*sick.PlaybackLoudness/1000,0,0+170*sick.PlaybackLoudness/1000)
  2516. elseif BanishMode == "Sit" then
  2517. Horn.Color = Color3.fromHSV(Hue/360,1,math.clamp(sick.PlaybackLoudness/950,0,1))
  2518. elseif BanishMode == 'error' then
  2519. Horn.Color = Color3.fromRGB(0,math.random(0,255),0)
  2520. elseif BanishMode == 'nebula' or BanishMode == 'edgialization' or BanishMode == 'Geno' then
  2521. Horn.Color = Color3.fromRGB(math.random(0,255),0,0)
  2522. elseif BanishMode == "???" then
  2523. Horn.Color = Color3.fromRGB(0,0,0+178*sick.PlaybackLoudness/100)
  2524. elseif BanishMode == 'Rev' or BanishMode == 'unholy' then
  2525. Horn.Color = Color3.fromRGB(0+178*sick.PlaybackLoudness/100,0,0)
  2526. elseif BanishMode == 'mnlght' then
  2527. Horn.Color = Color3.fromRGB(0,0+89*sick.PlaybackLoudness/100,0+18*sick.PlaybackLoudness/100)
  2528. elseif BanishMode == 'death' then
  2529. Horn.Color = C3(98/255 + sick.PlaybackLoudness/1000, 37/255 + sick.PlaybackLoudness/1000, 209/255 + sick.PlaybackLoudness/1000)
  2530. elseif BanishMode == 'uncolored' or BanishMode == 'unknown' or BanishMode == 'depressed' then
  2531. Horn.Color = C3(math.min(1,sick.PlaybackLoudness/500),math.min(1,sick.PlaybackLoudness/500),math.min(1,sick.PlaybackLoudness/500))
  2532. end
  2533. end
  2534. end))
  2535. end
  2536. end
  2537. local LASTPART = Head
  2538. for i = 1, 40 do
  2539. local MATH = (1-(i/25))
  2540. if LASTPART == Head then
  2541. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  2542. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  2543. LASTPART = Horn
  2544. spawn(function() Rainbowify(Horn) end)
  2545. coroutine.resume(coroutine.create(function()
  2546. while true do
  2547. Swait()
  2548. if BanishMode == "1" then
  2549. local val = MRANDOM(1,255)
  2550. Horn.Color = Color3.fromRGB(val,val,val)
  2551. elseif BanishMode == "Relaxed" then
  2552. Horn.Color = Color3.fromRGB(val,val,val)
  2553. elseif BanishMode == "Insanity" or BanishMode == "krma" then
  2554. Horn.Color = BrickColor.Random().Color
  2555. elseif BanishMode == "Vis" or BanishMode == 'poisoned' then
  2556. Horn.Color = Color3.fromRGB(0+170*sick.PlaybackLoudness/1000,0,0+170*sick.PlaybackLoudness/1000)
  2557. elseif BanishMode == "Sit" then
  2558. Horn.Color = Color3.fromHSV(Hue/360,1,math.clamp(sick.PlaybackLoudness/950,0,1))
  2559. elseif BanishMode == 'error' then
  2560. Horn.Color = Color3.fromRGB(0,math.random(0,255),0)
  2561. elseif BanishMode == 'nebula' or BanishMode == 'edgialization' or BanishMode == 'Geno' then
  2562. Horn.Color = Color3.fromRGB(math.random(0,255),0,0)
  2563. elseif BanishMode == "???" then
  2564. Horn.Color = Color3.fromRGB(0,0,0+178*sick.PlaybackLoudness/100)
  2565. elseif BanishMode == 'Rev' or BanishMode == 'unholy' then
  2566. Horn.Color = Color3.fromRGB(0+178*sick.PlaybackLoudness/100,0,0)
  2567. elseif BanishMode == 'mnlght' then
  2568. Horn.Color = Color3.fromRGB(0,0+89*sick.PlaybackLoudness/100,0+18*sick.PlaybackLoudness/100)
  2569. elseif BanishMode == 'death' then
  2570. Horn.Color = C3(98/255 + sick.PlaybackLoudness/1000, 37/255 + sick.PlaybackLoudness/1000, 209/255 + sick.PlaybackLoudness/1000)
  2571. elseif BanishMode == 'uncolored' or BanishMode == 'unknown' or BanishMode == 'depressed' then
  2572. Horn.Color = C3(math.min(1,sick.PlaybackLoudness/500),math.min(1,sick.PlaybackLoudness/500),math.min(1,sick.PlaybackLoudness/500))
  2573. end
  2574. end
  2575. end))
  2576. else
  2577. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  2578. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(2.5), RAD(0)), CF(0, 0, 0))
  2579. LASTPART = Horn
  2580. spawn(function() Rainbowify(Horn) end)
  2581. coroutine.resume(coroutine.create(function()
  2582. while true do
  2583. Swait()
  2584. if BanishMode == "1" then
  2585. local val = MRANDOM(1,255)
  2586. Horn.Color = Color3.fromRGB(val,val,val)
  2587. elseif BanishMode == "Relaxed" then
  2588. Horn.Color = BrickColor.Random().color
  2589. elseif BanishMode == "Insanity" or BanishMode == "krma" then
  2590. Horn.Color = BrickColor.Random().Color
  2591. elseif BanishMode == "Vis" or BanishMode == 'poisoned' then
  2592. Horn.Color = Color3.fromRGB(0+170*sick.PlaybackLoudness/1000,0,0+170*sick.PlaybackLoudness/1000)
  2593. elseif BanishMode == "Sit" then
  2594. Horn.Color = Color3.fromHSV(Hue/360,1,math.clamp(sick.PlaybackLoudness/950,0,1))
  2595. elseif BanishMode == 'error' then
  2596. Horn.Color = Color3.fromRGB(0,math.random(0,255),0)
  2597. elseif BanishMode == 'nebula' or BanishMode == 'edgialization' or BanishMode == 'Geno' then
  2598. Horn.Color = Color3.fromRGB(math.random(0,255),0,0)
  2599. elseif BanishMode == "???" then
  2600. Horn.Color = Color3.fromRGB(0,0,0+178*sick.PlaybackLoudness/100)
  2601. elseif BanishMode == 'Rev' or BanishMode == 'unholy' then
  2602. Horn.Color = Color3.fromRGB(0+178*sick.PlaybackLoudness/100,0,0)
  2603. elseif BanishMode == 'mnlght' then
  2604. Horn.Color = Color3.fromRGB(0,0+89*sick.PlaybackLoudness/100,0+18*sick.PlaybackLoudness/100)
  2605. elseif BanishMode == 'death' then
  2606. Horn.Color = C3(98/255 + sick.PlaybackLoudness/1000, 37/255 + sick.PlaybackLoudness/1000, 209/255 + sick.PlaybackLoudness/1000)
  2607. elseif BanishMode == 'uncolored' or BanishMode == 'unknown' or BanishMode == 'depressed' then
  2608. Horn.Color = C3(math.min(1,sick.PlaybackLoudness/500),math.min(1,sick.PlaybackLoudness/500),math.min(1,sick.PlaybackLoudness/500))
  2609. end
  2610. end
  2611. end))
  2612. end
  2613. end
  2614.  
  2615. for _, b in pairs(Karma:GetChildren()) do
  2616. if b.ClassName == "Part" then
  2617. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2618. end
  2619. end
  2620.  
  2621. for _, b in pairs(Weapon:GetChildren()) do
  2622. if b.ClassName == "Part" then
  2623. b.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2624. end
  2625. end
  2626.  
  2627. coroutine.resume(coroutine.create(function()
  2628. while true do
  2629. Swait()
  2630. for _, c in pairs(KarmaWeapon2:GetDescendants()) do
  2631. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2632. c.Material = "Neon"
  2633. c.Color = BrickColor.Black().Color
  2634. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2635. c.Material = "Neon"
  2636. c.Color = C3(0,0,0)
  2637. spawn(function() Rainbowify(c) end)
  2638. end
  2639. end
  2640. for _, c in pairs(KarmaWeapon:GetDescendants()) do
  2641. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2642. c.Material = "Neon"
  2643. c.Color = BrickColor.Black().Color
  2644. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2645. c.Material = "Neon"
  2646. c.Color = C3(0,0,0)
  2647. spawn(function() Rainbowify(c) end)
  2648. end
  2649. end
  2650. end
  2651. end))
  2652.  
  2653. Weapon.Parent = Character
  2654.  
  2655.  
  2656. --//=================================\\
  2657. --|| ATTACK FUNCTIONS AND STUFF
  2658. --\\=================================//
  2659.  
  2660. abss = Instance.new("BillboardGui",Character)
  2661. abss.Size = UDim2.new(10,0,10,0)
  2662. abss.Enabled = false
  2663. imgl = Instance.new("ImageLabel",abss)
  2664. imgl.Position = UDim2.new(0,0,0,0)
  2665. imgl.Size = UDim2.new(1,0,1,0)
  2666. imgl.Image = "rbxassetid://342199418"
  2667. imgl.BackgroundTransparency = 1
  2668. imgl.ImageColor3 = Color3.new(.9,0,0)
  2669. img2 = Instance.new("ImageLabel",abss)
  2670. img2.Position = UDim2.new(0,0,0,0)
  2671. img2.Size = UDim2.new(1,0,1,0)
  2672. img2.Image = "rbxassetid://342199418"
  2673. img2.BackgroundTransparency = 1
  2674. img2.ImageColor3 = Color3.new(.9,0,0)
  2675.  
  2676. function CreatePartC(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, COLOR3, NAME, SIZE, ANCHOR)
  2677. local NEWPART = IT("Part")
  2678. NEWPART.formFactor = FORMFACTOR
  2679. NEWPART.Reflectance = REFLECTANCE
  2680. NEWPART.Transparency = TRANSPARENCY
  2681. NEWPART.CanCollide = false
  2682. NEWPART.Locked = true
  2683. NEWPART.Anchored = true
  2684. if ANCHOR == false then
  2685. NEWPART.Anchored = false
  2686. end
  2687. NEWPART.Color = COLOR3
  2688. NEWPART.Name = NAME
  2689. NEWPART.Size = SIZE
  2690. NEWPART.Position = Torso.Position
  2691. NEWPART.Material = MATERIAL
  2692. NEWPART:BreakJoints()
  2693. NEWPART.Parent = PARENT
  2694. return NEWPART
  2695. end
  2696.  
  2697.  
  2698. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  2699. local DIRECTION = CF(StartPos,EndPos).lookVector
  2700. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  2701. end
  2702.  
  2703. function SpawnTrail(FROM,TO,BIG)
  2704. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  2705. spawn(function() Rainbowify(TRAIL) end)
  2706. MakeForm(TRAIL,"Cyl")
  2707. local DIST = (FROM - TO).Magnitude
  2708. if BIG == true then
  2709. TRAIL.Size = VT(0.5,DIST,0.5)
  2710. else
  2711. TRAIL.Size = VT(0.25,DIST,0.25)
  2712. end
  2713. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2714. coroutine.resume(coroutine.create(function()
  2715. for i = 1, 5 do
  2716. Swait()
  2717. TRAIL.Transparency = TRAIL.Transparency + 0.01
  2718. end
  2719. wait(4.2)
  2720. TRAIL:remove()
  2721. end))
  2722. end
  2723.  
  2724.  
  2725.  
  2726. function printbye(Name)
  2727. local MESSAGES = {"GET DUNK ON!!!!!!, ", "IDIOT, ", "STUPID, ", "Chill, ", "BEGONE, ", "STAAAAAAAAAAFFFFFFFFFFF, ", "Try it again, ", "Welcome to my special hecc, ", "Dont come back please, ", "You are bad ","Don't try that ever again, "}
  2728. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2729. end
  2730.  
  2731. function ApplyAoE(POSITION,RANGE,ISBANISH)
  2732. if true then return end
  2733. end
  2734.  
  2735. function BanishBullet()
  2736. if Weapon.Parent == Character then
  2737. ATTACK = true
  2738. Rooted = false
  2739. for i=0, 0.01, 0.1 / Animation_Speed do
  2740. Swait()
  2741. turnto(Mouse.Hit.p)
  2742. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2743. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2744. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2745. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2746. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2747. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2748. end
  2749. repeat
  2750. for i=0, 0.01, 0.1 / Animation_Speed do
  2751. Swait()
  2752. turnto(Mouse.Hit.p)
  2753. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2754. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2755. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2756. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2757. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2758. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2759. end
  2760. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2761. SpawnTrail(Hole.Position,POS)
  2762. CreateSound(904440937, Character, 10, 1, false)
  2763. for i=0, 0.01, 0.1 / Animation_Speed do
  2764. Swait()
  2765. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2766. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2767. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2768. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2769. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2770. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2771. end
  2772. until KEYHOLD == false
  2773. ATTACK = false
  2774. Rooted = false
  2775. end
  2776. end
  2777.  
  2778. function BanBullet()
  2779. if Weapon.Parent == Character then
  2780. ATTACK = true
  2781. Rooted = false
  2782. for i=0, 0.01, 0.1 / Animation_Speed do
  2783. Swait()
  2784. turnto(Mouse.Hit.p)
  2785. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2786. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2787. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2788. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2789. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2790. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2791. end
  2792. repeat
  2793. for i=0, 0.01, 0.1 / Animation_Speed do
  2794. Swait()
  2795. turnto(Mouse.Hit.p)
  2796. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2797. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2798. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2799. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2800. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2801. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2802. end
  2803. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2804. SpawnTrail(Hole.Position,POS)
  2805. CreateSound(904440937, Character, 10, 1, false)
  2806. for i=0, 0.01, 0.1 / Animation_Speed do
  2807. Swait()
  2808. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2809. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2810. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2811. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2812. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2813. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2814. end
  2815. until KEYHOLD == false
  2816. ATTACK = false
  2817. Rooted = false
  2818. end
  2819. end
  2820.  
  2821. function RespawnBullet()
  2822. if Weapon.Parent == Character then
  2823. ATTACK = true
  2824. Rooted = false
  2825. for i=0, 0.01, 0.1 / Animation_Speed do
  2826. Swait()
  2827. turnto(Mouse.Hit.p)
  2828. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2829. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2830. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2831. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2832. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2833. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2834. end
  2835. repeat
  2836. for i=0, 0.01, 0.1 / Animation_Speed do
  2837. Swait()
  2838. turnto(Mouse.Hit.p)
  2839. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2840. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2841. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2842. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2843. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2844. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2845. end
  2846. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2847. SpawnTrail(Hole.Position,POS)
  2848. CreateSound(664046210, Character, 10, 1, false)
  2849. for i=0, 0.01, 0.1 / Animation_Speed do
  2850. Swait()
  2851. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2852. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2853. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2854. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2855. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2856. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2857. end
  2858. until KEYHOLD == false
  2859. ATTACK = false
  2860. Rooted = false
  2861. end
  2862. end
  2863.  
  2864.  
  2865. function Rush()
  2866. local ORIGIN = RootPart.Position
  2867. CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
  2868. CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
  2869. spawn(function() Rainbowify(ORIGIN) end)
  2870. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
  2871. SOUNDPART.CFrame = RootPart.CFrame
  2872. Debris:AddItem(SOUNDPART,5)
  2873. CreateSound("1295446488", SOUNDPART, 2, 1)
  2874. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  2875. Swait()
  2876. CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
  2877. CreateWave2(VT(1,1,1),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,1,0.2))
  2878. spawn(function() Rainbowify(SOUNDPART) end)
  2879. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Pearl", "Sound", VT(0,0,0))
  2880. SOUNDPART.CFrame = RootPart.CFrame
  2881. Debris:AddItem(SOUNDPART,5)
  2882. CreateSound("1295446488", SOUNDPART, 2, 1)
  2883. if MRANDOM(1,8) == 1 then
  2884. ATTACK = true
  2885. Rooted = true
  2886. local FRUITSTABLE = {
  2887. {MeshId = "16190555", TextureId = "16190577", Color = BrickColor.Black()},
  2888. {MeshId = "119574562", TextureId = "64374853", Color = BrickColor.Black()},
  2889. {MeshId = "24394186", TextureId = "24394178", Color = BrickColor.Black()}
  2890. }
  2891. local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)]
  2892. local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false)
  2893. CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0))
  2894. FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0)
  2895. weldBetween(RightArm,FRUITMODEL)
  2896. for i=0, 4, 0.1 / Animation_Speed do
  2897. Swait()
  2898. 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)
  2899. 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)
  2900. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2901. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2902. 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)
  2903. 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)
  2904. end
  2905. CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10)
  2906. FRUITMODEL:remove()
  2907. for i = 1, 15 do
  2908. Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15)
  2909. end
  2910. for i=0, 0.5, 0.1 / Animation_Speed do
  2911. Swait()
  2912. 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)
  2913. 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)
  2914. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2915. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2916. 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)
  2917. 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)
  2918. end
  2919. ATTACK = false
  2920. Rooted = false
  2921. end
  2922. end
  2923.  
  2924. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  2925. local p = Instance.new("Part")
  2926. p.TopSurface = 0
  2927. p.BottomSurface = 0
  2928. p.Parent = parent
  2929. p.Size = Vector3.new(0.1,0.1,0.1)
  2930. p.Transparency = transparency
  2931. p.Reflectance = reflectance
  2932. p.CanCollide = false
  2933. p.Locked = true
  2934. p.BrickColor = brickcolor
  2935. p.Material = material
  2936. return p
  2937. end
  2938.  
  2939. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  2940. if DoesCourontine == false then
  2941. local Direction = CF(Part.Position, ToLocation)
  2942. local Distance = (Part.Position - ToLocation).magnitude
  2943. for i = 1, AmountOfTime do
  2944. Swait()
  2945. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  2946. Direction = Part.CFrame
  2947. end
  2948. Part:remove()
  2949. elseif DoesCourontine == true then
  2950. coroutine.resume(coroutine.create(function()
  2951. local Direction = CF(Part.Position, ToLocation)
  2952. local Distance = (Part.Position - ToLocation).magnitude
  2953. for i = 1, AmountOfTime do
  2954. Swait()
  2955. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  2956. Direction = Part.CFrame
  2957. end
  2958. Part:remove()
  2959. end))
  2960. end
  2961. end
  2962.  
  2963. function chatfunc(text)
  2964. local chat = coroutine.wrap(function()
  2965. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2966. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2967. end
  2968. local Bill = Instance.new("BillboardGui",Character)
  2969. Bill.Size = UDim2.new(0,35,0,18)
  2970. Bill.StudsOffset = Vector3.new(0,4.5,0)
  2971. Bill.Adornee = Character.Head
  2972. Bill.Name = "TalkingBillBoard"
  2973. local Hehe = Instance.new("TextLabel",Bill)
  2974. Hehe.BackgroundTransparency = 1
  2975. Hehe.BorderSizePixel = 0
  2976. Hehe.Text = ""
  2977. Hehe.Font = "Arcade"
  2978. Hehe.TextSize = 45
  2979. Hehe.TextStrokeTransparency = 0
  2980. Hehe.Size = UDim2.new(1,0,0.5,0)
  2981. coroutine.resume(coroutine.create(function()
  2982. while Hehe ~= nil do
  2983. wait()
  2984. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  2985. end
  2986. end))
  2987. spawn(function() RainbowifyText(Hehe) end)
  2988. for i = 1,string.len(text),1 do
  2989. wait()
  2990. Hehe.Text = string.sub(text,1,i)
  2991. end
  2992. wait(3)
  2993. for i = 0, 5, .025 do
  2994. wait()
  2995. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2996. Hehe.TextStrokeTransparency = i
  2997. Hehe.TextTransparency = i
  2998. end
  2999. Bill:Destroy()
  3000. end)
  3001. chat()
  3002. end
  3003.  
  3004.  
  3005. function warnedpeople(text)
  3006. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3007. coroutine.resume(coroutine.create(function()
  3008. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  3009. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  3010. end
  3011. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  3012. scrg.Name = "Spinny"
  3013. local wobble = Instance.new("Frame",scrg)
  3014. wobble.Name = "Wobble"
  3015. wobble.BackgroundTransparency = 0.5
  3016. wobble.Size = UDim2.new(1.1,0,1.1,0)
  3017. wobble.Position = UDim2.new(-0.08,0,0.943,0)
  3018. local wobble2 = Instance.new("Frame",scrg)
  3019. wobble2.Name = "wobble2"
  3020. wobble2.BackgroundTransparency = 0.5
  3021. wobble2.Size = UDim2.new(1.1,0,0.09,0)
  3022. wobble2.Position = UDim2.new(-0.08,0,0.878,0)
  3023. local Visuals = Instance.new("Frame",scrg)
  3024. Visuals.Name = "Visuals"
  3025. Visuals.BackgroundTransparency = 0.3
  3026. Visuals.Size = UDim2.new(0,100,0,100)
  3027. Visuals.Position = UDim2.new(0.462,0,0.826,0)
  3028. local glow = Instance.new("ImageLabel",scrg)
  3029. glow.Name = "glow"
  3030. glow.BackgroundTransparency = 1
  3031. glow.ImageTransparency = 0
  3032. glow.Image = "rbxassetid://2344870656"
  3033. glow.Size = UDim2.new(0,0,0,0)
  3034. glow.Position = UDim2.new(0.026,0,-0.235,0)
  3035. local Visuals2 = Instance.new("Frame",scrg)
  3036. Visuals2.Name = "Visuals2"
  3037. Visuals2.BackgroundTransparency = 0.3
  3038. Visuals2.Size = UDim2.new(0,50,0,50)
  3039. Visuals2.Position = UDim2.new(0.48,0,0.867,0)
  3040. local TextFrame = Instance.new("TextLabel",scrg)
  3041. TextFrame.Name = "Farmer"
  3042. TextFrame.Font = "Arcade"
  3043. TextFrame.Text = text
  3044. TextFrame.TextScaled = true
  3045. TextFrame.TextSize = 60
  3046. TextFrame.TextColor3 = C3(1,1,1)
  3047. TextFrame.TextStrokeColor3 = C3(0, 0, 0)
  3048. TextFrame.BackgroundTransparency = 1
  3049. TextFrame.Size = UDim2.new(0.8,0,0,42)
  3050. TextFrame.Position = UDim2.new(0.11,0,0.867,0)
  3051. spawn(function() RainbowifyText(TextFrame) end)
  3052. local fvalen = 0.55
  3053. local fval = -0.49
  3054. coroutine.resume(coroutine.create(function()
  3055. while true do
  3056. Swait()
  3057. TextFrame.TextStrokeTransparency = 0
  3058. TextFrame.Rotation = 0 + MRANDOM(-3, 3)
  3059. TextFrame.Position = UDim2.new(0.11, 0 + MRANDOM(-3, 3), 0.867, 0 + MRANDOM(-3, 3))
  3060. TextFrame.Font = Enum.Font.Arcade
  3061. glow.ImageColor3 = C3(0, 0, 0)
  3062. wobble.Rotation = 0 - 2 * COS(SINE / 24)
  3063. wobble2.Rotation = 0 - 2 * COS(SINE / 30)
  3064. wobble2.BackgroundColor3 = C3(0,0,0)
  3065. wobble2.BorderColor3 = C3(0,0,0)
  3066. wobble2.BorderSizePixel = 4
  3067. Visuals.Rotation = Visuals.Rotation + MRANDOM(-5, 5)
  3068. Visuals2.Rotation = Visuals2.Rotation + MRANDOM(-10, 10)
  3069. Visuals.BackgroundColor3 = C3(0,0,0)
  3070. Visuals.BorderColor3 = C3(0,0,0)
  3071. Visuals2.BackgroundColor3 = C3(0,0,0)
  3072. Visuals2.BorderColor3 = C3(0,0,0)
  3073. wobble.BackgroundColor3 = C3(0,0,0)
  3074. wobble.BorderColor3 = C3(0,0,0)
  3075. wobble.BorderSizePixel = 5
  3076. end
  3077. end))
  3078. coroutine.resume(coroutine.create(function()
  3079. for i = 0, 205 do
  3080. Swait()
  3081. end
  3082. scrg:Destroy()
  3083. end))
  3084. end))
  3085. end
  3086. end
  3087.  
  3088. function warnedpeople2(text)
  3089. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3090. coroutine.resume(coroutine.create(function()
  3091. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  3092. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  3093. end
  3094. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  3095. scrg.Name = "Spinny"
  3096. local wobble = Instance.new("Frame",scrg)
  3097. wobble.Name = "Wobble"
  3098. wobble.BackgroundTransparency = 0.5
  3099. wobble.Size = UDim2.new(1.1,0,1.1,0)
  3100. wobble.Position = UDim2.new(-0.08,0,0.943,0)
  3101. local wobble2 = Instance.new("Frame",scrg)
  3102. wobble2.Name = "wobble2"
  3103. wobble2.BackgroundTransparency = 0.5
  3104. wobble2.Size = UDim2.new(1.1,0,0.09,0)
  3105. wobble2.Position = UDim2.new(-0.08,0,0.878,0)
  3106. local Visuals = Instance.new("Frame",scrg)
  3107. Visuals.Name = "Visuals"
  3108. Visuals.BackgroundTransparency = 0.3
  3109. Visuals.Size = UDim2.new(0,100,0,100)
  3110. Visuals.Position = UDim2.new(0.462,0,0.826,0)
  3111. local glow = Instance.new("ImageLabel",scrg)
  3112. glow.Name = "glow"
  3113. glow.BackgroundTransparency = 1
  3114. glow.ImageTransparency = 0
  3115. glow.Image = "rbxassetid://2344870656"
  3116. glow.Size = UDim2.new(0,0,0,0)
  3117. glow.Position = UDim2.new(0.026,0,-0.235,0)
  3118. local Visuals2 = Instance.new("Frame",scrg)
  3119. Visuals2.Name = "Visuals2"
  3120. Visuals2.BackgroundTransparency = 0.3
  3121. Visuals2.Size = UDim2.new(0,50,0,50)
  3122. Visuals2.Position = UDim2.new(0.48,0,0.867,0)
  3123. local TextFrame = Instance.new("TextLabel",scrg)
  3124. TextFrame.Name = "Farmer"
  3125. TextFrame.Font = "Arcade"
  3126. TextFrame.Text = text
  3127. TextFrame.TextScaled = true
  3128. TextFrame.TextSize = 60
  3129. TextFrame.BackgroundTransparency = 1
  3130. TextFrame.Size = UDim2.new(0.8,0,0,42)
  3131. TextFrame.Position = UDim2.new(0.11,0,0.867,0)
  3132. local fvalen = 0.55
  3133. local fval = -0.49
  3134. coroutine.resume(coroutine.create(function()
  3135. while true do
  3136. Swait()
  3137. TextFrame.TextColor3 = C3(1,0,0)
  3138. TextFrame.TextStrokeColor3 = C3(0, 0, 0)
  3139. TextFrame.TextStrokeTransparency = 0
  3140. TextFrame.Rotation = 0 + MRANDOM(-3, 3)
  3141. TextFrame.Position = UDim2.new(0.11, 0 + MRANDOM(-3, 3), 0.867, 0 + MRANDOM(-3, 3))
  3142. TextFrame.Font = Enum.Font.Fantasy
  3143. glow.ImageColor3 = C3(0, 0, 0)
  3144. wobble.Rotation = 0 - 2 * COS(SINE / 24)
  3145. wobble2.Rotation = 0 - 2 * COS(SINE / 30)
  3146. wobble2.BackgroundColor3 = C3(0,0,0)
  3147. wobble2.BorderColor3 = C3(1,0,0)
  3148. wobble2.BorderSizePixel = 5
  3149. Visuals.Rotation = Visuals.Rotation + MRANDOM(-5, 5)
  3150. Visuals2.Rotation = Visuals2.Rotation + MRANDOM(-10, 10)
  3151. Visuals.BackgroundColor3 = C3(0,0,0)
  3152. Visuals.BorderColor3 = C3(1,0,0)
  3153. Visuals2.BackgroundColor3 = C3(0,0,0)
  3154. Visuals2.BorderColor3 = C3(1,0,0)
  3155. wobble.BackgroundColor3 = C3(0,0,0)
  3156. wobble.BorderColor3 = C3(1,0,0)
  3157. wobble.BorderSizePixel = 5
  3158. end
  3159. end))
  3160. coroutine.resume(coroutine.create(function()
  3161. for i = 0, 205 do
  3162. Swait()
  3163. end
  3164. scrg:Destroy()
  3165. end))
  3166. end))
  3167. end
  3168. end
  3169.  
  3170. function warnedpeopleB(text)
  3171. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3172. coroutine.resume(coroutine.create(function()
  3173. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  3174. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  3175. end
  3176. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  3177. scrg.Name = "Spinny"
  3178. local wobble = Instance.new("Frame",scrg)
  3179. wobble.Name = "Wobble"
  3180. wobble.BackgroundTransparency = 1
  3181. wobble.Size = UDim2.new(1.1,0,1.1,0)
  3182. wobble.Position = UDim2.new(-0.08,0,0.943,0)
  3183. local wobble2 = Instance.new("Frame",scrg)
  3184. wobble2.Name = "wobble2"
  3185. wobble2.BackgroundTransparency = 1
  3186. wobble2.Size = UDim2.new(1.1,0,0.09,0)
  3187. wobble2.Position = UDim2.new(-0.08,0,0.878,0)
  3188. local Visuals = Instance.new("Frame",scrg)
  3189. Visuals.Name = "Visuals"
  3190. Visuals.BackgroundTransparency = 1
  3191. Visuals.Size = UDim2.new(0,100,0,100)
  3192. Visuals.Position = UDim2.new(0.462,0,0.826,0)
  3193. local glow = Instance.new("ImageLabel",scrg)
  3194. glow.Name = "glow"
  3195. glow.BackgroundTransparency = 1
  3196. glow.ImageTransparency = 0
  3197. glow.Image = "rbxassetid://2344870656"
  3198. glow.Size = UDim2.new(0,0,0,0)
  3199. glow.Position = UDim2.new(0.026,0,-0.235,0)
  3200. local Visuals2 = Instance.new("Frame",scrg)
  3201. Visuals2.Name = "Visuals2"
  3202. Visuals2.BackgroundTransparency = 1
  3203. Visuals2.Size = UDim2.new(0,50,0,50)
  3204. Visuals2.Position = UDim2.new(0.48,0,0.867,0)
  3205. local TextFrame = Instance.new("TextLabel",scrg)
  3206. TextFrame.Name = "Farmer"
  3207. TextFrame.Font = "Arcade"
  3208. TextFrame.Text = text
  3209. TextFrame.TextScaled = true
  3210. TextFrame.TextSize = 60
  3211. TextFrame.BackgroundTransparency = 1
  3212. TextFrame.Size = UDim2.new(0.8,0,0,42)
  3213. TextFrame.Position = UDim2.new(0.11,0,0.867,0)
  3214. local fvalen = 0.55
  3215. local fval = -0.49
  3216. coroutine.resume(coroutine.create(function()
  3217. while true do
  3218. Swait()
  3219. TextFrame.TextColor3 = C3(1,1,1)
  3220. TextFrame.TextStrokeColor3 = C3(0, 0, 0)
  3221. TextFrame.TextStrokeTransparency = 0
  3222. TextFrame.Rotation = 0 + MRANDOM(-3, 3)
  3223. TextFrame.Position = UDim2.new(0.11, 0 + MRANDOM(-3, 3), 0.867, 0 + MRANDOM(-3, 3))
  3224. TextFrame.Font = Enum.Font.Arcade
  3225. glow.ImageColor3 = C3(0, 0, 0)
  3226. wobble.Rotation = 0 - 2 * COS(SINE / 24)
  3227. wobble2.Rotation = 0 - 2 * COS(SINE / 30)
  3228. wobble2.BackgroundColor3 = C3(0,0,0)
  3229. wobble2.BorderColor3 = C3(0,0,0)
  3230. wobble2.BorderSizePixel = 0
  3231. Visuals.Rotation = Visuals.Rotation + MRANDOM(-5, 5)
  3232. Visuals2.Rotation = Visuals2.Rotation + MRANDOM(-10, 10)
  3233. Visuals.BackgroundColor3 = C3(0,0,0)
  3234. Visuals.BorderColor3 = C3(0,0,0)
  3235. Visuals2.BackgroundColor3 = C3(0,0,0)
  3236. Visuals2.BorderColor3 = C3(0,0,0)
  3237. wobble.BackgroundColor3 = C3(0,0,0)
  3238. wobble.BorderColor3 = C3(0,0,0)
  3239. wobble.BorderSizePixel = 0
  3240. end
  3241. end))
  3242. coroutine.resume(coroutine.create(function()
  3243. for i = 0, 205 do
  3244. Swait()
  3245. end
  3246. scrg:Destroy()
  3247. end))
  3248. end))
  3249. end
  3250. end
  3251.  
  3252.  
  3253. --//=================================\\
  3254. --|| ASSIGN THINGS TO KEYS
  3255. --\\=================================//
  3256.  
  3257. function KeyDown(Key)
  3258. KEYHOLD = true
  3259. if Key == "f" and ATTACK == false then
  3260. TOBANISH = {}
  3261. BannedSkids = {}
  3262. warnedpeople("I SPARE YOU.")
  3263. end
  3264.  
  3265. if Key == "e" and ATTACK == false then
  3266. BanishBullet()
  3267. end
  3268.  
  3269. if Key == "r" and ATTACK == false then
  3270. BanBullet()
  3271. end
  3272.  
  3273. if Key == "t" and ATTACK == false then
  3274. RespawnBullet()
  3275. end
  3276.  
  3277. if Key == "y" and ATTACK == false then
  3278. SONG1 = 3164389653
  3279. sick.TimePosition = 0
  3280. Speed = 16
  3281. Weapon.Parent = Character
  3282. BanishMode = 666
  3283. Jump = 50
  3284. tecks2.Text = "C H A O S"
  3285. end
  3286.  
  3287. if Key == "j" and ATTACK == false then
  3288. SONG1 = 3522311451
  3289. sick.TimePosition = 0
  3290. Speed = 16
  3291. Weapon.Parent = Character
  3292. BanishMode = 1
  3293. Jump = 50
  3294. tecks2.Text = "Rainbow King"
  3295. end
  3296.  
  3297. if Key == "p" and ATTACK == false then
  3298. chatfunc("aa")
  3299. SONG1 = 1076825525
  3300. sick.TimePosition = 0
  3301. Speed = 12
  3302. Jump = 40
  3303. Weapon.Parent = nil
  3304. BanishMode = 324
  3305. tecks2.Text = "Visulizer meme"
  3306. end
  3307.  
  3308. if Key == "u" and ATTACK == false then
  3309. chatfunc("eRrOr")
  3310. SONG1 = 1252518733
  3311. sick.TimePosition = 0
  3312. Speed = 45
  3313. Weapon.Parent = Character
  3314. BanishMode = 3
  3315. Jump = 50
  3316. tecks2.Text = "Demonvirus"
  3317. end
  3318.  
  3319. if Key == "m" and ATTACK == false and BanishMode == 3 then
  3320. SONG1 = 803373182
  3321. BanishMode = 1444
  3322. Weapon.Parent = nil
  3323. Speed = 0
  3324. Jump = 0
  3325. sick.TimePosition = 0
  3326. tecks2.Text = "????????"
  3327. chatfunc("You REALLY THINK ME IDIOT?..")
  3328. wait(3)
  3329. chatfunc("YOU IDIOT!")
  3330. Speed = 30
  3331. Weapon.Parent = Character
  3332. BanishMode = 900
  3333. Jump = 100
  3334. tecks2.Text = "Nayer"
  3335. end
  3336.  
  3337. if Key == "h" and ATTACK == false then
  3338. SONG1 = 4565857495
  3339. sick.TimePosition = 0
  3340. Speed = 27
  3341. Weapon.Parent = Character
  3342. BanishMode = 2
  3343. Jump = 50
  3344. tecks2.Text = "BYE BYE"
  3345. end
  3346.  
  3347. if Key == "m" and ATTACK == false and BanishMode == 2 then
  3348. SONG1 = 644312180
  3349. BanishMode = 1444
  3350. Speed = 0
  3351. Jump = 0
  3352. Weapon.Parent = nil
  3353. wait(1)
  3354. chatfunc(".....")
  3355. wait(1)
  3356. chatfunc("I AM........")
  3357. wait(2)
  3358. chatfunc("THE.....")
  3359. wait(3)
  3360. chatfunc("MAN.......")
  3361. wait(2)
  3362. chatfunc("BEHIND......")
  3363. wait(2.5)
  3364. chatfunc("I AM THE MAN BEHIND SLAUGHTER....")
  3365. wait(3)
  3366. warnedpeople("..")
  3367. tecks2.Text = "THE PURPLE"
  3368. SONG1 = 579860060
  3369. sick.TimePosition = 0
  3370. Speed = 30
  3371. Jump = 150
  3372. Weapon.Parent = Character
  3373. BanishMode = 1555
  3374. end
  3375.  
  3376. if Key == "m" and ATTACK == false and BanishMode == 666 then
  3377. SONG1 = 1846379515
  3378. Speed = 0
  3379. Jump = 0
  3380. BanishMode = 1444
  3381. Weapon.Parent = nil
  3382. sick.TimePosition = 36.9
  3383. wait(2)
  3384. chatfunc(".")
  3385. wait(2)
  3386. chatfunc(".")
  3387. wait(2)
  3388. chatfunc(".")
  3389. wait(2)
  3390. chatfunc(".")
  3391. wait(3)
  3392. chatfunc("YOU CAN'T KILL ME!")
  3393. Weapon.Parent = Character
  3394. BanishMode = 555
  3395. Speed = 45
  3396. Jump = 100
  3397. tecks2.Text = "THE K A R M A"
  3398. end
  3399.  
  3400. if Key == "1" and ATTACK == false then
  3401. SONG1 = 4635529033
  3402. Speed = 0
  3403. Jump = 0
  3404. Weapon.Parent = nil
  3405. BanishMode = nil
  3406. game.Lighting.FogColor = Color3.fromRGB(0,0,0)
  3407. game.Lighting.FogEnd = 0
  3408. game.Lighting.TimeOfDay = 0
  3409. warnedpeople("You know If A Meme Came")
  3410. wait(3.5)
  3411. warnedpeople(".")
  3412. wait(1.5)
  3413. warnedpeople("...")
  3414. wait(1.5)
  3415. warnedpeople("MINECRAFT IS HERE")
  3416. wait(1.5)
  3417. warnedpeople("MINECRAFT LET'S GET THE MEME STARTED")
  3418. wait(2.7)
  3419. SONG1 = 0
  3420. hasarrivedB("YEAH MEME MINECRAFT STARTED")
  3421. wait(9)
  3422. game.Lighting.FogEnd = 100000
  3423. game.Lighting.TimeOfDay = 14
  3424. SONG1 = 4635529033
  3425. BanishMode = 777
  3426. Weapon.Parent = Character
  3427. Speed = 25
  3428. Jump = 75
  3429. tecks2.Text = "M I N E C R A F T"
  3430. end
  3431.  
  3432. if Key == "2" and ATTACK == false then
  3433. SONG1 = 512529104
  3434. sick.TimePosition = 0
  3435. Speed = 20
  3436. Weapon.Parent = Character
  3437. BanishMode = 123
  3438. Jump = 50
  3439. tecks2.Text = "Mizared Ink"
  3440. end
  3441. if Key == "3" and ATTACK == false then
  3442. SONG1 = 543303041
  3443. sick.TimePosition = 0
  3444. Speed = 20
  3445. Weapon.Parent = Character
  3446. BanishMode = 222
  3447. Jump = 50
  3448. tecks2.Text = "Tackery"
  3449. end
  3450. if Key == "l" and ATTACK == false then
  3451. SONG1 = 803936798
  3452. sick.TimePosition = 0
  3453. Speed = 20
  3454. Weapon.Parent = Character
  3455. BanishMode = 232
  3456. Jump = 50
  3457. tecks2.Text = "DEMONIC LORD"
  3458. end
  3459. if Key == "k" and ATTACK == false then
  3460. SONG1 = 424026286
  3461. sick.TimePosition = 0
  3462. Speed = 20
  3463. Weapon.Parent = Character
  3464. BanishMode = 233
  3465. Jump = 50
  3466. tecks2.Text = "Chara?"
  3467. end
  3468. if Key == "4" and ATTACK == false then
  3469. SONG1 = 580288014
  3470. sick.TimePosition = 0
  3471. Speed = 20
  3472. Weapon.Parent = Character
  3473. BanishMode = 211
  3474. Jump = 50
  3475. tecks2.Text = "榜样罗布"
  3476. end
  3477. if Key == "5" and ATTACK == false then
  3478. SONG1 = 2962282638
  3479. sick.TimePosition = 0
  3480. Speed = 20
  3481. Weapon.Parent = Character
  3482. BanishMode = 215
  3483. Jump = 50
  3484. tecks2.Text = "Castler"
  3485. end
  3486. if Key == "g" and ATTACK == false then
  3487. SONG1 = 3018974408
  3488. sick.TimePosition = 0
  3489. Speed = 20
  3490. Weapon.Parent = Character
  3491. BanishMode = 335
  3492. Jump = 50
  3493. tecks2.Text = "In The END"
  3494. end
  3495. if Key == "6" and ATTACK == false then
  3496. SONG1 = 1138145518
  3497. sick.TimePosition = 0
  3498. Speed = 20
  3499. Weapon.Parent = Character
  3500. BanishMode = 210
  3501. Jump = 50
  3502. tecks2.Text = "INSANITY"
  3503. end
  3504. if Key == "7" and ATTACK == false then
  3505. SONG1 = 598987226
  3506. sick.TimePosition = 0
  3507. Speed = 20
  3508. Weapon.Parent = Character
  3509. BanishMode = 111
  3510. Jump = 50
  3511. tecks2.Text = "Aderdyz"
  3512. end
  3513. if Key == "8" and ATTACK == false then
  3514. SONG1 = 1117664978
  3515. sick.TimePosition = 0
  3516. Speed = 20
  3517. Weapon.Parent = Character
  3518. BanishMode = 133
  3519. Jump = 50
  3520. tecks2.Text = "Striking The Demon"
  3521. end
  3522. if Key == "9" and ATTACK == false then
  3523. SONG1 = 989524429
  3524. Speed = 0
  3525. Jump = 0
  3526. BanishMode = 1
  3527. Weapon.Parent = nil
  3528. sick.TimePosition = 36.9
  3529. chatfunc(".")
  3530. wait(2)
  3531. chatfunc("....")
  3532. wait(1)
  3533. warnedpeople("I TOLD YOU")
  3534. wait(5)
  3535. Weapon.Parent = Character
  3536. BanishMode = 116
  3537. Speed = 45
  3538. Jump = 100
  3539. tecks2.Text = "Slient"
  3540. end
  3541. if Key == "0" and ATTACK == false then
  3542. SONG1 = 2371543268
  3543. sick.TimePosition = 0
  3544. Speed = 20
  3545. Weapon.Parent = Character
  3546. BanishMode = 128
  3547. Jump = 50
  3548. tecks2.Text = "Rainbow Killer"
  3549. end
  3550.  
  3551. if Key == "b" and ATTACK == false and BanishMode == 128 then
  3552. SONG1 = 1287900759
  3553. sick.TimePosition = 0
  3554. Speed = 20
  3555. Weapon.Parent = Character
  3556. BanishMode = 821
  3557. Jump = 50
  3558. tecks2.Text = "Rainbow Abeus"
  3559. end
  3560.  
  3561. if Key == "q" and ATTACK == false then
  3562. Rush()
  3563. end
  3564. end
  3565.  
  3566. function KeyUp(Key)
  3567. KEYHOLD = false
  3568. end
  3569. Mouse.KeyDown:connect(function(NEWKEY)
  3570. KeyDown(NEWKEY)
  3571. end)
  3572. Mouse.KeyUp:connect(function(NEWKEY)
  3573. KeyUp(NEWKEY)
  3574. end)
  3575.  
  3576. --//=================================\\
  3577. --\\=================================//
  3578.  
  3579. function unanchor()
  3580. for _, c in pairs(Character:GetChildren()) do
  3581. if c:IsA("BasePart") and c ~= RootPart then
  3582. c.Anchored = false
  3583. end
  3584. end
  3585. if UNANCHOR == true then
  3586. RootPart.Anchored = false
  3587. else
  3588. RootPart.Anchored = true
  3589. end
  3590. end
  3591.  
  3592. --//=================================\\
  3593. --|| WRAP THE WHOLE SCRIPT UP
  3594. --\\=================================//
  3595. for T = 1, #TAIL do
  3596. if TAIL[T] ~= nil then
  3597. TAIL[T].C1 = Clerp(TAIL[T].C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(3.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3598. end
  3599. end
  3600. --//=================================\\
  3601. --|| Compatibility
  3602. --\\=================================//
  3603.  
  3604. local sine = SINE
  3605. local Sine = SINE
  3606. local angles = ANGLES
  3607. local RH = RightHip
  3608. local LH = LeftHip
  3609. local LW = LeftShoulder
  3610. local RW = RightShoulder
  3611. local head = Head
  3612. local RootCF = ROOTC0
  3613. local necko = NECKC0
  3614. local NK = Neck
  3615. local RJ = RootJoint
  3616. local LS = LeftShoulder
  3617. local RS = RightShoulder
  3618. local clerp = Clerp
  3619. local LSC0 = LS.C0
  3620. local RSC0 = RS.C0
  3621. local NKC0 = NK.C0
  3622. local LHC0 = LH.C0
  3623. local RHC0 = RH.C0
  3624. local RJC0 = RJ.C0
  3625. local CFA = CFrame.Angles
  3626. local CFN = CFrame.new
  3627. --//=================================\\
  3628. --\\=================================//
  3629.  
  3630.  
  3631. local ActualVelocity = Vector3.new(0,0,0)
  3632. local clerp = Clerp
  3633.  
  3634. coroutine.wrap(function()
  3635. while true do
  3636. Swait()
  3637. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3638. v:Stop();
  3639. end
  3640. for T = 1, #TAIL do
  3641. if TAIL[T] ~= nil then
  3642. TAIL[T].C1 = Clerp(TAIL[T].C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(3.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3643. end
  3644. end
  3645. SINE = SINE + CHANGE
  3646. local TORSOVELOCITY = (ActualVelocity * VT(1, 0, 1)).magnitude
  3647. local TORSOVERTICALVELOCITY = ActualVelocity.y
  3648. if lplr == Player then
  3649. TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3650. TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3651. end
  3652. Player_Size = 1
  3653. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3654. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3655. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3656. 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)
  3657. 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)
  3658. 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)
  3659. 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)
  3660. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3661. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3662. 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)
  3663. 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)
  3664. 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)
  3665. end
  3666. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3667. ANIM = "Jump"
  3668. if ATTACK == false then
  3669. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3670. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3671. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3672. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3673. 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)
  3674. 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)
  3675. end
  3676. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3677. ANIM = "Fall"
  3678. if ATTACK == false then
  3679. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3680. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3681. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3682. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3683. 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)
  3684. 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)
  3685. end
  3686. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3687. ANIM = "Idle"
  3688. if ATTACK == false and BanishMode == 1 then
  3689. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , -0.7) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 0.35 / Animation_Speed)
  3690. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(30+MRANDOM(-15,15)), RAD(0+MRANDOM(-15,15)), RAD(0+MRANDOM(-15,15))), 0.35 / Animation_Speed)
  3691. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160+MRANDOM(-15,15)), RAD(0+MRANDOM(-15,15)), RAD(-30+MRANDOM(-15,15)))* RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  3692. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(160+MRANDOM(-15,15)), RAD(0+MRANDOM(-15,15)), RAD(30+MRANDOM(-15,15))) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3693. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.35 / Animation_Speed)
  3694. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 , 0) * ANGLES(RAD(-60), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.35 / Animation_Speed)
  3695. elseif ATTACK == false and BanishMode == 3 then
  3696. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  3697. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 55 * SIN(SINE / 0.5)), RAD(0 - 22 * SIN(SINE / 1)), RAD(-15)), 1 / Animation_Speed)
  3698. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 3) * ANGLES(RAD(MRANDOM(-25,25)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3699. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.1) * ANGLES(RAD(90), RAD(MRANDOM(-25,25)), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3700. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0.1) * ANGLES(RAD(90), RAD(MRANDOM(-25,25)), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3701. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3702. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3703. elseif ATTACK == false and BanishMode == 2 then
  3704. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3705. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + ((1*SIZE) - 1)) * ANGLES(RAD(20 + MRANDOM(-24,24)), RAD(0 + MRANDOM(-24,24)), RAD(0 + MRANDOM(-24,24))), 1 / Animation_Speed)
  3706. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(180 + MRANDOM(-24,24)), RAD(0 + MRANDOM(-24,24)), RAD(-25 + MRANDOM(-24,24))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3707. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(180 + MRANDOM(-24,24)), RAD(0 + MRANDOM(-24,24)), RAD(25 + MRANDOM(-24,24))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3708. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(85 + MRANDOM(-24,24)), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3709. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-85 + MRANDOM(-24,24)), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3710. elseif ATTACK == false and BanishMode == 666 then
  3711. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(-25 - 3 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  3712. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(23 - 3 * SIN(SINE / 12)), RAD(0), RAD(30)), 1 / Animation_Speed)
  3713. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3714. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3715. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3716. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3717. elseif ATTACK == false and BanishMode == 777 then
  3718. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3719. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0 - 360.45 * COS(SINE / 2))), 1 / Animation_Speed)
  3720. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.02*SIZE) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3721. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0.02*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3722. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3723. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3724. elseif ATTACK == false and BanishMode == 555 then
  3725. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0*SIZE + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3726. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(5 + MRANDOM(-6,6)), RAD(0 + MRANDOM(-6,6)), RAD(0 - 10 * COS(SINE / 13) + MRANDOM(-6,6))), 1 / Animation_Speed)
  3727. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.4*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(180 + MRANDOM(-6,6)), RAD(0 + MRANDOM(-6,6)), RAD(-35 + MRANDOM(-6,6))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3728. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(5 + MRANDOM(-6,6)), RAD(0 + MRANDOM(-6,6)), RAD(-15 + MRANDOM(-6,6))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3729. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3730. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3731. elseif ATTACK == false and BanishMode == 1444 then
  3732. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , -0.7) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 0.35 / Animation_Speed)
  3733. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(30+MRANDOM(-15,15)), RAD(0+MRANDOM(-15,15)), RAD(0+MRANDOM(-15,15))), 0.35 / Animation_Speed)
  3734. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160+MRANDOM(-15,15)), RAD(0+MRANDOM(-15,15)), RAD(-30+MRANDOM(-15,15)))* RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  3735. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(160+MRANDOM(-15,15)), RAD(0+MRANDOM(-15,15)), RAD(30+MRANDOM(-15,15))) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3736. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.35 / Animation_Speed)
  3737. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 , 0) * ANGLES(RAD(-60), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.35 / Animation_Speed)
  3738. elseif ATTACK == false and BanishMode == 1555 then
  3739. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(-25 - 3 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  3740. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(23 - 3 * SIN(SINE / 12)), RAD(0), RAD(30)), 1 / Animation_Speed)
  3741. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3742. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3743. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3744. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3745. elseif ATTACK == false and BanishMode == 900 then
  3746. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 15)), RAD(0), RAD(20)), 3 / Animation_Speed)
  3747. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0- 0.1 * COS(SINE / 30), 0 + 0.1 * COS(SINE / 15)) * ANGLES(RAD(0+ 5 * COS(SINE / 30)), RAD(0), RAD(-20)), 1 / Animation_Speed)
  3748. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(3), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  3749. LeftShoulder.C0= Clerp(LeftShoulder.C0,cf(-0.75,0.5,-0.25)*ANGLES(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(SINE / 28))),.1)
  3750. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 15), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-4+2.5 * COS(SINE / 30)), RAD(0), RAD(0+ 5 * COS(SINE / 30))), 1 / Animation_Speed)
  3751. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 15), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-4-2.5 * COS(SINE / 30)), RAD(0), RAD(0- 5 * COS(SINE / 30))), 1 / Animation_Speed)
  3752. elseif ATTACK == false and BanishMode == 324 then
  3753. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.05*SIZE * COS(SINE / 12), 0*SIZE, 0*SIZE + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3754. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25*SIZE) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  3755. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3756. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3757. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE + 0.05 * COS(SINE / 12), -1*SIZE - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3758. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE + 0.05 * COS(SINE / 12), -1*SIZE - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3759. elseif ATTACK == false and BanishMode == 123 then
  3760. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  3761. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3762. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3763. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3764. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3765. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3766. elseif ATTACK == false and BanishMode == 222 then
  3767. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(-17.58)), 1 / Animation_Speed)
  3768. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(15 - 3)), 1 / Animation_Speed)
  3769. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9*SIZE, 0.5*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3770. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(9.71), RAD(3.14 - -2.5 * SIN(SINE / 12)), RAD(0.2 - -2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3771. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3772. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3773. elseif ATTACK == false and BanishMode == 232 then
  3774. Neck.C0=Clerp(Neck.C0,necko*angles(math.rad(30*SIZE + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  3775. RH.C0=Clerp(RH.C0,cf(1*SIZE,-0.05*SIZE,-0.75*SIZE)*angles(math.rad(0),math.rad(90),math.rad(30))*angles(math.rad(0),math.rad(0),math.rad(30)),.1)
  3776. LH.C0=Clerp(LH.C0,cf(-1*SIZE,-0.5*SIZE,-0.25*SIZE)*angles(math.rad(30),math.rad(-99),math.rad(-30))*angles(math.rad(-21),math.rad(0),math.rad(-30)),.1)
  3777. RootJoint.C0=Clerp(RootJoint.C0,RootCF*cf(0,0*SIZE,-1.9 + 0.1 *SIZE* math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3778. Neck.C0=Clerp(Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  3779. RW.C0=Clerp(RW.C0,cf(0.75*SIZE,0.5*SIZE,-0.25*SIZE)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  3780. LW.C0=Clerp(LW.C0,cf(-0.75*SIZE,0.5*SIZE,-0.25*SIZE)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  3781. elseif ATTACK == false and BanishMode == 233 then
  3782. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2 + 1 * COS(SINE / 18)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3783. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3784. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(160 + 4 * COS(SINE / 62)), RAD(0), RAD(15 - 3 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3785. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-15 + 3 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3786. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-17 + 9.4 * COS(SINE / 26)), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3787. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -.5, -0.5) * ANGLES(RAD(-22 + 10.8 * COS(SINE / 32)), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3788. elseif ATTACK == false and BanishMode == 211 then
  3789. WACKYEFFECT({EffectType = "Sphere", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "ForceField", Color = Color3.fromRGB(cR,cG,cB), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3790. RightHip.C0 = Clerp(RightHip.C0,CF(1,-0.5 - 0.05 * COS(SINE / 22),-0.5)*ANGLES(RAD(0),RAD(90),RAD(0))*ANGLES(RAD(-3),RAD(0 - 1 * COS(SINE / 56)),RAD(0 - 2 * COS(SINE / 32))), 0.2 / Animation_Speed)
  3791. LeftHip.C0 = Clerp(LeftHip.C0,CF(-1,-1 - 0.05 * COS(SINE / 22),0)*ANGLES(RAD(0),RAD(-90),RAD(0))*ANGLES(RAD(-3),RAD(0 - 1 * COS(SINE / 56)),RAD(0 + 2 * COS(SINE / 32))), 0.2 / Animation_Speed)
  3792. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3793. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(30), RAD(0), RAD(0 + 25 * COS(SINE / 20))), 0.15 / Animation_Speed)
  3794.  
  3795. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(.95, 0.5, 0.3) * ANGLES(RAD(-20), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3796. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 , 0.5 , 0 ) * ANGLES(RAD(0 +180*SIN(sick.PlaybackLoudness/300)), RAD(0), RAD(0 )) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3797. elseif ATTACK == false and BanishMode == 215 then
  3798. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(6,6,6), Size2 = VT(0.2,6,0.2), Transparency = 0.3, Transparency2 = 1, CFrame = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(3,7)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-1,1)*5, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(0+178*sick.PlaybackLoudness/100,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3799. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(4,4,4), Size2 = VT(0,5,0), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(MRANDOM(-15,15),-2.5,MRANDOM(-15,15)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(0+178*sick.PlaybackLoudness/100,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3800. WACKYEFFECT({Time = 30, EffectType = "Crystal", Size = VT(5,5,5), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(MRANDOM(-15,15),MRANDOM(-2.5,13.1),MRANDOM(-15,15)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(0+178*sick.PlaybackLoudness/100,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3801. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 - 0.3 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3802. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3803. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-20), RAD(-.6), RAD(-43)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3804. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(-20), RAD(-.6), RAD(43)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3805. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.3 * COS(SINE / 2),-0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-6), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3806. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 + 0.3 * COS(SINE / 2),-0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-6), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3807. elseif ATTACK == false and BanishMode == 335 then
  3808. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+.15*SIN(sine/32)) * ANGLES(RAD(0-5*SIN(sine/24)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3809. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3810. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(10+5*SIN(sine/24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3811. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-10-5*SIN(sine/24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3812. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-.15*SIN(sine/32), 0) * ANGLES(RAD(0-5*SIN(sine/24)), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3813. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-.15*SIN(sine/32), 0) * ANGLES(RAD(0-5*SIN(sine/24)), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3814. elseif ATTACK == false and BanishMode == 210 then
  3815. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  3816. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  3817. if MRANDOM(1,7) == 1 then
  3818. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3819. end
  3820. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3821. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(95), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3822. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * COS(SINE / 24), -1 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3823. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3824. elseif ATTACK == false and BanishMode == 111 then
  3825. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(-17.58)), 1 / Animation_Speed)
  3826. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.2*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(15 - 3)), 1 / Animation_Speed)
  3827. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9*SIZE, 0.5*SIZE + 0.05*SIZE * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3828. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(9.71), RAD(3.14 - -2.5 * SIN(SINE / 12)), RAD(0.2 - -2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3829. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3830. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3831. elseif ATTACK == false and BanishMode == 133 then
  3832. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.05 * COS(SINE / 20) + 0.05 * SIN(SINE / 20), 0, 0+sick.PlaybackLoudness/1800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3833. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 + MRANDOM(-6,6)), RAD(0 + MRANDOM(-6,6)), RAD(0 - 10 * COS(SINE / 20) + MRANDOM(-6,6))), 1 / Animation_Speed)
  3834. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55, 0) * ANGLES(RAD(180 - 5 * COS(SINE / 15)), RAD(0 - 5*SIN(sick.PlaybackLoudness/500)), RAD(-5 + sick.PlaybackLoudness/545)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3835. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.5, 0) * ANGLES(RAD(5 + MRANDOM(-6,6)), RAD(0 + MRANDOM(-6,6)), RAD(-15 + MRANDOM(-6,6))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3836. RightHip.C0 = Clerp(RightHip.C0, CF(1 - 0.05 * COS(SINE / 20) + 0.05 * SIN(SINE / 20), -1-sick.PlaybackLoudness/1800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-6), RAD(0), RAD(0)), 1 / Animation_Speed)
  3837. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 - 0.05 * COS(SINE / 20) + 0.05 * SIN(SINE / 20), -1-sick.PlaybackLoudness/1800, -0.03) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-6), RAD(0), RAD(0)), 1 / Animation_Speed)
  3838. elseif ATTACK == false and BanishMode == 116 then
  3839. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 4 + 1 * SIN(SINE / 26)) * ANGLES(RAD(-5 - 2.5*SIN(SINE/48/2)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3840. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0 + 2.5 *COS(SINE / 12)), RAD(0)), 0.15 / Animation_Speed)
  3841. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20 - 13*SIN(SINE/12)), RAD(0), RAD(12 - 4.10 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3842. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20 - 13*SIN(SINE/12)), RAD(0), RAD(-12 + 4.10 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3843. RightHip.C0 = Clerp(RightHip.C0, CF(1, -.5 - 0.02 * SIN(SINE / 12), -0.5) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 21)), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3844. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.02 * SIN(SINE / 12), -0.01) * ANGLES(RAD(-20 - 2.5 * SIN(SINE / 16)), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3845. elseif ATTACK == false and BanishMode == 128 then
  3846. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 , 0 , 00 + 0.2 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3847. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(30), RAD(0), RAD(0 + 25 * COS(SINE / 20))), 0.15 / Animation_Speed)
  3848. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+ 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(180), RAD(-15), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3849. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.35 * SIN(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-10 + 15 * COS(SINE / 12))) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3850. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1- 0.2 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3851. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1- 0.2 * COS(SINE / 12) , 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3852. elseif ATTACK == false and BanishMode == 821 then
  3853. 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)
  3854. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, -0.35 - 0.05 * COS(SINE / 12), -0.65 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45 + 2 * COS(SINE / 12)), RAD(10), RAD(0)), 0.15 / Animation_Speed)
  3855. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(35), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3856. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3857. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25 - 0.05 * SIN(SINE / 12), -0.85) * ANGLES(RAD(45), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3858. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.9 - 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(-20), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3859. end
  3860. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then
  3861. ANIM = "Walk"
  3862. if ATTACK == false and BanishMode == 1 then
  3863. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3864. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3865. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3866. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3867. 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)
  3868. 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)
  3869. elseif ATTACK == false and BanishMode == 3 then
  3870. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0,0,2+0.5*COS(SINE / 12))*ANGLES(RAD(25+2.5*COS(SINE / 12)),RAD(0-RootPart.RotVelocity.y),RAD(0 - RootPart.RotVelocity.Y * 4.5 + 3 * COS(SINE / 47))), 1 / Animation_Speed)
  3871. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 55 * SIN(SINE / 0.5)), RAD(0 - 22 * SIN(SINE / 1)), RAD(-15)), 1 / Animation_Speed)
  3872. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-90-10*math.cos(SINE/7)), RAD(0), RAD(10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3873. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-90-10*math.cos(SINE/7)), RAD(0), RAD(-10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3874. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-.001*COS(SINE / 7), -0.01) * ANGLES(RAD(-10-2.5*math.cos(SINE/7)), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3875. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -.5-.001*math.cos(SINE/7), -0.5) * ANGLES(RAD(-25-2.5*math.cos(SINE/7)), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3876. elseif ATTACK == false and BanishMode == 2 then
  3877. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(0), RAD(0), RAD(-15 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  3878. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(10 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  3879. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(100 + 2 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3880. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(70 * SIN(SINE / WALKSPEEDVALUE)), RAD(5), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3881. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10)), 2 / Animation_Speed)
  3882. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 2 / Animation_Speed)
  3883. elseif ATTACK == false and BanishMode == 666 then
  3884. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  3885. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  3886. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3887. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3888. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3889. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3890. elseif ATTACK == false and BanishMode == 777 then
  3891. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3892. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3893. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3894. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3895. 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)
  3896. 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)
  3897. elseif ATTACK == false and BanishMode == 555 then
  3898. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3899. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3900. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3901. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3902. 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)
  3903. 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)
  3904. elseif ATTACK == false and BanishMode == 1555 then
  3905. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  3906. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 - 0.1 * COS(SINE / 3) + ((1) - 1)) * ANGLES(RAD(30 - 2.5 * SIN(SINE / 12)), RAD(7 * COS(SINE / 24)), RAD(0)), 0.5 / Animation_Speed)
  3907. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3908. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
  3909. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3910. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3911. elseif ATTACK == false and BanishMode == 900 then
  3912. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3913. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3914. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(145), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(3), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  3915. LeftShoulder.C0=Clerp(LeftShoulder.C0,cf(-0.75,0.5,-0.25)*ANGLES(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(SINE / 28))),.1)
  3916. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3917. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3918. elseif ATTACK == false and BanishMode == 324 then
  3919. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3920. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  3921. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3922. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3923. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3924. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3925. elseif ATTACK == false and BanishMode == 128 then
  3926. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3927. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3928. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.03) * ANGLES(RAD(180), RAD(-15), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3929. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3930. 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)
  3931. 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)
  3932. elseif ATTACK == false and BanishMode == 821 then
  3933. 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)
  3934. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3935. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3936. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(5))* RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  3937. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  3938. 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)
  3939. 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)
  3940.  
  3941. end
  3942. end
  3943. unanchor()
  3944. for _, c in pairs(HornFolder:GetChildren()) do
  3945. c.Color = C3(0,0,0)
  3946. end
  3947. for _, c in pairs(faceShadingFolder:GetChildren()) do
  3948. c.Color = C3(0,0,0)
  3949. end
  3950. for i, v in pairs(NeonParts) do
  3951. v.Color = BrickColor.Black().Color
  3952. end
  3953. for i, v in pairs(ArmourParts) do
  3954. v.Color = C3(0,0,0)
  3955. end
  3956. for _, c in pairs(Character:GetChildren()) do
  3957. if c:IsA('CharacterMesh') then
  3958. c:Destroy()
  3959. end
  3960. end
  3961. Humanoid.MaxHealth = math.huge
  3962. Humanoid.Health = math.huge
  3963. if Rooted == false then
  3964. Disable_Jump = false
  3965. Humanoid.WalkSpeed = Speed
  3966. elseif Rooted == true then
  3967. Disable_Jump = true
  3968. Humanoid.WalkSpeed = 0
  3969. end
  3970. sick.SoundId = "rbxassetid://"..SONG1
  3971. sick.Looped = true
  3972. Humanoid.JumpPower = Jump
  3973. Humanoid.UseJumpPower = true
  3974. Head.Parent = Character
  3975. Torso.Parent = Character
  3976. RightArm.Parent = Character
  3977. LeftArm.Parent = Character
  3978. LeftLeg.Parent = Character
  3979. RightLeg.Parent = Character
  3980. Head.Transparency = 0
  3981. Torso.Transparency = 0
  3982. RightArm.Transparency = 0
  3983. LeftArm.Transparency = 0
  3984. LeftLeg.Transparency = 0
  3985. RightLeg.Transparency = 0
  3986. Head.Locked = true
  3987. Torso.Locked = true
  3988. RightArm.Locked = true
  3989. LeftArm.Locked = true
  3990. LeftLeg.Locked = true
  3991. RightLeg.Locked = true
  3992. end
  3993. end)()
  3994.  
  3995. --//=================================\\
  3996. --\\=================================//
  3997.  
  3998. --//====================================================\\--
  3999. --|| END OF SCRIPT
  4000. --\\====================================================//--
  4001. faceShadingFolder:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment