Advertisement
enzoflo1

Enz

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