Advertisement
Christoffer07700Extr

Rainbow Cream Not Really Rainbow

Jul 19th, 2019
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 198.92 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145. wait(1/60)
  146. print('Made by Slenercat5')-- yo m8 this is old but i figured why not re upload sense the old link broke
  147. print('Megumin')
  148. print('F for Hero Mode')
  149. print('Click to Use Explosion Magic')
  150.  
  151.  
  152. lerp = function(a, b, t)
  153.  
  154. return a + (b - a) * t
  155. end
  156. Lerp = function(c1, c2, al)
  157.  
  158. local com1 = {c1.X, c1.Y, c1.Z, c1:toEulerAnglesXYZ()}
  159. local com2 = {c2.X, c2.Y, c2.Z, c2:toEulerAnglesXYZ()}
  160. for i,v in pairs(com1) do
  161. com1[i] = v + (com2[i] - v) * al
  162. end
  163. return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1)))
  164. end
  165.  
  166. --//====================================================\\--
  167. --|| CREATED BY SHACKLUSTER
  168. --\\====================================================//--
  169. function sandbox(var,func)
  170. local env = getfenv(func)
  171. local newenv = setmetatable({},{
  172. __index = function(self,k)
  173. if k=="script" then
  174. return var
  175. else
  176. return env[k]
  177. end
  178. end,
  179. })
  180. setfenv(func,newenv)
  181. return func
  182. end
  183. cors = {}
  184. mas = Instance.new("Model",game:GetService("Lighting"))
  185. Sky0 = Instance.new("Sky")
  186. Sky0.Parent = mas
  187. Sky0.CelestialBodiesShown = false
  188. Sky0.SkyboxBk = "rbxassetid://"
  189. Sky0.SkyboxDn = "rbxassetid://"
  190. Sky0.SkyboxFt = "rbxassetid://"
  191. Sky0.SkyboxLf = "rbxassetid://"
  192. Sky0.SkyboxRt = "rbxassetid://"
  193. Sky0.SkyboxUp = "rbxassetid://"
  194. for i,v in pairs(mas:GetChildren()) do
  195. v.Parent = game:GetService("Lighting")
  196. pcall(function() v:MakeJoints() end)
  197. end
  198. mas:Destroy()
  199. for i,v in pairs(cors) do
  200. spawn(function()
  201. pcall(v)
  202. end)
  203. end
  204.  
  205. wait(0.2)
  206.  
  207. Player = game:GetService("Players").LocalPlayer
  208. PlayerGui = Player.PlayerGui
  209. Cam = workspace.CurrentCamera
  210. Backpack = Player.Backpack
  211. Character = Player.Character
  212. Humanoid = Character.Humanoid
  213. Mouse = Player:GetMouse()
  214. RootPart = Character["HumanoidRootPart"]
  215. Torso = Character["Torso"]
  216. Head = Character["Head"]
  217. RightArm = Character["Right Arm"]
  218. LeftArm = Character["Left Arm"]
  219. RightLeg = Character["Right Leg"]
  220. LeftLeg = Character["Left Leg"]
  221. RootJoint = RootPart["RootJoint"]
  222. Neck = Torso["Neck"]
  223. RightShoulder = Torso["Right Shoulder"]
  224. LeftShoulder = Torso["Left Shoulder"]
  225. RightHip = Torso["Right Hip"]
  226. LeftHip = Torso["Left Hip"]
  227. local TIME = 0
  228. local sick = Instance.new("Sound",Torso)
  229.  
  230. IT = Instance.new
  231. CF = CFrame.new
  232. VT = Vector3.new
  233. RAD = math.rad
  234. C3 = Color3.new
  235. UD2 = UDim2.new
  236. BRICKC = BrickColor.new
  237. ANGLES = CFrame.Angles
  238. EULER = CFrame.fromEulerAnglesXYZ
  239. COS = math.cos
  240. ACOS = math.acos
  241. SIN = math.sin
  242. ASIN = math.asin
  243. ABS = math.abs
  244. MRANDOM = math.random
  245. FLOOR = math.floor
  246.  
  247. --//=================================\\
  248. --|| USEFUL VALUES
  249. --\\=================================//
  250.  
  251. Animation_Speed = 3
  252. local FORCERESET = false
  253. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  254. local Speed = 16
  255. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  256. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  257. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  258. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  259. local DAMAGEMULTIPLIER = 1
  260. local ANIM = "Idle"
  261. local ATTACK = false
  262. local EQUIPPED = false
  263. local HOLD = false
  264. local COMBO = 1
  265. local Rooted = false
  266. local SINE = 0
  267. local KEYHOLD = false
  268. local CHANGE = 2 / Animation_Speed
  269. local WALKINGANIM = false
  270. local VALUE1 = false
  271. local VALUE2 = false
  272. local ROBLOXIDLEANIMATION = IT("Animation")
  273. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  274. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  275. --ROBLOXIDLEANIMATION.Parent = Humanoid
  276. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  277. WEAPONGUI.Name = "BanishV3Gui"
  278. local Weapon = IT("Model")
  279. Weapon.Name = "Adds"
  280. local Effects = IT("Folder", Weapon)
  281. Effects.Name = "Effects"
  282. local Gun = IT("Model")
  283. Gun.Name = "Gun"
  284. local ANIMATOR = Humanoid.Animator
  285. local ANIMATE = Character:FindFirstChild("Animate")
  286. local UNANCHOR = true
  287. local TOBANISH = {}
  288. script.Parent = PlayerGui
  289. local Boost = false
  290. local Player_Size = 1
  291. local SIZE = 1
  292. local WHITELIST = {}
  293. local Milk = false
  294. local VIS = 243281095
  295. local VOLUME = 1
  296. local PITCH = 1
  297. local INSTANT = false
  298. local INTRO = false
  299. local Chill = false
  300. local Mode = "idk"
  301.  
  302. VIS = 1138145518
  303. VOLUME = 1.5
  304. PITCH = 1
  305.  
  306. --//=================================\\
  307. --\\=================================//
  308.  
  309.  
  310. --//=================================\\
  311. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  312. --\\=================================//
  313.  
  314. ArtificialHB = Instance.new("BindableEvent", script)
  315. ArtificialHB.Name = "ArtificialHB"
  316.  
  317. script:WaitForChild("ArtificialHB")
  318.  
  319. frame = Frame_Speed
  320. tf = 0
  321. allowframeloss = false
  322. tossremainder = false
  323. lastframe = tick()
  324. script.ArtificialHB:Fire()
  325.  
  326. game:GetService("RunService").Heartbeat:connect(function(s, p)
  327. tf = tf + s
  328. if tf >= frame then
  329. if allowframeloss then
  330. script.ArtificialHB:Fire()
  331. lastframe = tick()
  332. else
  333. for i = 1, math.floor(tf / frame) do
  334. script.ArtificialHB:Fire()
  335. end
  336. lastframe = tick()
  337. end
  338. if tossremainder then
  339. tf = 0
  340. else
  341. tf = tf - frame * math.floor(tf / frame)
  342. end
  343. end
  344. end)
  345.  
  346. --//=================================\\
  347. --\\=================================//
  348.  
  349. --//=================================\\
  350. --|| SOME FUNCTIONS 2
  351. --\\=================================//
  352.  
  353. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  354. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  355. end
  356.  
  357. function PositiveAngle(NUMBER)
  358. if NUMBER >= 0 then
  359. NUMBER = 0
  360. end
  361. return NUMBER
  362. end
  363.  
  364. function NegativeAngle(NUMBER)
  365. if NUMBER <= 0 then
  366. NUMBER = 0
  367. end
  368. return NUMBER
  369. end
  370.  
  371. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  372. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  373. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  374. wave.CFrame = CFRAME
  375. coroutine.resume(coroutine.create(function(PART)
  376. for i = 1, WAIT do
  377. Swait()
  378. mesh.Scale = mesh.Scale + GROW
  379. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  380. if DOESROT == true then
  381. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  382. end
  383. wave.Transparency = wave.Transparency + 0.5 / WAIT
  384. if wave.Transparency > 0.99 then
  385. wave:remove()
  386. end
  387. end
  388. end))
  389. end
  390.  
  391. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  392. for _, c in pairs(PARENT:GetChildren()) do
  393. if c.ClassName == "Model" then
  394. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  395. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  396. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  397. if DIST > (TORSO.Position - FROM).Magnitude then
  398. table.insert(TABLE, c)
  399. end
  400. AddChildrenToTable(FROM, c, DIST, TABLE)
  401. elseif c.ClassName == "Folder" then
  402. AddChildrenToTable(FROM, c, DIST, TABLE)
  403. end
  404. end
  405. end
  406. end
  407.  
  408. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  409. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  410. local mesh
  411. if KIND == "Base" then
  412. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  413. elseif KIND == "Thin" then
  414. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  415. elseif KIND == "Round" then
  416. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  417. end
  418. wave.CFrame = CFRAME
  419. coroutine.resume(coroutine.create(function(PART)
  420. for i = 1, WAIT do
  421. Swait()
  422. mesh.Scale = mesh.Scale + GROW / 10
  423. wave.Transparency = wave.Transparency + 0.5 / WAIT
  424. if wave.Transparency > 0.99 then
  425. wave:remove()
  426. end
  427. end
  428. end))
  429. end
  430.  
  431. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  432. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  433. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  434. wave.CFrame = CFRAME
  435. coroutine.resume(coroutine.create(function(PART)
  436. for i = 1, WAIT do
  437. Swait()
  438. mesh.Scale = mesh.Scale + GROW
  439. wave.Transparency = wave.Transparency + 1 / WAIT
  440. if wave.Transparency > 0.99 then
  441. wave:remove()
  442. end
  443. end
  444. end))
  445. end
  446.  
  447. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  448. local TORSO = Torso
  449. local HUM = Humanoid
  450. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  451. coroutine.wrap(function()
  452. VT = Vector3.new
  453. MRANDOM = math.random
  454. local A = TIME
  455. local B = INTENSITY
  456. local C = true
  457. local HUMANOID = Humanoid
  458. local TIMER = A or 35
  459. local SHAKE = B or 5
  460. local FADE = C or true
  461. if HUMANOID then
  462. local FADER = SHAKE / TIMER
  463. for i = 1, TIMER do
  464. wait()
  465. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  466. end
  467. HUMANOID.CameraOffset = VT(0, 0, 0)
  468. end
  469.  
  470. end)()
  471. end
  472. end
  473.  
  474. function Effect(data)
  475. local FX = data.Effect or 'ResizeAndFade'
  476. local Parent = data.Parent or Effects
  477. local Color = data.Color or C3.N(0,0,0)
  478. local Size = data.Size or V3.N(1,1,1)
  479. local MoveDir = data.MoveDirection or nil
  480. local MeshData = data.Mesh or nil
  481. local SndData = data.Sound or nil
  482. local Frames = data.Frames or 45
  483. local Manual = data.Manual or nil
  484. local Material = data.Material or nil
  485. local CFra = data.CFrame or Torso.CFrame
  486. local Settings = data.FXSettings or {}
  487. local Snd,Prt,Msh;
  488. local Shape = data.Shape or Enum.PartType.Block
  489. coroutine.resume(coroutine.create(function()
  490. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  491. Prt = Manual
  492. else
  493. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  494. Prt.Shape = Shape
  495. end
  496. if(typeof(MeshData) == 'table')then
  497. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  498. elseif(typeof(MeshData) == 'Instance')then
  499. Msh = MeshData:Clone()
  500. Msh.Parent = Prt
  501. elseif(Shape == Enum.PartType.Block)then
  502. Msh = Mesh(Prt,Enum.MeshType.Brick)
  503. end
  504. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  505. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  506. end
  507. if(Snd)then
  508. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  509. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  510. end
  511. local MoveSpeed = nil;
  512. if(MoveDir)then
  513. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  514. end
  515. local Inc = M.RNG()-M.RNG()
  516. local Thingie = 0
  517. local Thingie2 = M.RNG(50,100)/100
  518. if(FX ~= 'Arc')then
  519. for i = 1, Frames do
  520. if(swait and typeof(swait) == 'function')then
  521. swait()
  522. else
  523. wait()
  524. end
  525. if(FX == 'ResizeAndFade')then
  526. if(not Settings.EndSize)then
  527. Settings.EndSize = V3.N(0,0,0)
  528. end
  529. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  530. if(Settings.EndIsIncrement)then
  531. Prt.Size = Prt.Size + Settings.EndSize
  532. else
  533. Prt.Size = Prt.Size - grow/Frames
  534. end
  535. Prt.Transparency = (i/Frames)
  536. elseif(FX == 'Fade')then
  537. Prt.Transparency = (i/Frames)
  538. end
  539.  
  540. if(Settings.RandomizeCFrame)then
  541. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  542. end
  543. if(MoveDir and MoveSpeed)then
  544. local Orientation = Prt.Orientation
  545. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  546. Prt.Orientation = Orientation
  547. end
  548. end
  549. Prt:destroy()
  550. else
  551. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  552. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  553. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  554. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  555. assert(start ~= nil,"You need to specify a start point!")
  556. assert(endP ~= nil,"You need to specify an end point!")
  557. for i = 0, 1, Settings.Speed or 0.01 do
  558. if(swait and typeof(swait) == 'function')then
  559. swait()
  560. else
  561. wait()
  562. end
  563. if(Settings.Home)then
  564. endP = Settings.Home.CFrame
  565. end
  566. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  567. end
  568. if(Settings.RemoveOnGoal)then
  569. Prt:destroy()
  570. end
  571. end
  572. end))
  573. return Prt,Msh,Snd
  574. end
  575.  
  576. function RightWing()
  577. for i = 1, 2 do
  578. local PART
  579. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  580. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(-15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-30 * i)), CF(0, 0, 0))
  581. table.insert(RWINGS, WingWeld)
  582. PART = Wing
  583. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  584. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0))
  585. PART = Wing
  586. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  587. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  588. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  589. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  590. PART = Wing
  591. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  592. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  593. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  594. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  595. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  596. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  597. PART = Wing
  598. table.insert(RWINGS, WingWeld)
  599. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  600. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  601. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  602. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  603. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  604. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  605. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  606. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0))
  607. PART = Wing
  608. table.insert(RWINGS, WingWeld)
  609. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  610. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  611. PART = Wing
  612. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  613. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0))
  614. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  615. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  616. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  617. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0))
  618. PART = Wing
  619. table.insert(RWINGS, WingWeld)
  620. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  621. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  622. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  623. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  624. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  625. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  626. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  627. table.insert(EYES, Wing1)
  628. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0))
  629. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  630. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  631. PART = Wing
  632. table.insert(RWINGS, WingWeld)
  633. end
  634. BODY = {}
  635. for _, c in pairs(Character:GetDescendants()) do
  636. if c:IsA("BasePart") then
  637. table.insert(BODY, {
  638. c,
  639. c.Parent,
  640. c.Material,
  641. c.Color
  642. })
  643. elseif c:IsA("JointInstance") then
  644. table.insert(BODY, {
  645. c,
  646. c.Parent,
  647. nil,
  648. nil
  649. })
  650. end
  651. end
  652. end
  653. function LeftWing()
  654. for i = 1, 2 do
  655. local PART
  656. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  657. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(-0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30 * i)), CF(0, 0, 0))
  658. table.insert(LWINGS, WingWeld)
  659. PART = Wing
  660. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  661. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0))
  662. PART = Wing
  663. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  664. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  665. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  666. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  667. PART = Wing
  668. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  669. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  670. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  671. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  672. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  673. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  674. PART = Wing
  675. table.insert(LWINGS, WingWeld)
  676. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  677. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  678. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  679. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  680. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  681. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  682. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  683. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0))
  684. PART = Wing
  685. table.insert(LWINGS, WingWeld)
  686. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  687. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  688. PART = Wing
  689. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  690. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0))
  691. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  692. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  693. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  694. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0))
  695. PART = Wing
  696. table.insert(LWINGS, WingWeld)
  697. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  698. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  699. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  700. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  701. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  702. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  703. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  704. table.insert(EYES, Wing1)
  705. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0))
  706. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  707. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  708. PART = Wing
  709. table.insert(LWINGS, WingWeld)
  710. end
  711. BODY = {}
  712. for _, c in pairs(Character:GetDescendants()) do
  713. if c:IsA("BasePart") then
  714. table.insert(BODY, {
  715. c,
  716. c.Parent,
  717. c.Material,
  718. c.Color
  719. })
  720. elseif c:IsA("JointInstance") then
  721. table.insert(BODY, {
  722. c,
  723. c.Parent,
  724. nil,
  725. nil
  726. })
  727. end
  728. end
  729. end
  730.  
  731. function Swait(NUMBER)
  732. if NUMBER == 0 or NUMBER == nil then
  733. ArtificialHB.Event:wait()
  734. else
  735. for i = 1, NUMBER do
  736. ArtificialHB.Event:wait()
  737. end
  738. end
  739. end
  740.  
  741. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  742. local NEWMESH = IT(MESH)
  743. if MESH == "SpecialMesh" then
  744. NEWMESH.MeshType = MESHTYPE
  745. if MESHID ~= "nil" and MESHID ~= "" then
  746. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  747. end
  748. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  749. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  750. end
  751. end
  752. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  753. NEWMESH.Scale = SCALE
  754. NEWMESH.Parent = PARENT
  755. return NEWMESH
  756. end
  757.  
  758. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  759. local NEWPART = IT("Part")
  760. NEWPART.formFactor = FORMFACTOR
  761. NEWPART.Reflectance = REFLECTANCE
  762. NEWPART.Transparency = TRANSPARENCY
  763. NEWPART.CanCollide = false
  764. NEWPART.Locked = true
  765. NEWPART.Anchored = true
  766. if ANCHOR == false then
  767. NEWPART.Anchored = false
  768. end
  769. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  770. NEWPART.Name = NAME
  771. NEWPART.Size = SIZE
  772. NEWPART.Position = Torso.Position
  773. NEWPART.Material = MATERIAL
  774. NEWPART:BreakJoints()
  775. NEWPART.Parent = PARENT
  776. return NEWPART
  777. end
  778.  
  779. local function weldBetween(a, b)
  780. local weldd = Instance.new("ManualWeld")
  781. weldd.Part0 = a
  782. weldd.Part1 = b
  783. weldd.C0 = CFrame.new()
  784. weldd.C1 = b.CFrame:inverse() * a.CFrame
  785. weldd.Parent = a
  786. return weldd
  787. end
  788.  
  789.  
  790. function QuaternionFromCFrame(cf)
  791. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  792. local trace = m00 + m11 + m22
  793. if trace > 0 then
  794. local s = math.sqrt(1 + trace)
  795. local recip = 0.5 / s
  796. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  797. else
  798. local i = 0
  799. if m11 > m00 then
  800. i = 1
  801. end
  802. if m22 > (i == 0 and m00 or m11) then
  803. i = 2
  804. end
  805. if i == 0 then
  806. local s = math.sqrt(m00 - m11 - m22 + 1)
  807. local recip = 0.5 / s
  808. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  809. elseif i == 1 then
  810. local s = math.sqrt(m11 - m22 - m00 + 1)
  811. local recip = 0.5 / s
  812. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  813. elseif i == 2 then
  814. local s = math.sqrt(m22 - m00 - m11 + 1)
  815. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  816. end
  817. end
  818. end
  819.  
  820. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  821. local xs, ys, zs = x + x, y + y, z + z
  822. local wx, wy, wz = w * xs, w * ys, w * zs
  823. local xx = x * xs
  824. local xy = x * ys
  825. local xz = x * zs
  826. local yy = y * ys
  827. local yz = y * zs
  828. local zz = z * zs
  829. 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))
  830. end
  831.  
  832. function QuaternionSlerp(a, b, t)
  833. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  834. local startInterp, finishInterp;
  835. if cosTheta >= 0.0001 then
  836. if (1 - cosTheta) > 0.0001 then
  837. local theta = ACOS(cosTheta)
  838. local invSinTheta = 1 / SIN(theta)
  839. startInterp = SIN((1 - t) * theta) * invSinTheta
  840. finishInterp = SIN(t * theta) * invSinTheta
  841. else
  842. startInterp = 1 - t
  843. finishInterp = t
  844. end
  845. else
  846. if (1 + cosTheta) > 0.0001 then
  847. local theta = ACOS(-cosTheta)
  848. local invSinTheta = 1 / SIN(theta)
  849. startInterp = SIN((t - 1) * theta) * invSinTheta
  850. finishInterp = SIN(t * theta) * invSinTheta
  851. else
  852. startInterp = t - 1
  853. finishInterp = t
  854. end
  855. end
  856. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  857. end
  858.  
  859. function Clerp(a, b, t)
  860. local qa = {QuaternionFromCFrame(a)}
  861. local qb = {QuaternionFromCFrame(b)}
  862. local ax, ay, az = a.x, a.y, a.z
  863. local bx, by, bz = b.x, b.y, b.z
  864. local _t = 1 - t
  865. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  866. end
  867.  
  868. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  869. local frame = IT("Frame")
  870. frame.BackgroundTransparency = TRANSPARENCY
  871. frame.BorderSizePixel = BORDERSIZEPIXEL
  872. frame.Position = POSITION
  873. frame.Size = SIZE
  874. frame.BackgroundColor3 = COLOR
  875. frame.BorderColor3 = BORDERCOLOR
  876. frame.Name = NAME
  877. frame.Parent = PARENT
  878. return frame
  879. end
  880.  
  881. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  882. local label = IT("TextLabel")
  883. label.BackgroundTransparency = 1
  884. label.Size = UD2(1, 0, 1, 0)
  885. label.Position = UD2(0, 0, 0, 0)
  886. label.TextColor3 = TEXTCOLOR
  887. label.TextStrokeTransparency = STROKETRANSPARENCY
  888. label.TextTransparency = TRANSPARENCY
  889. label.FontSize = TEXTFONTSIZE
  890. label.Font = TEXTFONT
  891. label.BorderSizePixel = BORDERSIZEPIXEL
  892. label.TextScaled = false
  893. label.Text = TEXT
  894. label.Name = NAME
  895. label.Parent = PARENT
  896. return label
  897. end
  898.  
  899. function NoOutlines(PART)
  900. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  901. end
  902.  
  903. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  904. local NEWWELD = IT(TYPE)
  905. NEWWELD.Part0 = PART0
  906. NEWWELD.Part1 = PART1
  907. NEWWELD.C0 = C0
  908. NEWWELD.C1 = C1
  909. NEWWELD.Parent = PARENT
  910. return NEWWELD
  911. end
  912.  
  913. local S = IT("Sound")
  914. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  915. local NEWSOUND = nil
  916. coroutine.resume(coroutine.create(function()
  917. NEWSOUND = S:Clone()
  918. NEWSOUND.Parent = PARENT
  919. NEWSOUND.Volume = VOLUME
  920. NEWSOUND.Pitch = PITCH
  921. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  922. NEWSOUND:play()
  923. if DOESLOOP == true then
  924. NEWSOUND.Looped = true
  925. else
  926. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  927. NEWSOUND:remove()
  928. end
  929. end))
  930. return NEWSOUND
  931. end
  932.  
  933. function CFrameFromTopBack(at, top, back)
  934. local right = top:Cross(back)
  935. 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)
  936. end
  937.  
  938. --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  939. function Lightning(Table)
  940. local Color = Table.Color or C3(1,1,1)
  941. local StartPos = Table.Start or Torso.Position
  942. local EndPos = Table.End or Mouse.Hit.p
  943. local SegmentLength = Table.SegmentL or 2
  944. local Thickness = Table.Thickness or 0.1
  945. local Dissapear = Table.DoesFade or false
  946. local Parent = Table.Ignore or Character
  947. local MaxDist = Table.MaxDist or 400
  948. local Branches = Table.Branches or false
  949. local Thicken = Table.Thicken or false
  950. local FadeTime = Table.FadeTime or 15
  951. local FadeIn = Table.FadeIn or false
  952. local Material = Table.Material or "Neon"
  953. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  954. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  955. local LIGHTNINGMODEL = IT("Model",Effects)
  956. LIGHTNINGMODEL.Name = "Lightning"
  957. local LastBolt = nil
  958. for E = 1, DISTANCE do
  959. local ExtraSize = 0
  960. if Thicken == true then
  961. ExtraSize = (DISTANCE-E)/15
  962. end
  963. local TRANSPARENCY = 0
  964. if FadeIn == true then
  965. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  966. if TRANSPARENCY < 0 then
  967. TRANSPARENCY = 0
  968. end
  969. end
  970. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  971. PART.Color = Color
  972. MakeForm(PART,"Cyl")
  973. if LastBolt == nil then
  974. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  975. else
  976. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  977. end
  978. LastBolt = PART
  979. if Branches == true and E < (DISTANCE-5) then
  980. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  981. if CHOICE == 1 then
  982. local LASTBRANCH = nil
  983. for i = 1, MRANDOM(2,5) do
  984. local ExtraSize2 = 0
  985. if Thicken == true then
  986. ExtraSize = ((DISTANCE-E)/25)/i
  987. end
  988. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  989. PART.Color = Color
  990. MakeForm(PART,"Cyl")
  991. if LASTBRANCH == nil then
  992. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  993. else
  994. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  995. end
  996. LASTBRANCH = PART
  997. end
  998. end
  999. end
  1000. end
  1001. if Dissapear == true then
  1002. coroutine.resume(coroutine.create(function()
  1003. for i = 1, FadeTime do
  1004. Swait()
  1005. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  1006. if c.ClassName == "Part" then
  1007. c.Transparency = c.Transparency + (i/FadeTime)/10
  1008. end
  1009. end
  1010. end
  1011. LIGHTNINGMODEL:remove()
  1012. end))
  1013. elseif Dissapear == false then
  1014. Debris:AddItem(LIGHTNINGMODEL,0.1)
  1015. end
  1016. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  1017. end
  1018.  
  1019. --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})
  1020. local cR=255
  1021. local cG=0
  1022. local cB=0
  1023. local flg5=1 local omgidk=1
  1024. local add=15
  1025. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1026. if omgidk>10000 then omgidk=0 end
  1027. omgidk=omgidk+1
  1028. if cR>=255 then flg5=1 end
  1029. if cG>=255 then flg5=2 end
  1030. if cB>=255 then flg5=3 end
  1031. if flg5==1 then cR=cR-add cG=cG+add end
  1032. if flg5==2 then cG=cG-add cB=cB+add end
  1033. if flg5==3 then cB=cB-add cR=cR+add end
  1034. color=Color3.fromRGB(cR,cG,cB)
  1035. function WACKYEFFECT(Table)
  1036. local TYPE = (Table.EffectType or "Sphere")
  1037. local SIZE = (Table.Size or VT(6,6,6))
  1038. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  1039. local TRANSPARENCY = (Table.Transparency or 0)
  1040. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1041. local CFRAME = (Table.CFrame or Torso.CFrame)
  1042. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1043. local ROTATION1 = (Table.RotationX or 0)
  1044. local ROTATION2 = (Table.RotationY or 0)
  1045. local ROTATION3 = (Table.RotationZ or 0)
  1046. local MATERIAL = "Neon"
  1047. local COLOR = color
  1048. local TIME = (Table.Time or 45)
  1049. local SOUNDID = (Table.SoundID or nil)
  1050. local SOUNDPITCH = (Table.SoundPitch or nil)
  1051. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1052. coroutine.resume(coroutine.create(function()
  1053. local PLAYSSOUND = false
  1054. local SOUND = nil
  1055. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1056. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1057. PLAYSSOUND = true
  1058. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1059. end
  1060. EFFECT.Color = color
  1061. local MSH = nil
  1062. if TYPE == "Sphere" then
  1063. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1064. elseif TYPE == "Block" then
  1065. MSH = IT("BlockMesh",EFFECT)
  1066. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1067. elseif TYPE == "Wave" then
  1068. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1069. elseif TYPE == "Ring" then
  1070. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1071. elseif TYPE == "Slash" then
  1072. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1073. elseif TYPE == "Round Slash" then
  1074. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1075. elseif TYPE == "Swirl" then
  1076. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1077. elseif TYPE == "Skull" then
  1078. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1079. elseif TYPE == "Crystal" then
  1080. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1081. end
  1082. if MSH ~= nil then
  1083. local MOVESPEED = nil
  1084. if MOVEDIRECTION ~= nil then
  1085. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1086. end
  1087. local GROWTH = SIZE - ENDSIZE
  1088. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1089. if TYPE == "Block" then
  1090. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1091. else
  1092. EFFECT.CFrame = CFRAME
  1093. end
  1094. for LOOP = 1, TIME+1 do
  1095. Swait()
  1096. MSH.Scale = MSH.Scale - GROWTH/TIME
  1097. if TYPE == "Wave" then
  1098. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1099. end
  1100. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1101. if TYPE == "Block" then
  1102. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1103. else
  1104. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1105. end
  1106. if MOVEDIRECTION ~= nil then
  1107. local ORI = EFFECT.Orientation
  1108. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1109. EFFECT.Orientation = ORI
  1110. end
  1111. end
  1112. if PLAYSSOUND == false then
  1113. EFFECT:remove()
  1114. else
  1115. SOUND.Stopped:Connect(function()
  1116. EFFECT:remove()
  1117. end)
  1118. end
  1119. else
  1120. if PLAYSSOUND == false then
  1121. EFFECT:remove()
  1122. else
  1123. repeat Swait() until SOUND.Playing == false
  1124. EFFECT:remove()
  1125. end
  1126. end
  1127. end))
  1128. end
  1129. end)
  1130. function MakeForm(PART,TYPE)
  1131. if TYPE == "Cyl" then
  1132. local MSH = IT("CylinderMesh",PART)
  1133. elseif TYPE == "Ball" then
  1134. local MSH = IT("SpecialMesh",PART)
  1135. MSH.MeshType = "Sphere"
  1136. elseif TYPE == "Wedge" then
  1137. local MSH = IT("SpecialMesh",PART)
  1138. MSH.MeshType = "Wedge"
  1139. end
  1140. end
  1141. function SpawnTrail(FROM,TO,BIG)
  1142. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  1143. MakeForm(TRAIL,"Cyl")
  1144. local cR=255
  1145. local cG=0
  1146. local cB=0
  1147. local flg5=1 local omgidk=1
  1148. local add=15
  1149. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1150. if omgidk>10000 then omgidk=0 end
  1151. omgidk=omgidk+1
  1152. if cR>=255 then flg5=1 end
  1153. if cG>=255 then flg5=2 end
  1154. if cB>=255 then flg5=3 end
  1155. if flg5==1 then cR=cR-add cG=cG+add end
  1156. if flg5==2 then cG=cG-add cB=cB+add end
  1157. if flg5==3 then cB=cB-add cR=cR+add end
  1158. color=Color3.fromRGB(cR,cG,cB)
  1159. TRAIL.Color = color
  1160. end)
  1161. local DIST = (FROM - TO).Magnitude
  1162. if BIG == true then
  1163. TRAIL.Size = VT(5,DIST,5)
  1164. else
  1165. TRAIL.Size = VT(5,DIST,5)
  1166. end
  1167. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1168. coroutine.resume(coroutine.create(function()
  1169. for i = 1, 55 do
  1170. Swait()
  1171. TRAIL.Transparency = TRAIL.Transparency + 0.01
  1172. end
  1173. TRAIL:remove()
  1174. end))
  1175. end
  1176.  
  1177. Debris = game:GetService("Debris")
  1178.  
  1179. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1180. local DIRECTION = CF(StartPos,EndPos).lookVector
  1181. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1182. end
  1183.  
  1184. function turnto(position)
  1185. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1186. end
  1187.  
  1188.  
  1189. --//=================================\\
  1190. --|| SOME FUNCTIONS
  1191. --\\=================================//
  1192.  
  1193. Debris = game:GetService("Debris")
  1194.  
  1195. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1196. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1197. end
  1198.  
  1199. function PositiveAngle(NUMBER)
  1200. if NUMBER >= 0 then
  1201. NUMBER = 0
  1202. end
  1203. return NUMBER
  1204. end
  1205.  
  1206. function NegativeAngle(NUMBER)
  1207. if NUMBER <= 0 then
  1208. NUMBER = 0
  1209. end
  1210. return NUMBER
  1211. end
  1212.  
  1213. function Swait(NUMBER)
  1214. if NUMBER == 0 or NUMBER == nil then
  1215. ArtificialHB.Event:wait()
  1216. else
  1217. for i = 1, NUMBER do
  1218. ArtificialHB.Event:wait()
  1219. end
  1220. end
  1221. end
  1222.  
  1223. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1224. local NEWMESH = IT(MESH)
  1225. if MESH == "SpecialMesh" then
  1226. NEWMESH.MeshType = MESHTYPE
  1227. if MESHID ~= "nil" and MESHID ~= "" then
  1228. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1229. end
  1230. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1231. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1232. end
  1233. end
  1234. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1235. NEWMESH.Scale = SCALE
  1236. NEWMESH.Parent = PARENT
  1237. return NEWMESH
  1238. end
  1239.  
  1240. local Create = LoadLibrary("RbxUtility").Create
  1241.  
  1242. function RemoveOutlines(part)
  1243. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1244. end
  1245.  
  1246. CFuncs = {
  1247. ["Part"] = {
  1248. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1249. local Part = Create("Part"){
  1250. Parent = Parent,
  1251. Reflectance = Reflectance,
  1252. Transparency = Transparency,
  1253. CanCollide = false,
  1254. Locked = true,
  1255. BrickColor = BrickColor.new(tostring(BColor)),
  1256. Name = Name,
  1257. Size = Size,
  1258. Material = Material,
  1259. }
  1260. RemoveOutlines(Part)
  1261. return Part
  1262. end;
  1263. };
  1264.  
  1265. ["Mesh"] = {
  1266. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1267. local Msh = Create(Mesh){
  1268. Parent = Part,
  1269. Offset = OffSet,
  1270. Scale = Scale,
  1271. }
  1272. if Mesh == "SpecialMesh" then
  1273. Msh.MeshType = MeshType
  1274. Msh.MeshId = MeshId
  1275. end
  1276. return Msh
  1277. end;
  1278. };
  1279.  
  1280. ["Mesh"] = {
  1281. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1282. local Msh = Create(Mesh){
  1283. Parent = Part,
  1284. Offset = OffSet,
  1285. Scale = Scale,
  1286. }
  1287. if Mesh == "SpecialMesh" then
  1288. Msh.MeshType = MeshType
  1289. Msh.MeshId = MeshId
  1290. end
  1291. return Msh
  1292. end;
  1293. };
  1294.  
  1295. ["Weld"] = {
  1296. Create = function(Parent, Part0, Part1, C0, C1)
  1297. local Weld = Create("Weld"){
  1298. Parent = Parent,
  1299. Part0 = Part0,
  1300. Part1 = Part1,
  1301. C0 = C0,
  1302. C1 = C1,
  1303. }
  1304. return Weld
  1305. end;
  1306. };
  1307.  
  1308. ["Sound"] = {
  1309. Create = function(id, par, vol, pit)
  1310. coroutine.resume(coroutine.create(function()
  1311. local S = Create("Sound"){
  1312. Volume = vol,
  1313. Name = "EffectSoundo",
  1314. Pitch = pit or 1,
  1315. SoundId = id,
  1316. Parent = par or workspace,
  1317. }
  1318. wait()
  1319. S:play()
  1320. game:GetService("Debris"):AddItem(S, 10)
  1321. end))
  1322. end;
  1323. };
  1324.  
  1325. ["TimeSound"] = {
  1326. Create = function(id, par, vol, pit, timepos)
  1327. coroutine.resume(coroutine.create(function()
  1328. local S = Create("Sound"){
  1329. Volume = vol,
  1330. Name = "EffectSoundo",
  1331. Pitch = pit or 1,
  1332. SoundId = id,
  1333. TimePosition = timepos,
  1334. Parent = par or workspace,
  1335. }
  1336. wait()
  1337. S:play()
  1338. game:GetService("Debris"):AddItem(S, 10)
  1339. end))
  1340. end;
  1341. };
  1342. ["EchoSound"] = {
  1343. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  1344. coroutine.resume(coroutine.create(function()
  1345. local Sas = Create("Sound"){
  1346. Volume = vol,
  1347. Name = "EffectSoundo",
  1348. Pitch = pit or 1,
  1349. SoundId = id,
  1350. TimePosition = timepos,
  1351. Parent = par or workspace,
  1352. }
  1353. local E = Create("EchoSoundEffect"){
  1354. Delay = echodelay,
  1355. Name = "Echo",
  1356. Feedback = fedb,
  1357. DryLevel = dryl,
  1358. Parent = Sas,
  1359. }
  1360. wait()
  1361. Sas:play()
  1362. game:GetService("Debris"):AddItem(Sas, delays)
  1363. end))
  1364. end;
  1365. };
  1366.  
  1367. ["LongSound"] = {
  1368. Create = function(id, par, vol, pit)
  1369. coroutine.resume(coroutine.create(function()
  1370. local S = Create("Sound"){
  1371. Volume = vol,
  1372. Pitch = pit or 1,
  1373. SoundId = id,
  1374. Parent = par or workspace,
  1375. }
  1376. wait()
  1377. S:play()
  1378. game:GetService("Debris"):AddItem(S, 60)
  1379. end))
  1380. end;
  1381. };
  1382.  
  1383. ["ParticleEmitter"] = {
  1384. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1385. local fp = Create("ParticleEmitter"){
  1386. Parent = Parent,
  1387. Color = ColorSequence.new(Color1, Color2),
  1388. LightEmission = LightEmission,
  1389. Size = Size,
  1390. Texture = Texture,
  1391. Transparency = Transparency,
  1392. ZOffset = ZOffset,
  1393. Acceleration = Accel,
  1394. Drag = Drag,
  1395. LockedToPart = LockedToPart,
  1396. VelocityInheritance = VelocityInheritance,
  1397. EmissionDirection = EmissionDirection,
  1398. Enabled = Enabled,
  1399. Lifetime = LifeTime,
  1400. Rate = Rate,
  1401. Rotation = Rotation,
  1402. RotSpeed = RotSpeed,
  1403. Speed = Speed,
  1404. VelocitySpread = VelocitySpread,
  1405. }
  1406. return fp
  1407. end;
  1408. };
  1409.  
  1410. CreateTemplate = {
  1411.  
  1412. };
  1413. }
  1414.  
  1415. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1416. local NEWPART = IT("Part")
  1417. NEWPART.formFactor = FORMFACTOR
  1418. NEWPART.Reflectance = REFLECTANCE
  1419. NEWPART.Transparency = TRANSPARENCY
  1420. NEWPART.CanCollide = false
  1421. NEWPART.Locked = true
  1422. NEWPART.Anchored = true
  1423. if ANCHOR == false then
  1424. NEWPART.Anchored = false
  1425. end
  1426. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1427. NEWPART.Name = NAME
  1428. NEWPART.Size = SIZE
  1429. NEWPART.Position = Torso.Position
  1430. NEWPART.Material = MATERIAL
  1431. NEWPART:BreakJoints()
  1432. NEWPART.Parent = PARENT
  1433. return NEWPART
  1434. end
  1435.  
  1436. local function weldBetween(a, b)
  1437. local weldd = Instance.new("ManualWeld")
  1438. weldd.Part0 = a
  1439. weldd.Part1 = b
  1440. weldd.C0 = CFrame.new()
  1441. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1442. weldd.Parent = a
  1443. return weldd
  1444. end
  1445.  
  1446.  
  1447. function QuaternionFromCFrame(cf)
  1448. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1449. local trace = m00 + m11 + m22
  1450. if trace > 0 then
  1451. local s = math.sqrt(1 + trace)
  1452. local recip = 0.5 / s
  1453. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1454. else
  1455. local i = 0
  1456. if m11 > m00 then
  1457. i = 1
  1458. end
  1459. if m22 > (i == 0 and m00 or m11) then
  1460. i = 2
  1461. end
  1462. if i == 0 then
  1463. local s = math.sqrt(m00 - m11 - m22 + 1)
  1464. local recip = 0.5 / s
  1465. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1466. elseif i == 1 then
  1467. local s = math.sqrt(m11 - m22 - m00 + 1)
  1468. local recip = 0.5 / s
  1469. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1470. elseif i == 2 then
  1471. local s = math.sqrt(m22 - m00 - m11 + 1)
  1472. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1473. end
  1474. end
  1475. end
  1476.  
  1477. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1478. local xs, ys, zs = x + x, y + y, z + z
  1479. local wx, wy, wz = w * xs, w * ys, w * zs
  1480. local xx = x * xs
  1481. local xy = x * ys
  1482. local xz = x * zs
  1483. local yy = y * ys
  1484. local yz = y * zs
  1485. local zz = z * zs
  1486. 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))
  1487. end
  1488.  
  1489. function QuaternionSlerp(a, b, t)
  1490. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1491. local startInterp, finishInterp;
  1492. if cosTheta >= 0.0001 then
  1493. if (1 - cosTheta) > 0.0001 then
  1494. local theta = ACOS(cosTheta)
  1495. local invSinTheta = 1 / SIN(theta)
  1496. startInterp = SIN((1 - t) * theta) * invSinTheta
  1497. finishInterp = SIN(t * theta) * invSinTheta
  1498. else
  1499. startInterp = 1 - t
  1500. finishInterp = t
  1501. end
  1502. else
  1503. if (1 + cosTheta) > 0.0001 then
  1504. local theta = ACOS(-cosTheta)
  1505. local invSinTheta = 1 / SIN(theta)
  1506. startInterp = SIN((t - 1) * theta) * invSinTheta
  1507. finishInterp = SIN(t * theta) * invSinTheta
  1508. else
  1509. startInterp = t - 1
  1510. finishInterp = t
  1511. end
  1512. end
  1513. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  1514. end
  1515.  
  1516. function Clerp(a, b, t)
  1517. local qa = {QuaternionFromCFrame(a)}
  1518. local qb = {QuaternionFromCFrame(b)}
  1519. local ax, ay, az = a.x, a.y, a.z
  1520. local bx, by, bz = b.x, b.y, b.z
  1521. local _t = 1 - t
  1522. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1523. end
  1524.  
  1525. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1526. local frame = IT("Frame")
  1527. frame.BackgroundTransparency = TRANSPARENCY
  1528. frame.BorderSizePixel = BORDERSIZEPIXEL
  1529. frame.Position = POSITION
  1530. frame.Size = SIZE
  1531. frame.BackgroundColor3 = COLOR
  1532. frame.BorderColor3 = BORDERCOLOR
  1533. frame.Name = NAME
  1534. frame.Parent = PARENT
  1535. return frame
  1536. end
  1537.  
  1538. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1539. local label = IT("TextLabel")
  1540. label.BackgroundTransparency = 1
  1541. label.Size = UD2(1, 0, 1, 0)
  1542. label.Position = UD2(0, 0, 0, 0)
  1543. label.TextColor3 = TEXTCOLOR
  1544. label.TextStrokeTransparency = STROKETRANSPARENCY
  1545. label.TextTransparency = TRANSPARENCY
  1546. label.FontSize = TEXTFONTSIZE
  1547. label.Font = TEXTFONT
  1548. label.BorderSizePixel = BORDERSIZEPIXEL
  1549. label.TextScaled = false
  1550. label.Text = TEXT
  1551. label.Name = NAME
  1552. label.Parent = PARENT
  1553. return label
  1554. end
  1555.  
  1556. function NoOutlines(PART)
  1557. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1558. end
  1559.  
  1560. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1561. local NEWWELD = IT(TYPE)
  1562. NEWWELD.Part0 = PART0
  1563. NEWWELD.Part1 = PART1
  1564. NEWWELD.C0 = C0
  1565. NEWWELD.C1 = C1
  1566. NEWWELD.Parent = PARENT
  1567. return NEWWELD
  1568. end
  1569.  
  1570. local S = IT("Sound")
  1571. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1572. local NEWSOUND = nil
  1573. coroutine.resume(coroutine.create(function()
  1574. NEWSOUND = S:Clone()
  1575. NEWSOUND.Parent = PARENT
  1576. NEWSOUND.Volume = VOLUME
  1577. NEWSOUND.Pitch = PITCH
  1578. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1579. NEWSOUND:play()
  1580. if DOESLOOP == true then
  1581. NEWSOUND.Looped = true
  1582. else
  1583. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  1584. NEWSOUND:remove()
  1585. end
  1586. end))
  1587. return NEWSOUND
  1588. end
  1589.  
  1590. function CFrameFromTopBack(at, top, back)
  1591. local right = top:Cross(back)
  1592. 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)
  1593. end
  1594.  
  1595. --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})
  1596. function WACKYEFFECT(Table)
  1597. local TYPE = (Table.EffectType or "Sphere")
  1598. local SIZE = (Table.Size or VT(1,1,1))
  1599. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1600. local TRANSPARENCY = (Table.Transparency or 0)
  1601. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1602. local CFRAME = (Table.CFrame or Torso.CFrame)
  1603. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1604. local ROTATION1 = (Table.RotationX or 0)
  1605. local ROTATION2 = (Table.RotationY or 0)
  1606. local ROTATION3 = (Table.RotationZ or 0)
  1607. local MATERIAL = (Table.Material or "Neon")
  1608. local COLOR = (Table.Color or C3(1,1,1))
  1609. local TIME = (Table.Time or 45)
  1610. local SOUNDID = (Table.SoundID or nil)
  1611. local SOUNDPITCH = (Table.SoundPitch or nil)
  1612. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1613. coroutine.resume(coroutine.create(function()
  1614. local PLAYSSOUND = false
  1615. local SOUND = nil
  1616. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1617. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1618. PLAYSSOUND = true
  1619. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1620. end
  1621. EFFECT.Color = COLOR
  1622. local MSH = nil
  1623. if TYPE == "Sphere" then
  1624. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1625. elseif TYPE == "Block" then
  1626. MSH = IT("BlockMesh",EFFECT)
  1627. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1628. elseif TYPE == "Wave" then
  1629. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1630. elseif TYPE == "Ring" then
  1631. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1632. elseif TYPE == "Slash" then
  1633. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1634. elseif TYPE == "Round Slash" then
  1635. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1636. elseif TYPE == "Swirl" then
  1637. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1638. elseif TYPE == "Skull" then
  1639. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1640. elseif TYPE == "Crystal" then
  1641. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1642. end
  1643. if MSH ~= nil then
  1644. local MOVESPEED = nil
  1645. if MOVEDIRECTION ~= nil then
  1646. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1647. end
  1648. local GROWTH = SIZE - ENDSIZE
  1649. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1650. if TYPE == "Block" then
  1651. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1652. else
  1653. EFFECT.CFrame = CFRAME
  1654. end
  1655. for LOOP = 1, TIME+1 do
  1656. Swait()
  1657. MSH.Scale = MSH.Scale - GROWTH/TIME
  1658. if TYPE == "Wave" then
  1659. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1660. end
  1661. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1662. if TYPE == "Block" then
  1663. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1664. else
  1665. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1666. end
  1667. if MOVEDIRECTION ~= nil then
  1668. local ORI = EFFECT.Orientation
  1669. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1670. EFFECT.Orientation = ORI
  1671. end
  1672. end
  1673. if PLAYSSOUND == false then
  1674. EFFECT:remove()
  1675. else
  1676. SOUND.Stopped:Connect(function()
  1677. EFFECT:remove()
  1678. end)
  1679. end
  1680. else
  1681. if PLAYSSOUND == false then
  1682. EFFECT:remove()
  1683. else
  1684. repeat Swait() until SOUND.Playing == false
  1685. EFFECT:remove()
  1686. end
  1687. end
  1688. end))
  1689. end
  1690.  
  1691. function MakeForm(PART,TYPE)
  1692. if TYPE == "Cyl" then
  1693. local MSH = IT("CylinderMesh",PART)
  1694. elseif TYPE == "Ball" then
  1695. local MSH = IT("SpecialMesh",PART)
  1696. MSH.MeshType = "Sphere"
  1697. elseif TYPE == "Wedge" then
  1698. local MSH = IT("SpecialMesh",PART)
  1699. MSH.MeshType = "Wedge"
  1700. end
  1701. end
  1702.  
  1703. function SpawnTrail(FROM,TO,BIG)
  1704. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  1705. MakeForm(TRAIL,"Cyl")
  1706. local DIST = (FROM - TO).Magnitude
  1707. if BIG == true then
  1708. TRAIL.Size = VT(0.5,DIST,0.5)
  1709. else
  1710. TRAIL.Size = VT(0.25,DIST,0.25)
  1711. end
  1712. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1713. coroutine.resume(coroutine.create(function()
  1714. for i = 1, 5 do
  1715. Swait()
  1716. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1717. end
  1718. TRAIL:remove()
  1719. end))
  1720. end
  1721.  
  1722. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1723. local DIRECTION = CF(StartPos,EndPos).lookVector
  1724. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1725. end
  1726.  
  1727. function turnto(position)
  1728. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1729. end
  1730.  
  1731. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  1732. local p = Instance.new("Part")
  1733. p.TopSurface = 0
  1734. p.BottomSurface = 0
  1735. p.Parent = parent
  1736. p.Size = Vector3.new(0.1,0.1,0.1)
  1737. p.Transparency = transparency
  1738. p.Reflectance = reflectance
  1739. p.CanCollide = false
  1740. p.Locked = true
  1741. p.BrickColor = brickcolor
  1742. p.Material = material
  1743. return p
  1744. end
  1745.  
  1746. function sphere(bonuspeed,type,pos,scale,value,color)
  1747. local type = type
  1748. local rng = Instance.new("Part", Character)
  1749. rng.Anchored = true
  1750. if ModeOfGlitch ~= 9 then
  1751. rng.BrickColor = color
  1752. elseif ModeOfGlitch == 9 then
  1753. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1754. end
  1755. rng.CanCollide = false
  1756. rng.FormFactor = 3
  1757. rng.Name = "Ring"
  1758. rng.Material = "Neon"
  1759. rng.Size = Vector3.new(1, 1, 1)
  1760. rng.Transparency = 0
  1761. rng.TopSurface = 0
  1762. rng.BottomSurface = 0
  1763. rng.CFrame = pos
  1764. local rngm = Instance.new("SpecialMesh", rng)
  1765. rngm.MeshType = "Sphere"
  1766. rngm.Scale = scale
  1767. if rainbowmode == true then
  1768. rng.Color = Color3.new(r/255,g/255,b/255)
  1769. end
  1770. if ModeOfGlitch == 9 then
  1771. coroutine.resume(coroutine.create(function()
  1772. while true do
  1773. Swait()
  1774. if rng.Parent ~= nil then
  1775. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1776. else
  1777. break
  1778. end
  1779. end
  1780. end))
  1781. end
  1782. local scaler2 = 1
  1783. if type == "Add" then
  1784. scaler2 = 1*value
  1785. elseif type == "Divide" then
  1786. scaler2 = 1/value
  1787. end
  1788. coroutine.resume(coroutine.create(function()
  1789. for i = 0,10/bonuspeed,0.1 do
  1790. Swait()
  1791. if rainbowmode == true then
  1792. rng.Color = Color3.new(r/255,g/255,b/255)
  1793. end
  1794. if type == "Add" then
  1795. scaler2 = scaler2 - 0.01*value/bonuspeed
  1796. elseif type == "Divide" then
  1797. scaler2 = scaler2 - 0.01/value*bonuspeed
  1798. end
  1799. if chaosmode == true then
  1800. rng.BrickColor = BrickColor.random()
  1801. end
  1802. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1803. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1804. end
  1805. rng:Destroy()
  1806. end))
  1807. end
  1808.  
  1809. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  1810. local type = type
  1811. local rng = Instance.new("Part", Character)
  1812. rng.Anchored = true
  1813. if ModeOfGlitch ~= 9 then
  1814. rng.BrickColor = color
  1815. elseif ModeOfGlitch == 9 then
  1816. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1817. end
  1818. rng.CanCollide = false
  1819. rng.FormFactor = 3
  1820. rng.Name = "Ring"
  1821. rng.Material = "Neon"
  1822. rng.Size = Vector3.new(1, 1, 1)
  1823. rng.Transparency = 0
  1824. rng.TopSurface = 0
  1825. rng.BottomSurface = 0
  1826. rng.CFrame = pos
  1827. local rngm = Instance.new("SpecialMesh", rng)
  1828. rngm.MeshType = "Sphere"
  1829. rngm.Scale = scale
  1830. local scaler2 = 1
  1831. local scaler2b = 1
  1832. local scaler2c = 1
  1833. if type == "Add" then
  1834. scaler2 = 1*value
  1835. scaler2b = 1*value2
  1836. scaler2c = 1*value3
  1837. elseif type == "Divide" then
  1838. scaler2 = 1/value
  1839. scaler2b = 1/value2
  1840. scaler2c = 1/value3
  1841. end
  1842. if ModeOfGlitch == 9 then
  1843. coroutine.resume(coroutine.create(function()
  1844. while true do
  1845. Swait()
  1846. if rng.Parent ~= nil then
  1847. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1848. else
  1849. break
  1850. end
  1851. end
  1852. end))
  1853. end
  1854. coroutine.resume(coroutine.create(function()
  1855. for i = 0,10/bonuspeed,0.1 do
  1856. Swait()
  1857. if type == "Add" then
  1858. scaler2 = scaler2 - 0.01*value/bonuspeed
  1859. scaler2b = scaler2b - 0.01*value/bonuspeed
  1860. scaler2c = scaler2c - 0.01*value/bonuspeed
  1861. elseif type == "Divide" then
  1862. scaler2 = scaler2 - 0.01/value*bonuspeed
  1863. scaler2b = scaler2b - 0.01/value*bonuspeed
  1864. scaler2c = scaler2c - 0.01/value*bonuspeed
  1865. end
  1866. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1867. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1868. end
  1869. rng:Destroy()
  1870. end))
  1871. end
  1872.  
  1873. function CreateMesh2(parent,meshtype,x1,y1,z1)
  1874. local mesh = Instance.new("SpecialMesh",parent)
  1875. mesh.MeshType = meshtype
  1876. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  1877. return mesh
  1878. end
  1879.  
  1880. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1881. local type = type
  1882. local rng = Instance.new("Part", Character)
  1883. rng.Anchored = true
  1884. if ModeOfGlitch ~= 9 then
  1885. rng.BrickColor = color
  1886. elseif ModeOfGlitch == 9 then
  1887. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1888. end
  1889. rng.CanCollide = false
  1890. rng.FormFactor = 3
  1891. rng.Name = "Ring"
  1892. rng.Material = "Neon"
  1893. rng.Size = Vector3.new(1, 1, 1)
  1894. rng.Transparency = 0
  1895. rng.TopSurface = 0
  1896. rng.BottomSurface = 0
  1897. rng.CFrame = pos
  1898. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1899. local rngm = Instance.new("SpecialMesh", rng)
  1900. rngm.MeshType = "Sphere"
  1901. rngm.Scale = VT(x1,y1,z1)
  1902. if rainbowmode == true then
  1903. rng.Color = Color3.new(r/255,g/255,b/255)
  1904. end
  1905. if ModeOfGlitch == 9 then
  1906. coroutine.resume(coroutine.create(function()
  1907. while true do
  1908. Swait()
  1909. if rng.Parent ~= nil then
  1910. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1911. else
  1912. break
  1913. end
  1914. end
  1915. end))
  1916. end
  1917. local scaler2 = 1
  1918. local speeder = FastSpeed
  1919. if type == "Add" then
  1920. scaler2 = 1*value
  1921. elseif type == "Divide" then
  1922. scaler2 = 1/value
  1923. end
  1924. coroutine.resume(coroutine.create(function()
  1925. for i = 0,10/bonuspeed,0.1 do
  1926. Swait()
  1927. if rainbowmode == true then
  1928. rng.Color = Color3.new(r/255,g/255,b/255)
  1929. end
  1930. if type == "Add" then
  1931. scaler2 = scaler2 - 0.01*value/bonuspeed
  1932. elseif type == "Divide" then
  1933. scaler2 = scaler2 - 0.01/value*bonuspeed
  1934. end
  1935. if chaosmode == true then
  1936. rng.BrickColor = BrickColor.random()
  1937. end
  1938. speeder = speeder - 0.01*FastSpeed*bonuspeed
  1939. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1940. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1941. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  1942. end
  1943. rng:Destroy()
  1944. end))
  1945. end
  1946.  
  1947. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1948. local type = type
  1949. local rng = Instance.new("Part", char)
  1950. rng.Anchored = true
  1951. if ModeOfGlitch ~= 9 then
  1952. rng.BrickColor = color
  1953. elseif ModeOfGlitch == 9 then
  1954. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1955. end
  1956. rng.CanCollide = false
  1957. rng.FormFactor = 3
  1958. rng.Name = "Ring"
  1959. rng.Material = "Neon"
  1960. rng.Size = Vector3.new(1, 1, 1)
  1961. rng.Transparency = 1
  1962. rng.TopSurface = 0
  1963. rng.BottomSurface = 0
  1964. rng.CFrame = pos
  1965. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1966. local rngm = Instance.new("SpecialMesh", rng)
  1967. rngm.MeshType = "Sphere"
  1968. rngm.Scale = vt(x1,y1,z1)
  1969. if rainbowmode == true then
  1970. rng.Color = Color3.new(r/255,g/255,b/255)
  1971. end
  1972. if ModeOfGlitch == 9 then
  1973. coroutine.resume(coroutine.create(function()
  1974. while true do
  1975. swait()
  1976. if rng.Parent ~= nil then
  1977. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1978. else
  1979. break
  1980. end
  1981. end
  1982. end))
  1983. end
  1984. local scaler2 = 1
  1985. local speeder = FastSpeed
  1986. if type == "Add" then
  1987. scaler2 = 1*value
  1988. elseif type == "Divide" then
  1989. scaler2 = 1/value
  1990. end
  1991. coroutine.resume(coroutine.create(function()
  1992. for i = 0,10/bonuspeed,0.1 do
  1993. swait()
  1994. if rainbowmode == true then
  1995. rng.Color = Color3.new(r/255,g/255,b/255)
  1996. end
  1997. if type == "Add" then
  1998. scaler2 = scaler2 - 0.01*value/bonuspeed
  1999. elseif type == "Divide" then
  2000. scaler2 = scaler2 - 0.01/value*bonuspeed
  2001. end
  2002. if chaosmode == true then
  2003. rng.BrickColor = BrickColor.random()
  2004. end
  2005. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2006. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2007. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2008. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2009. end
  2010. rng:Destroy()
  2011. end))
  2012. end
  2013.  
  2014. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2015. local type = type
  2016. local rotenable = rotatingop
  2017. local rng = Instance.new("Part", Character)
  2018. rng.Anchored = true
  2019. rng.BrickColor = color
  2020. rng.CanCollide = false
  2021. rng.FormFactor = 3
  2022. rng.Name = "Ring"
  2023. rng.Material = "Neon"
  2024. rng.Size = Vector3.new(1, 1, 1)
  2025. rng.Transparency = 0
  2026. if typeoftrans == "In" then
  2027. rng.Transparency = 1
  2028. end
  2029. rng.TopSurface = 0
  2030. rng.BottomSurface = 0
  2031. rng.CFrame = pos
  2032. local rngm = Instance.new("SpecialMesh", rng)
  2033. rngm.MeshType = "FileMesh"
  2034. if typeofshape == "Normal" then
  2035. rngm.MeshId = "rbxassetid://662586858"
  2036. elseif typeofshape == "Round" then
  2037. rngm.MeshId = "rbxassetid://662585058"
  2038. end
  2039. rngm.Scale = scale
  2040. local scaler2 = 1/10
  2041. if type == "Add" then
  2042. scaler2 = 1*value/10
  2043. elseif type == "Divide" then
  2044. scaler2 = 1/value/10
  2045. end
  2046. local randomrot = math.random(1,2)
  2047. coroutine.resume(coroutine.create(function()
  2048. for i = 0,10/bonuspeed,0.1 do
  2049. Swait()
  2050. if type == "Add" then
  2051. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2052. elseif type == "Divide" then
  2053. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2054. end
  2055. if rotenable == true then
  2056. if randomrot == 1 then
  2057. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2058. elseif randomrot == 2 then
  2059. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2060. end
  2061. end
  2062. if typeoftrans == "Out" then
  2063. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2064. elseif typeoftrans == "In" then
  2065. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2066. end
  2067. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2068. end
  2069. rng:Destroy()
  2070. end))
  2071. end
  2072.  
  2073. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  2074. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  2075. local mesh = IT("SpecialMesh",wave)
  2076. mesh.MeshType = "FileMesh"
  2077. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2078. mesh.Scale = SIZE
  2079. mesh.Offset = VT(0,0,0)
  2080. wave.CFrame = CFRAME
  2081. coroutine.resume(coroutine.create(function(PART)
  2082. for i = 1, WAIT do
  2083. Swait()
  2084. mesh.Scale = mesh.Scale + GROW
  2085. if DOESROT == true then
  2086. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2087. end
  2088. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2089. if wave.Transparency > 0.99 then
  2090. wave:remove()
  2091. end
  2092. end
  2093. end))
  2094. end
  2095.  
  2096. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  2097. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  2098. local mesh = IT("SpecialMesh",wave)
  2099. mesh.MeshType = "Sphere"
  2100. mesh.Scale = SIZE
  2101. mesh.Offset = VT(0,0,0)
  2102. wave.CFrame = CFRAME
  2103. coroutine.resume(coroutine.create(function(PART)
  2104. for i = 1, WAIT do
  2105. Swait()
  2106. mesh.Scale = mesh.Scale + GROW
  2107. wave.Transparency = wave.Transparency + (1/WAIT)
  2108. if wave.Transparency > 0.99 then
  2109. wave:remove()
  2110. end
  2111. end
  2112. end))
  2113. end
  2114.  
  2115.  
  2116. --//=================================\\
  2117. --|| WEAPON CREATION
  2118. --\\=================================//
  2119.  
  2120. function WarnFunc(text)
  2121. local chat = coroutine.wrap(function()
  2122. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2123. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2124. end
  2125. local Bill = Instance.new("BillboardGui",Character)
  2126. Bill.Size = UDim2.new(0,100,0,40)
  2127. Bill.StudsOffset = Vector3.new(0,35,0)
  2128. Bill.Adornee = Character.Head
  2129. Bill.Name = "TalkingBillBoard"
  2130. local Hehe = Instance.new("TextLabel",Bill)
  2131. Hehe.BackgroundTransparency = 1
  2132. Hehe.BorderSizePixel = 0
  2133. Hehe.Text = ""
  2134. Hehe.Font = "Antique"
  2135. Hehe.TextSize = 120
  2136. Hehe.TextStrokeTransparency = 0
  2137. Hehe.Size = UDim2.new(1,0,0.5,0)
  2138. coroutine.resume(coroutine.create(function()
  2139. while Hehe ~= nil do
  2140. Swait()
  2141. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  2142. Hehe.Rotation = math.random(-5,5)
  2143. Hehe.TextColor3 = Color3.new(255,0,0)
  2144. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  2145. end
  2146. end))
  2147. for i = 1,string.len(text),1 do
  2148. Swait()
  2149. Hehe.Text = string.sub(text,1,i)
  2150. end
  2151. Swait(90)--Re[math.random(1, 93)]
  2152. for i = 0, 1, .025 do
  2153. Swait()
  2154. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2155. Hehe.TextStrokeTransparency = i
  2156. Hehe.TextTransparency = i
  2157. end
  2158. Bill:Destroy()
  2159. end)
  2160. chat()
  2161. end
  2162.  
  2163. function chatfunc(text)
  2164. local chat = coroutine.wrap(function()
  2165. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2166. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2167. end
  2168. local Bill = Instance.new("BillboardGui",Character)
  2169. Bill.Size = UDim2.new(0,100,0,40)
  2170. Bill.StudsOffset = Vector3.new(0,3,0)
  2171. Bill.Adornee = Character.Head
  2172. Bill.Name = "TalkingBillBoard"
  2173. local Hehe = Instance.new("TextLabel",Bill)
  2174. Hehe.BackgroundTransparency = 1
  2175. Hehe.BorderSizePixel = 0
  2176. Hehe.Text = ""
  2177. Hehe.Font = "Bodoni"
  2178. Hehe.TextSize = 40
  2179. Hehe.TextStrokeTransparency = 0
  2180. Hehe.Size = UDim2.new(1,0,0.5,0)
  2181. coroutine.resume(coroutine.create(function()
  2182. while Hehe ~= nil do
  2183. Swait()
  2184. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  2185. Hehe.Rotation = math.random(-2.5,2.5)
  2186. Hehe.TextColor3 = Color3.new(MRANDOM(55,255),0,0)
  2187. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  2188. end
  2189. end))
  2190. for i = 1,string.len(text),1 do
  2191. Swait()
  2192. Hehe.Text = string.sub(text,1,i)
  2193. end
  2194. Swait(90)--Re[math.random(1, 93)]
  2195. for i = 0, 1, .025 do
  2196. Swait()
  2197. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2198. Hehe.TextStrokeTransparency = i
  2199. Hehe.TextTransparency = i
  2200. end
  2201. Bill:Destroy()
  2202. end)
  2203. chat()
  2204. end
  2205.  
  2206. local Particle = IT("ParticleEmitter",nil)
  2207. Particle.Enabled = false
  2208. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2209. Particle.LightEmission = 0.5
  2210. Particle.Rate = 150
  2211. Particle.ZOffset = 0.2
  2212. Particle.Rotation = NumberRange.new(-180, 180)
  2213. Particle.RotSpeed = NumberRange.new(-180, 180)
  2214. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2215. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  2216.  
  2217. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2218. function ParticleEmitter(Table)
  2219. local PRTCL = Particle:Clone()
  2220. local Speed = Table.Speed or 5
  2221. local Drag = Table.Drag or 0
  2222. local Size1 = Table.Size1 or 1
  2223. local Size2 = Table.Size2 or 5
  2224. local Lifetime1 = Table.Lifetime1 or 1
  2225. local Lifetime2 = Table.Lifetime2 or 1.5
  2226. local Parent = Table.Parent or Torso
  2227. local Emit = Table.Emit or 100
  2228. local Offset = Table.Offset or 360
  2229. local Acel = Table.Acel or VT(0,0,0)
  2230. local Enabled = Table.Enabled or false
  2231. PRTCL.Parent = Parent
  2232. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2233. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2234. PRTCL.Speed = NumberRange.new(Speed)
  2235. PRTCL.VelocitySpread = Offset
  2236. PRTCL.Drag = Drag
  2237. PRTCL.Acceleration = Acel
  2238. if Enabled == false then
  2239. PRTCL:Emit(Emit)
  2240. Debris:AddItem(PRTCL,Lifetime2)
  2241. else
  2242. PRTCL.Enabled = true
  2243. end
  2244. return PRTCL
  2245. end
  2246.  
  2247. local Handle = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2248. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2249. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2250. MakeForm(Part,"Wedge")
  2251. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2252. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2253. MakeForm(Part,"Wedge")
  2254. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2255. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2256. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2257. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2258. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2259. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2260. MakeForm(Part,"Cyl")
  2261. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2262. for i = 1, 8 do
  2263. local Piece = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2264. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2265. end
  2266. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2267. MakeForm(Part,"Cyl")
  2268. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2269. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2270. MakeForm(Part,"Ball")
  2271. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2272. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2273. MakeForm(Part,"Wedge")
  2274. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2275. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2276. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2277. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2278. MakeForm(Part,"Cyl")
  2279. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2280. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2281. MakeForm(Part,"Cyl")
  2282. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2283. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2284. MakeForm(Part,"Cyl")
  2285. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2286. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2287. MakeForm(Part,"Wedge")
  2288. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2289. local LASTPART = Handle
  2290. for i = 1, 10 do
  2291. if LASTPART == Handle then
  2292. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2293. LASTPART = Part
  2294. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2295. else
  2296. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  2297. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2298. LASTPART = Part
  2299. end
  2300. end
  2301.  
  2302. local Barrel = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,4,0.15),false)
  2303. MakeForm(Barrel,"Cyl")
  2304. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.85) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2305. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,2,0.25),false)
  2306. MakeForm(Part,"Cyl")
  2307. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.2, 0), CF(0, 0, 0))
  2308. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2309. MakeForm(Part,"Wedge")
  2310. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2311. local Hole = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2312. MakeForm(Hole,"Cyl")
  2313. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2, 0), CF(0, 0, 0))
  2314. local Part = CreatePart(3, Gun, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2315. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2316. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2317. local Part = CreatePart(3, Gun, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2318. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2319. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2320. coroutine.resume(coroutine.create(function()
  2321. while wait() do
  2322. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(sick.PlaybackLoudness/60 + 0.05))
  2323. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-sick.PlaybackLoudness/60 - 0.05))
  2324. end
  2325. end))
  2326.  
  2327. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  2328. --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)})
  2329.  
  2330. for _, c in pairs(Gun:GetDescendants()) do
  2331. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2332. c.Material = "Glass"
  2333. c.Color = C3(0,0,0)
  2334. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2335. c.Color = C3(1,0,0)
  2336. c.Material = "Neon"
  2337. end
  2338. end
  2339.  
  2340. Weapon.Parent = Character
  2341. Gun.Parent = nil
  2342.  
  2343. for _, c in pairs(Gun:GetChildren()) do
  2344. if c.ClassName == "Part" then
  2345. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2346. end
  2347. end
  2348.  
  2349. for _, c in pairs(Weapon:GetChildren()) do
  2350. if c.ClassName == "Part" then
  2351. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2352. end
  2353. end
  2354.  
  2355. local SKILLTEXTCOLOR = C3(1,0,0)
  2356. local SKILLFONT = "Antique"
  2357. local SKILLTEXTSIZE = 7
  2358.  
  2359. Humanoid.Died:connect(function()
  2360. ATTACK = true
  2361. end)
  2362.  
  2363. local Text1 = "[Z]"
  2364. local Text2 = "[B]"
  2365. local Text3 = "[X]"
  2366. local Text4 = "[C]"
  2367. local Text5 = "[V]"
  2368.  
  2369. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  2370. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  2371. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  2372. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  2373. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  2374.  
  2375.  
  2376. local SKILL1TEXT = CreateLabel(SKILL1FRAME, Text1, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  2377. local SKILL2TEXT = CreateLabel(SKILL2FRAME, Text2, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  2378. local SKILL3TEXT = CreateLabel(SKILL3FRAME, Text3, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  2379. local SKILL4TEXT = CreateLabel(SKILL4FRAME, Text4, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  2380. local SKILL5TEXT = CreateLabel(SKILL5FRAME, Text5, SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  2381.  
  2382.  
  2383. coroutine.resume(coroutine.create(function()
  2384. while true do
  2385. Swait()
  2386. SKILL1FRAME.Rotation = SKILL1FRAME.Rotation + 2
  2387. SKILL2FRAME.Rotation = SKILL2FRAME.Rotation + 2
  2388. SKILL3FRAME.Rotation = SKILL3FRAME.Rotation + 2
  2389. SKILL4FRAME.Rotation = SKILL4FRAME.Rotation + 2
  2390. SKILL5FRAME.Rotation = SKILL5FRAME.Rotation + 2
  2391. Swait(5)
  2392. SKILL1FRAME.Rotation = SKILL1FRAME.Rotation - 2
  2393. SKILL2FRAME.Rotation = SKILL2FRAME.Rotation - 2
  2394. SKILL3FRAME.Rotation = SKILL3FRAME.Rotation - 2
  2395. SKILL4FRAME.Rotation = SKILL4FRAME.Rotation - 2
  2396. SKILL5FRAME.Rotation = SKILL5FRAME.Rotation - 2
  2397. Swait(5)
  2398. end
  2399. end))
  2400.  
  2401.  
  2402. function printbye(Name)
  2403. local MESSAGES = {"Banished ","Gotcha ","CREAM ","Die ","I got ","GoodBye ","Struggle ","BAN ","There is no coming back ","BadLuck.. ","I got you ","Just eat my CREAM! ","Hahaha "}
  2404. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2405. end
  2406.  
  2407. workspace.ChildAdded:connect(function(instance)
  2408. for BANISH = 1, #TOBANISH do
  2409. if TOBANISH[BANISH] ~= nil then
  2410. if instance.Name == TOBANISH[BANISH] then
  2411. coroutine.resume(coroutine.create(function()
  2412. printbye(instance.Name)
  2413. instance:ClearAllChildren()
  2414. Debris:AddItem(instance,0.0005)
  2415. end))
  2416. end
  2417. end
  2418. end
  2419. end)
  2420.  
  2421. --//=================================\\
  2422. --|| DAMAGING
  2423. --\\=================================//
  2424. local EyeSizes={
  2425. NumberSequenceKeypoint.new(0,1,0),
  2426. NumberSequenceKeypoint.new(1,0,0)
  2427. }
  2428. local EyeTrans={
  2429. NumberSequenceKeypoint.new(0,0.8,0),
  2430. NumberSequenceKeypoint.new(1,1,0)
  2431. }
  2432. local PE=Instance.new("ParticleEmitter",nil)
  2433. PE.LightEmission=.8
  2434. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  2435. PE.Size=NumberSequence.new(EyeSizes)
  2436. PE.Transparency=NumberSequence.new(EyeTrans)
  2437. PE.Lifetime=NumberRange.new(0.35,1.5)
  2438. PE.Rotation=NumberRange.new(0,360)
  2439. PE.Rate=999
  2440. PE.VelocitySpread = 10000
  2441. PE.Acceleration = Vector3.new(0,0,0)
  2442. PE.Drag = 5
  2443. PE.Speed = NumberRange.new(0,0,0)
  2444. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  2445. PE.ZOffset = -0
  2446. PE.Name = "PE"
  2447. PE.Enabled = false
  2448.  
  2449. function particles(art)
  2450. local PARTICLES = PE:Clone()
  2451. PARTICLES.Parent = art
  2452. end
  2453.  
  2454. function Banish(Foe)
  2455. if Foe then
  2456. coroutine.resume(coroutine.create(function()
  2457. --if game.Players:FindFirstChild(Foe.Name) then
  2458. table.insert(TOBANISH,Foe.Name)
  2459. printbye(Foe.Name)
  2460. --end
  2461. Foe.Archivable = true
  2462. local CLONE = Foe:Clone()
  2463. Foe:Destroy()
  2464. CLONE.Parent = Effects
  2465. CLONE:BreakJoints()
  2466. local MATERIALS = {"Glass","Neon"}
  2467. for _, c in pairs(CLONE:GetDescendants()) do
  2468. if c:IsA("BasePart") then
  2469. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2470. CreateSound(340722848, c, 10, 1, false)
  2471. end
  2472. c.Anchored = true
  2473. c.Transparency = c.Transparency + 0.2
  2474. c.Material = MATERIALS[MRANDOM(1,2)]
  2475. c.Color = C3(1,0,0)
  2476. if c.ClassName == "MeshPart" then
  2477. c.TextureID = ""
  2478. end
  2479. if c:FindFirstChildOfClass("SpecialMesh") then
  2480. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2481. end
  2482. if c:FindFirstChildOfClass("Decal") then
  2483. c:FindFirstChildOfClass("Decal"):remove()
  2484. end
  2485. c.Name = "Banished"
  2486. c.CanCollide = false
  2487. else
  2488. c:remove()
  2489. end
  2490. end
  2491. local A = false
  2492. for i = 1, 35 do
  2493. if A == false then
  2494. A = true
  2495. elseif A == true then
  2496. A = false
  2497. end
  2498. for _, c in pairs(CLONE:GetDescendants()) do
  2499. if c:IsA("BasePart") then
  2500. c.Anchored = true
  2501. c.Material = MATERIALS[MRANDOM(1,2)]
  2502. c.Transparency = c.Transparency + 0.8/35
  2503. if A == false then
  2504. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2505. elseif A == true then
  2506. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2507. end
  2508. end
  2509. end
  2510. Swait()
  2511. end
  2512. CLONE:remove()
  2513. end))
  2514. end
  2515. end
  2516.  
  2517. function BANISHAOE(POSITION,RANGE,ISBANISH)
  2518. local CHILDREN = workspace:GetDescendants()
  2519. for index, CHILD in pairs(CHILDREN) do
  2520. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2521. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2522. if HUM then
  2523. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2524. if TORSO then
  2525. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2526. if ISBANISH == true then
  2527. Banish(CHILD)
  2528. else
  2529. if ISBANISH == "Gravity" then
  2530. HUM.PlatformStand = true
  2531. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2532. local grav = Instance.new("BodyPosition",TORSO)
  2533. grav.D = 15
  2534. grav.P = 20000
  2535. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2536. grav.position = TORSO.Position
  2537. grav.Name = "V3BanishForce"..Player.Name
  2538. else
  2539. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2540. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2541. end
  2542. else
  2543. HUM.PlatformStand = false
  2544. end
  2545. end
  2546. elseif ISBANISH == "Gravity" then
  2547. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2548. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2549. HUM.PlatformStand = false
  2550. end
  2551. end
  2552. end
  2553. end
  2554. end
  2555. end
  2556. end
  2557.  
  2558.  
  2559.  
  2560. function ManualDamage(Humanoid,Damage,TorsoPart)
  2561. local defence = Instance.new("BoolValue",Humanoid.Parent)
  2562. defence.Name = ("HitBy"..Player.Name)
  2563. game:GetService("Debris"):AddItem(defence, 0.001)
  2564. Damage = Damage * DAMAGEMULTIPLIER
  2565. if Humanoid.Health ~= 0 then
  2566. local CritChance = MRANDOM(1,100)
  2567. if Damage > Humanoid.Health then
  2568. Damage = math.ceil(Humanoid.Health)
  2569. if Damage == 0 then
  2570. Damage = 0.1
  2571. end
  2572. end
  2573. Humanoid.Health = Humanoid.Health - Damage
  2574. end
  2575. end
  2576.  
  2577. function ManualAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  2578. local CHILDREN = workspace:GetDescendants()
  2579. for index, CHILD in pairs(CHILDREN) do
  2580. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2581. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2582. if HUM then
  2583. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2584. if TORSO then
  2585. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2586. if INSTAKILL == true then
  2587. CHILD:BreakJoints()
  2588. else
  2589. local DMG = MRANDOM(MINDMG,MAXDMG)
  2590. ManualDamage(HUM,DMG,TORSO)
  2591. end
  2592. if FLING > 0 then
  2593. for _, c in pairs(CHILD:GetChildren()) do
  2594. if c:IsA("BasePart") then
  2595. local bv = Instance.new("BodyVelocity")
  2596. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2597. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2598. bv.Parent = c
  2599. Debris:AddItem(bv,0.05)
  2600. end
  2601. end
  2602. end
  2603. end
  2604. end
  2605. end
  2606. end
  2607. end
  2608. end
  2609.  
  2610. function KillChildren(v)
  2611. v:BreakJoints()
  2612. for _, c in pairs(v:GetChildren()) do
  2613. if c:IsA("BasePart") then
  2614. if c.Transparency < 1 then
  2615. if c:FindFirstChildOfClass("Decal") then
  2616. c:FindFirstChildOfClass("Decal"):remove()
  2617. end
  2618. particles(c)
  2619. c.PE.Enabled = true
  2620. c.Parent = Effects
  2621. c.CanCollide = false
  2622. c.Material = "Neon"
  2623. c.Color = C3(1,0,0)
  2624. c.Transparency = 1
  2625. local grav = Instance.new("BodyPosition",c)
  2626. grav.P = 20000
  2627. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2628. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  2629. grav.Name = "GravityForce"
  2630. coroutine.resume(coroutine.create(function()
  2631. for i = 1, 20 do
  2632. Swait()
  2633. c.Transparency = c.Transparency + 1/20
  2634. end
  2635. c.PE.Enabled = false
  2636. Debris:AddItem(c,2)
  2637. end))
  2638. end
  2639. end
  2640. end
  2641. end
  2642.  
  2643. function SmiteAoE(POSITION,RANGE)
  2644. local CHILDREN = workspace:GetDescendants()
  2645. for index, CHILD in pairs(CHILDREN) do
  2646. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2647. local LISTED = false
  2648. for LIST = 1, #WHITELIST do
  2649. if WHITELIST[LIST] ~= nil then
  2650. if CHILD.Name == WHITELIST[LIST] then
  2651. LISTED = true
  2652. end
  2653. end
  2654. end
  2655. if LISTED == false then
  2656. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2657. if HUM then
  2658. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2659. if TORSO then
  2660. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  2661. KillChildren(CHILD)
  2662. end
  2663. end
  2664. end
  2665. end
  2666. end
  2667. end
  2668. end
  2669.  
  2670. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2671. if hit.Parent == nil then
  2672. return
  2673. end
  2674. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2675. for _, v in pairs(hit.Parent:children()) do
  2676. if v:IsA("Humanoid") then
  2677. h = v
  2678. end
  2679. end
  2680. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  2681. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2682. return
  2683. end
  2684. local c = Create("ObjectValue")({
  2685. Name = "creator",
  2686. Value = game:GetService("Players").LocalPlayer,
  2687. Parent = h
  2688. })
  2689. game:GetService("Debris"):AddItem(c, 0.5)
  2690. if HitSound ~= nil and HitPitch ~= nil then
  2691. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2692. end
  2693. local Damage = math.random(minim, maxim)
  2694. local blocked = false
  2695. local block = hit.Parent:findFirstChild("Block")
  2696. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2697. blocked = true
  2698. block.Value = block.Value - 1
  2699. print(block.Value)
  2700. end
  2701. if blocked == false then
  2702. HitHealth = h.Health
  2703. h.MaxHealth = 100
  2704. h.Health = h.Health - Damage
  2705. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2706. print("gained kill")
  2707. end
  2708. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2709. else
  2710. h.Health = h.Health - Damage / 2
  2711. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2712. end
  2713. if Type == "Knockdown" then
  2714. local hum = hit.Parent.Humanoid
  2715. hum.PlatformStand = true
  2716. coroutine.resume(coroutine.create(function(HHumanoid)
  2717. Swait(1)
  2718. HHumanoid.PlatformStand = false
  2719. end), hum)
  2720. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2721. local bodvol = Create("BodyVelocity")({
  2722. velocity = angle * knockback,
  2723. P = 5000,
  2724. maxForce = Vector3.new(8000, 8000, 8000),
  2725. Parent = hit
  2726. })
  2727. local rl = Create("BodyAngularVelocity")({
  2728. P = 3000,
  2729. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2730. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2731. Parent = hit
  2732. })
  2733. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2734. game:GetService("Debris"):AddItem(rl, 0.5)
  2735. elseif Type == "Normal" then
  2736. local vp = Create("BodyVelocity")({
  2737. P = 500,
  2738. maxForce = Vector3.new(math.huge, 0, math.huge),
  2739. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2740. })
  2741. if knockback > 0 then
  2742. vp.Parent = hit.Parent.Head
  2743. end
  2744. game:GetService("Debris"):AddItem(vp, 0.5)
  2745. elseif Type == "Up" then
  2746. local bodyVelocity = Create("BodyVelocity")({
  2747. velocity = Vector3.new(0, 20, 0),
  2748. P = 5000,
  2749. maxForce = Vector3.new(8000, 8000, 8000),
  2750. Parent = hit
  2751. })
  2752. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2753. local bodyVelocity = Create("BodyVelocity")({
  2754. velocity = Vector3.new(0, 20, 0),
  2755. P = 5000,
  2756. maxForce = Vector3.new(8000, 8000, 8000),
  2757. Parent = hit
  2758. })
  2759. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2760. elseif Type == "Leech" then
  2761. local hum = hit.Parent.Humanoid
  2762. if hum ~= nil then
  2763. for i = 0, 2 do
  2764. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  2765. end
  2766. Humanoid.Health = Humanoid.Health + 10
  2767. end
  2768. elseif Type == "UpKnock" then
  2769. local hum = hit.Parent.Humanoid
  2770. hum.PlatformStand = true
  2771. if hum ~= nil then
  2772. hitr = true
  2773. end
  2774. coroutine.resume(coroutine.create(function(HHumanoid)
  2775. Swait(5)
  2776. HHumanoid.PlatformStand = false
  2777. hitr = false
  2778. end), hum)
  2779. local bodyVelocity = Create("BodyVelocity")({
  2780. velocity = Vector3.new(0, 20, 0),
  2781. P = 5000,
  2782. maxForce = Vector3.new(8000, 8000, 8000),
  2783. Parent = hit
  2784. })
  2785. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2786. local bodyVelocity = Create("BodyVelocity")({
  2787. velocity = Vector3.new(0, 20, 0),
  2788. P = 5000,
  2789. maxForce = Vector3.new(8000, 8000, 8000),
  2790. Parent = hit
  2791. })
  2792. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2793. elseif Type == "Snare" then
  2794. local bp = Create("BodyPosition")({
  2795. P = 2000,
  2796. D = 100,
  2797. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2798. position = hit.Parent.Torso.Position,
  2799. Parent = hit.Parent.Torso
  2800. })
  2801. game:GetService("Debris"):AddItem(bp, 1)
  2802. elseif Type == "Slashnare" then
  2803. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  2804. for i = 1, math.random(4, 5) do
  2805. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  2806. end
  2807. local bp = Create("BodyPosition")({
  2808. P = 2000,
  2809. D = 100,
  2810. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2811. position = hit.Parent.Torso.Position,
  2812. Parent = hit.Parent.Torso
  2813. })
  2814. game:GetService("Debris"):AddItem(bp, 1)
  2815. elseif Type == "Spike" then
  2816. CreateBigIceSword(hit.Parent.Torso.CFrame)
  2817. local bp = Create("BodyPosition")({
  2818. P = 2000,
  2819. D = 100,
  2820. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2821. position = hit.Parent.Torso.Position,
  2822. Parent = hit.Parent.Torso
  2823. })
  2824. game:GetService("Debris"):AddItem(bp, 1)
  2825. elseif Type == "Freeze" then
  2826. local BodPos = Create("BodyPosition")({
  2827. P = 50000,
  2828. D = 1000,
  2829. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2830. position = hit.Parent.Torso.Position,
  2831. Parent = hit.Parent.Torso
  2832. })
  2833. local BodGy = Create("BodyGyro")({
  2834. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2835. P = 20000,
  2836. Parent = hit.Parent.Torso,
  2837. cframe = hit.Parent.Torso.CFrame
  2838. })
  2839. hit.Parent.Torso.Anchored = true
  2840. coroutine.resume(coroutine.create(function(Part)
  2841. Swait(1.5)
  2842. Part.Anchored = false
  2843. end), hit.Parent.Torso)
  2844. game:GetService("Debris"):AddItem(BodPos, 3)
  2845. game:GetService("Debris"):AddItem(BodGy, 3)
  2846. end
  2847. local debounce = Create("BoolValue")({
  2848. Name = "DebounceHit",
  2849. Parent = hit.Parent,
  2850. Value = true
  2851. })
  2852. game:GetService("Debris"):AddItem(debounce, Delay)
  2853. c = Instance.new("ObjectValue")
  2854. c.Name = "creator"
  2855. c.Value = Player
  2856. c.Parent = h
  2857. game:GetService("Debris"):AddItem(c, 0.5)
  2858. end
  2859. end
  2860. function ShowDamage(Pos, Text, Time, Color)
  2861. local Rate = 0.03333333333333333
  2862. local Pos = Pos or Vector3.new(0, 0, 0)
  2863. local Text = Text or ""
  2864. local Time = Time or 2
  2865. local Color = Color or Color3.new(1, 0, 1)
  2866. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2867. EffectPart.Anchored = true
  2868. local BillboardGui = Create("BillboardGui")({
  2869. Size = UDim2.new(3, 0, 3, 0),
  2870. Adornee = EffectPart,
  2871. Parent = EffectPart
  2872. })
  2873. local TextLabel = Create("TextLabel")({
  2874. BackgroundTransparency = 1,
  2875. Size = UDim2.new(1, 0, 1, 0),
  2876. Text = Text,
  2877. TextColor3 = Color,
  2878. TextScaled = true,
  2879. Font = Enum.Font.ArialBold,
  2880. Parent = BillboardGui
  2881. })
  2882. game.Debris:AddItem(EffectPart, Time + 0.1)
  2883. EffectPart.Parent = game:GetService("Workspace")
  2884. delay(0, function()
  2885. local Frames = Time / Rate
  2886. for Frame = 1, Frames do
  2887. wait(Rate)
  2888. local Percent = Frame / Frames
  2889. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2890. TextLabel.TextTransparency = Percent
  2891. end
  2892. if EffectPart and EffectPart.Parent then
  2893. EffectPart:Destroy()
  2894. end
  2895. end)
  2896. end
  2897. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2898. for _, c in pairs(workspace:children()) do
  2899. local hum = c:findFirstChildOfClass("Humanoid")
  2900. if hum ~= nil then
  2901. local head = c:findFirstChild("Head")
  2902. if head ~= nil then
  2903. local targ = head.Position - Part.Position
  2904. local mag = targ.magnitude
  2905. if magni >= mag and c.Name ~= Player.Name then
  2906. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2907. end
  2908. end
  2909. end
  2910. end
  2911. end
  2912.  
  2913. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  2914. local type = type
  2915. local rng = Instance.new("Part", char)
  2916. rng.Anchored = true
  2917. rng.BrickColor = color
  2918. rng.Color = color3
  2919. rng.CanCollide = false
  2920. rng.FormFactor = 3
  2921. rng.Name = "Ring"
  2922. rng.Material = "Neon"
  2923. rng.Size = Vector3.new(1, 1, 1)
  2924. rng.Transparency = 0
  2925. rng.TopSurface = 0
  2926. rng.BottomSurface = 0
  2927. rng.CFrame = pos
  2928. local rngm = Instance.new("SpecialMesh", rng)
  2929. rngm.MeshType = "Brick"
  2930. rngm.Scale = scale
  2931. local scaler2 = 1
  2932. local scaler2b = 1
  2933. local scaler2c = 1
  2934. if type == "Add" then
  2935. scaler2 = 1*value
  2936. scaler2b = 1*value2
  2937. scaler2c = 1*value3
  2938. elseif type == "Divide" then
  2939. scaler2 = 1/value
  2940. scaler2b = 1/value2
  2941. scaler2c = 1/value3
  2942. end
  2943. coroutine.resume(coroutine.create(function()
  2944. for i = 0,10/bonuspeed,0.1 do
  2945. swait()
  2946. if type == "Add" then
  2947. scaler2 = scaler2 - 0.01*value/bonuspeed
  2948. scaler2b = scaler2b - 0.01*value/bonuspeed
  2949. scaler2c = scaler2c - 0.01*value/bonuspeed
  2950. elseif type == "Divide" then
  2951. scaler2 = scaler2 - 0.01/value*bonuspeed
  2952. scaler2b = scaler2b - 0.01/value*bonuspeed
  2953. scaler2c = scaler2c - 0.01/value*bonuspeed
  2954. end
  2955. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2956. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2957. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2958. end
  2959. rng:Destroy()
  2960. end))
  2961. end
  2962.  
  2963. --//=================================\\
  2964. --|| ATTACK FUNCTIONS AND STUFF
  2965. --\\=================================//
  2966. coroutine.resume(coroutine.create(function()
  2967. sick.TimePosition = 110
  2968. end))
  2969.  
  2970.  
  2971. function Intro()
  2972. ATTACK = true
  2973. Rooted = true
  2974. repeat
  2975. Swait()
  2976. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2977. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2978. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  2979. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2980. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  2981. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  2982. until sick.TimePosition > 115
  2983. repeat
  2984. Swait()
  2985. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed/8)
  2986. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2987. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, 1 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed/8)
  2988. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed/8)
  2989. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed/8)
  2990. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed/8)
  2991. until sick.TimePosition > 117
  2992. repeat
  2993. Swait()
  2994. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  2995. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2996. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 1 * Player_Size, -1.4 * Player_Size) * ANGLES(RAD(30), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed*5)
  2997. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2998. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2999. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3000. until sick.TimePosition >119
  3001. Gun.Parent = Character
  3002. Text1 = "[Z]"
  3003. Text2 = "[B]"
  3004. Text3 = "[X]"
  3005. Text4 = "[C]"
  3006. Text5 = "[V] S H A T T E R"
  3007. for i = 1, 100 do
  3008. Swait()
  3009. for _, c in pairs(Character:GetChildren()) do
  3010. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  3011. c.Transparency = 0
  3012. end
  3013. end
  3014. for _, c in pairs(Weapon:GetChildren()) do
  3015. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  3016. c.Transparency = 0
  3017. end
  3018. end
  3019. for _, c in pairs(Weapon:GetDescendants()) do
  3020. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  3021. c.Material = "Glass"
  3022. c.Color = C3(0,0,0)
  3023. elseif c.ClassName == "Part" and c.Name == "Eye" then
  3024. c.Color = C3(1,0,0)
  3025. c.Material = "Neon"
  3026. end
  3027. end
  3028. end
  3029. TRANSFORMED = true
  3030. ATTACK = false
  3031. Rooted = false
  3032. end
  3033.  
  3034. function Rifle_Bullet()
  3035. ATTACK = true
  3036. Rooted = false
  3037. for i=0, 0.4, 0.05 / Animation_Speed do
  3038. Swait()
  3039. turnto(Mouse.Hit.p)
  3040. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  3041. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3042. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3043. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3044. 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)
  3045. 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)
  3046. end
  3047. repeat
  3048. for i=0, 0.2, 0.05 / Animation_Speed do
  3049. Swait()
  3050. turnto(Mouse.Hit.p)
  3051. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  3052. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.5 / Animation_Speed)
  3053. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3054. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.6, -0.4) * ANGLES(RAD(170), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3055. 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)
  3056. 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)
  3057. end
  3058. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3059. SpawnTrail(Hole.Position,POS)
  3060. if HIT ~= nil then
  3061. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3062. Banish(HIT.Parent)
  3063. end
  3064. end
  3065. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3066. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3067. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3068. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3069. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  3070. for i=0, 0.3, 0.05 / Animation_Speed do
  3071. Swait()
  3072. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  3073. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.25 / Animation_Speed)
  3074. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3075. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.6, -0.4) * ANGLES(RAD(172), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3076. 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)
  3077. 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)
  3078. end
  3079. until KEYHOLD == false
  3080. ATTACK = false
  3081. Rooted = false
  3082. end
  3083.  
  3084. function Cream_Strike_rlly()
  3085. ATTACK = true
  3086. Rooted = true
  3087. CreateSound(1368573150, RightArm, 3, 1.5)
  3088. for i=0, 2, 0.1 / Animation_Speed do
  3089. Swait()
  3090. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3091. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 0.15 / Animation_Speed)
  3092. 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)
  3093. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(0), RAD(27)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3094. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(165), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3095. 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)
  3096. 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)
  3097. end
  3098. local POWER = 1
  3099. repeat
  3100. Swait()
  3101. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.01*POWER,0,0.01*POWER), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.3,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  3102. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3103. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0 + 0.05 * COS(SINE / 16)) * ANGLES(RAD(-25), RAD(0), RAD(-30)), 0.15 / Animation_Speed)
  3104. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 32)), RAD(0), RAD(30 + 10 * COS(SINE / 14))), 0.15 / Animation_Speed)
  3105. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 + 5 * COS(SINE / 21)), RAD(0), RAD(28 + 5 * COS(SINE / 19))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3106. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1 - 0.1 * COS(SINE / 25), 0) * ANGLES(RAD(150 + 15 * COS(SINE / 53)), RAD(0), RAD(-15 + 5 * COS(SINE / 43))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3107. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 16), -0.01) * ANGLES(RAD(-25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3108. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.1 * COS(SINE / 33), -0.6) * ANGLES(RAD(-25), RAD(-90), RAD(0)) * ANGLES(RAD(-8 + 3 * COS(SINE / 30)), RAD(0), RAD(0 + 7 * COS(SINE / 64))), 0.15 / Animation_Speed)
  3109. POWER = POWER + 0.009
  3110. if POWER >= 6 then
  3111. POWER = 6
  3112. end
  3113. until KEYHOLD == false
  3114. BANISHAOE(Mouse.hit.Position,13*POWER,true)
  3115.  
  3116. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(20*POWER,9999,20*POWER), Size2 = VT(0,9999,0), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Mouse.Hit.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 0.9, SoundVolume = 15})
  3117. WACKYEFFECT({Time = 60, EffectType = "Block", Size = VT(5*POWER,5*POWER,5*POWER), Size2 = VT(30*POWER,30*POWER,30*POWER), Transparency = 0, Transparency2 = 1, CFrame = CF(Mouse.Hit.p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 0.9, SoundVolume = 15})
  3118. for i=0, 1, 0.1 / Animation_Speed do
  3119. Swait()
  3120. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3121. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.6 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(30), RAD(0), RAD(0)), 1 / Animation_Speed)
  3122. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3123. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3124. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3125. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3126. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.2 - 0.05 * COS(SINE / 12), -0.6) * ANGLES(RAD(30), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3127. end
  3128. ATTACK = false
  3129. Rooted = false
  3130. end
  3131.  
  3132. local Cooldown1 = false
  3133.  
  3134. function BulletRoller()
  3135. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3136. if HITFLOOR then
  3137. ATTACK = true
  3138. Rooted = true
  3139. local bv = Instance.new("BodyVelocity")
  3140. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3141. bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1,-4).p).lookVector*175
  3142. bv.Parent = RootPart
  3143. local GYRO = IT("BodyGyro",RootPart)
  3144. GYRO.D = 2
  3145. GYRO.P = 20000
  3146. GYRO.MaxTorque = VT(0,4000000,0)
  3147. GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
  3148. CreateSound(145486992,Torso,10,0.85,false)
  3149. for i=0, 0.05, 0.1 / Animation_Speed do
  3150. Swait()
  3151. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
  3152. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
  3153. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3154. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3155. if ANIM == "Fall" or ANIM == "Jump" then
  3156. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3157. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3158. else
  3159. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-5), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3160. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3161. end
  3162. end
  3163. bv:Remove()
  3164. local E = 360/15
  3165. for i = 1, 15 do
  3166. Swait()
  3167. WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(8,1,8), Size2 = VT(2,15,2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position,HITPOS) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  3168. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
  3169. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  3170. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3171. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3172. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3173. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3174. end
  3175. Cooldown1 = true
  3176. local LANDED = nil
  3177. local POS = nil
  3178. coroutine.resume(coroutine.create(function()
  3179. repeat
  3180. Swait()
  3181. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3182. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3183. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3184. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3185. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3186. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3187. until LANDED ~= nil
  3188. end))
  3189. repeat
  3190. Swait()
  3191. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
  3192. if HITFLOOR then
  3193. LANDED = HITFLOOR
  3194. POS = HITPOS
  3195. end
  3196. until LANDED ~= nil
  3197. GYRO:remove()
  3198. Swait(4)
  3199. ManualAoE(RootPart.Position,10,20,50,0,false)
  3200. CreateSound(765590102, Torso, 2, (MRANDOM(8,12)/10)+0.3, false)
  3201. WACKYEFFECT({EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(20,20,20), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255/255,0/255,0/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  3202. for i = 0, 4 do
  3203. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,0.33,0), Size2 = VT(8,0.11,8), Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-10,10), RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  3204. end
  3205. for i=0, 0.5, 0.1 / Animation_Speed do
  3206. Swait()
  3207. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  3208. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3209. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3210. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3211. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3212. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3213. end
  3214. local AMMO = 0
  3215. repeat
  3216. AMMO = AMMO + 1
  3217. for i=0, 0.1, 0.05 / Animation_Speed do
  3218. Swait()
  3219. turnto(Mouse.Hit.p)
  3220. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  3221. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-75 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3222. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3223. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(179), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3224. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3225. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3226. end
  3227. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3228. SpawnTrail(Hole.Position,POS)
  3229. if HIT ~= nil then
  3230. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3231. Banish(HIT.Parent)
  3232. end
  3233. end
  3234. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3235. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3236. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3237. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3238. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  3239. for i=0, 0.075, 0.05 / Animation_Speed do
  3240. Swait()
  3241. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  3242. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-85 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3243. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(190), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3244. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(190), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3245. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3246. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3247. end
  3248. until AMMO == 5
  3249. ATTACK = false
  3250. Rooted = false
  3251. wait(0.3)
  3252. Cooldown1 = false
  3253. end
  3254. end
  3255.  
  3256. local Cooldown2 = false
  3257.  
  3258. function SHATTER()
  3259. ATTACK = true
  3260. Rooted = true
  3261. Cooldown2 = true
  3262. local MAINRUINCOLOR = BrickColor.new("Really red")
  3263. for i=0, 0.6, 0.1 / Animation_Speed do
  3264. Swait()
  3265. WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(4,4,4), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3266. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3267. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3268. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3269. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3270. 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.4 / Animation_Speed)
  3271. 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.4 / Animation_Speed)
  3272. end
  3273. WarnFunc("S H A T T E R")
  3274. CFuncs["Sound"].Create("rbxassetid://1718412034", RootPart, 15, 1)
  3275. CFuncs["EchoSound"].Create("rbxassetid://1718412034", Character, 5, 1,0,10,0.15,0.5,1)
  3276. for i=0, 3, 0.1 / Animation_Speed do
  3277. Swait()
  3278. WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(MRANDOM(2,8),MRANDOM(2,8),MRANDOM(2,8)), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3279. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3280. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3281. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3282. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3283. 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.4 / Animation_Speed)
  3284. 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.4 / Animation_Speed)
  3285. end
  3286. for i=0, 0.25, 0.1 / Animation_Speed do
  3287. Swait()
  3288. WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(MRANDOM(2,6),MRANDOM(2,6),MRANDOM(2,6)), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3289. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  3290. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3291. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3292. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3293. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3294. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3295. end
  3296. sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
  3297. sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),2,2,2,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
  3298. sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),4,4,4,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
  3299. sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),8,8,8,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
  3300. CFuncs["Sound"].Create("rbxassetid://1841058541", RootPart, 10,1)
  3301. CFuncs["Sound"].Create("rbxassetid://2095993595", Character, 5,0.8)
  3302. CFuncs["Sound"].Create("rbxassetid://1841058541", Character, 5,1)
  3303. Humanoid.CameraOffset = VT(0,0,0)
  3304. for i = 0, 24 do
  3305. slash(math.random(10,30)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.new("Maroon"))
  3306. end
  3307. local distam = 0
  3308. coroutine.resume(coroutine.create(function()
  3309. for i = 0, 99 do
  3310. wait()
  3311. distam = distam + 1.5
  3312. local xa = CreateParta(Character,1,1,"SmoothPlastic",BrickColor.new("Really red"))
  3313. xa.Anchored = true
  3314. xa.CFrame = RootPart.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  3315. game:GetService("Debris"):AddItem(xa, 5)
  3316. coroutine.resume(coroutine.create(function()
  3317. local eff = Instance.new("ParticleEmitter",xa)
  3318. eff.Texture = "rbxassetid://2092248396"
  3319. eff.LightEmission = 1
  3320. eff.Color = ColorSequence.new(BrickColor.new("Maroon").Color)
  3321. eff.Rate = 500000
  3322. eff.Lifetime = NumberRange.new(1,3)
  3323. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  3324. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3325. eff.Speed = NumberRange.new(50,500)
  3326. eff.Drag = 5
  3327. eff.Rotation = NumberRange.new(-500,500)
  3328. eff.VelocitySpread = 9000
  3329. eff.RotSpeed = NumberRange.new(-50,50)
  3330. wait(0.25)
  3331. eff.Enabled = false
  3332. end))
  3333. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  3334. sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
  3335. sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
  3336. sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
  3337. sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
  3338. sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
  3339. sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
  3340. SmiteAoE(xa.Position, 30)
  3341. end
  3342. end))
  3343. ATTACK = false
  3344. Rooted = false
  3345. wait(3)
  3346. Cooldown2 = false
  3347. end
  3348.  
  3349. UnBanishTaunts = {"Don't do that or you will my cream again.","Ugh wrong key bur anyway you're free.","I'm sorry about that.","Forgive me please?","Don't abuse it again..","Such a shame...","Are you gonna stop now?!","My leg is hurt..","Woops?","Welp do whatever you want.","*sigh* just go away..","i'm bored."}
  3350.  
  3351. function TakeOnMe()
  3352. Speed = 16
  3353. local MEME = CreateSound(1171341451, Effects, 7, 1, false)
  3354. ATTACK = true
  3355. Rooted = false
  3356. VOLUME = 0
  3357. local DANCE = true
  3358. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  3359. if NEWKEY == "p" then
  3360. DANCE = false
  3361. VOLUME = 2
  3362. end
  3363. end)
  3364. local PLAYSONG = false
  3365. while true do
  3366. for i = 1, 15 do
  3367. Swait()
  3368. MEME.Parent = Effects
  3369. 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)
  3370. 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)
  3371. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3372. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3373. 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)
  3374. 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)
  3375. end
  3376. if DANCE == false then
  3377. break
  3378. end
  3379. for i = 1, 15 do
  3380. Swait()
  3381. MEME.Parent = Effects
  3382. 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)
  3383. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  3384. if MRANDOM(1,7) == 1 then
  3385. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3386. end RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(150), RAD(65), RAD(85)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3387. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(65), RAD(85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3388. 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)
  3389. 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)
  3390. end
  3391. end
  3392. PLAYSONG = true
  3393. KEY:Disconnect()
  3394. MEME:remove()
  3395. Speed = 25
  3396. ATTACK = false
  3397. Rooted = false
  3398. end
  3399.  
  3400. function AttackTemplate()
  3401. ATTACK = true
  3402. Rooted = false
  3403. for i=0, 1, 0.1 / Animation_Speed do
  3404. Swait()
  3405. 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)
  3406. 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)
  3407. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3408. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3409. 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)
  3410. 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)
  3411. end
  3412. ATTACK = false
  3413. Rooted = false
  3414. end
  3415.  
  3416. function Taunt()
  3417. ATTACK = true
  3418. Rooted = true
  3419. local L = CreateSound(2162230624,Head,8,1.1,false)
  3420. L.EmitterSize = 25
  3421. for i = 1, 20 do
  3422. Swait()
  3423. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  3424. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3425. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3426. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3427. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3428. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3429. end
  3430. for i = 1, 40 do
  3431. Swait()
  3432. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3433. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  3434. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3435. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3436. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3437. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3438. end
  3439. for i = 1, 60 do
  3440. Swait()
  3441. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  3442. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3443. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3444. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3445. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3446. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3447. end
  3448. for i = 1, 60 do
  3449. Swait()
  3450. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3451. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  3452. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3453. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3454. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3455. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3456. end
  3457. for i = 1, 90 do
  3458. Swait()
  3459. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  3460. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3461. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3462. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3463. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3464. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3465. end
  3466. for i = 1, 72 do
  3467. Swait()
  3468. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3469. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  3470. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3471. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3472. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3473. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3474. end
  3475. for i = 1, 96 do
  3476. Swait()
  3477. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  3478. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3479. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3480. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3481. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3482. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3483. end
  3484. for i = 1, 98 do
  3485. Swait()
  3486. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3487. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  3488. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3489. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3490. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3491. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  3492. end
  3493. ATTACK = false
  3494. Rooted = false
  3495. end
  3496.  
  3497. function MilkForm()
  3498. ATTACK = true
  3499. Rooted = true
  3500. VIS = 899090278
  3501. VOLUME = 2
  3502. PITCH = 0.96
  3503. sick.TimePosition = 0
  3504. for i=0, 0.3, 0.1 / Animation_Speed do
  3505. Swait()
  3506. RootPart.CFrame = RootPart.CFrame * CF(0,25,0)
  3507. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3508. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  3509. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3510. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3511. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  3512. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  3513. end
  3514. UNANCHOR = false
  3515. RootPart.Anchored = true
  3516. CreateSound("1368598393", Effects, 10, 1)
  3517. for i=0, 3, 0.1 / Animation_Speed do
  3518. Swait()
  3519. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  3520. MagicSphere(VT(0,0,0),15,CFRAME,"Really black",VT(0.1,0.1,5))
  3521. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Institutional white",VT(0.1,0.1,5))
  3522. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3523. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  3524. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3525. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3526. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  3527. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  3528. end
  3529. CreateSound("1368583274", Effects, 1, 1)
  3530. for i=0, 10, 0.1 / Animation_Speed do
  3531. Swait()
  3532. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.1*i,0,0.1*i), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  3533. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  3534. MagicSphere(VT(0,0,0),15,CFRAME,"Really red",VT(0.1,0.1,55))
  3535. MagicSphere(VT(0,0,0),60,CFRAME,"Really red",VT(0.07*i,0.07*i,0.07*i))
  3536. MagicSphere(VT(0.1,0.1,0.1),15,CFRAME,"Really red",VT(0.1,0.1,55))
  3537. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3538. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  3539. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3540. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3541. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  3542. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  3543. end
  3544. CreateRing(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Really red",VT(7,7,0))
  3545. CreateSound("1368605755", Effects, 10, 1)
  3546. CreateSound("1368637781", Effects, 10, 1)
  3547. MagicSphere(VT(0,0,0),45,Torso.CFrame,"Really red",VT(5,5,5))
  3548. for i=0, 1, 0.1 / Animation_Speed do
  3549. Swait()
  3550. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3551. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  3552. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3553. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3554. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
  3555. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
  3556. end
  3557. Speed = 45
  3558. Milk = true
  3559. UNANCHOR = true
  3560. RootPart.Anchored = false
  3561. ATTACK = false
  3562. Rooted = false
  3563. end
  3564.  
  3565. function CreamForm()
  3566. ATTACK = true
  3567. Rooted = true
  3568. VIS = 1138145518
  3569. VOLUME = 1.5
  3570. PITCH = 1
  3571. sick.TimePosition = 0
  3572. Milk = false
  3573. for i=0, 2, 0.1 / Animation_Speed do
  3574. Swait()
  3575. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.5) * ANGLES(RAD(25 - 1 * COS(SINE / 1)), RAD(0 + 1 * COS(SINE / 1)), RAD(0 - 1 * COS(SINE / 1))), 0.2 / Animation_Speed)
  3576. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  3577. if MRANDOM(1,7) == 1 then
  3578. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3579. end
  3580. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170 - 1 * COS(SINE / 1)), RAD(0), RAD(-20 + 1 * COS(SINE / 1))) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3581. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170 + 1 * COS(SINE / 1)), RAD(0), RAD(20 - 1 * COS(SINE / 1))) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3582. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
  3583. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
  3584. end
  3585. Chill = false
  3586. Mode = "idk"
  3587. Speed = 16
  3588. ATTACK = false
  3589. Rooted = false
  3590. end
  3591.  
  3592. function CreamForm2()
  3593. ATTACK = true
  3594. Rooted = true
  3595. VIS = 1138145518
  3596. VOLUME = 1.5
  3597. PITCH = 1
  3598. sick.TimePosition = 0
  3599. Chill = false
  3600. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(20,20,20), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  3601. Gun.Parent = Character
  3602. for i=0, 2, 0.1 / Animation_Speed do
  3603. Swait()
  3604. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(25 - 1 * COS(SINE / 1)), RAD(0 + 1 * COS(SINE / 1)), RAD(0 - 1 * COS(SINE / 1))), 0.2 / Animation_Speed)
  3605. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3606. if MRANDOM(1,7) == 1 then
  3607. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  3608. end
  3609. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170 - 1 * COS(SINE / 1)), RAD(0), RAD(-20 + 1 * COS(SINE / 1))) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3610. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170 + 1 * COS(SINE / 1)), RAD(0), RAD(20 - 1 * COS(SINE / 1))) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3611. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0, -0.6) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3612. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0, -0.6) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3613. end
  3614. Speed = 16
  3615. ATTACK = false
  3616. Rooted = false
  3617. end
  3618.  
  3619. local Cooldown4 = false
  3620.  
  3621. function Booster()
  3622. ATTACK = true
  3623. Rooted = true
  3624. Cooldown4 = true
  3625. coroutine.resume(coroutine.create(function()
  3626. WACKYEFFECT({Time = 100, EffectType = "Sphere", Size = VT(60,9999,60), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 0.7, SoundVolume = 7})
  3627. Swait(60)
  3628. WACKYEFFECT({Time = 80, EffectType = "Sphere", Size = VT(40,9999,40), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 0.8, SoundVolume = 7})
  3629. Swait(30)
  3630. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(20,9999,20), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 0.9, SoundVolume = 7})
  3631. end))
  3632. for i=0, 3.5, 0.1 / Animation_Speed do
  3633. Swait()
  3634. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.5 - 0.5 * COS(SINE / 12)) * ANGLES(RAD(35 - 1 * COS(SINE / 1)), RAD(0 + 1 * COS(SINE / 1)), RAD(0 - 1 * COS(SINE / 1))), 0.2 / Animation_Speed)
  3635. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3636. if MRANDOM(1,7) == 1 then
  3637. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 0.2 / Animation_Speed)
  3638. end
  3639. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(20 - 1 * COS(SINE / 1)), RAD(0), RAD(-89 + 1 * COS(SINE / 1))) * RIGHTSHOULDERC0, 0.7 / Animation_Speed)
  3640. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(20 + 1 * COS(SINE / 1)), RAD(0), RAD(85 - 1 * COS(SINE / 1))) * LEFTSHOULDERC0, 0.7 / Animation_Speed)
  3641. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3642. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3643. end
  3644.  
  3645. for i=0, 1, 0.1 / Animation_Speed do
  3646. Swait()
  3647. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.7 - 0.5 * COS(SINE / 12)) * ANGLES(RAD(-45 - 1 * COS(SINE / 1)), RAD(0 + 1 * COS(SINE / 1)), RAD(0 - 1 * COS(SINE / 1))), 1 / Animation_Speed)
  3648. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3649. if MRANDOM(1,7) == 1 then
  3650. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1 / Animation_Speed)
  3651. end
  3652. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40 - 1 * COS(SINE / 1)), RAD(0), RAD(25 + 1 * COS(SINE / 1))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3653. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40 + 1 * COS(SINE / 1)), RAD(0), RAD(-35 - 1 * COS(SINE / 1))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3654. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3655. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 01 / Animation_Speed)
  3656. end
  3657. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(40,40,40), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 1, SoundVolume = 7})
  3658. coroutine.resume(coroutine.create(function()
  3659. local eff = Instance.new("ParticleEmitter",RootPart)
  3660. eff.Texture = "rbxassetid://2092248396"
  3661. eff.LightEmission = 1
  3662. eff.Color = ColorSequence.new(BrickColor.new("Maroon").Color)
  3663. eff.Rate = 500000
  3664. eff.Lifetime = NumberRange.new(1,3)
  3665. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  3666. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3667. eff.Speed = NumberRange.new(50,500)
  3668. eff.Drag = 5
  3669. eff.Rotation = NumberRange.new(-500,500)
  3670. eff.VelocitySpread = 9000
  3671. eff.RotSpeed = NumberRange.new(-50,50)
  3672. wait(0.25)
  3673. eff.Enabled = false
  3674. end))
  3675. Speed = 90
  3676. Boost = true
  3677. PITCH = 1
  3678. ATTACK = false
  3679. Rooted = false
  3680. wait(45)
  3681. PITCH = 0.96
  3682. Speed = 45
  3683. Boost = false
  3684. wait(5)
  3685. Cooldown4 = false
  3686. end
  3687.  
  3688. local Cooldown3 = false
  3689.  
  3690. function AURORA()
  3691. ATTACK = true
  3692. Rooted = true
  3693. Cooldown3 = true
  3694. if Boost == false then
  3695. WarnFunc("A U R O R A")
  3696. elseif Boost == true then
  3697. WarnFunc("B A N I S H")
  3698. end
  3699. local bgui = Instance.new("BillboardGui",RootPart)
  3700. bgui.Size = UDim2.new(25, 0, 25, 0)
  3701. local imgc = Instance.new("ImageLabel",bgui)
  3702. imgc.BackgroundTransparency = 1
  3703. imgc.ImageTransparency = 1
  3704. imgc.Position = UDim2.new(-0.25,0,-0.25,0)
  3705. imgc.Size = UDim2.new(1,0,1,0)
  3706. imgc.Image = "rbxassetid://0"
  3707. imgc.ImageColor3 = Color3.new(99/255,95/255,98/255)
  3708. local imgc2 = imgc:Clone()
  3709. imgc2.Image = "rbxassetid://2076519836"
  3710. imgc2.Parent = bgui
  3711. imgc2.Position = UDim2.new(-1.5,0,-1.5,0)
  3712. imgc2.Size = UDim2.new(4,0,4,0)
  3713. imgc2.ImageColor3 = Color3.new(255/255,0/255,0/255)
  3714.  
  3715. for i=0, 4, 0.1 / Animation_Speed do
  3716. Swait()
  3717. imgc2.ImageTransparency = imgc2.ImageTransparency - 0.01
  3718. if Boost == false then
  3719. imgc2.Rotation = imgc2.Rotation - 20
  3720. bgui.Size = bgui.Size + UDim2.new(0.25, 0, 0.25, 0)
  3721. elseif Boost == true then
  3722. imgc2.Rotation = imgc2.Rotation - 40
  3723. bgui.Size = bgui.Size + UDim2.new(0.50, 0, 0.50, 0)
  3724. end
  3725. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.7 - 0.1 * COS(SINE / 12)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  3726. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3727. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3728. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3729. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-45 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3730. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 01 / Animation_Speed)
  3731. end
  3732. if Boost == false then
  3733. SmiteAoE(RootPart.Position,80)
  3734. elseif Boost == true then
  3735. BANISHAOE(RootPart.Position,80*2,true)
  3736. end
  3737. if Boost == false then
  3738. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(150,150,150), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 1, SoundVolume = 7})
  3739. elseif Boost == true then
  3740. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(150*2,150*2,150*2), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 925333540, SoundPitch = 1, SoundVolume = 15})
  3741. end
  3742. for i=0, 0.75, 0.1 / Animation_Speed do
  3743. Swait()
  3744. if Boost == false then
  3745. bgui.Size = bgui.Size - UDim2.new(2.2, 0, 2.2, 0)
  3746. imgc2.Rotation = imgc2.Rotation + 35
  3747. elseif Boost == true then
  3748. bgui.Size = bgui.Size - UDim2.new(4.4, 0, 4.4, 0)
  3749. imgc2.Rotation = imgc2.Rotation + 70
  3750. end
  3751. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 1.7 - 0.1 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3752. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3753. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(20), RAD(0), RAD(-89)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3754. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(20), RAD(0), RAD(89)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3755. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-45 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3756. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 01 / Animation_Speed)
  3757. end
  3758. bgui:Destroy()
  3759. ATTACK = false
  3760. Rooted = false
  3761. wait(1)
  3762. Cooldown3 = false
  3763. end
  3764.  
  3765. function Ground_Strike()
  3766. ATTACK = true
  3767. Rooted = false
  3768. Gun.Parent = nil
  3769. for i=0, 2, 0.1 / Animation_Speed do
  3770. Swait()
  3771. WACKYEFFECT({Time = 40, EffectType = "Block", Size = VT(4.5,4.5,4.5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-3.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7})
  3772. WACKYEFFECT({Time = 40, EffectType = "Slash", Size = VT(0.15,0.05,0.15), Size2 = VT(0.3,0.1,0.3), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-3.5,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7})
  3773. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 5 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3774. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3775. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3776. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.4) * ANGLES(RAD(20 + 4 * COS(SINE / 53)), RAD(0), RAD(84 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3777. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3778. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3779. end
  3780.  
  3781. for i=0, 0.3, 0.1 / Animation_Speed do
  3782. Swait()
  3783. turnto(Mouse.Hit.p)
  3784. WACKYEFFECT({Time = 40, EffectType = "Block", Size = VT(4.5,4.5,4.5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-3.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7})
  3785. WACKYEFFECT({Time = 40, EffectType = "Slash", Size = VT(0.15,0.05,0.15), Size2 = VT(0.3,0.1,0.3), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-3.5,0) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7})
  3786. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 1.2 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3787. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3788. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3789. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.4) * ANGLES(RAD(20 + 4 * COS(SINE / 53)), RAD(0), RAD(87 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3790. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 2 / Animation_Speed)
  3791. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 2 / Animation_Speed)
  3792. end
  3793. local Repos = 0
  3794. CFuncs["Sound"].Create("rbxassetid://1368637781", RootPart, 3,1)
  3795. CFuncs["Sound"].Create("rbxassetid://763718160", RootPart, 4, 1.1)
  3796. CFuncs["Sound"].Create("rbxassetid://782353443", RootPart, 6, 1)
  3797. CFuncs["EchoSound"].Create("rbxassetid://824687369", RootPart, 10, 1,0,10,0.25,0.5,1)
  3798. CFuncs["EchoSound"].Create("rbxassetid://824687369", Character, 2, 1,0,10,0.25,0.5,1)
  3799. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0.15,0.05,0.15), Size2 = VT(230,0.5,230), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.6,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7})
  3800. for i = 0, 4 do
  3801. WACKYEFFECT({Time = 35, EffectType = "Slash", Size = VT(0.15,0.05,0.15), Size2 = VT(1.5,0.15,1.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.6,0) * ANGLES(RAD(0), RAD(MRANDOM(-90,90)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7})
  3802. end
  3803. local Bonus = 1
  3804. coroutine.resume(coroutine.create(function()
  3805. for i = 0, 28 do
  3806. Swait()
  3807. Bonus = Bonus + 0.05
  3808. Repos = Repos + 1
  3809. local xa = RootPart.CFrame*CFrame.new(0,-1,-Repos/0.1)
  3810. WACKYEFFECT({Time = 20, EffectType = "Sphere", Size = VT(30,0,30), Size2 = VT(12.5*Bonus,40*Bonus,12.5*Bonus)*2, Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.8,-Repos/0.1), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.7,0,0), SoundID = nil, SoundPitch = 0.7, SoundVolume = 7})
  3811. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(30*Bonus,10*Bonus,30*Bonus)*2, Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.8,-Repos/0.1), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.45,0,0), SoundID = 192410089, SoundPitch = 1, SoundVolume = 7*Bonus})
  3812. if Boost == false then
  3813. SmiteAoE(xa.Position,37)
  3814. elseif Boost == true then
  3815. BANISHAOE(xa.Position,37,true)
  3816. end
  3817. end
  3818. end))
  3819. Gun.Parent = Character
  3820. for i=0, 2, 0.1 / Animation_Speed do
  3821. Swait()
  3822. turnto(Mouse.Hit.p)
  3823. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 1.5 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3824. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3825. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3826. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(20 + 4 * COS(SINE / 53)), RAD(-15), RAD(-21 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3827. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3828. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3829. end
  3830. ATTACK = false
  3831. Rooted = false
  3832. end
  3833.  
  3834. function Float_Bullet()
  3835. ATTACK = true
  3836. Rooted = false
  3837. for i=0, 0.4, 0.05 / Animation_Speed do
  3838. Swait()
  3839. turnto(Mouse.Hit.p)
  3840. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.6 - 0.1 * COS(SINE / 26)) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  3841. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3842. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3843. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.4) * ANGLES(RAD(-50 + 4 * COS(SINE / 53)), RAD(0), RAD(30 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3844. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3845. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3846. end
  3847. repeat
  3848. for i=0, 0.175, 0.05 / Animation_Speed do
  3849. Swait()
  3850. turnto(Mouse.Hit.p)
  3851. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.6 - 0.1 * COS(SINE / 26)) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  3852. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.5 / Animation_Speed)
  3853. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3854. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.4) * ANGLES(RAD(-50 + 4 * COS(SINE / 53)), RAD(0), RAD(30 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3855. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3856. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3857. end
  3858. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3859. SpawnTrail(Hole.Position,POS)
  3860. if HIT ~= nil then
  3861. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3862. Banish(HIT.Parent)
  3863. end
  3864. end
  3865. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3866. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3867. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3868. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3869. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  3870. for i=0, 0.1, 0.05 / Animation_Speed do
  3871. Swait()
  3872. turnto(Mouse.Hit.p)
  3873. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.6 - 0.1 * COS(SINE / 26)) * ANGLES(RAD(-5), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  3874. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.25 / Animation_Speed)
  3875. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3876. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.4) * ANGLES(RAD(-50 + 4 * COS(SINE / 53)), RAD(0), RAD(30 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3877. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3878. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3879. end
  3880. until KEYHOLD == false
  3881. ATTACK = false
  3882. Rooted = false
  3883. end
  3884.  
  3885.  
  3886. --//=================================\\
  3887. --|| ASSIGN THINGS TO KEYS
  3888. --\\=================================//
  3889.  
  3890. function MouseDown(Mouse)
  3891. if ATTACK == false then
  3892. end
  3893. end
  3894.  
  3895. function MouseUp(Mouse)
  3896. HOLD = false
  3897. end
  3898.  
  3899. function KeyDown(Key)
  3900. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  3901. KEYHOLD = true
  3902. if Key == "z" and ATTACK == false and Milk == false and Chill == false then
  3903. Rifle_Bullet()()
  3904. elseif Key == "z" and ATTACK == false and Milk == true then
  3905. Float_Bullet()
  3906. end
  3907.  
  3908. if Key == "t" and ATTACK == false and Milk == false then
  3909. Taunt()
  3910. end
  3911.  
  3912. if Key == "p" and ATTACK == false and Milk == false then
  3913. TakeOnMe()
  3914. end
  3915.  
  3916. if Key == "e" and ATTACK == false and Milk == false and Chill == false then
  3917. Sky0.SkyboxBk = "rbxassetid://58372692"
  3918. Sky0.SkyboxDn = "rbxassetid://58372720"
  3919. Sky0.SkyboxFt = "rbxassetid://58372743"
  3920. Sky0.SkyboxLf = "rbxassetid://58372775"
  3921. Sky0.SkyboxRt = "rbxassetid://58372795"
  3922. Sky0.SkyboxUp = "rbxassetid://58372811"
  3923. Speed = 16
  3924. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(20,20,20), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 0})
  3925. VIS = 1305251774
  3926. VOLUME = 1.5
  3927. PITCH = 1.04
  3928. sick.TimePosition = 0
  3929. Mode = "Main"
  3930. Gun.Parent = nil
  3931. Chill = true
  3932. elseif Key == "e" and ATTACK == false and Boost == false and Milk == false and Chill == true then
  3933. Mode = "idk"
  3934. CreamForm2()
  3935. end
  3936.  
  3937. if Key == "z" and ATTACK == false and Chill == true and Mode ~= "Main" then
  3938. game.Lighting.TimeOfDay = "12:00:00"
  3939. Speed = 16
  3940. VIS = 1305251774
  3941. VOLUME = 1.5
  3942. PITCH = 1.04
  3943. sick.TimePosition = 0
  3944. Mode = "Main"
  3945. end
  3946.  
  3947. if Key == "x" and ATTACK == false and Chill == true and Mode ~= "Lucid" then
  3948. game.Lighting.TimeOfDay = "18:30:00"
  3949. Speed = 18
  3950. VIS = 892260150
  3951. VOLUME = 1.5
  3952. PITCH = 1.02
  3953. sick.TimePosition = 3
  3954. Mode = "Lucid"
  3955. end
  3956.  
  3957. if Key == "q" and ATTACK == false and Milk == false and Chill == false then
  3958. MilkForm()
  3959. elseif Key == "q" and ATTACK == false and Boost == false and Milk == true then
  3960. CreamForm()
  3961. end
  3962.  
  3963. if Key == "c" and Cooldown1 == false and ATTACK == false and Milk == false and Chill == false then
  3964. BulletRoller()
  3965. elseif Key == "c" and Boost == false and Cooldown4 == false and ATTACK == false and Milk == true then
  3966. Booster()
  3967. end
  3968.  
  3969. if Key == "v" and Cooldown2 == false and ATTACK == false and Milk == false and Chill == false then
  3970. SHATTER()
  3971. elseif Key == "v" and Cooldown3 == false and ATTACK == false and Milk == true then
  3972. AURORA()
  3973. end
  3974.  
  3975. if Key == "b" and ATTACK == false then
  3976. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  3977. TOBANISH = {}
  3978. end
  3979.  
  3980. if Key == "x" and ATTACK == false and Milk == false and Chill == false then
  3981. Cream_Strike_rlly()
  3982. elseif Key == "x" and ATTACK == false and Milk == true then
  3983. Ground_Strike()
  3984. end
  3985. end
  3986. end
  3987.  
  3988. function KeyUp(Key)
  3989. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  3990. KEYHOLD = false
  3991. end
  3992. end
  3993.  
  3994. Mouse.Button1Down:connect(function(NEWKEY)
  3995. MouseDown(NEWKEY)
  3996. end)
  3997. Mouse.Button1Up:connect(function(NEWKEY)
  3998. MouseUp(NEWKEY)
  3999. end)
  4000. Mouse.KeyDown:connect(function(NEWKEY)
  4001. KeyDown(NEWKEY)
  4002. end)
  4003. Mouse.KeyUp:connect(function(NEWKEY)
  4004. KeyUp(NEWKEY)
  4005. end)
  4006.  
  4007. --//=================================\\
  4008. --\\=================================//
  4009.  
  4010.  
  4011. function unanchor()
  4012. if UNANCHOR == true then
  4013. g = Character:GetChildren()
  4014. for i = 1, #g do
  4015. if g[i].ClassName == "Part" then
  4016. g[i].Anchored = false
  4017. end
  4018. end
  4019. end
  4020. end
  4021.  
  4022.  
  4023. --//=================================\\
  4024. --|| WRAP THE WHOLE SCRIPT UP
  4025. --\\=================================//
  4026.  
  4027. Humanoid.Changed:connect(function(Jump)
  4028. if Jump == "Jump" and (Disable_Jump == true) then
  4029. Humanoid.Jump = false
  4030. end
  4031. end)
  4032.  
  4033. local CONNECT = nil
  4034.  
  4035. coroutine.resume(coroutine.create(function()
  4036. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  4037. while true do
  4038. Swait()
  4039. if Milk == true and Boost == false then
  4040. sphereMK(2,-0.5,"Add",RootPart.CFrame*CFrame.new(math.random(-15,15),math.random(-10,5),math.random(-15,15))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),0.5,0.5,5,-0.0075,BrickColor.new("Crimson"),0)
  4041. end
  4042. end
  4043. end))
  4044.  
  4045. coroutine.resume(coroutine.create(function()
  4046. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  4047. while true do
  4048. Swait()
  4049. if Milk == true and Boost == true then
  4050. sphereMK(2,-0.5,"Add",RootPart.CFrame*CFrame.new(math.random(-25,25),math.random(-10,5),math.random(-25,25))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),0.5,0.5,5,-0.0075,BrickColor.new("Crimson"),0)
  4051. sphereMK(2,-0.5,"Add",RootPart.CFrame*CFrame.new(math.random(-25,25),math.random(10,15),math.random(-25,25))*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),0.25,0.25,5,0.0075,BrickColor.new("Crimson"),0)
  4052. end
  4053. end
  4054. end))
  4055.  
  4056. coroutine.resume(coroutine.create(function()
  4057. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  4058. while true do
  4059. Swait()
  4060. if Milk == true then
  4061. WACKYEFFECT({EffectType = "Round Slash", Size = VT(0,0.05,0), Size2 = VT(0.25,0.08,0.25), Transparency = 0.2, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.85,0) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = MRANDOM(0,0.5), Material = "Neon", Color = C3(255/255,255/255,255/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4062. Swait(5)
  4063. end
  4064. end
  4065. end))
  4066.  
  4067. coroutine.resume(coroutine.create(function()
  4068. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  4069. while true do
  4070. Swait()
  4071. if Milk == true and Boost == true then
  4072. WACKYEFFECT({Time = MRANDOM(10,35), EffectType = "Round Slash", Size = VT(0,0.05,0), Size2 = VT(0.425,0.08,0.425), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.85,0) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = MRANDOM(0,0.5), Material = "Neon", Color = C3(MRANDOM(55,255)/255,0/255,0/255), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  4073. Swait(6)
  4074. end
  4075. end
  4076. end))
  4077.  
  4078. while true do
  4079. Swait()
  4080. ANIMATE.Parent = nil
  4081. if Character:FindFirstChildOfClass("Humanoid") == nil then
  4082. Humanoid = IT("Humanoid",Character)
  4083. end
  4084. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  4085. v:Stop();
  4086. end
  4087. SINE = SINE + CHANGE
  4088. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  4089. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  4090. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  4091. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  4092. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  4093. if Milk == false or Chill == true then
  4094. 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)
  4095. 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)
  4096. 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)
  4097. 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)
  4098. elseif Milk == true then
  4099. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4100. 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)
  4101. end
  4102. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  4103.  
  4104. if Milk == false or Chill == true then
  4105. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4106. 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)
  4107. 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)
  4108. 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)
  4109. elseif Milk == true then
  4110. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4111. 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)
  4112. end
  4113. end
  4114. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  4115.  
  4116. ANIM = "Jump"
  4117. if ATTACK == false then
  4118. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4119. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4120. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40), RAD(0), RAD(20))* RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4121. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4122. 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)
  4123. 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)
  4124. end
  4125. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  4126. ANIM = "Fall"
  4127. if ATTACK == false then
  4128. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.5 ) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4129. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4130. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4131. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4132. 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)
  4133. 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)
  4134. end
  4135. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  4136. ANIM = "Idle"
  4137. if ATTACK == false then
  4138. if Milk == false and Chill == false then
  4139. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  4140. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  4141. if MRANDOM(1,7) == 1 then
  4142. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  4143. end
  4144. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4145. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(95), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  4146. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * COS(SINE / 24), -1 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  4147. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  4148. elseif Milk == true then
  4149. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 1.65 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  4150. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  4151. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.4) * ANGLES(RAD(-60 - 4.8 * COS(SINE / 49)), RAD(0), RAD(-25 + 2 * COS(SINE / 19))) * RIGHTSHOULDERC0, 0.7 / Animation_Speed)
  4152. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.4) * ANGLES(RAD(-50 + 4 * COS(SINE / 53)), RAD(0), RAD(30 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 0.7 / Animation_Speed)
  4153. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-15 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  4154. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  4155. elseif Chill == true and Mode == "Main" then
  4156. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed*3)
  4157. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  4158. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0 - 2 * COS(SINE / 63)), RAD(0), RAD(12 - 4 * COS(SINE / 53))) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  4159. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0 - 3 * COS(SINE / 56)), RAD(0), RAD(-12 - 6 * COS(SINE / 47))) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  4160. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 24), 0) * ANGLES(RAD(0), RAD(78), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  4161. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 24), 0) * ANGLES(RAD(0), RAD(-78), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  4162. elseif Chill == true and Mode == "Lucid" then
  4163. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed*3)
  4164. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  4165. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  4166. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  4167. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9 - 0.1 * COS(SINE / 20), 0.025 * COS(SINE / 20)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  4168. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.9 - 0.1 * COS(SINE / 20), 0.025 * COS(SINE / 20)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-6.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  4169. end
  4170. end
  4171. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  4172.  
  4173. ANIM = "Walk"
  4174. if ATTACK == false then
  4175. if Milk == false and Chill == false then
  4176. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4177. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4178. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65, -0.15) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4179. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  4180. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  4181. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  4182. elseif Milk == true then
  4183. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 - 0.25 * COS(SINE / 49), 0, 1.65 - 0.25 * COS(SINE / 26)) * ANGLES(RAD(40), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  4184. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  4185. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-50 - 6 * COS(SINE / 49)), RAD(0), RAD(5 + 2 * COS(SINE / 19))) * RIGHTSHOULDERC0, 0.7 / Animation_Speed)
  4186. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-50 + 8.5 * COS(SINE / 53)), RAD(0), RAD(-5 - 2 * COS(SINE / 22))) * LEFTSHOULDERC0, 0.7 / Animation_Speed)
  4187. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(-20 + 9 * COS(SINE / 74)), RAD(80), RAD(0)) * ANGLES(RAD(0 + 5 * COS(SINE / 37)), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  4188. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-20 - 9 * COS(SINE / 54)), RAD(-80), RAD(0)) * ANGLES(RAD(0 - 5 * COS(SINE / 41)), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  4189. elseif Chill == true and Mode ~= "Lucid" then
  4190. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4191. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4192. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4193. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  4194. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.6 / Animation_Speed)
  4195. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.6 / Animation_Speed)
  4196. elseif Mode == "Lucid" then
  4197. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.175 + 0.025 * COS(SINE / 3.5) + -SIN(SINE / 3.5) / 7) * ANGLES(RAD(4-2.5 * COS(SINE / 3.5)), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(5 * COS(SINE / 7))), 0.15)
  4198. Torso.Neck.C0 = Clerp(Torso.Neck.C0, NECKC0 * ANGLES(RAD(-2.5 * SIN(SINE / 20)), RAD(0), RAD(0) - Head.RotVelocity.Y / 15), 0.3)
  4199. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0.15) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.6 / Animation_Speed)
  4200. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0.15) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.6 / Animation_Speed)
  4201. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  4202. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.4 - 0.05 * COS(SINE / 30), 0.25 - 0.025 * COS(SINE / 20)) * ANGLES(RAD(-30), RAD(0), RAD(30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  4203. end
  4204. end
  4205. end
  4206. unanchor()
  4207. Humanoid.MaxHealth = "inf"
  4208. Humanoid.Health = "inf"
  4209. if Rooted == false then
  4210. Disable_Jump = false
  4211. Humanoid.WalkSpeed = Speed
  4212. elseif Rooted == true then
  4213. Disable_Jump = true
  4214. Humanoid.WalkSpeed = 0
  4215. end
  4216.  
  4217. if INTRO == false and INSTANT == false then
  4218. INTRO = true
  4219. coroutine.resume(coroutine.create(function()
  4220. sick:Play()
  4221. Intro()
  4222. end))
  4223. end
  4224. if INSTANT == true then
  4225. if TRANSFORMED == false then
  4226. sick.TimePosition = 119
  4227. sick:Play()
  4228. Gun.Parent = Character
  4229. end
  4230. TRANSFORMED = true
  4231. end
  4232. sick.Parent = Character
  4233. sick.Volume = VOLUME
  4234. sick.Pitch = PITCH
  4235. sick.SoundId = "rbxassetid://"..VIS
  4236. sick.Name = "Dead"
  4237. sick.Looped = true
  4238. sick:Resume()
  4239. end
  4240.  
  4241. --//=================================\\
  4242. --\\=================================//
  4243.  
  4244.  
  4245.  
  4246.  
  4247.  
  4248. --//====================================================\\--
  4249. --|| END OF SCRIPT
  4250. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement