Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 93.71 KB | None | 0 0
  1. Player = game:GetService("Players").LocalPlayer
  2. local naeeym2 = Instance.new("BillboardGui",Player.Character)
  3. naeeym2.AlwaysOnTop = true
  4. naeeym2.Size = UDim2.new(7,35,3,15)
  5. naeeym2.StudsOffset = Vector3.new(0,2,0)
  6. naeeym2.MaxDistance = 10000
  7. naeeym2.Adornee = Player.Character.Head
  8. naeeym2.Name = "Name2"
  9. local tecks2 = Instance.new("TextLabel",naeeym2)
  10. tecks2.BackgroundTransparency = 1
  11. tecks2.TextScaled = true
  12. tecks2.BorderSizePixel = 0
  13. tecks2.Text = "Rainbow Hell"
  14. tecks2.Font = "Arcade"
  15. tecks2.TextSize = 35
  16. tecks2.TextStrokeTransparency = 0
  17. tecks2.Size = UDim2.new(1,0,0.5,0)
  18. tecks2.Parent = naeeym2
  19. tecks2.TextColor3 = Color3.fromRGB()
  20. script.Name = "Banisher Gun V3 / 1"
  21. --//====================================================\\--
  22. --|| CREATED BY SHACKLUSTER
  23. --\\====================================================//--
  24.  
  25.  
  26. Player = game:GetService("Players").LocalPlayer
  27. PlayerGui = Player.PlayerGui
  28. Cam = workspace.CurrentCamera
  29. Backpack = Player.Backpack
  30. Character = Player.Character
  31. Humanoid = Character.Humanoid
  32. RootPart = Character["HumanoidRootPart"]
  33. Torso = Character["Torso"]
  34. Head = Character["Head"]
  35. RightArm = Character["Right Arm"]
  36. LeftArm = Character["Left Arm"]
  37. RightLeg = Character["Right Leg"]
  38. LeftLeg = Character["Left Leg"]
  39. RootJoint = RootPart["RootJoint"]
  40. Neck = Torso["Neck"]
  41. RightShoulder = Torso["Right Shoulder"]
  42. LeftShoulder = Torso["Left Shoulder"]
  43. RightHip = Torso["Right Hip"]
  44. LeftHip = Torso["Left Hip"]
  45. Mode = "RH"
  46. local TIME = 0
  47. local sick = Instance.new("Sound",Torso)
  48. local RunService = game:GetService("RunService")
  49. sick.SoundId = "rbxassetid://1899417820"
  50.  
  51.  
  52. function GodPlayer(player)
  53. player.Character.Humanoid.MaxHealth = math.huge
  54. player.Character.Humanoid.Health = math.huge
  55. end
  56.  
  57. function Rainbowify(name)
  58. while RunService.Stepped:Wait() do
  59. for hue = 0, 1, 0.06 do
  60. name.Color = Color3.fromHSV(hue,1,1)
  61. wait(0.001)
  62. end
  63. end
  64. end
  65.  
  66. function RainbowifyText(name)
  67. while RunService.Stepped:Wait() do
  68. for hue = 0, 1, 0.06 do
  69. name.TextColor3 = Color3.fromHSV(hue, 1, 1)
  70. name.TextStrokeColor3 = Color3.fromHSV(hue, 1, 1)
  71. wait(0.0005)
  72. end
  73. end
  74. end
  75.  
  76. spawn(function() RainbowifyText(tecks2) end)
  77.  
  78. IT = Instance.new
  79. CF = CFrame.new
  80. VT = Vector3.new
  81. RAD = math.rad
  82. C3 = Color3.new
  83. UD2 = UDim2.new
  84. BRICKC = BrickColor.new
  85. ANGLES = CFrame.Angles
  86. EULER = CFrame.fromEulerAnglesXYZ
  87. COS = math.cos
  88. ACOS = math.acos
  89. SIN = math.sin
  90. ASIN = math.asin
  91. ABS = math.abs
  92. MRANDOM = math.random
  93. FLOOR = math.floor
  94.  
  95. --//=================================\\
  96. --|| USEFUL VALUES
  97. --\\=================================//
  98.  
  99. --Anti ragdoll-- [Glitchy]
  100. Humanoid:SetStateEnabled("GettingUp",true)
  101. Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp, true)
  102. Humanoid:SetStateEnabled("Ragdoll",false)
  103. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
  104. --end--
  105.  
  106. Player_Size = 1
  107. Player_size = 1
  108. player_size = 1
  109. Animation_Speed = 3
  110. local FORCERESET = false
  111. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  112. local Speed = 30
  113. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  114. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  115. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  116. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  117. local DAMAGEMULTIPLIER = 1
  118. local ANIM = "Idle"
  119. local ATTACK = false
  120. local EQUIPPED = false
  121. local HOLD = false
  122. local COMBO = 1
  123. local Rooted = false
  124. local SINE = 0
  125. local KEYHOLD = false
  126. local CHANGE = 2 / Animation_Speed
  127. local WALKINGANIM = false
  128. local VALUE1 = false
  129. local VALUE2 = false
  130. local BannedSkids = {}
  131. local MESSAGES = {"Welcome to... Rainbow Hell!","I will erase you out of existance!","DIE!","I will rainbowify you!"}
  132. local MERCYMESSAGES = {"I shall show you mercy."}
  133. local ROBLOXIDLEANIMATION = IT("Animation")
  134. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  135. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  136. --ROBLOXIDLEANIMATION.Parent = Humanoid
  137. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  138. WEAPONGUI.Name = "BanishV3Gui"
  139. local Weapon = IT("Model")
  140. Weapon.Name = "Adds"
  141. local Effects = IT("Folder", Weapon)
  142. Effects.Name = "Effects"
  143. local ANIMATOR = Humanoid.Animator
  144. local ANIMATE = Character:FindFirstChild("Animate")
  145. local UNANCHOR = true
  146. local TOBANISH = {}
  147. script.Parent = PlayerGui
  148.  
  149. --//=================================\\
  150. --\\=================================//
  151.  
  152. function chatfunc(text)
  153. local chat = coroutine.wrap(function()
  154. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  155. Character:FindFirstChild("TalkingBillBoard"):destroy()
  156. end
  157. local Bill = Instance.new("BillboardGui",Character)
  158. Bill.Size = UDim2.new(0,35,0,18)
  159. Bill.StudsOffset = Vector3.new(0,4.5,0)
  160. Bill.Adornee = Character.Head
  161. Bill.Name = "TalkingBillBoard"
  162. local Hehe = Instance.new("TextLabel",Bill)
  163. Hehe.BackgroundTransparency = 1
  164. Hehe.BorderSizePixel = 0
  165. Hehe.Text = ""
  166. Hehe.Font = "Arcade"
  167. Hehe.TextSize = 45
  168. Hehe.TextStrokeTransparency = 0
  169. Hehe.Size = UDim2.new(1,0,0.5,0)
  170. coroutine.resume(coroutine.create(function()
  171. while Hehe ~= nil do
  172. wait()
  173. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  174. end
  175. end))
  176. spawn(function() RainbowifyText(Hehe) end)
  177. for i = 1,string.len(text),1 do
  178. wait()
  179. Hehe.Text = string.sub(text,1,i)
  180. end
  181. wait(3)--Re[math.random(1, 93)]
  182. for i = 0, 5, .025 do
  183. wait()
  184. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  185. Hehe.TextStrokeTransparency = i
  186. Hehe.TextTransparency = i
  187. end
  188. Bill:Destroy()
  189. end)
  190. chat()
  191. end
  192.  
  193. Player.Chatted:Connect(function(aa)
  194. chatfunc(aa)
  195. end)
  196.  
  197.  
  198. function refit()
  199. RootJoint.Parent = RootPart
  200. Neck.Parent = Torso
  201. RightShoulder.Parent = Torso
  202. LeftShoulder.Parent = Torso
  203. RightHip.Parent = Torso
  204. LeftHip.Parent = Torso
  205. RootPart.Parent = Character
  206. LeftArm.Parent = Character
  207. RightArm.Parent = Character
  208. RightLeg.Parent = Character
  209. LeftLeg.Parent = Character
  210. Torso.Parent = Character
  211. Head.Parent = Character
  212. ATTACK = false
  213.  
  214. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  215. spawn(function() Rainbowify(Handle) end)
  216. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  217. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  218. spawn(function() Rainbowify(RightArmGrasp) end)
  219. MakeForm(Part,"Wedge")
  220. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  221. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  222. MakeForm(Part,"Wedge")
  223. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  224. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  225. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  226. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  227. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  228. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  229. MakeForm(Part,"Cyl")
  230. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  231. for i = 1, 8 do
  232. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  233. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  234. end
  235. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  236. MakeForm(Part,"Cyl")
  237. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  238. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  239. MakeForm(Part,"Ball")
  240. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  241. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  242. MakeForm(Part,"Wedge")
  243. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  244. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  245. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  246. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  247. MakeForm(Part,"Cyl")
  248. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  249. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  250. MakeForm(Part,"Cyl")
  251. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  252. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  253. MakeForm(Part,"Cyl")
  254. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  255. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  256. MakeForm(Part,"Wedge")
  257. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  258. local LASTPART = Handle
  259. for i = 1, 10 do
  260. if LASTPART == Handle then
  261. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  262. LASTPART = Part
  263. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  264. else
  265. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  266. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  267. LASTPART = Part
  268. end
  269. end
  270.  
  271. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  272. MakeForm(Barrel,"Cyl")
  273. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  274. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  275. MakeForm(Part,"Cyl")
  276. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  277. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  278. MakeForm(Part,"Wedge")
  279. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  280. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  281. MakeForm(Hole,"Cyl")
  282. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  283. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  284. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  285. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  286. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  287. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  288. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  289. coroutine.resume(coroutine.create(function()
  290. while wait() do
  291. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  292. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  293. end
  294. end))
  295.  
  296. local LASTPART = Head
  297. for i = 1, 20 do
  298. local MATH = (1-(i/20))
  299. if LASTPART == Head then
  300. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  301. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  302. LASTPART = Horn
  303. Horn.Color = C3((i*3-3)/.5,0,.5)
  304. spawn(function() Rainbowify(Horn) end)
  305. else
  306. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  307. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.9), RAD(0)), CF(0, 0, 0))
  308. LASTPART = Horn
  309. Horn.Color = C3((i*3-3)/.5,0,.5)
  310. spawn(function() Rainbowify(Horn) end)
  311. end
  312. end
  313. local LASTPART = Head
  314. for i = 1, 20 do
  315. local MATH = (1-(i/20))
  316. if LASTPART == Head then
  317. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  318. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  319. LASTPART = Horn
  320. Horn.Color = C3((i*3-3)/.5,0,.5)
  321. spawn(function() Rainbowify(Horn) end)
  322. else
  323. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  324. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.9), RAD(0)), CF(0, 0, 0))
  325. LASTPART = Horn
  326. Horn.Color = C3((i*3-3)/.5,0,.5)
  327. spawn(function() Rainbowify(Horn) end)
  328. end
  329. end
  330.  
  331. --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)})
  332.  
  333. for _, c in pairs(Weapon:GetDescendants()) do
  334. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  335. c.Material = "Neon"
  336. c.Color = C3(0,0,0)
  337. spawn(function() Rainbowify(c) end)
  338. elseif c.ClassName == "Part" and c.Name == "Eye" then
  339. c.Color = C3(1,0,0)
  340. c.Material = "Neon"
  341. spawn(function() Rainbowify(c) end)
  342. end
  343. end
  344.  
  345. Weapon.Parent = Character
  346. for _, c in pairs(Weapon:GetChildren()) do
  347. if c.ClassName == "Part" then
  348. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  349. end
  350. end
  351. end
  352. --//=================================\\
  353. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  354. --\\=================================//
  355.  
  356. ArtificialHB = Instance.new("BindableEvent", script)
  357. ArtificialHB.Name = "ArtificialHB"
  358.  
  359. script:WaitForChild("ArtificialHB")
  360.  
  361. frame = Frame_Speed
  362. tf = 0
  363. allowframeloss = false
  364. tossremainder = false
  365. lastframe = tick()
  366. script.ArtificialHB:Fire()
  367.  
  368. game:GetService("RunService").Heartbeat:connect(function(s, p)
  369. tf = tf + s
  370. if tf >= frame then
  371. if allowframeloss then
  372. script.ArtificialHB:Fire()
  373. lastframe = tick()
  374. else
  375. for i = 1, math.floor(tf / frame) do
  376. script.ArtificialHB:Fire()
  377. end
  378. lastframe = tick()
  379. end
  380. if tossremainder then
  381. tf = 0
  382. else
  383. tf = tf - frame * math.floor(tf / frame)
  384. end
  385. end
  386. end)
  387.  
  388. --//=================================\\
  389. --\\=================================//
  390.  
  391. --//=================================\\
  392. --|| SOME FUNCTIONS
  393. --\\=================================//
  394.  
  395. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  396. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  397. end
  398.  
  399. function PositiveAngle(NUMBER)
  400. if NUMBER >= 0 then
  401. NUMBER = 0
  402. end
  403. return NUMBER
  404. end
  405.  
  406. function NegativeAngle(NUMBER)
  407. if NUMBER <= 0 then
  408. NUMBER = 0
  409. end
  410. return NUMBER
  411. end
  412.  
  413. function Swait(NUMBER)
  414. if NUMBER == 0 or NUMBER == nil then
  415. ArtificialHB.Event:wait()
  416. else
  417. for i = 1, NUMBER do
  418. ArtificialHB.Event:wait()
  419. end
  420. end
  421. end
  422.  
  423. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  424. local NEWMESH = IT(MESH)
  425. if MESH == "SpecialMesh" then
  426. NEWMESH.MeshType = MESHTYPE
  427. if MESHID ~= "nil" and MESHID ~= "" then
  428. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  429. end
  430. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  431. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  432. end
  433. end
  434. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  435. NEWMESH.Scale = SCALE
  436. NEWMESH.Parent = PARENT
  437. return NEWMESH
  438. end
  439.  
  440. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  441. local NEWPART = IT("Part")
  442. NEWPART.formFactor = FORMFACTOR
  443. NEWPART.Reflectance = REFLECTANCE
  444. NEWPART.Transparency = TRANSPARENCY
  445. NEWPART.CanCollide = false
  446. NEWPART.Locked = true
  447. NEWPART.Anchored = true
  448. if ANCHOR == false then
  449. NEWPART.Anchored = false
  450. end
  451. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  452. NEWPART.Name = NAME
  453. NEWPART.Size = SIZE
  454. NEWPART.Position = Torso.Position
  455. NEWPART.Material = MATERIAL
  456. NEWPART:BreakJoints()
  457. NEWPART.Parent = PARENT
  458. return NEWPART
  459. end
  460.  
  461. local function weldBetween(a, b)
  462. local weldd = Instance.new("ManualWeld")
  463. weldd.Part0 = a
  464. weldd.Part1 = b
  465. weldd.C0 = CFrame.new()
  466. weldd.C1 = b.CFrame:inverse() * a.CFrame
  467. weldd.Parent = a
  468. return weldd
  469. end
  470.  
  471.  
  472. function QuaternionFromCFrame(cf)
  473. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  474. local trace = m00 + m11 + m22
  475. if trace > 0 then
  476. local s = math.sqrt(1 + trace)
  477. local recip = 0.5 / s
  478. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  479. else
  480. local i = 0
  481. if m11 > m00 then
  482. i = 1
  483. end
  484. if m22 > (i == 0 and m00 or m11) then
  485. i = 2
  486. end
  487. if i == 0 then
  488. local s = math.sqrt(m00 - m11 - m22 + 1)
  489. local recip = 0.5 / s
  490. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  491. elseif i == 1 then
  492. local s = math.sqrt(m11 - m22 - m00 + 1)
  493. local recip = 0.5 / s
  494. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  495. elseif i == 2 then
  496. local s = math.sqrt(m22 - m00 - m11 + 1)
  497. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  498. end
  499. end
  500. end
  501.  
  502. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  503. local xs, ys, zs = x + x, y + y, z + z
  504. local wx, wy, wz = w * xs, w * ys, w * zs
  505. local xx = x * xs
  506. local xy = x * ys
  507. local xz = x * zs
  508. local yy = y * ys
  509. local yz = y * zs
  510. local zz = z * zs
  511. 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))
  512. end
  513.  
  514. local Create = LoadLibrary("RbxUtility").Create
  515.  
  516. function RemoveOutlines(part)
  517. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  518. end
  519.  
  520. CFuncs = {
  521. ["Part"] = {
  522. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  523. local Part = Create("Part"){
  524. Parent = Parent,
  525. Reflectance = Reflectance,
  526. Transparency = Transparency,
  527. CanCollide = false,
  528. Locked = true,
  529. BrickColor = BrickColor.new(tostring(BColor)),
  530. Name = Name,
  531. Size = Size,
  532. Material = Material,
  533. }
  534. RemoveOutlines(Part)
  535. return Part
  536. end;
  537. };
  538.  
  539. ["Mesh"] = {
  540. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  541. local Msh = Create(Mesh){
  542. Parent = Part,
  543. Offset = OffSet,
  544. Scale = Scale,
  545. }
  546. if Mesh == "SpecialMesh" then
  547. Msh.MeshType = MeshType
  548. Msh.MeshId = MeshId
  549. end
  550. return Msh
  551. end;
  552. };
  553.  
  554. ["Mesh"] = {
  555. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  556. local Msh = Create(Mesh){
  557. Parent = Part,
  558. Offset = OffSet,
  559. Scale = Scale,
  560. }
  561. if Mesh == "SpecialMesh" then
  562. Msh.MeshType = MeshType
  563. Msh.MeshId = MeshId
  564. end
  565. return Msh
  566. end;
  567. };
  568.  
  569. ["Weld"] = {
  570. Create = function(Parent, Part0, Part1, C0, C1)
  571. local Weld = Create("Weld"){
  572. Parent = Parent,
  573. Part0 = Part0,
  574. Part1 = Part1,
  575. C0 = C0,
  576. C1 = C1,
  577. }
  578. return Weld
  579. end;
  580. };
  581.  
  582. ["Sound"] = {
  583. Create = function(id, par, vol, pit)
  584. coroutine.resume(coroutine.create(function()
  585. local S = Create("Sound"){
  586. Volume = vol,
  587. Name = "EffectSoundo",
  588. Pitch = pit or 1,
  589. SoundId = id,
  590. Parent = par or workspace,
  591. }
  592. wait()
  593. S:play()
  594. game:GetService("Debris"):AddItem(S, 10)
  595. end))
  596. end;
  597. };
  598.  
  599. ["TimeSound"] = {
  600. Create = function(id, par, vol, pit, timepos)
  601. coroutine.resume(coroutine.create(function()
  602. local S = Create("Sound"){
  603. Volume = vol,
  604. Name = "EffectSoundo",
  605. Pitch = pit or 1,
  606. SoundId = id,
  607. TimePosition = timepos,
  608. Parent = par or workspace,
  609. }
  610. wait()
  611. S:play()
  612. game:GetService("Debris"):AddItem(S, 10)
  613. end))
  614. end;
  615. };
  616. ["EchoSound"] = {
  617. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  618. coroutine.resume(coroutine.create(function()
  619. local Sas = Create("Sound"){
  620. Volume = vol,
  621. Name = "EffectSoundo",
  622. Pitch = pit or 1,
  623. SoundId = id,
  624. TimePosition = timepos,
  625. Parent = par or workspace,
  626. }
  627. local E = Create("EchoSoundEffect"){
  628. Delay = echodelay,
  629. Name = "Echo",
  630. Feedback = fedb,
  631. DryLevel = dryl,
  632. Parent = Sas,
  633. }
  634. wait()
  635. Sas:play()
  636. game:GetService("Debris"):AddItem(Sas, delays)
  637. end))
  638. end;
  639. };
  640.  
  641. ["LongSound"] = {
  642. Create = function(id, par, vol, pit)
  643. coroutine.resume(coroutine.create(function()
  644. local S = Create("Sound"){
  645. Volume = vol,
  646. Pitch = pit or 1,
  647. SoundId = id,
  648. Parent = par or workspace,
  649. }
  650. wait()
  651. S:play()
  652. game:GetService("Debris"):AddItem(S, 60)
  653. end))
  654. end;
  655. };
  656.  
  657. ["ParticleEmitter"] = {
  658. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  659. local fp = Create("ParticleEmitter"){
  660. Parent = Parent,
  661. Color = ColorSequence.new(Color1, Color2),
  662. LightEmission = LightEmission,
  663. Size = Size,
  664. Texture = Texture,
  665. Transparency = Transparency,
  666. ZOffset = ZOffset,
  667. Acceleration = Accel,
  668. Drag = Drag,
  669. LockedToPart = LockedToPart,
  670. VelocityInheritance = VelocityInheritance,
  671. EmissionDirection = EmissionDirection,
  672. Enabled = Enabled,
  673. Lifetime = LifeTime,
  674. Rate = Rate,
  675. Rotation = Rotation,
  676. RotSpeed = RotSpeed,
  677. Speed = Speed,
  678. VelocitySpread = VelocitySpread,
  679. }
  680. return fp
  681. end;
  682. };
  683.  
  684. CreateTemplate = {
  685.  
  686. };
  687. }
  688.  
  689. function QuaternionSlerp(a, b, t)
  690. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  691. local startInterp, finishInterp;
  692. if cosTheta >= 0.0001 then
  693. if (1 - cosTheta) > 0.0001 then
  694. local theta = ACOS(cosTheta)
  695. local invSinTheta = 1 / SIN(theta)
  696. startInterp = SIN((1 - t) * theta) * invSinTheta
  697. finishInterp = SIN(t * theta) * invSinTheta
  698. else
  699. startInterp = 1 - t
  700. finishInterp = t
  701. end
  702. else
  703. if (1 + cosTheta) > 0.0001 then
  704. local theta = ACOS(-cosTheta)
  705. local invSinTheta = 1 / SIN(theta)
  706. startInterp = SIN((t - 1) * theta) * invSinTheta
  707. finishInterp = SIN(t * theta) * invSinTheta
  708. else
  709. startInterp = t - 1
  710. finishInterp = t
  711. end
  712. end
  713. 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
  714. end
  715.  
  716. function Clerp(a, b, t)
  717. local qa = {QuaternionFromCFrame(a)}
  718. local qb = {QuaternionFromCFrame(b)}
  719. local ax, ay, az = a.x, a.y, a.z
  720. local bx, by, bz = b.x, b.y, b.z
  721. local _t = 1 - t
  722. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  723. end
  724.  
  725. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  726. local frame = IT("Frame")
  727. frame.BackgroundTransparency = TRANSPARENCY
  728. frame.BorderSizePixel = BORDERSIZEPIXEL
  729. frame.Position = POSITION
  730. frame.Size = SIZE
  731. frame.BackgroundColor3 = COLOR
  732. frame.BorderColor3 = BORDERCOLOR
  733. frame.Name = NAME
  734. frame.Parent = PARENT
  735. return frame
  736. end
  737.  
  738. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  739. local label = IT("TextLabel")
  740. label.BackgroundTransparency = 1
  741. label.Size = UD2(1, 0, 1, 0)
  742. label.Position = UD2(0, 0, 0, 0)
  743. label.TextColor3 = TEXTCOLOR
  744. label.TextStrokeTransparency = STROKETRANSPARENCY
  745. label.TextTransparency = TRANSPARENCY
  746. label.FontSize = TEXTFONTSIZE
  747. label.Font = TEXTFONT
  748. label.BorderSizePixel = BORDERSIZEPIXEL
  749. label.TextScaled = false
  750. label.Text = TEXT
  751. label.Name = NAME
  752. label.Parent = PARENT
  753. return label
  754. end
  755.  
  756. function NoOutlines(PART)
  757. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  758. end
  759.  
  760. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  761. local NEWWELD = IT(TYPE)
  762. NEWWELD.Part0 = PART0
  763. NEWWELD.Part1 = PART1
  764. NEWWELD.C0 = C0
  765. NEWWELD.C1 = C1
  766. NEWWELD.Parent = PARENT
  767. return NEWWELD
  768. end
  769.  
  770. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  771. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
  772. local mesh = IT("SpecialMesh",wave)
  773. mesh.MeshType = "FileMesh"
  774. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  775. mesh.Scale = SIZE
  776. mesh.Offset = VT(0,0,-SIZE.X/8)
  777. wave.CFrame = CFRAME
  778. coroutine.resume(coroutine.create(function(PART)
  779. for i = 1, WAIT do
  780. Swait()
  781. mesh.Scale = mesh.Scale + GROW
  782. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  783. spawn(function() Rainbowify(wave) end)
  784. if DOESROT == true then
  785. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  786. end
  787. wave.Transparency = wave.Transparency + (0.5/WAIT)
  788. if wave.Transparency > 0.99 then
  789. wave:remove()
  790. end
  791. end
  792. end))
  793. end
  794.  
  795. function CreateWave2(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  796. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
  797. local mesh = IT("SpecialMesh",wave)
  798. mesh.MeshType = "FileMesh"
  799. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  800. mesh.Scale = SIZE
  801. wave.CFrame = CFRAME
  802. coroutine.resume(coroutine.create(function(PART)
  803. for i = 1, WAIT do
  804. Swait()
  805. mesh.Scale = mesh.Scale + GROW
  806. spawn(function() Rainbowify(wave) end)
  807. if DOESROT == true then
  808. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  809. end
  810. wave.Transparency = wave.Transparency + (0.5/WAIT)
  811. if wave.Transparency > 0.99 then
  812. wave:remove()
  813. end
  814. end
  815. end))
  816. end
  817.  
  818. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  819. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, COLOR, "Effect", VT(0,0,0))
  820. local mesh = IT("SpecialMesh",wave)
  821. mesh.MeshType = "FileMesh"
  822. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  823. mesh.Scale = SIZE
  824. wave.CFrame = CFRAME
  825. coroutine.resume(coroutine.create(function(PART)
  826. for i = 1, WAIT do
  827. Swait()
  828. mesh.Scale = mesh.Scale + GROW
  829. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  830. spawn(function() Rainbowify(wave) end)
  831. if DOESROT == true then
  832. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  833. end
  834. wave.Transparency = wave.Transparency + (0.5/WAIT)
  835. if wave.Transparency > 0.99 then
  836. wave:remove()
  837. end
  838. end
  839. end))
  840. end
  841.  
  842. local S = IT("Sound")
  843. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  844. local NEWSOUND = nil
  845. coroutine.resume(coroutine.create(function()
  846. NEWSOUND = S:Clone()
  847. NEWSOUND.Parent = PARENT
  848. NEWSOUND.Volume = VOLUME
  849. NEWSOUND.Pitch = PITCH
  850. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  851. NEWSOUND:play()
  852. if DOESLOOP == true then
  853. NEWSOUND.Looped = true
  854. else
  855. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  856. NEWSOUND:remove()
  857. end
  858. end))
  859. return NEWSOUND
  860. end
  861.  
  862. function CFrameFromTopBack(at, top, back)
  863. local right = top:Cross(back)
  864. 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)
  865. end
  866.  
  867. --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})
  868. function WACKYEFFECT(Table)
  869. local TYPE = (Table.EffectType or "Sphere")
  870. local SIZE = (Table.Size or VT(1,1,1))
  871. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  872. local TRANSPARENCY = (Table.Transparency or 0)
  873. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  874. local CFRAME = (Table.CFrame or Torso.CFrame)
  875. local MOVEDIRECTION = (Table.MoveToPos or nil)
  876. local ROTATION1 = (Table.RotationX or 0)
  877. local ROTATION2 = (Table.RotationY or 0)
  878. local ROTATION3 = (Table.RotationZ or 0)
  879. local MATERIAL = (Table.Material or "Neon")
  880. local COLOR = (Table.Color or C3(1,1,1))
  881. local TIME = (Table.Time or 45)
  882. local SOUNDID = (Table.SoundID or nil)
  883. local SOUNDPITCH = (Table.SoundPitch or nil)
  884. local SOUNDVOLUME = (Table.SoundVolume or nil)
  885. coroutine.resume(coroutine.create(function()
  886. local PLAYSSOUND = false
  887. local SOUND = nil
  888. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  889. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  890. PLAYSSOUND = true
  891. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  892. end
  893. EFFECT.Color = COLOR
  894. local MSH = nil
  895. if TYPE == "Sphere" then
  896. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  897. elseif TYPE == "Block" then
  898. MSH = IT("BlockMesh",EFFECT)
  899. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  900. elseif TYPE == "Wave" then
  901. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  902. elseif TYPE == "Ring" then
  903. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  904. elseif TYPE == "Slash" then
  905. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  906. elseif TYPE == "Round Slash" then
  907. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  908. elseif TYPE == "Swirl" then
  909. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  910. elseif TYPE == "Skull" then
  911. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  912. elseif TYPE == "Crystal" then
  913. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  914. end
  915. if MSH ~= nil then
  916. local MOVESPEED = nil
  917. if MOVEDIRECTION ~= nil then
  918. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  919. end
  920. local GROWTH = SIZE - ENDSIZE
  921. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  922. if TYPE == "Block" then
  923. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  924. else
  925. EFFECT.CFrame = CFRAME
  926. end
  927. for LOOP = 1, TIME+1 do
  928. Swait()
  929. MSH.Scale = MSH.Scale - GROWTH/TIME
  930. if TYPE == "Wave" then
  931. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  932. end
  933. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  934. if TYPE == "Block" then
  935. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  936. else
  937. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  938. end
  939. if MOVEDIRECTION ~= nil then
  940. local ORI = EFFECT.Orientation
  941. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  942. EFFECT.Orientation = ORI
  943. end
  944. end
  945. if PLAYSSOUND == false then
  946. EFFECT:remove()
  947. else
  948. SOUND.Stopped:Connect(function()
  949. EFFECT:remove()
  950. end)
  951. end
  952. else
  953. if PLAYSSOUND == false then
  954. EFFECT:remove()
  955. else
  956. repeat Swait() until SOUND.Playing == false
  957. EFFECT:remove()
  958. end
  959. end
  960. end))
  961. end
  962.  
  963. function MakeForm(PART,TYPE)
  964. if TYPE == "Cyl" then
  965. local MSH = IT("CylinderMesh",PART)
  966. elseif TYPE == "Ball" then
  967. local MSH = IT("SpecialMesh",PART)
  968. MSH.MeshType = "Sphere"
  969. elseif TYPE == "Wedge" then
  970. local MSH = IT("SpecialMesh",PART)
  971. MSH.MeshType = "Wedge"
  972. end
  973. end
  974.  
  975. function SpawnTrail(FROM,TO,BIG)
  976. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  977. spawn(function() Rainbowify(TRAIL) end)
  978. MakeForm(TRAIL,"Cyl")
  979. local DIST = (FROM - TO).Magnitude
  980. if BIG == true then
  981. TRAIL.Size = VT(3,DIST,3)
  982. else
  983. TRAIL.Size = VT(3,DIST,3)
  984. end
  985. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  986. coroutine.resume(coroutine.create(function()
  987. for i = 1, 5 do
  988. Swait()
  989. TRAIL.Transparency = TRAIL.Transparency + 0.01
  990. end
  991. wait(4.2)
  992. TRAIL:remove()
  993. end))
  994. end
  995.  
  996. Debris = game:GetService("Debris")
  997.  
  998. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  999. local DIRECTION = CF(StartPos,EndPos).lookVector
  1000. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1001. end
  1002.  
  1003. function turnto(position)
  1004. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1005. end
  1006.  
  1007. --//=================================\\
  1008. --|| WEAPON CREATION
  1009. --\\=================================//
  1010.  
  1011. local Particle = IT("ParticleEmitter",nil)
  1012. Particle.Enabled = false
  1013. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1014. Particle.LightEmission = 0.5
  1015. Particle.Rate = 150
  1016. Particle.ZOffset = 0.2
  1017. Particle.Rotation = NumberRange.new(-180, 180)
  1018. Particle.RotSpeed = NumberRange.new(-180, 180)
  1019. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1020. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  1021. spawn(function() Rainbowify(Particle) end)
  1022.  
  1023. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1024. function ParticleEmitter(Table)
  1025. local PRTCL = Particle:Clone()
  1026. local Speed = Table.Speed or 5
  1027. local Drag = Table.Drag or 0
  1028. local Size1 = Table.Size1 or 1
  1029. local Size2 = Table.Size2 or 5
  1030. local Lifetime1 = Table.Lifetime1 or 1
  1031. local Lifetime2 = Table.Lifetime2 or 1.5
  1032. local Parent = Table.Parent or Torso
  1033. local Emit = Table.Emit or 100
  1034. local Offset = Table.Offset or 360
  1035. local Acel = Table.Acel or VT(0,0,0)
  1036. local Enabled = Table.Enabled or false
  1037. PRTCL.Parent = Parent
  1038. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1039. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1040. PRTCL.Speed = NumberRange.new(Speed)
  1041. PRTCL.VelocitySpread = Offset
  1042. PRTCL.Drag = Drag
  1043. PRTCL.Acceleration = Acel
  1044. if Enabled == false then
  1045. PRTCL:Emit(Emit)
  1046. Debris:AddItem(PRTCL,Lifetime2)
  1047. else
  1048. PRTCL.Enabled = true
  1049. end
  1050. return PRTCL
  1051. end
  1052.  
  1053. for i = 13, 48 do
  1054. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-5)/61.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  1055. FACE.Color = C3(0,0,0)
  1056. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1057. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.56-(i-1)/75,0), CF(0, 0, 0))
  1058. end
  1059.  
  1060. local Eye = CreatePart(3, Head, "Neon", 0, 0, "Medium blue", "Eye", VT(0.20, 0.20, 0.20), false)
  1061. MakeForm(Eye,"Ball")
  1062. CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye, CF(0.15,0.17,-0.55), CF(0, 0, 0))
  1063. spawn(function() Rainbowify(Eye) end)
  1064. local Eye = CreatePart(3, Head, "Neon", 0, 0, "Medium blue", "Eye", VT(0.20, 0.20, 0.20), false)
  1065. MakeForm(Eye,"Ball")
  1066. CreateWeldOrSnapOrMotor("Weld", Head, Head, Eye, CF(-0.15,0.17,-0.55), CF(0, 0, 0))
  1067. spawn(function() Rainbowify(Eye) end)
  1068.  
  1069. local HALO = script.Halo:Clone()
  1070. HALO.Parent = Character
  1071. local HALOWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HALO, CF(0, 0, 0) * ANGLES(RAD(120), RAD(0), RAD(0)), CF(0, 0, 1))
  1072. spawn(function() Rainbowify(HALO) end)
  1073. local STAR = script.Star:Clone()
  1074. STAR.Parent = Character
  1075. local STARWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, STAR, CF(0, 0, 0) * ANGLES(RAD(90), RAD(30), RAD(0)), CF(0, 0, 1))
  1076. spawn(function() Rainbowify(STAR) end)
  1077.  
  1078. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
  1079. spawn(function() Rainbowify(Handle) end)
  1080. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-0.8, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.3, 0))
  1081. spawn(function() Rainbowify(RightArmGrasp) end)
  1082. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.8,0.2),false)
  1083. MakeForm(Part,"Wedge")
  1084. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.2, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1085. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.6),false)
  1086. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1087. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1088. MakeForm(Part,"Cyl")
  1089. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1090. for i = 1, 8 do
  1091. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1092. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1093. end
  1094. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1095. MakeForm(Part,"Wedge")
  1096. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1097. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.39,0.41,0.39),false)
  1098. MakeForm(Part,"Cyl")
  1099. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.45, 0.4) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1100. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1101. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1102. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.5),false)
  1103. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.65) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1104. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0,0.6),false)
  1105. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, -0.2, -0.3))
  1106. local RightBarrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.28,5,0.28),false)
  1107. MakeForm(RightBarrel,"Cyl")
  1108. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, RightBarrel, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -2.5, 0))
  1109. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.2,0.2),false)
  1110. MakeForm(Part,"Wedge")
  1111. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 2.415, 0.15) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1112. local RightHole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  1113. MakeForm(RightHole,"Cyl")
  1114. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, RightHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1115. local LASTPART = Handle
  1116. for i = 1, 10 do
  1117. if LASTPART == Handle then
  1118. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1119. LASTPART = Part
  1120. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1121. else
  1122. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1123. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1124. LASTPART = Part
  1125. end
  1126. end
  1127.  
  1128. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1129. MakeForm(Barrel,"Cyl")
  1130. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1131. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1132. MakeForm(Part,"Cyl")
  1133. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1134. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1135. MakeForm(Part,"Wedge")
  1136. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1137. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1138. MakeForm(Hole,"Cyl")
  1139. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1140. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1141. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1142. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1143. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1144. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1145. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1146. coroutine.resume(coroutine.create(function()
  1147. while wait() do
  1148. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1149. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1150. end
  1151. end))
  1152.  
  1153. local LASTPART = Head
  1154. for i = 1, 20 do
  1155. local MATH = (1-(i/20))
  1156. if LASTPART == Head then
  1157. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1158. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  1159. LASTPART = Horn
  1160. Horn.Color = C3((i*3-3)/.5,0,.5)
  1161. spawn(function() Rainbowify(Horn) end)
  1162. else
  1163. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1164. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.9), RAD(0)), CF(0, 0, 0))
  1165. LASTPART = Horn
  1166. Horn.Color = C3((i*3-3)/.5,0,.5)
  1167. spawn(function() Rainbowify(Horn) end)
  1168. end
  1169. end
  1170. local LASTPART = Head
  1171. for i = 1, 20 do
  1172. local MATH = (1-(i/20))
  1173. if LASTPART == Head then
  1174. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1175. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  1176. LASTPART = Horn
  1177. Horn.Color = C3((i*3-3)/.5,0,.5)
  1178. spawn(function() Rainbowify(Horn) end)
  1179. else
  1180. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1181. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.9), RAD(0)), CF(0, 0, 0))
  1182. LASTPART = Horn
  1183. Horn.Color = C3((i*3-3)/.5,0,.5)
  1184. spawn(function() Rainbowify(Horn) end)
  1185. end
  1186. end
  1187.  
  1188. --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)})
  1189.  
  1190. for _, c in pairs(Weapon:GetDescendants()) do
  1191. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1192. c.Material = "Neon"
  1193. c.Color = C3(0,0,0)
  1194. spawn(function() Rainbowify(c) end)
  1195. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1196. c.Color = C3(1,0,0)
  1197. c.Material = "Neon"
  1198. spawn(function() Rainbowify(c) end)
  1199. end
  1200. end
  1201.  
  1202. Weapon.Parent = Character
  1203. for _, c in pairs(Weapon:GetChildren()) do
  1204. if c.ClassName == "Part" then
  1205. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1206. end
  1207. end
  1208.  
  1209. local SKILLTEXTCOLOR = C3(1,0,0)
  1210. local SKILLFONT = "Arcade"
  1211. local SKILLTEXTSIZE = 7
  1212.  
  1213. Humanoid.Died:connect(function()
  1214. ATTACK = true
  1215. end)
  1216.  
  1217. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1218. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1219. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1220. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1221. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1222. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.448, 0, 0.815, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1223. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.277, 0, 0.815, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1224. local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.625, 0, 0.815, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame")
  1225. local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.815, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame")
  1226. local SKILL10FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.537, 0, 0.729, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 10 Frame")
  1227. local SKILL11FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.191, 0, 0.729, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 11 Frame")
  1228. local SKILL12FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.364, 0, 0.646, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 12 Frame")
  1229.  
  1230.  
  1231. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1232. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ban Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1233. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Kick Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1234. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Respawn Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1235. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1236. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q] Explode Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
  1237. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[E] Teleport/Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 7")
  1238. local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[R] Rainbow Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 8")
  1239. local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[M] Mega Rainbowified Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 9")
  1240. local SKILL10TEXT = CreateLabel(SKILL10FRAME, "[K] Banish All", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 10")
  1241. local SKILL11TEXT = CreateLabel(SKILL11FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 11")
  1242. local SKILL12TEXT = CreateLabel(SKILL12FRAME, "[H] Rainbow Star", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 12")
  1243. spawn(function() RainbowifyText(SKILL1TEXT) end)
  1244. spawn(function() RainbowifyText(SKILL2TEXT) end)
  1245. spawn(function() RainbowifyText(SKILL3TEXT) end)
  1246. spawn(function() RainbowifyText(SKILL4TEXT) end)
  1247. spawn(function() RainbowifyText(SKILL5TEXT) end)
  1248. spawn(function() RainbowifyText(SKILL6TEXT) end)
  1249. spawn(function() RainbowifyText(SKILL7TEXT) end)
  1250. spawn(function() RainbowifyText(SKILL8TEXT) end)
  1251. spawn(function() RainbowifyText(SKILL9TEXT) end)
  1252. spawn(function() RainbowifyText(SKILL10TEXT) end)
  1253. spawn(function() RainbowifyText(SKILL11TEXT) end)
  1254. spawn(function() RainbowifyText(SKILL12TEXT) end)
  1255.  
  1256.  
  1257.  
  1258. function printbye(Name)
  1259. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1260. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1261. end
  1262.  
  1263. workspace.ChildAdded:connect(function(instance)
  1264. for BANISH = 1, #TOBANISH do
  1265. if TOBANISH[BANISH] ~= nil then
  1266. if instance.Name == TOBANISH[BANISH] then
  1267. coroutine.resume(coroutine.create(function()
  1268. printbye(instance.Name)
  1269. instance:ClearAllChildren()
  1270. Debris:AddItem(instance,0.0005)
  1271. end))
  1272. end
  1273. end
  1274. end
  1275. end)
  1276.  
  1277. --//=================================\\
  1278. --|| DAMAGING
  1279. --\\=================================//
  1280.  
  1281. function Banish(Foe)
  1282. if Foe then
  1283. coroutine.resume(coroutine.create(function()
  1284. --if game.Players:FindFirstChild(Foe.Name) then
  1285. table.insert(TOBANISH,Foe.Name)
  1286. printbye(Foe.Name)
  1287. --end
  1288. Foe.Archivable = true
  1289. local CLONE = Foe:Clone()
  1290. Foe:Destroy()
  1291. CLONE.Parent = Effects
  1292. CLONE:BreakJoints()
  1293. local MATERIALS = {"Glass","Neon"}
  1294. for _, c in pairs(CLONE:GetDescendants()) do
  1295. if c:IsA("BasePart") then
  1296. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1297. CreateSound(340722848, c, 1.7, 1, false)
  1298. end
  1299. c.Anchored = true
  1300. c.Transparency = c.Transparency + 0.2
  1301. c.Material = MATERIALS[MRANDOM(1,2)]
  1302. c.Color = C3(1,0,0)
  1303. if c.ClassName == "MeshPart" then
  1304. c.TextureID = ""
  1305. end
  1306. if c:FindFirstChildOfClass("SpecialMesh") then
  1307. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1308. end
  1309. if c:FindFirstChildOfClass("Decal") then
  1310. c:FindFirstChildOfClass("Decal"):remove()
  1311. end
  1312. c.Name = "Banished"
  1313. c.CanCollide = false
  1314. else
  1315. c:remove()
  1316. end
  1317. end
  1318. local A = false
  1319. for i = 1, 35 do
  1320. if A == false then
  1321. A = true
  1322. elseif A == true then
  1323. A = false
  1324. end
  1325. for _, c in pairs(CLONE:GetDescendants()) do
  1326. if c:IsA("BasePart") then
  1327. c.Anchored = true
  1328. c.Material = MATERIALS[MRANDOM(1,2)]
  1329. c.Transparency = c.Transparency + 0.8/35
  1330. if A == false then
  1331. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1332. elseif A == true then
  1333. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1334. end
  1335. end
  1336. end
  1337. Swait()
  1338. end
  1339. CLONE:remove()
  1340. end))
  1341. end
  1342. end
  1343.  
  1344. function killnearest(position,range,maxstrength,direction)
  1345. for i,v in ipairs(workspace:GetChildren()) do
  1346. local body = v:GetChildren()
  1347. for part = 1, #body do
  1348. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1349. if(body[part].Position - position).Magnitude < range then
  1350. if v.ClassName == "Model" then
  1351. --v:BreakJoints()
  1352. end
  1353. local POS = position
  1354. coroutine.resume(coroutine.create(function()
  1355. body[part].Anchored = true
  1356. body[part].Parent = Effects
  1357. body[part].CanCollide = true
  1358. local SIZE = body[part].Size
  1359. body[part].Material = "Neon"
  1360. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  1361. for i = 1, 75 do
  1362. Swait()
  1363. body[part].Color = C3(255/255, 255/255, 255/255)
  1364. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1365. end
  1366. coroutine.resume(coroutine.create(function()
  1367. while true do
  1368. Swait()
  1369. body[part].Color = C3(255/255, 255/255, 255/255)
  1370. body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1371. end
  1372. end))
  1373. body[part].Anchored = false
  1374. body[part].Velocity = direction.lookVector*maxstrength
  1375. end))
  1376. end
  1377. end
  1378. end
  1379. if v.ClassName == "Part" then
  1380. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1381. local POS = position
  1382. coroutine.resume(coroutine.create(function()
  1383. v.Anchored = true
  1384. v.Parent = Effects
  1385. local SIZE = v.Size
  1386. v.Material = "Neon"
  1387. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  1388. for i = 1, 75 do
  1389. Swait()
  1390. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1391. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1392. end
  1393. coroutine.resume(coroutine.create(function()
  1394. while true do
  1395. Swait()
  1396. v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100)
  1397. v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2))
  1398. end
  1399. end))
  1400. v.Anchored = false
  1401. v.Velocity = direction.lookVector*maxstrength
  1402. end))
  1403. end
  1404. end
  1405. end
  1406. end
  1407.  
  1408.  
  1409. function Kick(Foe)
  1410. if Foe then
  1411. coroutine.resume(coroutine.create(function()
  1412. local plr = game:service'Players':GetPlayerFromCharacter(Foe)
  1413. if plr then
  1414. coroutine.resume(coroutine.create(function()
  1415. plr:Kick("Rainbowified!")
  1416. end))
  1417. end
  1418. if(Foe:FindFirstChildOfClass'Humanoid')then
  1419. printbye(Foe.Name)
  1420. Foe.Archivable = true
  1421. local CLONE = Foe:Clone()
  1422. Foe:Destroy()
  1423. CLONE.Parent = Effects
  1424. CLONE:BreakJoints()
  1425. local MATERIALS = {"Glass","Glass"}
  1426. for _, c in pairs(CLONE:GetDescendants()) do
  1427. if c:IsA("BasePart") then
  1428. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1429. CreateSound(340722848, c, 10, 1, false)
  1430. end
  1431. c.Anchored = true
  1432. c.Transparency = c.Transparency + 0.2
  1433. c.Material = MATERIALS[MRANDOM(1,2)]
  1434. c.Color = BrickColor.new("Teal").Color
  1435. if c.ClassName == "MeshPart" then
  1436. c.TextureID = ""
  1437. end
  1438. if c:FindFirstChildOfClass("SpecialMesh") then
  1439. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1440. end
  1441. if c:FindFirstChildOfClass("Decal") then
  1442. c:FindFirstChildOfClass("Decal"):remove()
  1443. end
  1444. c.Name = "Banished"
  1445. c.CanCollide = false
  1446. else
  1447. c:remove()
  1448. end
  1449. end
  1450. local A = false
  1451. for i = 1, 35 do
  1452. if A == false then
  1453. A = true
  1454. elseif A == true then
  1455. A = false
  1456. end
  1457. for _, c in pairs(CLONE:GetDescendants()) do
  1458. if c:IsA("BasePart") then
  1459. c.Anchored = true
  1460. c.Material = MATERIALS[MRANDOM(1,2)]
  1461. c.Transparency = c.Transparency + 0.8/35
  1462. if A == false then
  1463. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1464. elseif A == true then
  1465. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1466. end
  1467. end
  1468. end
  1469. Swait()
  1470. end
  1471. CLONE:remove()
  1472. end
  1473. end))
  1474. end
  1475. end
  1476.  
  1477. function Warp()
  1478. local ORIGIN = RootPart.Position
  1479. local where = mouse.Hit.p
  1480. turnto(where)
  1481. Player.Character.HumanoidRootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z))
  1482. chatfunc("Surprise!")
  1483. end
  1484.  
  1485. function Ban(Foe)
  1486. if Foe then
  1487. coroutine.resume(coroutine.create(function()
  1488. local plr = game:service'Players':GetPlayerFromCharacter(Foe)
  1489. if plr then
  1490. coroutine.resume(coroutine.create(function()
  1491. plr:Kick("Rainbowified!")
  1492. end))
  1493. end
  1494. end))
  1495. end
  1496. end
  1497.  
  1498. function Respawn(Foe)
  1499. if Foe then
  1500. coroutine.resume(coroutine.create(function()
  1501. local plr = game:service'Players':GetPlayerFromCharacter(Foe)
  1502. if plr then
  1503. coroutine.resume(coroutine.create(function()
  1504. plr:LoadCharacter()
  1505. end))
  1506. end
  1507. end))
  1508. end
  1509. end
  1510.  
  1511. function Explode(Foe)
  1512. if Foe then
  1513. coroutine.resume(coroutine.create(function()
  1514. local plr = game:service'Players':GetPlayerFromCharacter(Foe)
  1515. if plr then
  1516. coroutine.resume(coroutine.create(function()
  1517. local Exploison = Instance.new("Explosion", plr.Character.HumanoidRootPart)
  1518. Exploison.Position = plr.Character.HumanoidRootPart
  1519. end))
  1520. end
  1521. end))
  1522. end
  1523. end
  1524.  
  1525.  
  1526.  
  1527. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1528. local CHILDREN = workspace:GetDescendants()
  1529. for index, CHILD in pairs(CHILDREN) do
  1530. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1531. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1532. if HUM then
  1533. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1534. if TORSO then
  1535. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1536. if ISBANISH == true then
  1537. Banish(CHILD)
  1538. else
  1539. if ISBANISH == "Gravity" then
  1540. HUM.PlatformStand = true
  1541. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1542. local grav = Instance.new("BodyPosition",TORSO)
  1543. grav.D = 15
  1544. grav.P = 20000
  1545. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1546. grav.position = TORSO.Position
  1547. grav.Name = "V3BanishForce"..Player.Name
  1548. else
  1549. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1550. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1551. end
  1552. else
  1553. HUM.PlatformStand = false
  1554. end
  1555. end
  1556. elseif ISBANISH == "Gravity" then
  1557. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1558. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1559. HUM.PlatformStand = false
  1560. end
  1561. end
  1562. end
  1563. end
  1564. end
  1565. end
  1566. end
  1567.  
  1568. local FF = Instance.new("ForceField", Player.Character)
  1569. FF.Visible = false
  1570.  
  1571. Torso.ChildRemoved:Connect(function(removed)
  1572. if removed.Name == "hello" then
  1573. local sick = Instance.new("Sound",Torso)
  1574. sick.Parent = Torso
  1575. sick.Volume = 10
  1576. sick.Looped = true
  1577. sick.Pitch = 1
  1578. sick.SoundId = "rbxassetid://2264258418"
  1579. sick.Name = "hello"
  1580. sick.Playing = true
  1581. end
  1582. end)
  1583.  
  1584. local function CheckForBan(player)
  1585. for i = 1, #BannedSkids do
  1586. if player.Name == BannedSkids[i] then
  1587. player:Kick('o w o')
  1588. end
  1589. end
  1590. end
  1591.  
  1592. game.Players.PlayerAdded:connect(function()
  1593. for i,v in pairs(game.Players:GetPlayers())do
  1594. CheckForBan(v)
  1595. end
  1596. end)
  1597.  
  1598.  
  1599. function FocusOnChar()
  1600. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  1601. local var = script.Focus.Focus1:Clone()
  1602. var.Parent = v.PlayerGui
  1603. var.Disabled = false
  1604. end
  1605. end
  1606. function Focus2()
  1607. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  1608. local var = script.Focus.Focus2:Clone()
  1609. var.Parent = v.PlayerGui
  1610. var.Disabled = false
  1611. end
  1612. end
  1613. function Focus3()
  1614. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  1615. local var = script.Focus.FocusTest:Clone()
  1616. var.Parent = v.PlayerGui
  1617. var.Disabled = false
  1618. end
  1619. end
  1620. function Focus4()
  1621. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  1622. local var = script.Focus.Focus3:Clone()
  1623. var.Parent = v.PlayerGui
  1624. var.Disabled = false
  1625. end
  1626. end
  1627.  
  1628. --//=================================\\
  1629. --|| ATTACK FUNCTIONS AND STUFF
  1630. --\\=================================//
  1631.  
  1632. function Shot()
  1633. ATTACK = true
  1634. Rooted = false
  1635. for i=0, 0.05, 0.1 / Animation_Speed do
  1636. Swait()
  1637. turnto(Mouse.Hit.p)
  1638. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1639. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1640. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1641. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1642. 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)
  1643. 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)
  1644. end
  1645. repeat
  1646. for i=0, 0.05, 0.1 / Animation_Speed do
  1647. Swait()
  1648. turnto(Mouse.Hit.p)
  1649. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1650. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1651. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1652. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1653. 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)
  1654. 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)
  1655. end
  1656. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1657. SpawnTrail(Hole.Position,POS)
  1658. CreateSound(2976822167, Character, 10, 1, false)
  1659. if HIT ~= nil then
  1660. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1661. Banish(HIT.Parent)
  1662. chatfunc("That was easy.")
  1663. FocusOnChar()
  1664. end
  1665. end
  1666. for i=0, 0.05, 0.1 / Animation_Speed do
  1667. Swait()
  1668. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1669. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1670. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1671. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1672. 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)
  1673. 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)
  1674. end
  1675. until KEYHOLD == false
  1676. ATTACK = false
  1677. Rooted = false
  1678. end
  1679.  
  1680. function KickShot()
  1681. ATTACK = true
  1682. Rooted = false
  1683. for i=0, 0.05, 0.1 / Animation_Speed do
  1684. Swait()
  1685. turnto(Mouse.Hit.p)
  1686. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1687. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1688. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1689. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1690. 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)
  1691. 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)
  1692. end
  1693. repeat
  1694. for i=0, 0.05, 0.1 / Animation_Speed do
  1695. Swait()
  1696. turnto(Mouse.Hit.p)
  1697. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1698. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1699. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1700. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1701. 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)
  1702. 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)
  1703. end
  1704. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 999999, Character)
  1705. SpawnTrail(Hole.Position,POS)
  1706. CreateSound(2976822167, Character, 10, 1, false)
  1707. if HIT ~= nil then
  1708. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1709. Kick(HIT.Parent)
  1710. chatfunc("Good bye.")
  1711. Focus3()
  1712. end
  1713. end
  1714. for i=0, 0.05, 0.1 / Animation_Speed do
  1715. Swait()
  1716. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1717. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1718. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1719. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1720. 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)
  1721. 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)
  1722. end
  1723. until KEYHOLD == false
  1724. ATTACK = false
  1725. Rooted = false
  1726. end
  1727.  
  1728. function BanShot()
  1729. ATTACK = true
  1730. Rooted = false
  1731. for i=0, 0.05, 0.1 / Animation_Speed do
  1732. Swait()
  1733. turnto(Mouse.Hit.p)
  1734. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1735. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1736. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1737. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1738. 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)
  1739. 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)
  1740. end
  1741. repeat
  1742. for i=0, 0.05, 0.1 / Animation_Speed do
  1743. Swait()
  1744. turnto(Mouse.Hit.p)
  1745. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1746. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1747. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1748. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1749. 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)
  1750. 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)
  1751. end
  1752. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 999999, Character)
  1753. SpawnTrail(Hole.Position,POS)
  1754. CreateSound(2976822167, Character, 10, 1, false)
  1755. if HIT ~= nil then
  1756. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1757. table.insert(BannedSkids, HIT.Parent.Name)
  1758. Ban(HIT.Parent)
  1759. end
  1760. end
  1761. for i=0, 0.05, 0.1 / Animation_Speed do
  1762. Swait()
  1763. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1764. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1765. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1766. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1767. 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)
  1768. 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)
  1769. end
  1770. until KEYHOLD == false
  1771. ATTACK = false
  1772. Rooted = false
  1773. end
  1774.  
  1775. function RespawnShot()
  1776. ATTACK = true
  1777. Rooted = false
  1778. for i=0, 0.05, 0.1 / Animation_Speed do
  1779. Swait()
  1780. turnto(Mouse.Hit.p)
  1781. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1782. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1783. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1784. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1785. 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)
  1786. 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)
  1787. end
  1788. repeat
  1789. for i=0, 0.05, 0.1 / Animation_Speed do
  1790. Swait()
  1791. turnto(Mouse.Hit.p)
  1792. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1793. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1794. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1795. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1796. 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)
  1797. 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)
  1798. end
  1799. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 999999, Character)
  1800. SpawnTrail(Hole.Position,POS)
  1801. CreateSound(2976822167, Character, 10, 1, false)
  1802. if HIT ~= nil then
  1803. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1804. Respawn(HIT.Parent)
  1805. end
  1806. end
  1807. for i=0, 0.05, 0.1 / Animation_Speed do
  1808. Swait()
  1809. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1810. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1811. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1812. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1813. 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)
  1814. 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)
  1815. end
  1816. until KEYHOLD == false
  1817. ATTACK = false
  1818. Rooted = false
  1819. end
  1820.  
  1821. function Morning_Star()
  1822. ATTACK = true
  1823. Rooted = true
  1824. coroutine.resume(coroutine.create(function()
  1825. local POS = Mouse.Hit.p
  1826. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
  1827. spawn(function() Rainbowify(RAY) end)
  1828. MakeForm(RAY,"Cyl")
  1829. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
  1830. spawn(function() Rainbowify(SPHERE) end)
  1831. MakeForm(SPHERE,"Ball")
  1832. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  1833. spawn(function() Rainbowify(SHIELD) end)
  1834. MakeForm(SHIELD,"Ball")
  1835. SHIELD.CFrame = CF(POS)
  1836. RAY.CFrame = CF(POS)
  1837. SPHERE.CFrame = CF(POS)
  1838. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1839. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1840. for i = 1, 200 do
  1841. Swait()
  1842. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1843. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1844. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1845. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1846. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1847. end
  1848. for i = 1, 45 do
  1849. Swait()
  1850. RAY.Transparency = RAY.Transparency + 1/45
  1851. SPHERE.Transparency = RAY.Transparency
  1852. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1853. end
  1854. RAY:remove()
  1855. SHIELD:remove()
  1856. SPHERE:remove()
  1857. end))
  1858. ATTACK = false
  1859. Rooted = false
  1860. end
  1861.  
  1862. function ExplodeShot()
  1863. ATTACK = true
  1864. Rooted = false
  1865. for i=0, 0.05, 0.1 / Animation_Speed do
  1866. Swait()
  1867. turnto(Mouse.Hit.p)
  1868. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1869. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1870. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1871. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1872. 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)
  1873. 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)
  1874. end
  1875. repeat
  1876. for i=0, 0.05, 0.1 / Animation_Speed do
  1877. Swait()
  1878. turnto(Mouse.Hit.p)
  1879. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1880. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1881. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1882. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1883. 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)
  1884. 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)
  1885. end
  1886. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 999999, Character)
  1887. SpawnTrail(Hole.Position,POS)
  1888. CreateSound(2976822167, Character, 10, 1, false)
  1889. if HIT ~= nil then
  1890. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1891. Explode(HIT.Parent)
  1892. end
  1893. end
  1894. for i=0, 0.05, 0.1 / Animation_Speed do
  1895. Swait()
  1896. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1897. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1898. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1899. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1900. 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)
  1901. 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)
  1902. end
  1903. until KEYHOLD == false
  1904. ATTACK = false
  1905. Rooted = false
  1906. end
  1907.  
  1908. function SuperRainbowifedPunch()
  1909. turnto(Mouse.Hit.p)
  1910. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, BrickColor.Random(), "Punch", VT(50,50,50),false)
  1911. spawn(function() Rainbowify(PART) end)
  1912. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  1913. PART.Shape = "Ball"
  1914. local bv = Instance.new("BodyVelocity")
  1915. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1916. bv.velocity = RootPart.CFrame.lookVector*600
  1917. bv.Parent = PART
  1918. bv.Name = "PROJECTILEVELOCITY"
  1919. CreateWave(VT(7,9,7),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,BrickColor.Random(),VT(2.5,0.2,2.5))
  1920. CreateWave(VT(7,9,7),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,BrickColor.Random(),VT(3,0.2,3))
  1921. CreateSwirl(VT(8,13,8),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,BrickColor.Random(),VT(2,0.6,2))
  1922. CreateSwirl(VT(8,13,8),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,BrickColor.Random(),VT(2.2,0.6,2.2))
  1923. CFuncs["Sound"].Create("rbxassetid://438666141", Character, 3,1)
  1924. CFuncs["Sound"].Create("rbxassetid://1208650519", Character, 4, 1)
  1925. coroutine.resume(coroutine.create(function()
  1926. for i = 1, 10 do
  1927. PART.Transparency = PART.Transparency + 0.2/10
  1928. PART.Size = PART.Size + VT(15,15,15)
  1929. killnearest(PART.Position,PART.Size.Y/70+50,500,RootPart.CFrame)
  1930. end
  1931. PART:Destroy()
  1932. end))
  1933. for i=0, 0.05, 0.1 / Animation_Speed do
  1934. Swait()
  1935. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  1936. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  1937. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1938. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1939. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  1940. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  1941. end
  1942. end
  1943.  
  1944. function RainbowPunch()
  1945. turnto(Mouse.Hit.p)
  1946. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, BrickColor.Random(), "Punch", VT(50,50,50),false)
  1947. spawn(function() Rainbowify(PART) end)
  1948. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  1949. PART.Shape = "Ball"
  1950. local bv = Instance.new("BodyVelocity")
  1951. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1952. bv.velocity = RootPart.CFrame.lookVector*600
  1953. bv.Parent = PART
  1954. bv.Name = "PROJECTILEVELOCITY"
  1955. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,BrickColor.Random(),VT(2.5,0.2,2.5))
  1956. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,BrickColor.Random(),VT(3,0.2,3))
  1957. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,BrickColor.Random(),VT(2,0.6,2))
  1958. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,BrickColor.Random(),VT(2.2,0.6,2.2))
  1959. CFuncs["Sound"].Create("rbxassetid://438666141", Character, 3,1)
  1960. CFuncs["Sound"].Create("rbxassetid://1208650519", Character, 4, 1)
  1961. coroutine.resume(coroutine.create(function()
  1962. for i = 1, 10 do
  1963. Swait()
  1964. PART.Transparency = PART.Transparency + 0.2/10
  1965. PART.Size = PART.Size + VT(5,5,5)
  1966. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  1967. end
  1968. PART:Destroy()
  1969. end))
  1970. for i=0, 0.05, 0.1 / Animation_Speed do
  1971. Swait()
  1972. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  1973. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  1974. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1975. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1976. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  1977. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  1978. end
  1979. end
  1980.  
  1981. function BanishAll()
  1982. ATTACK = true
  1983. Rooted = true
  1984. chatfunc("I HAD ENOUGH!")
  1985. wait(2)
  1986. for _,v in pairs(game.Players:GetChildren()) do
  1987. Banish(v)
  1988. end
  1989. wait(2)
  1990. ATTACK = false
  1991. Rooted = false
  1992. end
  1993.  
  1994.  
  1995. function AttackTemplate()
  1996. ATTACK = true
  1997. Rooted = false
  1998. for i=0, 1, 0.1 / Animation_Speed do
  1999. Swait()
  2000. 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)
  2001. 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)
  2002. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2003. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2004. 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)
  2005. 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)
  2006. end
  2007. ATTACK = false
  2008. Rooted = false
  2009. end
  2010.  
  2011. function Mercy()
  2012. wait(0.5)
  2013. TOBANISH = {}
  2014. chatfunc(MERCYMESSAGES[MRANDOM(1,#MERCYMESSAGES)])
  2015. end
  2016.  
  2017. function Taunt()
  2018. ATTACK = true
  2019. Rooted = true
  2020. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)])
  2021. wait(1)
  2022. ATTACK = false
  2023. Rooted = false
  2024. end
  2025.  
  2026. --//=================================\\
  2027. --|| ASSIGN THINGS TO KEYS
  2028. --\\=================================//
  2029.  
  2030. function MouseDown(Mouse)
  2031. if ATTACK == false then
  2032. end
  2033. end
  2034.  
  2035. function MouseUp(Mouse)
  2036. HOLD = false
  2037. end
  2038.  
  2039. function KeyDown(Key)
  2040. KEYHOLD = true
  2041. if Key == "z" and ATTACK == false then
  2042. if Mode == "RH" then
  2043. Shot()
  2044. elseif Mode == "RC" then
  2045. KickShot()
  2046. end
  2047. end
  2048.  
  2049. if Key == "b" and ATTACK == false then
  2050. if Mode == "RH" then
  2051. BanShot()
  2052. elseif Mode == "RC" then
  2053. KickShot()
  2054. end
  2055. end
  2056.  
  2057. if Key == "c" and ATTACK == false then
  2058. KickShot()
  2059. end
  2060.  
  2061. if Key == "v" and ATTACK == false then
  2062. if Mode == "RH" then
  2063. RespawnShot()
  2064. elseif Mode == "RC" then
  2065. KickShot()
  2066. end
  2067. end
  2068.  
  2069. if Key == "x" and ATTACK == false then
  2070. Mercy()
  2071. end
  2072. if Key == "q" and ATTACK == false then
  2073. if Mode == "RH" then
  2074. ExplodeShot()
  2075. elseif Mode == "RC" then
  2076. KickShot()
  2077. end
  2078. end
  2079. if Key == "e" and ATTACK == false then
  2080. Warp()
  2081. end
  2082. if Key == "r" and ATTACK == false then
  2083. RainbowPunch()
  2084. end
  2085. if Key == "t" and ATTACK == false then
  2086. Taunt()
  2087. end
  2088. if Key == "k" and ATTACK == false then
  2089. BanishAll()
  2090. end
  2091. if Key == "h" and ATTACK == false then
  2092. Morning_Star()
  2093. end
  2094. if Key == "j" and ATTACK == false then
  2095. if Mode == "RH" then
  2096. tecks2.Text = "BRrokKen"
  2097. sick.SoundId = "rbxassetid://438591163"
  2098. Mode = "RC"
  2099. elseif Mode == "RC" then
  2100. tecks2.Text = "Rainbow Hell"
  2101. sick.SoundId = "rbxassetid://2264258418"
  2102. Mode = "RH"
  2103. end
  2104. end
  2105. if Key == "m" and ATTACK == false then
  2106. chatfunc("THIS IS..")
  2107. CFuncs["EchoSound"].Create("rbxassetid://1548599511", Character, 4.5, 1,0,10,0.15,0.5,1)
  2108. CFuncs["EchoSound"].Create("rbxassetid://1548599511", RootPart, 30, 1,0,10,0.15,0.5,1)
  2109. Focus4()
  2110. wait(1.9)
  2111. CFuncs["Sound"].Create("rbxassetid://1548599962", workspace, 10,1)
  2112. chatfunc("THE END!")
  2113. wait(1)
  2114. RainbowPunch()
  2115. SuperRainbowifedPunch()
  2116. FocusOnChar()
  2117. wait(1)
  2118. chatfunc("Learn from that.")
  2119. end
  2120. end
  2121.  
  2122. function KeyUp(Key)
  2123. KEYHOLD = false
  2124. end
  2125.  
  2126. Mouse.Button1Down:connect(function(NEWKEY)
  2127. MouseDown(NEWKEY)
  2128. end)
  2129. Mouse.Button1Up:connect(function(NEWKEY)
  2130. MouseUp(NEWKEY)
  2131. end)
  2132. Mouse.KeyDown:connect(function(NEWKEY)
  2133. KeyDown(NEWKEY)
  2134. end)
  2135. Mouse.KeyUp:connect(function(NEWKEY)
  2136. KeyUp(NEWKEY)
  2137. end)
  2138.  
  2139. --//=================================\\
  2140. --\\=================================//
  2141.  
  2142. Humanoid.Died:connect(function()
  2143. Humanoid.Parent = nil
  2144. Humanoid.MaxHealth = math.huge
  2145. Humanoid.Health = math.huge
  2146. refit()
  2147. Humanoid.Parent = Character
  2148. chatfunc("I wont die so easily.")
  2149. end)
  2150.  
  2151. function unanchor()
  2152. if UNANCHOR == true then
  2153. g = Character:GetChildren()
  2154. for i = 1, #g do
  2155. if g[i].ClassName == "Part" then
  2156. g[i].Anchored = false
  2157. end
  2158. end
  2159. end
  2160. end
  2161.  
  2162. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2163. v:Stop();
  2164. end
  2165.  
  2166. pcall(game.Destroy,Character:FindFirstChild'Animate')
  2167. pcall(game.Destroy,Humanoid:FindFirstChild'Animator')
  2168.  
  2169. --//=================================\\
  2170. --|| WRAP THE WHOLE SCRIPT UP
  2171. --\\=================================//
  2172.  
  2173. Humanoid.Changed:connect(function(Jump)
  2174. if Jump == "Jump" and (Disable_Jump == true) then
  2175. Humanoid.Jump = false
  2176. end
  2177. end)
  2178.  
  2179. local CONNECT = nil
  2180.  
  2181. while true do
  2182. Swait()
  2183. ANIMATE.Parent = nil
  2184. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2185. Humanoid = IT("Humanoid",Character)
  2186. end
  2187. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2188. v:Stop();
  2189. end
  2190. SINE = SINE + CHANGE
  2191. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2192. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2193. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2194. local WALKSPEEDVALUE = 3 / (Humanoid.WalkSpeed / 35)
  2195. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2196. 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)
  2197. 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)
  2198. 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)
  2199. 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)
  2200. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2201. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2202. 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)
  2203. 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)
  2204. 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)
  2205. end
  2206. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2207. ANIM = "Jump"
  2208. if ATTACK == false then
  2209. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2210. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2211. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2212. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2213. 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)
  2214. 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)
  2215. end
  2216. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2217. ANIM = "Fall"
  2218. if ATTACK == false then
  2219. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2220. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2221. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2222. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2223. 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)
  2224. 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)
  2225. end
  2226. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2227. ANIM = "Idle"
  2228. if ATTACK == false then
  2229. 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)
  2230. 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)
  2231. 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)
  2232. 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)
  2233. 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)
  2234. 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)
  2235. end
  2236. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2237. ANIM = "Walk"
  2238. if ATTACK == false then
  2239. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(15), RAD(0), RAD(-7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  2240. 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)
  2241. 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)
  2242. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(5), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2243. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2244. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2245. end
  2246. end
  2247. HALOWELD.C0 = Clerp(HALOWELD.C0, CF(0, 0, 0) * ANGLES(RAD(90 - 12 * SIN(SINE / 15)), RAD(-12 * COS(SINE / 15)), RAD(0)), 0.2)
  2248. STARWELD.C0 = Clerp(STARWELD.C0, CF(0, 0, 0) * ANGLES(RAD(90 - 16 * SIN(SINE / 20)), RAD(-16 * COS(SINE / 20)), RAD(0)), 0.2)
  2249. unanchor()
  2250. Humanoid.MaxHealth = math.huge
  2251. Humanoid.Health = math.huge
  2252. if Rooted == false then
  2253. Disable_Jump = false
  2254. Humanoid.WalkSpeed = Speed
  2255. elseif Rooted == true then
  2256. Disable_Jump = true
  2257. Humanoid.WalkSpeed = 0
  2258. end
  2259.  
  2260. sick.Parent = Torso
  2261. sick:resume()
  2262. sick.Volume = 1.5
  2263. sick.Looped = true
  2264. sick.Pitch = 1
  2265. sick.Name = "hello"
  2266. end
  2267.  
  2268. --//=================================\\
  2269. --\\=================================//
  2270.  
  2271.  
  2272. --//====================================================\\--
  2273. --|| END OF SCRIPT
  2274. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement