Advertisement
wormybag9035

lol

Jul 12th, 2019
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.62 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  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").wormybag9035
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  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. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. --//====================================================\\--
  87. --|| CREATED BY SHACKLUSTER
  88. --\\====================================================//--
  89.  
  90. script:ClearAllChildren()
  91. wait(1)
  92.  
  93. Player = game:GetService("Players").wormybag9035
  94. PlayerGui = Player.PlayerGui
  95. Cam = workspace.CurrentCamera
  96. Backpack = Player.Backpack
  97. Character = Player.Character
  98. Humanoid = Character.Humanoid
  99. RootPart = Character["HumanoidRootPart"]
  100. Torso = Character["Torso"]
  101. Head = Character["Head"]
  102. RightArm = Character["Right Arm"]
  103. LeftArm = Character["Left Arm"]
  104. RightLeg = Character["Right Leg"]
  105. LeftLeg = Character["Left Leg"]
  106. RootJoint = RootPart["RootJoint"]
  107. Neck = Torso["Neck"]
  108. RightShoulder = Torso["Right Shoulder"]
  109. LeftShoulder = Torso["Left Shoulder"]
  110. RightHip = Torso["Right Hip"]
  111. LeftHip = Torso["Left Hip"]
  112. local ROOT = Humanoid.Torso
  113. local CHARACTER = Character
  114. local HEAD = CHARACTER.Head
  115. local TORSO = CHARACTER.Torso
  116. local RIGHTARM = CHARACTER["Right Arm"]
  117. local LEFTARM = CHARACTER["Left Arm"]
  118. local RIGHTLEG = CHARACTER["Right Leg"]
  119. local LEFTLEG = CHARACTER["Left Leg"]
  120. local ROOTJOINT = ROOT["RootJoint"]
  121. local NECK = TORSO["Neck"]
  122. local RIGHTSHOULDER = TORSO["Right Shoulder"]
  123. local LEFTSHOULDER = TORSO["Left Shoulder"]
  124. local RIGHTHIP = TORSO["Right Hip"]
  125. local LEFTHIP = TORSO["Left Hip"]
  126. local Dancing = false
  127. local TIME = 0
  128. local Music = Instance.new("Sound",Torso)
  129. Music:Play()
  130. Music.SoundId = "rbxassetid://1359036559"
  131. IT = Instance.new
  132. CF = CFrame.new
  133. VT = Vector3.new
  134. RAD = math.rad
  135. C3 = Color3.new
  136. UD2 = UDim2.new
  137. BRICKC = BrickColor.new
  138. ANGLES = CFrame.Angles
  139. EULER = CFrame.fromEulerAnglesXYZ
  140. COS = math.cos
  141. ACOS = math.acos
  142. SIN = math.sin
  143. ASIN = math.asin
  144. ABS = math.abs
  145. MRANDOM = math.random
  146. FLOOR = math.floor
  147.  
  148. --//=================================\\
  149. --|| USEFUL VALUES
  150. --\\=================================//
  151.  
  152. Animation_Speed = 3
  153. Player_Size = 1
  154. local FORCERESET = false
  155. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  156. local Speed = 16
  157. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  158. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  159. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  160. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  161. local NECKO = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  162. local DAMAGEMULTIPLIER = 1
  163. local ANIM = "Idle"
  164. local ATTACK = false
  165. local EQUIPPED = false
  166. local HOLD = false
  167. local COMBO = 1
  168. local Rooted = false
  169. local SINE = 0
  170. local KEYHOLD = false
  171. local CHANGE = 2 / Animation_Speed
  172. local WALKINGANIM = false
  173. local VALUE1 = false
  174. local VALUE2 = false
  175. local ROBLOXIDLEANIMATION = IT("Animation")
  176. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  177. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  178. --ROBLOXIDLEANIMATION.Parent = Humanoid
  179. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  180. WEAPONGUI.Name = "BanishV3Gui"
  181. local Weapon = IT("Model")
  182. Weapon.Name = "Adds"
  183. local Effects = IT("Folder", Character)
  184. Effects.Name = "Effects"
  185. local ANIMATOR = Humanoid.Animator
  186. local ANIMATE = Character:FindFirstChild("Animate")
  187. local UNANCHOR = true
  188. local TOBANISH = {}
  189. script.Parent = PlayerGui
  190. local reason = "U so ugly"
  191. local r = 255
  192. local g = 0
  193. local b = 0
  194. local Int = 0
  195. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  196. coroutine.resume(coroutine.create(function()
  197. while wait(0.05) do
  198. Swait()
  199. if Int == #Colours then Int = 0 end
  200. Int = Int + 1
  201. end
  202. end))
  203.  
  204.  
  205.  
  206. coroutine.resume(coroutine.create(function()
  207. while wait() do
  208. for i = 0, 254/5 do
  209. Swait()
  210. g = g + 5
  211. end
  212. for i = 0, 254/5 do
  213. Swait()
  214. r = r - 5
  215. end
  216. for i = 0, 254/5 do
  217. Swait()
  218. b = b + 5
  219. end
  220. for i = 0, 254/5 do
  221. Swait()
  222. g = g - 5
  223. end
  224. for i = 0, 254/5 do
  225. Swait()
  226. r = r + 5
  227. end
  228. for i = 0, 254/5 do
  229. Swait()
  230. b = b - 5
  231. end
  232. end
  233. end))
  234. local MODE = "GOD"
  235.  
  236. --//=================================\\
  237. --\\=================================//
  238.  
  239.  
  240. --//=================================\\
  241. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  242. --\\=================================//
  243.  
  244. ArtificialHB = Instance.new("BindableEvent", script)
  245. ArtificialHB.Name = "ArtificialHB"
  246.  
  247. script:WaitForChild("ArtificialHB")
  248.  
  249. frame = Frame_Speed
  250. tf = 0
  251. allowframeloss = false
  252. tossremainder = false
  253. lastframe = tick()
  254. script.ArtificialHB:Fire()
  255.  
  256. game:GetService("RunService").Heartbeat:connect(function(s, p)
  257. tf = tf + s
  258. if tf >= frame then
  259. if allowframeloss then
  260. script.ArtificialHB:Fire()
  261. lastframe = tick()
  262. else
  263. for i = 1, math.floor(tf / frame) do
  264. script.ArtificialHB:Fire()
  265. end
  266. lastframe = tick()
  267. end
  268. if tossremainder then
  269. tf = 0
  270. else
  271. tf = tf - frame * math.floor(tf / frame)
  272. end
  273. end
  274. end)
  275.  
  276. --//=================================\\
  277. --\\=================================//
  278.  
  279. --//=================================\\
  280. --|| SOME FUNCTIONS
  281. --\\=================================//
  282.  
  283. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  284. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  285. end
  286.  
  287. function PositiveAngle(NUMBER)
  288. if NUMBER >= 0 then
  289. NUMBER = 0
  290. end
  291. return NUMBER
  292. end
  293.  
  294. function NegativeAngle(NUMBER)
  295. if NUMBER <= 0 then
  296. NUMBER = 0
  297. end
  298. return NUMBER
  299. end
  300.  
  301. function Swait(NUMBER)
  302. if NUMBER == 0 or NUMBER == nil then
  303. ArtificialHB.Event:wait()
  304. else
  305. for i = 1, NUMBER do
  306. ArtificialHB.Event:wait()
  307. end
  308. end
  309. end
  310.  
  311. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  312. local NEWMESH = IT(MESH)
  313. if MESH == "SpecialMesh" then
  314. NEWMESH.MeshType = MESHTYPE
  315. if MESHID ~= "nil" and MESHID ~= "" then
  316. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  317. end
  318. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  319. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  320. end
  321. end
  322. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  323. NEWMESH.Scale = SCALE
  324. NEWMESH.Parent = PARENT
  325. return NEWMESH
  326. end
  327.  
  328. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  329. local NEWPART = IT("Part")
  330. NEWPART.formFactor = FORMFACTOR
  331. NEWPART.Reflectance = REFLECTANCE
  332. NEWPART.Transparency = TRANSPARENCY
  333. NEWPART.CanCollide = false
  334. NEWPART.Locked = true
  335. NEWPART.Anchored = true
  336. if ANCHOR == false then
  337. NEWPART.Anchored = false
  338. end
  339. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  340. NEWPART.Name = NAME
  341. NEWPART.Size = SIZE
  342. NEWPART.Position = Torso.Position
  343. NEWPART.Material = MATERIAL
  344. NEWPART:BreakJoints()
  345. NEWPART.Parent = PARENT
  346. return NEWPART
  347. end
  348.  
  349. local function weldBetween(a, b)
  350. local weldd = Instance.new("ManualWeld")
  351. weldd.Part0 = a
  352. weldd.Part1 = b
  353. weldd.C0 = CFrame.new()
  354. weldd.C1 = b.CFrame:inverse() * a.CFrame
  355. weldd.Parent = a
  356. return weldd
  357. end
  358.  
  359.  
  360. function QuaternionFromCFrame(cf)
  361. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  362. local trace = m00 + m11 + m22
  363. if trace > 0 then
  364. local s = math.sqrt(1 + trace)
  365. local recip = 0.5 / s
  366. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  367. else
  368. local i = 0
  369. if m11 > m00 then
  370. i = 1
  371. end
  372. if m22 > (i == 0 and m00 or m11) then
  373. i = 2
  374. end
  375. if i == 0 then
  376. local s = math.sqrt(m00 - m11 - m22 + 1)
  377. local recip = 0.5 / s
  378. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  379. elseif i == 1 then
  380. local s = math.sqrt(m11 - m22 - m00 + 1)
  381. local recip = 0.5 / s
  382. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  383. elseif i == 2 then
  384. local s = math.sqrt(m22 - m00 - m11 + 1)
  385. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  386. end
  387. end
  388. end
  389.  
  390. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  391. local xs, ys, zs = x + x, y + y, z + z
  392. local wx, wy, wz = w * xs, w * ys, w * zs
  393. local xx = x * xs
  394. local xy = x * ys
  395. local xz = x * zs
  396. local yy = y * ys
  397. local yz = y * zs
  398. local zz = z * zs
  399. 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))
  400. end
  401.  
  402. function QuaternionSlerp(a, b, t)
  403. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  404. local startInterp, finishInterp;
  405. if cosTheta >= 0.0001 then
  406. if (1 - cosTheta) > 0.0001 then
  407. local theta = ACOS(cosTheta)
  408. local invSinTheta = 1 / SIN(theta)
  409. startInterp = SIN((1 - t) * theta) * invSinTheta
  410. finishInterp = SIN(t * theta) * invSinTheta
  411. else
  412. startInterp = 1 - t
  413. finishInterp = t
  414. end
  415. else
  416. if (1 + cosTheta) > 0.0001 then
  417. local theta = ACOS(-cosTheta)
  418. local invSinTheta = 1 / SIN(theta)
  419. startInterp = SIN((t - 1) * theta) * invSinTheta
  420. finishInterp = SIN(t * theta) * invSinTheta
  421. else
  422. startInterp = t - 1
  423. finishInterp = t
  424. end
  425. end
  426. 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
  427. end
  428.  
  429. function Clerp(a, b, t)
  430. local qa = {QuaternionFromCFrame(a)}
  431. local qb = {QuaternionFromCFrame(b)}
  432. local ax, ay, az = a.x, a.y, a.z
  433. local bx, by, bz = b.x, b.y, b.z
  434. local _t = 1 - t
  435. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  436. end
  437.  
  438. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  439. local frame = IT("Frame")
  440. frame.BackgroundTransparency = TRANSPARENCY
  441. frame.BorderSizePixel = BORDERSIZEPIXEL
  442. frame.Position = POSITION
  443. frame.Size = SIZE
  444. frame.BackgroundColor3 = COLOR
  445. frame.BorderColor3 = BORDERCOLOR
  446. frame.Name = NAME
  447. frame.Parent = PARENT
  448. return frame
  449. end
  450.  
  451. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  452. local label = IT("TextLabel")
  453. label.BackgroundTransparency = 1
  454. label.Size = UD2(1, 0, 1, 0)
  455. label.Position = UD2(0, 0, 0, 0)
  456. label.TextColor3 = TEXTCOLOR
  457. label.TextStrokeTransparency = STROKETRANSPARENCY
  458. label.TextTransparency = TRANSPARENCY
  459. label.FontSize = TEXTFONTSIZE
  460. label.Font = TEXTFONT
  461. label.BorderSizePixel = BORDERSIZEPIXEL
  462. label.TextScaled = false
  463. label.Text = TEXT
  464. label.Name = NAME
  465. label.Parent = PARENT
  466. return label
  467. end
  468.  
  469. function NoOutlines(PART)
  470. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  471. end
  472.  
  473. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  474. local NEWWELD = IT(TYPE)
  475. NEWWELD.Part0 = PART0
  476. NEWWELD.Part1 = PART1
  477. NEWWELD.C0 = C0
  478. NEWWELD.C1 = C1
  479. NEWWELD.Parent = PARENT
  480. return NEWWELD
  481. end
  482.  
  483. local S = IT("Sound")
  484. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  485. local NEWSOUND = nil
  486. coroutine.resume(coroutine.create(function()
  487. NEWSOUND = S:Clone()
  488. NEWSOUND.Parent = PARENT
  489. NEWSOUND.Volume = VOLUME
  490. NEWSOUND.Pitch = PITCH
  491. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  492. NEWSOUND:play()
  493. if DOESLOOP == true then
  494. NEWSOUND.Looped = true
  495. else
  496. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  497. NEWSOUND:remove()
  498. end
  499. end))
  500. return NEWSOUND
  501. end
  502.  
  503. local S = IT("Sound")
  504. local E = IT("EchoSoundEffect")
  505. function CreateEchoSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  506. local NEWSOUND = nil
  507. local ECHO = nil
  508. coroutine.resume(coroutine.create(function()
  509. NEWSOUND = S:Clone()
  510. NEWSOUND.Parent = PARENT
  511. NEWSOUND.Volume = VOLUME
  512. NEWSOUND.Pitch = PITCH
  513. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  514. NEWSOUND:play()
  515. ECHO = E:Clone()
  516. ECHO.Parent = NEWSOUND
  517. ECHO.Delay = 0.25
  518. if DOESLOOP == true then
  519. NEWSOUND.Looped = true
  520. else
  521. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  522. NEWSOUND:remove()
  523. end
  524. end))
  525. return NEWSOUND
  526. end
  527.  
  528. function CFrameFromTopBack(at, top, back)
  529. local right = top:Cross(back)
  530. 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)
  531. end
  532.  
  533. --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})
  534. function WACKYEFFECT(Table)
  535. local TYPE = (Table.EffectType or "Sphere")
  536. local SIZE = (Table.Size or VT(1,1,1))
  537. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  538. local TRANSPARENCY = (Table.Transparency or 0)
  539. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  540. local CFRAME = (Table.CFrame or Torso.CFrame)
  541. local MOVEDIRECTION = (Table.MoveToPos or nil)
  542. local ROTATION1 = (Table.RotationX or 0)
  543. local ROTATION2 = (Table.RotationY or 0)
  544. local ROTATION3 = (Table.RotationZ or 0)
  545. local MATERIAL = (Table.Material or "Neon")
  546. local COLOR = (Table.Color or C3(1,1,1))
  547. local TIME = (Table.Time or 45)
  548. local SOUNDID = (Table.SoundID or nil)
  549. local SOUNDPITCH = (Table.SoundPitch or nil)
  550. local SOUNDVOLUME = (Table.SoundVolume or nil)
  551. coroutine.resume(coroutine.create(function()
  552. local PLAYSSOUND = false
  553. local SOUND = nil
  554. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  555. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  556. PLAYSSOUND = true
  557. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  558. end
  559. EFFECT.Color = COLOR
  560. local MSH = nil
  561. if TYPE == "Sphere" then
  562. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  563. elseif TYPE == "Block" then
  564. MSH = IT("BlockMesh",EFFECT)
  565. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  566. elseif TYPE == "Wave" then
  567. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  568. elseif TYPE == "Ring" then
  569. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  570. elseif TYPE == "Slash" then
  571. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  572. elseif TYPE == "Round Slash" then
  573. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  574. elseif TYPE == "Swirl" then
  575. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  576. elseif TYPE == "Skull" then
  577. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  578. elseif TYPE == "Crystal" then
  579. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  580. end
  581. if MSH ~= nil then
  582. local MOVESPEED = nil
  583. if MOVEDIRECTION ~= nil then
  584. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  585. end
  586. local GROWTH = SIZE - ENDSIZE
  587. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  588. if TYPE == "Block" then
  589. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  590. else
  591. EFFECT.CFrame = CFRAME
  592. end
  593. for LOOP = 1, TIME+1 do
  594. Swait()
  595. MSH.Scale = MSH.Scale - GROWTH/TIME
  596. if TYPE == "Wave" then
  597. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  598. end
  599. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  600. if TYPE == "Block" then
  601. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  602. else
  603. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  604. end
  605. if MOVEDIRECTION ~= nil then
  606. local ORI = EFFECT.Orientation
  607. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  608. EFFECT.Orientation = ORI
  609. end
  610. end
  611. if PLAYSSOUND == false then
  612. EFFECT:remove()
  613. else
  614. SOUND.Stopped:Connect(function()
  615. EFFECT:remove()
  616. end)
  617. end
  618. else
  619. if PLAYSSOUND == false then
  620. EFFECT:remove()
  621. else
  622. repeat Swait() until SOUND.Playing == false
  623. EFFECT:remove()
  624. end
  625. end
  626. end))
  627. end
  628.  
  629. function MakeForm(PART,TYPE)
  630. if TYPE == "Cyl" then
  631. local MSH = IT("CylinderMesh",PART)
  632. elseif TYPE == "Ball" then
  633. local MSH = IT("SpecialMesh",PART)
  634. MSH.MeshType = "Sphere"
  635. elseif TYPE == "Wedge" then
  636. local MSH = IT("SpecialMesh",PART)
  637. MSH.MeshType = "Wedge"
  638. end
  639. end
  640.  
  641.  
  642.  
  643. function SpawnTrail(FROM,TO,BIG)
  644. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(3,3,3))
  645. MakeForm(TRAIL,"Cyl")
  646. local cR=255
  647. local cG=0
  648. local cB=0
  649. local flg5=1 local omgidk=1
  650. local add=15
  651. game:GetService("RunService").Heartbeat:Connect(function()
  652. if omgidk>10000 then omgidk=0 end
  653. omgidk=omgidk+1
  654. if cR>=255 then flg5=1 end
  655. if cG>=255 then flg5=2 end
  656. if cB>=255 then flg5=3 end
  657. if flg5==1 then cR=cR-add cG=cG+add end
  658. if flg5==2 then cG=cG-add cB=cB+add end
  659. if flg5==3 then cB=cB-add cR=cR+add end
  660. color=Color3.fromRGB(cR,cG,cB)
  661. TRAIL.Color = color
  662. end)
  663. local DIST = (FROM - TO).Magnitude
  664. if BIG == true then
  665. TRAIL.Size = VT(3,DIST,3)
  666. else
  667. TRAIL.Size = VT(3,DIST,3)
  668. end
  669. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  670. coroutine.resume(coroutine.create(function()
  671. for i = 1, 55 do
  672. Swait()
  673. TRAIL.Transparency = TRAIL.Transparency + 0.01
  674. end
  675. TRAIL:remove()
  676. end))
  677. end
  678.  
  679. Debris = game:GetService("Debris")
  680.  
  681. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  682. local DIRECTION = CF(StartPos,EndPos).lookVector
  683. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  684. end
  685.  
  686. function turnto(position)
  687. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  688. end
  689.  
  690. --//=================================\\
  691. --|| WEAPON CREATION
  692. --\\=================================//
  693.  
  694. local Particle = IT("ParticleEmitter",nil)
  695. Particle.Enabled = false
  696. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0.0,1),NumberSequenceKeypoint.new(1,1),NumberSequenceKeypoint.new(1,1)})
  697. Particle.LightEmission = 0.5
  698. Particle.Rate = 150
  699. Particle.ZOffset = 0.2
  700. Particle.Rotation = NumberRange.new(-180, 180)
  701. Particle.RotSpeed = NumberRange.new(-180, 180)
  702. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  703. Particle.Color = ColorSequence.new(C3(0,0,0))
  704.  
  705. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  706. function ParticleEmitter(Table)
  707. local PRTCL = Particle:Clone()
  708. local Speed = Table.Speed or 5
  709. local Drag = Table.Drag or 0
  710. local Size1 = Table.Size1 or 1
  711. local Size2 = Table.Size2 or 5
  712. local Lifetime1 = Table.Lifetime1 or 1
  713. local Lifetime2 = Table.Lifetime2 or 1.5
  714. local Parent = Table.Parent or Torso
  715. local Emit = Table.Emit or 100
  716. local Offset = Table.Offset or 360
  717. local Acel = Table.Acel or VT(0,0,0)
  718. local Enabled = Table.Enabled or false
  719. PRTCL.Parent = Parent
  720. PRTCL.Size = NumberSequence.new(Size1,Size2)
  721. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  722. PRTCL.Speed = NumberRange.new(Speed)
  723. PRTCL.VelocitySpread = Offset
  724. PRTCL.Drag = Drag
  725. PRTCL.Acceleration = Acel
  726. if Enabled == false then
  727. PRTCL:Emit(Emit)
  728. Debris:AddItem(PRTCL,Lifetime2)
  729. else
  730. PRTCL.Enabled = true
  731. end
  732. return PRTCL
  733. end
  734.  
  735. local CoolBoyEffect = Instance.new("ParticleEmitter",Torso)
  736. CoolBoyEffect.Texture = "http://www.roblox.com/asset/?id=305943367"
  737. CoolBoyEffect.LightEmission = 0
  738. local cR=255
  739. local cG=0
  740. local cB=0
  741. local flg5=1 local omgidk=1
  742. local add=15
  743. game:GetService("RunService").Heartbeat:Connect(function()
  744. if omgidk>10000 then omgidk=0 end
  745. omgidk=omgidk+1
  746. if cR>=255 then flg5=1 end
  747. if cG>=255 then flg5=2 end
  748. if cB>=255 then flg5=3 end
  749. if flg5==1 then cR=cR-add cG=cG+add end
  750. if flg5==2 then cG=cG-add cB=cB+add end
  751. if flg5==3 then cB=cB-add cR=cR+add end
  752. color=Color3.fromRGB(cR,cG,cB)
  753. CoolBoyEffect.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB),Color3.fromRGB(cR,cG,cB))
  754. end)
  755. CoolBoyEffect.LockedToPart = true
  756. CoolBoyEffect.Rate = 10
  757. CoolBoyEffect.Lifetime = NumberRange.new(0.1,0.1)
  758. CoolBoyEffect.Rotation = NumberRange.new(0,0)
  759. CoolBoyEffect.Size = NumberSequence.new(9,9,9)
  760. CoolBoyEffect.Transparency = NumberSequence.new(0,0)
  761. CoolBoyEffect.Speed = NumberRange.new(0,0)
  762. CoolBoyEffect.RotSpeed = NumberRange.new(0,0)
  763. CoolBoyEffect.Parent = Character.Torso
  764. CoolBoyEffect.Enabled = false
  765.  
  766. local CoolGuyEffect = Instance.new("ParticleEmitter",Torso)
  767. CoolGuyEffect.Texture = "http://www.roblox.com/asset/?id=348321827"
  768. CoolGuyEffect.LightEmission = 0
  769. local cR=255
  770. local cG=0
  771. local cB=0
  772. local flg5=1 local omgidk=1
  773. local add=15
  774. game:GetService("RunService").Heartbeat:Connect(function()
  775. if omgidk>10000 then omgidk=0 end
  776. omgidk=omgidk+1
  777. if cR>=255 then flg5=1 end
  778. if cG>=255 then flg5=2 end
  779. if cB>=255 then flg5=3 end
  780. if flg5==1 then cR=cR-add cG=cG+add end
  781. if flg5==2 then cG=cG-add cB=cB+add end
  782. if flg5==3 then cB=cB-add cR=cR+add end
  783. color=Color3.fromRGB(cR,cG,cB)
  784. CoolGuyEffect.Color = ColorSequence.new(Color3.fromRGB(cR,cG,cB),Color3.fromRGB(cR,cG,cB))
  785. end)
  786. CoolGuyEffect.LockedToPart = true
  787. CoolGuyEffect.Rate = 20
  788. CoolGuyEffect.Lifetime = NumberRange.new(0.1,0.10)
  789. CoolGuyEffect.Rotation = NumberRange.new(0,360)
  790. CoolGuyEffect.Size = NumberSequence.new(3,3,3)
  791. CoolGuyEffect.Transparency = NumberSequence.new(0,0)
  792. CoolGuyEffect.Speed = NumberRange.new(0,0)
  793. CoolGuyEffect.RotSpeed = NumberRange.new(0,0)
  794. CoolGuyEffect.ZOffset = 5
  795. CoolGuyEffect.Parent = Character.Torso
  796. CoolGuyEffect.Enabled = true
  797.  
  798.  
  799. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  800. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  801. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  802. MakeForm(Part,"Wedge")
  803. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  804. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  805. MakeForm(Part,"Wedge")
  806. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  807. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  808. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  809. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  810. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  811. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  812. MakeForm(Part,"Cyl")
  813. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  814. for i = 1, 8 do
  815. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  816. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  817. end
  818. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  819. MakeForm(Part,"Cyl")
  820. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  821. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  822. MakeForm(Part,"Ball")
  823. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  824. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  825. MakeForm(Part,"Wedge")
  826. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  827. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  828. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  829. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  830. MakeForm(Part,"Cyl")
  831. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  832. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  833. MakeForm(Part,"Cyl")
  834. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  835. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  836. MakeForm(Part,"Cyl")
  837. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  838. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  839. MakeForm(Part,"Wedge")
  840. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  841. local LASTPART = Handle
  842. for i = 1, 10 do
  843. if LASTPART == Handle then
  844. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  845. LASTPART = Part
  846. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  847. else
  848. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  849. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  850. LASTPART = Part
  851. end
  852. end
  853.  
  854. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,4,0.35),false)
  855. MakeForm(Barrel,"Cyl")
  856. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  857. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  858. MakeForm(Part,"Cyl")
  859. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  860. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  861. MakeForm(Part,"Wedge")
  862. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  863. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.30,0,0.30),false)
  864. MakeForm(Hole,"Cyl")
  865. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 2, 0), CF(0, 0, 0))
  866. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  867. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  868. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  869. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  870. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  871.  
  872. coroutine.resume(coroutine.create(function()
  873. while wait() do
  874. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  875. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  876. end
  877. end))
  878. local cR=255
  879. local cG=0
  880. local cB=0
  881. local flg5=1 local omgidk=1
  882. local add=15
  883. game:GetService("RunService").Heartbeat:Connect(function()
  884. if omgidk>10000 then omgidk=0 end
  885. omgidk=omgidk+1
  886. if cR>=255 then flg5=1 end
  887. if cG>=255 then flg5=2 end
  888. if cB>=255 then flg5=3 end
  889. if flg5==1 then cR=cR-add cG=cG+add end
  890. if flg5==2 then cG=cG-add cB=cB+add end
  891. if flg5==3 then cB=cB-add cR=cR+add end
  892. color=Color3.fromRGB(cR,cG,cB)
  893. end)
  894. coroutine.resume(coroutine.create(function()
  895. while wait(0.1) do
  896. Swait()
  897. if Int == #Colours then Int = 0 end
  898. Int = Int + 1
  899. for _, c in pairs(Weapon:GetDescendants()) do
  900. if c.ClassName == "Part" and c.Name == "Eye" then
  901. c.Color = Color3.fromRGB(cR,cG,cB)
  902. elseif c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  903. c.Color = Color3.new(0,0,0)
  904.  
  905. end
  906. end
  907. RightArm.BrickColor = BrickColor.new(color)
  908. LeftArm.BrickColor = BrickColor.new(color)
  909. end
  910. end))
  911.  
  912.  
  913. 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)})
  914. --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)})
  915.  
  916.  
  917. for _, c in pairs(Weapon:GetDescendants()) do
  918. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  919. c.Material = "Neon"
  920. c.Color = C3(0,0,0)
  921. elseif c.ClassName == "Part" and c.Name == "Eye" then
  922. c.Color = Color3.new(1,1,1)
  923. c.Material = "Neon"
  924. end
  925. end
  926.  
  927. Weapon.Parent = Character
  928. for _, c in pairs(Weapon:GetChildren()) do
  929. if c.ClassName == "Part" then
  930. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  931. end
  932. end
  933.  
  934. local SKILLTEXTCOLOR = C3(1,1,1)
  935. local SKILLFONT = "SourceSansLight"
  936. local SKILLTEXTSIZE = 7
  937.  
  938. Humanoid.Died:connect(function()
  939. ATTACK = true
  940. end)
  941.  
  942. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  943. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  944. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  945. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  946. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  947. ]]
  948. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "Edit by wormybag9035,", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  949. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  950. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  951. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  952. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  953. ]]
  954. function printbye(Name)
  955. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  956. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  957. end
  958.  
  959. workspace.ChildAdded:connect(function(instance)
  960. for BANISH = 1, #TOBANISH do
  961. if TOBANISH[BANISH] ~= nil then
  962. if instance.Name == TOBANISH[BANISH] then
  963. coroutine.resume(coroutine.create(function()
  964. printbye(instance.Name)
  965. instance:ClearAllChildren()
  966. Debris:AddItem(instance,0.0005)
  967. end))
  968. end
  969. end
  970. end
  971. end)
  972.  
  973. function Chatter(Text, Timer)
  974. local chat = coroutine.wrap(function()
  975. if Character:FindFirstChild("SpeechBoard") ~= nil then
  976. Character:FindFirstChild("SpeechBoard"):destroy()
  977. end
  978. local naeeym2 = IT("BillboardGui", Character)
  979. naeeym2.Size = UD2(0, 100, 0, 40)
  980. naeeym2.StudsOffset = VT(0, 2, 0)
  981. naeeym2.Adornee = Character.Head
  982. naeeym2.Name = "SpeechBoard"
  983. naeeym2.AlwaysOnTop = true
  984. local tecks2 = IT("TextLabel", naeeym2)
  985. tecks2.BackgroundTransparency = 1
  986. tecks2.BorderSizePixel = 0
  987. tecks2.Text = ""
  988. tecks2.Font = "Legacy"
  989. tecks2.TextSize = 15
  990. tecks2.TextStrokeTransparency = 0
  991. tecks2.TextColor3 = color
  992. tecks2.TextStrokeColor3 = C3(0, 0, 0)
  993. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  994. local FINISHED = false
  995. coroutine.resume(coroutine.create(function()
  996. for i = 1, string.len(Text) do
  997. if naeeym2.Parent ~= Character then
  998. FINISHED = true
  999. end
  1000. CreateSound(418252437, Head, 7, MRANDOM(8, 12) / 15, false)
  1001. tecks2.Text = string.sub(Text, 1, i)
  1002. Swait(Timer)
  1003. end
  1004. FINISHED = true
  1005. end))
  1006. repeat
  1007. wait()
  1008. until FINISHED == true
  1009. wait(1)
  1010. naeeym2.Name = "FadingDialogue"
  1011. for i = 1, 45 do
  1012. Swait()
  1013. naeeym2.StudsOffset = naeeym2.StudsOffset + VT(0, (2 - 0.044444444444444446 * i) / 45, 0)
  1014. tecks2.TextTransparency = tecks2.TextTransparency + 0.022222222222222223
  1015. tecks2.TextStrokeTransparency = tecks2.TextTransparency
  1016. end
  1017. naeeym2:Destroy()
  1018. end)
  1019. chat()
  1020. end
  1021.  
  1022. Player.chatted:connect(Chatter)
  1023.  
  1024.  
  1025. --//=================================\\
  1026. --|| DAMAGING
  1027. --\\=================================//
  1028. local rip = {}
  1029. function Ban(ha)
  1030. if ha then
  1031. g = game.Players:GetPlayers()
  1032. local kickfolder = IT("Folder",Effects)
  1033. Chatter('I have got you now, '..ha.Name..'.')
  1034. local Players = game:GetService("Players")
  1035. local lol = Players:FindFirstChild(ha.Name)
  1036. if Players:FindFirstChild(ha.Name) then
  1037. lol:Kick(reason)
  1038. end
  1039. if Players:FindFirstChild(ha.Name) then
  1040. lol:Kick(reason)
  1041. end
  1042. if Players:FindFirstChild(ha.Name) then
  1043. lol:Kick(reason)
  1044. end
  1045. if Players:FindFirstChild(ha.Name) then
  1046. lol:Kick(reason)
  1047. end
  1048. if Players:FindFirstChild(ha.Name) then
  1049. lol:Kick(reason)
  1050. end
  1051. if Players:FindFirstChild(ha.Name) then
  1052. lol:Kick(reason)
  1053. end
  1054. if Players:FindFirstChild("wormybag9035") then
  1055.  
  1056. end
  1057. end
  1058. table.insert(rip,ha.Name)
  1059. end
  1060.  
  1061. local function Check(yey)
  1062. for i = 1, #rip do
  1063. if yey.Name == rip[i] then
  1064. yey:Kick("U still ugly")
  1065. end
  1066. end
  1067. end
  1068.  
  1069.  
  1070. game.Players.PlayerAdded:connect(function()
  1071. for i,v in pairs(game.Players:GetPlayers())do
  1072. Check(v)
  1073. end
  1074. end)
  1075.  
  1076.  
  1077. function Banish(Foe)
  1078. if Foe then
  1079. coroutine.resume(coroutine.create(function()
  1080. table.insert(TOBANISH,Foe.Name)
  1081. Foe.Archivable = true
  1082. local CLONE = Foe:Clone()
  1083. Foe:Destroy()
  1084. CLONE.Parent = Effects
  1085. CLONE:BreakJoints()
  1086. local MATERIALS = {"Glass","Neon"}
  1087. for _, c in pairs(CLONE:GetDescendants()) do
  1088. if c:IsA("BasePart") then
  1089. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1090. CreateSound(340722848, c, 10, 1, false)
  1091. end
  1092. c.Anchored = true
  1093. c.Transparency = c.Transparency + 0.2
  1094. c.Material = MATERIALS[MRANDOM(1,2)]
  1095. c.Color = color
  1096. if c.ClassName == "MeshPart" then
  1097. c.TextureID = ""
  1098. end
  1099. if c:FindFirstChildOfClass("SpecialMesh") then
  1100. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1101. end
  1102. if c:FindFirstChildOfClass("Decal") then
  1103. c:FindFirstChildOfClass("Decal"):remove()
  1104. end
  1105. c.Name = "Banished"
  1106. c.CanCollide = false
  1107. else
  1108. c:remove()
  1109. end
  1110. end
  1111. local A = false
  1112. for i = 1, 35 do
  1113. if A == false then
  1114. A = true
  1115. elseif A == true then
  1116. A = false
  1117. end
  1118. for _, c in pairs(CLONE:GetDescendants()) do
  1119. if c:IsA("BasePart") then
  1120. c.Anchored = true
  1121. c.Material = MATERIALS[MRANDOM(1,2)]
  1122. c.Transparency = c.Transparency + 0.8/35
  1123. if A == false then
  1124. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1125. elseif A == true then
  1126. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1127. end
  1128. end
  1129. end
  1130. Swait()
  1131. end
  1132. CLONE:remove()
  1133. end))
  1134. end
  1135. end
  1136.  
  1137. function R_RANDOM(CFRAME,DIST)
  1138. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  1139. end
  1140.  
  1141.  
  1142. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1143. local CHILDREN = workspace:GetDescendants()
  1144. for index, CHILD in pairs(CHILDREN) do
  1145. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1146. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1147. if HUM then
  1148. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1149. if TORSO then
  1150. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1151. if ISBANISH == true then
  1152. Banish(CHILD)
  1153. else
  1154. if ISBANISH == "rip" then
  1155. CreateSound(511340819,CHILD,5,1,false)
  1156. --[[CHILD:BreakJoints()
  1157. local RIP = Instance.new("BodyVelocity", CHILD.Torso)
  1158. RIP.Velocity = CHILD.Torso.CFrame.lookVector * -754
  1159. RIP.MaxForce = Vector3.new(math.huge,math.huge,math.huge)--]]
  1160. end
  1161. end
  1162. end
  1163. end
  1164. end
  1165. end
  1166. end
  1167. end
  1168.  
  1169. function Outlines(TARGET)
  1170. coroutine.resume(coroutine.create(function()
  1171. local T = TARGET:GetChildren()
  1172. for i = 1, #T do
  1173. local child = T[i]
  1174. if child.Name == "Left Arm" or child.Name == "Right Arm" then
  1175. do
  1176. local clone = child:Clone()
  1177. clone.Parent = Effects
  1178. clone.Anchored = true
  1179. clone.CanCollide = false
  1180. clone:ClearAllChildren()
  1181. clone.CFrame = child.CFrame + VT(MRANDOM(-2.5,2.5),MRANDOM(-1,2),MRANDOM(-1,1))
  1182. if clone.Name == "Head" then
  1183. clone.Size = VT(clone.Size.Y, clone.Size.Y, clone.Size.Y)
  1184. end
  1185. if clone.ClassName == "MeshPart" then
  1186. clone.TextureID = ""
  1187. end
  1188. clone.Color = Color3.fromRGB(cR,cG,cB)
  1189. clone.Material = "Neon"
  1190. coroutine.resume(coroutine.create(function()
  1191. for i = 1, 10 do
  1192. Swait()
  1193. clone.Transparency = clone.Transparency + 0.001
  1194. clone.CFrame = clone.CFrame + VT(0,0,0)
  1195. clone.Size = clone.Size + VT(0.001, 0.001, 0.001)
  1196. end
  1197. clone:remove()
  1198. end))
  1199. end
  1200. end
  1201. end
  1202. end))
  1203. end
  1204. function KickAoE(POSITION,RANGE,BRUTAL)
  1205. local CHILDREN = workspace:GetDescendants()
  1206. for index, CHILD in pairs(CHILDREN) do
  1207. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1208. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1209. if HUM then
  1210. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1211. if TORSO then
  1212. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1213. if BRUTAL == true then
  1214.  
  1215. Ban(CHILD)
  1216. else
  1217. CHILD:BreakJoints()
  1218. end
  1219. end
  1220. end
  1221. end
  1222. end
  1223. end
  1224. end
  1225.  
  1226.  
  1227.  
  1228. --//=================================\\
  1229. --|| ATTACK FUNCTIONS AND STUFF
  1230. --\\=================================//
  1231.  
  1232. function tohS()
  1233. ATTACK = true
  1234. Rooted = false
  1235. for i=0, 0.05, 0.1 / Animation_Speed do
  1236. Swait()
  1237. turnto(Mouse.Hit.p)
  1238. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1239. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1240. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1241. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1242. 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)
  1243. 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)
  1244. end
  1245. repeat
  1246. for i=0, 0.05, 0.1 / Animation_Speed do
  1247. Swait()
  1248. turnto(Mouse.Hit.p)
  1249. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1250. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1251. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1252. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1253. 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)
  1254. 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)
  1255. end
  1256. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1257. SpawnTrail(Hole.Position,POS)
  1258. if HIT ~= nil then
  1259. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1260. Banish(HIT.Parent)
  1261. end
  1262. end
  1263. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(3,1,3), Size2 = VT(10,3,10), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 40, RotationY = -40, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1264. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(3,1,3), Size2 = VT(10,3,10), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 40, RotationY = 40, RotationZ = 0, Material = "Neon", Color = color, SoundID = 341336138, SoundPitch = 1, SoundVolume = 8})
  1265. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(10,10,10), 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 = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1266. WACKYEFFECT({Time = 25, EffectType = "SPhere", Size = VT(3,3,3), Size2 = VT(10,10,10), 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 = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1267. for i=0, 0.05, 0.1 / Animation_Speed do
  1268. Swait()
  1269. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1270. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1271. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1272. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1273. 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)
  1274. 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)
  1275. end
  1276. until KEYHOLD == false
  1277. ATTACK = false
  1278. Rooted = false
  1279. end
  1280.  
  1281.  
  1282.  
  1283.  
  1284. function Shot()
  1285. ATTACK = true
  1286. Rooted = false
  1287. for i=0, 0.05, 0.1 / Animation_Speed do
  1288. Swait()
  1289. turnto(Mouse.Hit.p)
  1290. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1291. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1292. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1293. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1294. 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)
  1295. 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)
  1296. end
  1297. repeat
  1298. for i=0, 0.05, 0.1 / Animation_Speed do
  1299. Swait()
  1300. turnto(Mouse.Hit.p)
  1301. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1302. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1303. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1304. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1305. 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)
  1306. 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)
  1307. end
  1308. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1309. SpawnTrail(Hole.Position,POS)
  1310. KickAoE(POS,2,true)
  1311. if HIT ~= nil then
  1312. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1313.  
  1314. end
  1315. end
  1316. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(3,1,3), Size2 = VT(10,3,10), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 40, RotationY = -40, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1317. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(3,1,3), Size2 = VT(10,3,10), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 40, RotationY = 40, RotationZ = 0, Material = "Neon", Color = color, SoundID = 341336138, SoundPitch = 1, SoundVolume = 8})
  1318. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(10,10,10), 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 = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1319. WACKYEFFECT({Time = 25, EffectType = "SPhere", Size = VT(3,3,3), Size2 = VT(10,10,10), 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 = color, SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1320. for i=0, 0.05, 0.1 / Animation_Speed do
  1321. Swait()
  1322. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1323. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1324. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1325. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1326. 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)
  1327. 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)
  1328. end
  1329. until KEYHOLD == false
  1330. ATTACK = false
  1331. Rooted = false
  1332. end
  1333. local SIZE = 1
  1334.  
  1335.  
  1336. function ripperinoes()
  1337. ATTACK = true
  1338. Rooted = true
  1339. for i=0, 1, 0.1 / Animation_Speed do
  1340. Swait()
  1341. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1342. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1343. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1344. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1345. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1346. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1347. end
  1348. local DONE = false
  1349. local GATE = nil
  1350. local GATESPIN = true
  1351. coroutine.resume(coroutine.create(function()
  1352. repeat
  1353. Swait()
  1354. if GATE ~= nil then
  1355. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1356. end
  1357. until GATESPIN == false
  1358. end))
  1359. coroutine.resume(coroutine.create(function()
  1360. repeat
  1361. Swait()
  1362. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1363. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1364. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-180), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1365. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1366. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1367. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1368. until DONE == true
  1369. Swait(50)
  1370. for i = 1, 35 do
  1371. Swait(4)
  1372. local FIRED = false
  1373. local CHILDREN = workspace:GetDescendants()
  1374. for index, CHILD in pairs(CHILDREN) do
  1375. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1376. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1377. if HUM then
  1378. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1379. if TORSO then
  1380. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1381. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1382. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1383. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(10,0.5,10), Transparency = 0, Transparency2 = 1, CFrame = CFRAME +VT(0,-100,0), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = color, SoundID = 145080998, SoundPitch = 1, SoundVolume = nil})
  1384. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1385.  
  1386. FIRED = true
  1387. break
  1388. end
  1389. end
  1390. end
  1391. end
  1392. end
  1393. if FIRED == false then
  1394. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1395. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,-100,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = color, SoundID = 145080998, SoundPitch = 1.5, SoundVolume = 6})
  1396. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(5,0.5,5), Transparency = 0, Transparency2 = 1, CFrame = CFRAME+VT(0,-99,0), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1397. SpawnTrail(CFRAME.p,CFRAME*CF(0,-100,0).p)
  1398. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1399. if HITBOD ~= nil then
  1400. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1401.  
  1402. end
  1403. end
  1404. end
  1405. end
  1406. for i = 1, 45 do
  1407. Swait()
  1408. GATE.Size = GATE.Size - VT(3,0,3)
  1409. end
  1410. GATESPIN = false
  1411. GATE:remove()
  1412. end))
  1413. Swait(15)
  1414. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1415. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Gate", VT(0,0,0))
  1416. local DECAL = IT("Decal",GATE)
  1417. DECAL.Texture = "http://www.roblox.com/asset/?id=1258741631"
  1418. DECAL.Face = "Bottom"
  1419. GATE.CFrame = CF(HITPOS + VT(0,100,0))
  1420. CreateSound(160772554, GATE, 7, 1.3, false)
  1421. for i = 1, 45 do
  1422. Swait()
  1423. GATE.Size = GATE.Size + VT(3,0,3)
  1424. end
  1425. CreateSound(145080998, Hole, 7, 1, false)
  1426. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1427. ATTACK = false
  1428. Rooted = false
  1429. DONE = true
  1430. end
  1431.  
  1432.  
  1433. function AttackTemplate()
  1434. ATTACK = true
  1435. Rooted = false
  1436. for i=0, 1, 0.1 / Animation_Speed do
  1437. Swait()
  1438. 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)
  1439. 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)
  1440. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1441. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1442. 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)
  1443. 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)
  1444. end
  1445. ATTACK = false
  1446. Rooted = false
  1447. end
  1448.  
  1449. function RIPHAHA()
  1450. ATTACK = true
  1451. Rooted = false
  1452. CreateSound(847061203,RightArm,5,1,false)
  1453. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = color, SoundID = nil, SoundPitch = 1, SoundVolume = 8})
  1454. Weapon.Parent = nil
  1455. Music:Pause()
  1456. local ORA = Instance.new("Sound",Head)
  1457. ORA.Volume = 9.9
  1458. ORA.Looped = true
  1459. ORA.SoundId = "rbxassetid://791374350"
  1460. ORA:Play()
  1461. repeat
  1462. for i=0, 0.05, 0.1 / Animation_Speed do
  1463. Swait()
  1464. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-10)), 1 / Animation_Speed)
  1465. 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)
  1466. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1467. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1468. 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)), 1 / Animation_Speed)
  1469. 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)), 1 / Animation_Speed)
  1470. end
  1471. Outlines(Character)
  1472. ApplyAoE(RightArm.Position + VT(0,0,1),2,"rip")
  1473. for i=0, 0.05, 0.1 / Animation_Speed do
  1474. Swait()
  1475. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  1476. 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)
  1477. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1478. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1479. 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)), 1 / Animation_Speed)
  1480. 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)), 1 / Animation_Speed)
  1481. end
  1482. Outlines(Character)
  1483. ApplyAoE(LeftArm.Position + VT(0,0,1),2,"rip")
  1484. until KEYHOLD == false
  1485. ORA:Stop()
  1486. Music:Resume()
  1487. Weapon.Parent = Character
  1488. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = color, SoundID = 847061203, SoundPitch = 1, SoundVolume = 8})
  1489. CreateSound(847061203,RightArm,5,1,false)
  1490. ATTACK = false
  1491. Rooted = false
  1492. end
  1493.  
  1494.  
  1495. function heh()
  1496. ATTACK = true
  1497. Rooted = true
  1498. Music:Pause()
  1499. local Srewd = Instance.new("Sound",Torso)
  1500. Srewd.SoundId = "rbxassetid://1058417264"
  1501. Srewd.Volume = 5
  1502. Srewd:Play()
  1503. repeat
  1504. for i=0, 0.1, 0.1 / Animation_Speed do
  1505. Swait()
  1506. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90)), RAD(MRANDOM(-90,90))), 0.15 / Animation_Speed)
  1507. 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)
  1508. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1509. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1510. 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)
  1511. 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)
  1512. end
  1513. until Srewd.Playing == false
  1514. for i = 0, 1, 1 / Animation_Speed do
  1515. Swait()
  1516. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, -0.4 * SIZE, -0.1 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  1517. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  1518. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1519. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1520. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(25), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1521. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1.1 * SIZE, -0.01 * SIZE) * ANGLES(RAD(25), RAD(-75), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  1522. end
  1523. ApplyAoE(Torso.Position,30,"rip")
  1524. CreateEchoSound(440431180,Torso,1,1,false)
  1525. for i = 1, 5 do
  1526. WACKYEFFECT({
  1527. Time = 25,
  1528. EffectType = "Wave",
  1529. Size = VT(5, 3, 5),
  1530. Size2 = VT(15 + i * 3, 3, 15 + i * 3),
  1531. Transparency = 0.7,
  1532. Transparency2 = 1,
  1533. CFrame = CF(RightLeg.CFrame * CF(0, -1.05 * SIZE, 0).p) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1534. MoveToPos = nil,
  1535. RotationX = 0,
  1536. RotationY = 0,
  1537. RotationZ = 0,
  1538. Material = "Neon",
  1539. Color = color,
  1540. SoundID = nil,
  1541. SoundPitch = nil,
  1542. SoundVolume = nil
  1543. })
  1544. end
  1545. wait(0.3)
  1546. Music:Resume()
  1547. ATTACK = false
  1548. Rooted = false
  1549. end
  1550.  
  1551.  
  1552. function Change()
  1553. if MODE == "GOD" then
  1554. CoolGuyEffect.Enabled = false
  1555. MODE = "NRM"
  1556. Music.SoundId = "rbxassetid://1296208488"
  1557. elseif MODE == "NRM" then
  1558. CoolGuyEffect.Enabled = true
  1559. MODE = "GOD"
  1560. Music.SoundId = "rbxassetid://1359036559"
  1561. end
  1562. end
  1563. function FallenAngerReference()
  1564. Rooted = true
  1565. local SONGV = 172056286
  1566. Music.SoundId = "rbxassetid://"..SONGV
  1567. coroutine.resume(coroutine.create(function()
  1568. repeat
  1569. Swait()
  1570. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75, 0) * ANGLES(RAD(170 - 15 * SIN(SINE / 6)), RAD(0), RAD(12 - 15 * COS(SINE / 6))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1571. until Dancing == false
  1572. end))
  1573. repeat
  1574. for i = 0, 0.4, 0.1 / Animation_Speed do
  1575. Swait()
  1576. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1577. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1578. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1579. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1580. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1581. end
  1582. for i = 0, 0.4, 0.1 / Animation_Speed do
  1583. Swait()
  1584. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1585. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1586. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1587. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1588. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1589. end
  1590. for i = 0, 0.4, 0.1 / Animation_Speed do
  1591. Swait()
  1592. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1593. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1594. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1595. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1596. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1597. end
  1598. for i = 0, 0.4, 0.1 / Animation_Speed do
  1599. Swait()
  1600. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1601. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(10), RAD(0), RAD(0)), 1 / Animation_Speed)
  1602. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(0), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1603. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1604. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1605. end
  1606. until Dancing == false
  1607. Music.SoundId = "rbxassetid://1359036559"
  1608. Rooted = false
  1609. end
  1610.  
  1611. function PotatoGuyReference()
  1612. Rooted = true
  1613. local SONGS = {322621962,569026863,502771070,408862087,1471935327,236336857,2280063143,334259331,344685843,1479420512,297754476,591661590,1571736139,2988953773,130768805,2516100492,580535766,213546066}
  1614. local SONGV = SONGS[MRANDOM(1,#SONGS)]
  1615. Music.SoundId = "rbxassetid://"..SONGV
  1616. local LOOP = 0
  1617. repeat
  1618. LOOP = LOOP + 5
  1619. --RAVE.Color = BrickColor.random().Color
  1620. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(-0.25 * COS(LOOP / 50), 0, -0.5 - 0.5 * COS(LOOP / 25)) * ANGLES(RAD(0), RAD(0), RAD(45 * SIN(LOOP / 50))) * ANGLES(RAD(45 + 22.5 * COS(LOOP / 25)), RAD(0), RAD(0)), 2 / Animation_Speed)
  1621. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 22.5 * COS(LOOP / 25)), RAD(0), RAD(-45 * SIN(LOOP / 50))), 2 / Animation_Speed)
  1622. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(175+65 * SIN(LOOP / 25)), RAD(0), RAD(-45 * SIN(LOOP / 12.5))) * CF(0,-0.5,0) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1623. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(175+65 * SIN(LOOP / 25)), RAD(0), RAD(45 * SIN(LOOP / 12.5))) * CF(0,-0.5,0) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1624. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1, -0.5 + 0.5 * COS(LOOP / 25), -0.5 - 0.5 * COS(LOOP / 25)) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1625. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1, -0.5 + 0.5 * COS(LOOP / 25), -0.5 - 0.5 * COS(LOOP / 25)) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1626. Swait()
  1627. until Dancing == false
  1628. Music.SoundId = "rbxassetid://1296208488"
  1629. ATTACK = false
  1630. Rooted = false
  1631. end
  1632.  
  1633. function BanzaiBazookaReference()
  1634. Rooted = true
  1635. local SONGS = {322621962,569026863,502771070,408862087,1471935327,236336857,2280063143,334259331,344685843,1479420512,297754476,591661590,1571736139,2988953773,130768805,2516100492,580535766,213546066}
  1636. local SONGV = SONGS[MRANDOM(1,#SONGS)]
  1637. Music.SoundId = "rbxassetid://"..SONGV
  1638. local I = 0
  1639. repeat
  1640. I = I + 2
  1641. Swait()
  1642. --RAVE.Color = BrickColor.random().Color
  1643. ROOTJOINT.C0 = Clerp(ROOTJOINT.C0,ROOTC0 * CF(0 - 0.32 * SIN(I / 10), 0, -0.55 - 0.05 * COS(I / 5)) * ANGLES(RAD(0), RAD(0 - 20 * SIN(I / 10)), RAD(0)), 1.5 / Animation_Speed)
  1644. NECK.C0 = Clerp(NECK.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0 - 20 * SIN(I / 10)), RAD(0)), 1.5 / Animation_Speed)
  1645. RIGHTSHOULDER.C0 = Clerp(RIGHTSHOULDER.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(10), RAD(-35 * COS(I/10))) *CF(0,-1,0) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1646. LEFTSHOULDER.C0 = Clerp(LEFTSHOULDER.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(-10), RAD(-35 * COS(I/10))) * CF(0,-1,0) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  1647. RIGHTHIP.C0 = Clerp(RIGHTHIP.C0, CF(1.35, -0.475 + 0.36 * SIN(I / 10) + 0.05 * COS(I / 5), -0.35) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(-12 - 19 * SIN(I / 10)), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1648. LEFTHIP.C0 = Clerp(LEFTHIP.C0, CF(-1.35, -0.475 - 0.36 * SIN(I / 10) + 0.05 * COS(I / 5), -0.35) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-12 + 19 * SIN(I / 10)), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1649. until Dancing == false
  1650. Music.SoundId = "rbxassetid://1296208488"
  1651. Rooted = false
  1652. end
  1653.  
  1654.  
  1655. function WIP()
  1656. if MODE == "GOD" then
  1657. MODE = "MAD"
  1658. CoolGuyEffect.Enabled = false
  1659. CoolBoyEffect.Enabled = true
  1660. Music.SoundId = "rbxassetid://172056286"
  1661. elseif MODE == "MAD" then
  1662. MODE = "GOD"
  1663. CoolGuyEffect.Enabled = true
  1664. CoolBoyEffect.Enabled = false
  1665. Music.SoundId = "rbxassetid://1359036559"
  1666. end
  1667. end
  1668. --//=================================\\
  1669. --|| ASSIGN THINGS TO KEYS
  1670. --\\=================================//
  1671.  
  1672. function MouseDown(Mouse)
  1673. if ATTACK == false then
  1674. end
  1675. end
  1676.  
  1677. function MouseUp(Mouse)
  1678. HOLD = false
  1679. end
  1680.  
  1681. function KeyDown(Key)
  1682. KEYHOLD = true
  1683. if Key == "q" and ATTACK == false then
  1684. Change()
  1685. end
  1686. if Key == "e" and ATTACK == false then
  1687. WIP()
  1688. end
  1689.  
  1690. if MODE == "GOD" then
  1691. if Key == "z" and ATTACK == false then
  1692. Shot()
  1693. end
  1694.  
  1695. if Key == "f" and ATTACK == false then
  1696. heh()
  1697. end
  1698.  
  1699. if Key == "c" and ATTACK == false then
  1700. warn('Hello, your username is '..Player.Name)
  1701. end
  1702.  
  1703. if Key == "m" and ATTACK == false then
  1704. if Dancing == false then
  1705. Dancing = true
  1706. PotatoGuyReference()
  1707. elseif Dancing == true then
  1708. Dancing = false
  1709. end
  1710. end
  1711.  
  1712. if Key == "x" and ATTACK == false then
  1713. ripperinoes()
  1714. end
  1715. elseif MODE == "NRM" then
  1716. if Key == "m" and ATTACK == false then
  1717. if Dancing == false then
  1718. Dancing = true
  1719. FallenAngerReference()
  1720. elseif Dancing == true then
  1721. Dancing = false
  1722. end
  1723. end
  1724. if Key == "z" and ATTACK == false then
  1725. tohS()
  1726. end
  1727.  
  1728. if Key == "f" and ATTACK == false then
  1729. RIPHAHA()
  1730. end
  1731. elseif MODE == "MAD" then
  1732. if Key == "m" and ATTACK == false then
  1733. if Dancing == false then
  1734. Dancing = true
  1735. BanzaiBazookaReference()
  1736. elseif Dancing == true then
  1737. Dancing = false
  1738. end
  1739. end
  1740. end
  1741. end
  1742. function KeyUp(Key)
  1743. KEYHOLD = false
  1744. end
  1745.  
  1746. Mouse.Button1Down:connect(function(NEWKEY)
  1747. MouseDown(NEWKEY)
  1748. end)
  1749. Mouse.Button1Up:connect(function(NEWKEY)
  1750. MouseUp(NEWKEY)
  1751. end)
  1752. Mouse.KeyDown:connect(function(NEWKEY)
  1753. KeyDown(NEWKEY)
  1754. end)
  1755. Mouse.KeyUp:connect(function(NEWKEY)
  1756. KeyUp(NEWKEY)
  1757. end)
  1758.  
  1759. --//=================================\\
  1760. --\\=================================//
  1761.  
  1762.  
  1763. function unanchor()
  1764. if UNANCHOR == true then
  1765. g = Character:GetChildren()
  1766. for i = 1, #g do
  1767. if g[i].ClassName == "Part" then
  1768. g[i].Anchored = false
  1769. end
  1770. end
  1771. end
  1772. end
  1773.  
  1774.  
  1775. --//=================================\\
  1776. --|| WRAP THE WHOLE SCRIPT UP
  1777. --\\=================================//
  1778.  
  1779. Humanoid.Changed:connect(function(Jump)
  1780. if Jump == "Jump" and (Disable_Jump == true) then
  1781. Humanoid.Jump = false
  1782. end
  1783. end)
  1784.  
  1785. local CONNECT = nil
  1786. Humanoid.WalkSpeed = 30
  1787.  
  1788. while true do
  1789. Swait()
  1790. ANIMATE.Parent = nil
  1791. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1792. Humanoid = IT("Humanoid",Character)
  1793. end
  1794. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1795. v:Stop();
  1796. end
  1797. SINE = SINE + CHANGE
  1798. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1799. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1800. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1801. local WALKSPEEDVALUE = 6 / (15 / 16)
  1802. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1803. 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 / WALKSPEEDVALUE) / Animation_Speed)
  1804. 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 / WALKSPEEDVALUE) / Animation_Speed)
  1805. 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 / WALKSPEEDVALUE) / Animation_Speed)
  1806. 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 / WALKSPEEDVALUE) / Animation_Speed)
  1807. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1808. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1809. 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)
  1810. 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)
  1811. 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)
  1812. end
  1813. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1814. ANIM = "Jump"
  1815. if ATTACK == false then
  1816. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1817. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1818. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1819. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1820. 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)
  1821. 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)
  1822. end
  1823. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1824. ANIM = "Fall"
  1825. if ATTACK == false then
  1826. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1827. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1828. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1829. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1830. 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)
  1831. 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)
  1832. end
  1833. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1834. ANIM = "Idle"
  1835. if MODE == "GOD" then
  1836. if ATTACK == false then
  1837. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1838. 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.15 / Animation_Speed)
  1839. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -1) * ANGLES(RAD(90), RAD(0), RAD(-100)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1840. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-10)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1841. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size - 0 * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1842. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1843. end
  1844. elseif MODE == "NRM" then
  1845. if ATTACK == false then
  1846. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 0.15 / Animation_Speed)
  1847. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-65)), 0.15 / Animation_Speed)
  1848. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 + 0.1 * COS(SINE / 12) * Player_Size, 0 * Player_Size) * ANGLES(RAD(50), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1849. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 + 0.1 * COS(SINE / 12) * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1850. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.9 + 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / 3)
  1851. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.9 + 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / 3)
  1852. end
  1853. elseif MODE == "MAD" then
  1854. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1855. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-1,25) - 4 * COS(SINE / 12)), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1856. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.7 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1857. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45, -0.1) * ANGLES(RAD(180), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1858. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size - 0 * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(25), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1859. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size - 0 * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(25), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1860. end
  1861. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1862. ANIM = "Walk"
  1863. if MODE == "GOD" then
  1864. if ATTACK == false then
  1865. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1866. 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)
  1867. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1868. 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)
  1869. 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)
  1870. 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)
  1871. end
  1872. elseif MODE == "NRM" then
  1873. if ATTACK == false then
  1874. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1875. 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)
  1876. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1877. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / 20)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1878. 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)
  1879. 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)
  1880. end
  1881. elseif MODE == "MAD" then
  1882. if ATTACK == false then
  1883. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1884. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-1,25) - 4 * COS(SINE / 12)), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  1885. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1886. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1887. 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)
  1888. 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)
  1889. end
  1890. end
  1891. end
  1892. unanchor()
  1893. Humanoid.MaxHealth = "inf"
  1894. Humanoid.Health = "inf"
  1895. if Rooted == false then
  1896. Disable_Jump = false
  1897. Humanoid.WalkSpeed = Speed
  1898. elseif Rooted == true then
  1899. Disable_Jump = true
  1900. Humanoid.WalkSpeed = 0
  1901. end
  1902. Music.Parent = Torso
  1903. Music.Volume = 8.2
  1904. Music.Pitch = 1
  1905. Music.Name = "Dead"
  1906. Humanoid.Name = "HELLO VOID"
  1907. end
  1908.  
  1909. --//=================================\\
  1910. --\\=================================//
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916. --//====================================================\\--
  1917. --|| END OF SCRIPT
  1918. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement