Advertisement
Xector666X

Untitled

Jan 16th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 68.44 KB | None | 0 0
  1. -----------//KRYSTAL DANCE V2\\-----------
  2. --[[Movelist
  3. Q = The Swoosher
  4. E = The nutty
  5. R = Spin me right round!
  6. T = Plum juice dance
  7. Y = Moonwalk
  8. U = Slav dance
  9. P = Barrel roll
  10. F = The Jerky
  11. G = The Shuffle
  12. H = The Spongebob
  13. J = Here comes the money!
  14. K = Runnin' in the 90's
  15. ---------]]
  16.  
  17. --Alright so before i start rambling on about absolute nonsense, please subscribe to Pewdiepie on youtube! Help him defeat T-Series!--
  18. --Also subscribe to Vengefulprogram--
  19. --Krystal dance! The old famous script that sadly has been broken(sorta), i've decided to rework this thing because... nostalgia.--
  20. --This is one of the first scripts i've ever ran on SB, seeing this back again really reminds me of how much of a noob i was.--
  21. --Credits to Krystalteam, they made the original krystal dance! Be sure to respect them or else...--
  22. --#makeoldscriptsgreatagain--
  23.  
  24. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  25. do
  26. script.Parent = owner.Character
  27. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  28. local function NewFakeEvent()
  29. local Bind = Instance.new("BindableEvent")
  30. local Fake;Fake = {Connections = {},
  31. fakeEvent=true;
  32. Connect=function(self,Func)
  33. Bind.Event:connect(Func)
  34. self.Connections[Bind] = true
  35. return setmetatable({Connected = true},{
  36. __index = function (self,Index)
  37. if Index:lower() == "disconnect" then
  38. return function() Fake.Connections[Bind] = false;self.Connected = false end
  39. end
  40. return Fake[Index]
  41. end;
  42. __tostring = function() return "Connection" end;
  43. })
  44. end}
  45. Fake.connect = Fake.Connect;return Fake;
  46. end
  47. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  48. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  49. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  50. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  51. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  52. local function TriggerEvent(self,Event,...)
  53. local Trigger = Mouse[Event]
  54. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  55. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  56. end
  57. end
  58. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  59. Event.OnServerEvent:Connect(function(FiredBy,Input)
  60. if FiredBy.Name ~= owner.Name then return end
  61. if Input.MouseEvent then
  62. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  63. else
  64. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  65. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  66. for _,Action in pairs(ContextActionService.Actions) do
  67. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  68. end
  69. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  70. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  71. end
  72. end)
  73. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  74. Event.Parent = NLS([[
  75. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  76. local Input = function(Input,gameProcessedEvent)
  77. if gameProcessedEvent then return end
  78. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  79. end
  80. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  81. local Hit,Target
  82. while wait(1/30) do
  83. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  84. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  85. end
  86. end
  87. ]],owner.Character)
  88. end
  89. RealGame = game;game = setmetatable({},{
  90. __index = function (self,Index)
  91. local Sandbox = function (Thing)
  92. if Thing:IsA("Player") then
  93. local RealPlayer = Thing
  94. return setmetatable({},{
  95. __index = function (self,Index)
  96. local Type = type(RealPlayer[Index])
  97. if Type == "function" then
  98. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  99. return function (self)return InternalData["Mouse"] end
  100. end
  101. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  102. end
  103. return RealPlayer[Index]
  104. end;
  105. __tostring = function(self) return RealPlayer.Name end
  106. })
  107. end
  108. end
  109. if RealGame[Index] then
  110. local Type = type(RealGame[Index])
  111. if Type == "function" then
  112. if Index:lower() == "getservice" or Index:lower() == "service" then
  113. return function (self,Service)
  114. local FakeServices = {
  115. ["players"] = function()
  116. return setmetatable({},{
  117. __index = function (self2,Index2)
  118. local RealService = RealGame:GetService(Service)
  119. local Type2 = type(Index2)
  120. if Type2 == "function" then
  121. return function (self,...) return RealService[Index2](RealService,...)end
  122. else
  123. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  124. return RealService[Index2]
  125. end
  126. end;
  127. __tostring = function(self) return RealGame:GetService(Service).Name end
  128. })
  129. end;
  130. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  131. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  132. ["runservice"] = function()
  133. return setmetatable({},{
  134. __index = function(self2,Index2)
  135. local RealService = RealGame:GetService(Service)
  136. local Type2 = type(Index2)
  137. if Type2 == "function" then
  138. return function (self,...) return RealService[Index2](RealService,...) end
  139. else
  140. local RunServices = {
  141. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  142. ["renderstepped"] = function() return RealService["Stepped"] end
  143. }
  144. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  145. return RealService[Index2]
  146. end
  147. end
  148. })
  149. end
  150. }
  151. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  152. return RealGame:GetService(Service)
  153. end
  154. end
  155. return function (self,...) return RealGame[Index](RealGame,...) end
  156. else
  157. if game:GetService(Index) then return game:GetService(Index) end
  158. return RealGame[Index]
  159. end
  160. end
  161. return nil
  162. end
  163. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  164.  
  165. --//====================================================\\--
  166. --|| CREATED BY SHACKLUSTER
  167. --\\====================================================//--
  168.  
  169. wait(0.2)
  170.  
  171. Player = game:GetService("Players").LocalPlayer
  172. PlayerGui = Player.PlayerGui
  173. Cam = workspace.CurrentCamera
  174. Backpack = Player.Backpack
  175. Character = Player.Character
  176. Humanoid = Character.Humanoid
  177. Mouse = Player:GetMouse()
  178. RootPart = Character["HumanoidRootPart"]
  179. Torso = Character["Torso"]
  180. Head = Character["Head"]
  181. RightArm = Character["Right Arm"]
  182. LeftArm = Character["Left Arm"]
  183. RightLeg = Character["Right Leg"]
  184. LeftLeg = Character["Left Leg"]
  185. RootJoint = RootPart["RootJoint"]
  186. Neck = Torso["Neck"]
  187. RightShoulder = Torso["Right Shoulder"]
  188. LeftShoulder = Torso["Left Shoulder"]
  189. RightHip = Torso["Right Hip"]
  190. LeftHip = Torso["Left Hip"]
  191. local sick = Instance.new("Sound",Torso)
  192. sick.SoundId = "rbxassetid://1383202399"
  193. sick.Looped = true
  194. sick.Pitch = 1
  195. sick.Volume = 1
  196. sick:Play()
  197.  
  198. IT = Instance.new
  199. CF = CFrame.new
  200. VT = Vector3.new
  201. RAD = math.rad
  202. C3 = Color3.new
  203. UD2 = UDim2.new
  204. BRICKC = BrickColor.new
  205. ANGLES = CFrame.Angles
  206. EULER = CFrame.fromEulerAnglesXYZ
  207. COS = math.cos
  208. ACOS = math.acos
  209. SIN = math.sin
  210. ASIN = math.asin
  211. ABS = math.abs
  212. MRANDOM = math.random
  213. FLOOR = math.floor
  214.  
  215. --//=================================\\
  216. --|| USEFUL VALUES
  217. --\\=================================//
  218.  
  219. Animation_Speed = 3
  220. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  221. local Speed = 12
  222. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  223. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  224. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  225. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  226. local DAMAGEMULTIPLIER = 1
  227. local ANIM = "Idle"
  228. local ATTACK = false
  229. local EQUIPPED = false
  230. local HOLD = false
  231. local COMBO = 1
  232. local Rooted = false
  233. local SINE = 0
  234. local KEYHOLD = false
  235. local CHANGE = 2 / Animation_Speed
  236. local WALKINGANIM = false
  237. local VALUE1 = false
  238. local VALUE2 = false
  239. local ROBLOXIDLEANIMATION = IT("Animation")
  240. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  241. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  242. --ROBLOXIDLEANIMATION.Parent = Humanoid
  243. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  244. WEAPONGUI.Name = "Weapon GUI"
  245. local Effects = IT("Folder", Character)
  246. Effects.Name = "Effects"
  247. local ANIMATOR = Humanoid.Animator
  248. local ANIMATE = Character.Animate
  249. local UNANCHOR = true
  250. local WHITELIST = {}
  251. local TAUNT = false
  252. local OFFSET = 0
  253. local FULL = false
  254.  
  255. --//=================================\\
  256. --\\=================================//
  257.  
  258.  
  259. --//=================================\\
  260. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  261. --\\=================================//
  262.  
  263. ArtificialHB = Instance.new("BindableEvent", script)
  264. ArtificialHB.Name = "ArtificialHB"
  265.  
  266. script:WaitForChild("ArtificialHB")
  267.  
  268. frame = Frame_Speed
  269. tf = 0
  270. allowframeloss = false
  271. tossremainder = false
  272. lastframe = tick()
  273. script.ArtificialHB:Fire()
  274.  
  275. game:GetService("RunService").Heartbeat:connect(function(s, p)
  276. tf = tf + s
  277. if tf >= frame then
  278. if allowframeloss then
  279. script.ArtificialHB:Fire()
  280. lastframe = tick()
  281. else
  282. for i = 1, math.floor(tf / frame) do
  283. script.ArtificialHB:Fire()
  284. end
  285. lastframe = tick()
  286. end
  287. if tossremainder then
  288. tf = 0
  289. else
  290. tf = tf - frame * math.floor(tf / frame)
  291. end
  292. end
  293. end)
  294.  
  295. --//=================================\\
  296. --\\=================================//
  297.  
  298. --//=================================\\
  299. --|| SOME FUNCTIONS
  300. --\\=================================//
  301.  
  302. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  303. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  304. end
  305.  
  306. function PositiveAngle(NUMBER)
  307. if NUMBER >= 0 then
  308. NUMBER = 0
  309. end
  310. return NUMBER
  311. end
  312.  
  313. function NegativeAngle(NUMBER)
  314. if NUMBER <= 0 then
  315. NUMBER = 0
  316. end
  317. return NUMBER
  318. end
  319.  
  320. function Swait(NUMBER)
  321. if NUMBER == 0 or NUMBER == nil then
  322. ArtificialHB.Event:wait()
  323. else
  324. for i = 1, NUMBER do
  325. ArtificialHB.Event:wait()
  326. end
  327. end
  328. end
  329.  
  330. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  331. local NEWMESH = IT(MESH)
  332. if MESH == "SpecialMesh" then
  333. NEWMESH.MeshType = MESHTYPE
  334. if MESHID ~= "nil" and MESHID ~= "" then
  335. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  336. end
  337. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  338. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  339. end
  340. end
  341. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  342. NEWMESH.Scale = SCALE
  343. NEWMESH.Parent = PARENT
  344. return NEWMESH
  345. end
  346.  
  347. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  348. local NEWPART = IT("Part")
  349. NEWPART.formFactor = FORMFACTOR
  350. NEWPART.Reflectance = REFLECTANCE
  351. NEWPART.Transparency = TRANSPARENCY
  352. NEWPART.CanCollide = false
  353. NEWPART.Locked = true
  354. NEWPART.Anchored = true
  355. if ANCHOR == false then
  356. NEWPART.Anchored = false
  357. end
  358. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  359. NEWPART.Name = NAME
  360. NEWPART.Size = SIZE
  361. NEWPART.Position = Torso.Position
  362. NEWPART.Material = MATERIAL
  363. NEWPART:BreakJoints()
  364. NEWPART.Parent = PARENT
  365. return NEWPART
  366. end
  367.  
  368. local function weldBetween(a, b)
  369. local weldd = Instance.new("ManualWeld")
  370. weldd.Part0 = a
  371. weldd.Part1 = b
  372. weldd.C0 = CFrame.new()
  373. weldd.C1 = b.CFrame:inverse() * a.CFrame
  374. weldd.Parent = a
  375. return weldd
  376. end
  377.  
  378.  
  379. function QuaternionFromCFrame(cf)
  380. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  381. local trace = m00 + m11 + m22
  382. if trace > 0 then
  383. local s = math.sqrt(1 + trace)
  384. local recip = 0.5 / s
  385. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  386. else
  387. local i = 0
  388. if m11 > m00 then
  389. i = 1
  390. end
  391. if m22 > (i == 0 and m00 or m11) then
  392. i = 2
  393. end
  394. if i == 0 then
  395. local s = math.sqrt(m00 - m11 - m22 + 1)
  396. local recip = 0.5 / s
  397. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  398. elseif i == 1 then
  399. local s = math.sqrt(m11 - m22 - m00 + 1)
  400. local recip = 0.5 / s
  401. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  402. elseif i == 2 then
  403. local s = math.sqrt(m22 - m00 - m11 + 1)
  404. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  405. end
  406. end
  407. end
  408.  
  409. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  410. local xs, ys, zs = x + x, y + y, z + z
  411. local wx, wy, wz = w * xs, w * ys, w * zs
  412. local xx = x * xs
  413. local xy = x * ys
  414. local xz = x * zs
  415. local yy = y * ys
  416. local yz = y * zs
  417. local zz = z * zs
  418. 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))
  419. end
  420.  
  421. function QuaternionSlerp(a, b, t)
  422. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  423. local startInterp, finishInterp;
  424. if cosTheta >= 0.0001 then
  425. if (1 - cosTheta) > 0.0001 then
  426. local theta = ACOS(cosTheta)
  427. local invSinTheta = 1 / SIN(theta)
  428. startInterp = SIN((1 - t) * theta) * invSinTheta
  429. finishInterp = SIN(t * theta) * invSinTheta
  430. else
  431. startInterp = 1 - t
  432. finishInterp = t
  433. end
  434. else
  435. if (1 + cosTheta) > 0.0001 then
  436. local theta = ACOS(-cosTheta)
  437. local invSinTheta = 1 / SIN(theta)
  438. startInterp = SIN((t - 1) * theta) * invSinTheta
  439. finishInterp = SIN(t * theta) * invSinTheta
  440. else
  441. startInterp = t - 1
  442. finishInterp = t
  443. end
  444. end
  445. 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
  446. end
  447.  
  448. function Clerp(a, b, t)
  449. local qa = {QuaternionFromCFrame(a)}
  450. local qb = {QuaternionFromCFrame(b)}
  451. local ax, ay, az = a.x, a.y, a.z
  452. local bx, by, bz = b.x, b.y, b.z
  453. local _t = 1 - t
  454. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  455. end
  456.  
  457. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  458. local frame = IT("Frame")
  459. frame.BackgroundTransparency = TRANSPARENCY
  460. frame.BorderSizePixel = BORDERSIZEPIXEL
  461. frame.Position = POSITION
  462. frame.Size = SIZE
  463. frame.BackgroundColor3 = COLOR
  464. frame.BorderColor3 = BORDERCOLOR
  465. frame.Name = NAME
  466. frame.Parent = PARENT
  467. return frame
  468. end
  469.  
  470. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  471. local label = IT("TextLabel")
  472. label.BackgroundTransparency = 1
  473. label.Size = UD2(1, 0, 1, 0)
  474. label.Position = UD2(0, 0, 0, 0)
  475. label.TextColor3 = TEXTCOLOR
  476. label.TextStrokeTransparency = STROKETRANSPARENCY
  477. label.TextTransparency = TRANSPARENCY
  478. label.FontSize = TEXTFONTSIZE
  479. label.Font = TEXTFONT
  480. label.BorderSizePixel = BORDERSIZEPIXEL
  481. label.TextScaled = false
  482. label.Text = TEXT
  483. label.Name = NAME
  484. label.Parent = PARENT
  485. return label
  486. end
  487.  
  488. function NoOutlines(PART)
  489. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  490. end
  491.  
  492. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  493. local NEWWELD = IT(TYPE)
  494. NEWWELD.Part0 = PART0
  495. NEWWELD.Part1 = PART1
  496. NEWWELD.C0 = C0
  497. NEWWELD.C1 = C1
  498. NEWWELD.Parent = PARENT
  499. return NEWWELD
  500. end
  501.  
  502. local S = IT("Sound")
  503. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  504. local NEWSOUND = nil
  505. coroutine.resume(coroutine.create(function()
  506. NEWSOUND = S:Clone()
  507. NEWSOUND.Parent = PARENT
  508. NEWSOUND.Volume = VOLUME
  509. NEWSOUND.Pitch = PITCH
  510. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  511. NEWSOUND:play()
  512. if DOESLOOP == true then
  513. NEWSOUND.Looped = true
  514. else
  515. repeat wait(1) until NEWSOUND.Playing == false
  516. NEWSOUND:remove()
  517. end
  518. end))
  519. return NEWSOUND
  520. end
  521.  
  522. function CFrameFromTopBack(at, top, back)
  523. local right = top:Cross(back)
  524. 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)
  525. end
  526.  
  527. --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})
  528. function WACKYEFFECT(Table)
  529. local TYPE = (Table.EffectType or "Sphere")
  530. local SIZE = (Table.Size or VT(1,1,1))
  531. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  532. local TRANSPARENCY = (Table.Transparency or 0)
  533. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  534. local CFRAME = (Table.CFrame or Torso.CFrame)
  535. local MOVEDIRECTION = (Table.MoveToPos or nil)
  536. local ROTATION1 = (Table.RotationX or 0)
  537. local ROTATION2 = (Table.RotationY or 0)
  538. local ROTATION3 = (Table.RotationZ or 0)
  539. local MATERIAL = (Table.Material or "Neon")
  540. local COLOR = (Table.Color or C3(1,1,1))
  541. local TIME = (Table.Time or 45)
  542. local SOUNDID = (Table.SoundID or nil)
  543. local SOUNDPITCH = (Table.SoundPitch or nil)
  544. local SOUNDVOLUME = (Table.SoundVolume or nil)
  545. coroutine.resume(coroutine.create(function()
  546. local PLAYSSOUND = false
  547. local SOUND = nil
  548. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  549. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  550. PLAYSSOUND = true
  551. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  552. end
  553. EFFECT.Color = COLOR
  554. local MSH = nil
  555. if TYPE == "Sphere" then
  556. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  557. elseif TYPE == "Block" then
  558. MSH = IT("BlockMesh",EFFECT)
  559. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  560. elseif TYPE == "Wave" then
  561. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  562. elseif TYPE == "Ring" then
  563. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  564. elseif TYPE == "Slash" then
  565. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  566. elseif TYPE == "Round Slash" then
  567. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  568. elseif TYPE == "Swirl" then
  569. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  570. elseif TYPE == "Skull" then
  571. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  572. elseif TYPE == "Crystal" then
  573. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  574. end
  575. if MSH ~= nil then
  576. local MOVESPEED = nil
  577. if MOVEDIRECTION ~= nil then
  578. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  579. end
  580. local GROWTH = SIZE - ENDSIZE
  581. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  582. if TYPE == "Block" then
  583. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  584. else
  585. EFFECT.CFrame = CFRAME
  586. end
  587. for LOOP = 1, TIME+1 do
  588. Swait()
  589. MSH.Scale = MSH.Scale - GROWTH/TIME
  590. if TYPE == "Wave" then
  591. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  592. end
  593. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  594. if TYPE == "Block" then
  595. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  596. else
  597. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  598. end
  599. if MOVEDIRECTION ~= nil then
  600. local ORI = EFFECT.Orientation
  601. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  602. EFFECT.Orientation = ORI
  603. end
  604. end
  605. if PLAYSSOUND == false then
  606. EFFECT:remove()
  607. else
  608. SOUND.Stopped:Connect(function()
  609. EFFECT:remove()
  610. end)
  611. end
  612. else
  613. if PLAYSSOUND == false then
  614. EFFECT:remove()
  615. else
  616. repeat Swait() until SOUND.Playing == false
  617. EFFECT:remove()
  618. end
  619. end
  620. end))
  621. end
  622.  
  623. function MakeForm(PART,TYPE)
  624. if TYPE == "Cyl" then
  625. local MSH = IT("CylinderMesh",PART)
  626. elseif TYPE == "Ball" then
  627. local MSH = IT("SpecialMesh",PART)
  628. MSH.MeshType = "Sphere"
  629. elseif TYPE == "Wedge" then
  630. local MSH = IT("SpecialMesh",PART)
  631. MSH.MeshType = "Wedge"
  632. end
  633. end
  634.  
  635. Debris = game:GetService("Debris")
  636.  
  637. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  638. local DIRECTION = CF(StartPos,EndPos).lookVector
  639. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  640. end
  641.  
  642. local EyeSizes={
  643. NumberSequenceKeypoint.new(0,1,0),
  644. NumberSequenceKeypoint.new(1,0,0)
  645. }
  646. local EyeTrans={
  647. NumberSequenceKeypoint.new(0,0.8,0),
  648. NumberSequenceKeypoint.new(1,1,0)
  649. }
  650. local PE=Instance.new("ParticleEmitter",nil)
  651. PE.LightEmission=.8
  652. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  653. PE.Size=NumberSequence.new(EyeSizes)
  654. PE.Transparency=NumberSequence.new(EyeTrans)
  655. PE.Lifetime=NumberRange.new(0.35,1.5)
  656. PE.Rotation=NumberRange.new(0,360)
  657. PE.Rate=999
  658. PE.VelocitySpread = 10000
  659. PE.Acceleration = Vector3.new(0,0,0)
  660. PE.Drag = 5
  661. PE.Speed = NumberRange.new(0,0,0)
  662. PE.Texture="http://www.roblox.com/asset/?id=1351966707"
  663. PE.ZOffset = -0
  664. PE.Name = "PE"
  665. PE.Enabled = false
  666.  
  667. function particles(art)
  668. local PARTICLES = PE:Clone()
  669. PARTICLES.Parent = art
  670. end
  671.  
  672. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  673. if FLOOR ~= nil then
  674. coroutine.resume(coroutine.create(function()
  675. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  676. PART.CFrame = CF(POSITION)
  677. for i = 1, 45 do
  678. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  679. RingPiece.Material = FLOOR.Material
  680. RingPiece.Color = FLOOR.Color
  681. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  682. Debris:AddItem(RingPiece,SWAIT)
  683. end
  684. PART:remove()
  685. end))
  686. end
  687. end
  688.  
  689. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  690. if FLOOR ~= nil then
  691. for i = 1, AMOUNT do
  692. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  693. DEBREE.Material = FLOOR.Material
  694. DEBREE.Color = FLOOR.Color
  695. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  696. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  697. coroutine.resume(coroutine.create(function()
  698. Swait(15)
  699. DEBREE.Parent = workspace
  700. DEBREE.CanCollide = true
  701. Debris:AddItem(DEBREE,SWAIT)
  702. end))
  703. end
  704. end
  705. end
  706.  
  707. --//=================================\\
  708. --|| WEAPON CREATION
  709. --\\=================================//
  710.  
  711. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  712. PRT.Color = C3(0,0,0)
  713. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  714. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  715. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  716. PRT.Color = C3(0,0,0)
  717. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  718. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  719. for i = 1, 16 do
  720. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  721. FACE.Color = C3(0,0,0)
  722. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  723. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  724. end
  725. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  726. MakeForm(EYE,"Ball")
  727. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  728. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  729. MakeForm(EYE2,"Ball")
  730. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  731. local LASTPART = Head
  732. for i = 1, 20 do
  733. local MATH = (1-(i/25))
  734. if LASTPART == Head then
  735. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  736. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  737. LASTPART = Horn
  738. Horn.Color = C3((i*3-3)/255,0,0)
  739. else
  740. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  741. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  742. LASTPART = Horn
  743. Horn.Color = C3((i*3-3)/255,0,0)
  744. end
  745. end
  746. local LASTPART = Head
  747. for i = 1, 20 do
  748. local MATH = (1-(i/25))
  749. if LASTPART == Head then
  750. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  751. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  752. LASTPART = Horn
  753. Horn.Color = C3((i*3-3)/255,0,0)
  754. else
  755. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  756. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  757. LASTPART = Horn
  758. Horn.Color = C3((i*3-3)/255,0,0)
  759. end
  760. end
  761. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Gold", "Hair", VT(1,1,1),false)
  762. local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  763. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
  764. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Gold", "Hair", VT(1,1,1),false)
  765. local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  766. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
  767.  
  768. local BODY = {}
  769.  
  770. for _, c in pairs(Character:GetDescendants()) do
  771. if c:IsA("BasePart") and c.Name ~= "Handle" then
  772. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  773. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  774. end
  775. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  776. elseif c:IsA("JointInstance") then
  777. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  778. end
  779. end
  780.  
  781. for e = 1, #BODY do
  782. if BODY[e] ~= nil then
  783. local STUFF = BODY[e]
  784. local PART = STUFF[1]
  785. local PARENT = STUFF[2]
  786. local MATERIAL = STUFF[3]
  787. local COLOR = STUFF[4]
  788. local TRANSPARENCY = STUFF[5]
  789. if PART.ClassName == "Part" and PART ~= RootPart then
  790. PART.Material = MATERIAL
  791. PART.Color = COLOR
  792. PART.Transparency = TRANSPARENCY
  793. end
  794. PART.AncestryChanged:Connect(function()
  795. PART.Parent = PARENT
  796. end)
  797. end
  798. end
  799.  
  800. function refit()
  801. Character.Parent = workspace
  802. for e = 1, #BODY do
  803. if BODY[e] ~= nil then
  804. local STUFF = BODY[e]
  805. local PART = STUFF[1]
  806. local PARENT = STUFF[2]
  807. local MATERIAL = STUFF[3]
  808. local COLOR = STUFF[4]
  809. local TRANSPARENCY = STUFF[5]
  810. if PART.ClassName == "Part" and PART ~= RootPart then
  811. PART.Material = MATERIAL
  812. PART.Color = COLOR
  813. PART.Transparency = TRANSPARENCY
  814. end
  815. if PART.Parent ~= PARENT then
  816. Humanoid:remove()
  817. PART.Parent = PARENT
  818. Humanoid = IT("Humanoid",Character)
  819. end
  820. end
  821. end
  822. end
  823.  
  824. local SKILLTEXTCOLOR = C3(0,0,0)
  825. local SKILLFONT = "Antique"
  826. local SKILLTEXTSIZE = 7
  827.  
  828. Humanoid.Died:connect(function()
  829. refit()
  830. end)
  831.  
  832. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  833. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  834. local SKILL3FRAME = 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 3 Frame")
  835. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  836. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  837. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.05, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  838.  
  839. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Whitelist", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  840. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Clear whitelist", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  841. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Smite", SKILLTEXTCOLOR, 8, SKILLFONT, 0, 2, 1, "Text 3")
  842. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Meteor Shower", SKILLTEXTCOLOR, 10, SKILLFONT, 0, 2, 1, "Text 4")
  843. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Q] Teleport", SKILLTEXTCOLOR, 10, SKILLFONT, 0, 2, 1, "Text 5")
  844. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[P] Equivalent Pain", SKILLTEXTCOLOR, 12, SKILLFONT, 0, 2, 1, "Text 6")
  845.  
  846. function Blink()
  847. coroutine.resume(coroutine.create(function()
  848. if EYE ~= nil then
  849. for i = 1, 5 do
  850. Swait()
  851. EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0,0.2,0)
  852. EYE2.Mesh.Scale = EYE.Mesh.Scale
  853. end
  854. for i = 1, 7 do
  855. Swait()
  856. EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0,0.2,0)
  857. EYE2.Mesh.Scale = EYE.Mesh.Scale
  858. end
  859. EYE.Mesh.Scale = VT(1,1,1)
  860. EYE2.Mesh.Scale = EYE.Mesh.Scale
  861. end
  862. end))
  863. end
  864.  
  865. --//=================================\\
  866. --|| DAMAGE FUNCTIONS
  867. --\\=================================//
  868.  
  869. function StatLabel(CFRAME, TEXT, COLOR)
  870. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  871. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  872. local BODYGYRO = IT("BodyGyro", STATPART)
  873. game:GetService("Debris"):AddItem(STATPART ,5)
  874. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  875. BILLBOARDGUI.Adornee = STATPART
  876. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  877. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  878. BILLBOARDGUI.AlwaysOnTop = false
  879. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  880. TEXTLABEL.BackgroundTransparency = 1
  881. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  882. TEXTLABEL.Text = TEXT
  883. TEXTLABEL.Font = SKILLFONT
  884. TEXTLABEL.FontSize="Size42"
  885. TEXTLABEL.TextColor3 = COLOR
  886. TEXTLABEL.TextStrokeTransparency = 0
  887. TEXTLABEL.TextScaled = true
  888. TEXTLABEL.TextWrapped = true
  889. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  890. for i = 1, 50 do
  891. Swait()
  892. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  893. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  894. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  895. end
  896. THEPART.Parent = nil
  897. end),STATPART, TEXTLABEL)
  898. end
  899.  
  900. --//=================================\\
  901. --|| DAMAGING
  902. --\\=================================//
  903.  
  904. function KillChildren(v)
  905. v:BreakJoints()
  906. for _, c in pairs(v:GetChildren()) do
  907. if c:IsA("BasePart") then
  908. if c.Transparency < 1 then
  909. if c:FindFirstChildOfClass("Decal") then
  910. c:FindFirstChildOfClass("Decal"):remove()
  911. end
  912. particles(c)
  913. c.PE.Enabled = true
  914. c.Parent = Effects
  915. c.CanCollide = false
  916. c.Material = "Neon"
  917. c.Color = C3(1,0,0)
  918. c.Transparency = 1
  919. local grav = Instance.new("BodyPosition",c)
  920. grav.P = 20000
  921. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  922. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  923. grav.Name = "GravityForce"
  924. coroutine.resume(coroutine.create(function()
  925. for i = 1, 20 do
  926. Swait()
  927. c.Transparency = c.Transparency + 1/20
  928. end
  929. c.PE.Enabled = false
  930. Debris:AddItem(c,2)
  931. end))
  932. end
  933. end
  934. end
  935. end
  936.  
  937. function ApplyAoE(POSITION,RANGE)
  938. local CHILDREN = workspace:GetDescendants()
  939. for index, CHILD in pairs(CHILDREN) do
  940. if CHILD.ClassName == "Model" and CHILD ~= Character then
  941. local LISTED = false
  942. for LIST = 1, #WHITELIST do
  943. if WHITELIST[LIST] ~= nil then
  944. if CHILD.Name == WHITELIST[LIST] then
  945. LISTED = true
  946. end
  947. end
  948. end
  949. if LISTED == false then
  950. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  951. if HUM then
  952. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  953. if TORSO then
  954. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  955. KillChildren(CHILD)
  956. end
  957. end
  958. end
  959. end
  960. end
  961. end
  962. end
  963.  
  964. --//=================================\\
  965. --|| ATTACK FUNCTIONS AND STUFF
  966. --\\=================================//
  967.  
  968. function Click()
  969. ATTACK = true
  970. Rooted = false
  971. local HIT = nil
  972. OFFSET = -45
  973. for i=0, 1, 0.1 / Animation_Speed do
  974. Swait()
  975. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  976. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  977. end
  978. OFFSET = 45
  979. local PUNCH = CreatePart(3, Effects, "Granite", 0, 1, "Really black", "Hit", VT(0.7,0.7,0.7),false)
  980. PUNCH.CanCollide = true
  981. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PUNCH, CF(0,-1,0), CF(0, 0, 0))
  982. TAUNT = true
  983. local TOUCH = PUNCH.Touched:Connect(function(hit)
  984. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  985. HIT = hit.Parent
  986. end
  987. end)
  988. for i=0, 0.3, 0.1 / Animation_Speed do
  989. Swait()
  990. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.3)
  991. if HIT ~= nil then
  992. break
  993. end
  994. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  995. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  996. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  997. end
  998. PUNCH:remove()
  999. TOUCH:disconnect()
  1000. if HIT ~= nil then
  1001. for _, c in pairs(HIT:GetChildren()) do
  1002. if c:IsA("BasePart") then
  1003. c.Anchored = true
  1004. end
  1005. end
  1006. Rooted = true
  1007. CreateSound(649634100, Torso, 10, 0.8)
  1008. CreateSound(1368573150, RightArm, 3, 1.5)
  1009. for i=0, 0.6, 0.1 / Animation_Speed do
  1010. Swait()
  1011. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1012. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(25), RAD(-45)), 0.05 / Animation_Speed)
  1013. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.75) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1014. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-35), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1015. end
  1016. for _, c in pairs(HIT:GetChildren()) do
  1017. if c:IsA("BasePart") then
  1018. c.Anchored = false
  1019. end
  1020. end
  1021. KillChildren(HIT)
  1022. end
  1023. OFFSET = 0
  1024. ATTACK = false
  1025. Rooted = false
  1026. TAUNT = false
  1027. end
  1028.  
  1029. function Whitelist()
  1030. if Mouse.Target ~= nil then
  1031. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1032. if game.Players:FindFirstChild(Mouse.Target.Parent.Name) then
  1033. table.insert(WHITELIST,Mouse.Target.Parent.Name)
  1034. end
  1035. end
  1036. end
  1037. end
  1038.  
  1039. function Clear_Whitelist()
  1040. if Mouse.Target ~= nil then
  1041. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1042. for LIST = 1, #WHITELIST do
  1043. if WHITELIST[LIST] ~= nil then
  1044. if Mouse.Target.Parent.Name == WHITELIST[LIST] then
  1045. table.remove(WHITELIST,LIST)
  1046. for _, c in pairs(Cam:GetChildren()) do
  1047. if c.Name == Mouse.Target.Parent.Name then
  1048. c:remove()
  1049. end
  1050. end
  1051. end
  1052. end
  1053. end
  1054. end
  1055. end
  1056. end
  1057.  
  1058. function SpawnSmite(POS)
  1059. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1060. local EMITPOS = HITPOS
  1061. if HITFLOOR ~= nil then
  1062. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1063. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1064. EMITPOS = HITPOS
  1065. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1066. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1067. EMITPOS = HITPOS
  1068. end
  1069. end
  1070. if HITFLOOR ~= nil then
  1071. ApplyAoE(EMITPOS,10)
  1072. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1073. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1074. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1075. for i = 1, 5 do
  1076. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  1077. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  1078. end
  1079. end
  1080. end
  1081.  
  1082. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1083. coroutine.resume(coroutine.create(function()
  1084. local METEOR = IT("Model",Effects)
  1085. METEOR.Name = "Meteorite"
  1086. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1087. METEOR.PrimaryPart = CENTER
  1088. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Really black", "MeteorCenter", VT(5,5,5)*SIZE)
  1089. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1090. for i = 1, 15 do
  1091. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "Really red", "Fire", VT(5.1,1,5.1)*SIZE)
  1092. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1093. end
  1094. if ISDEBREE ~= true then
  1095. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1096. else
  1097. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1098. end
  1099. local IMPACT = false
  1100. CreateSound(463593339, CENTER, 10, 0.6)
  1101. if SIZE >= 3.5 then
  1102. for i = 1, MRANDOM(3,7) do
  1103. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  1104. end
  1105. end
  1106. for i = 1, 200 do
  1107. Swait()
  1108. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1109. if HITFLOOR == nil then
  1110. local ORI = CENTER.Orientation
  1111. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1112. else
  1113. if HITFLOOR.Anchored == true then
  1114. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1115. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1116. end
  1117. IMPACT = true
  1118. break
  1119. end
  1120. end
  1121. if IMPACT == true then
  1122. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1123. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1124. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1125. ApplyAoE(CENTER.Position,30*SIZE)
  1126. end
  1127. METEOR:remove()
  1128. end))
  1129. end
  1130.  
  1131. function Smite()
  1132. ATTACK = true
  1133. Rooted = false
  1134. CreateSound(1368573150, RightArm, 3, 1.5)
  1135. for i=0, 0.6, 0.1 / Animation_Speed do
  1136. Swait()
  1137. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1138. 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)
  1139. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1140. end
  1141. local POWER = 0
  1142. repeat
  1143. Swait()
  1144. WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3)/3, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1145. 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)
  1146. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1147. POWER = POWER + 0.5
  1148. if POWER >= 85 then
  1149. POWER = 85
  1150. end
  1151. until KEYHOLD == false
  1152. if POWER < 0.6 then
  1153. SpawnSmite(Mouse.Hit.p)
  1154. else
  1155. if POWER < 15 then
  1156. POWER = 15
  1157. end
  1158. SpawnMeteor(Mouse.Hit.p,POWER/15)
  1159. end
  1160. ATTACK = false
  1161. Rooted = false
  1162. end
  1163.  
  1164. function Meteor_Shower()
  1165. ATTACK = true
  1166. Rooted = false
  1167. CreateSound(1368573150, RightArm, 3, 0.8)
  1168. CreateSound(649634100, Torso, 10, 0.8)
  1169. for i=0, 1.2, 0.1 / Animation_Speed do
  1170. Swait()
  1171. WACKYEFFECT({TIME = 15, EffectType = "Block", Size = VT(3,3,3)/2, Size2 = VT(1,1,1)/3, Transparency = 0.5, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1172. 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)
  1173. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1174. end
  1175. local POS = Mouse.Hit.p
  1176. CreateSound(463593339, Effects, 3, 1)
  1177. coroutine.resume(coroutine.create(function()
  1178. for i = 1, 35 do
  1179. wait(MRANDOM(5,150)/100)
  1180. SpawnMeteor(CF(POS) * ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(0,1500)/10).p,MRANDOM(10,25)/10)
  1181. end
  1182. end))
  1183. ATTACK = false
  1184. Rooted = false
  1185. end
  1186.  
  1187. function Taunt()
  1188. ATTACK = true
  1189. Rooted = false
  1190. TAUNT = true
  1191. for i=0, 0.1, 0.1 / Animation_Speed do
  1192. Swait()
  1193. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1194. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1195. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1196. end
  1197. for i=0, 3, 0.1 / Animation_Speed do
  1198. Swait()
  1199. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1200. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1201. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1202. end
  1203. CreateSound(363808674, Torso, 10, 1.3)
  1204. for i=0, 1, 0.1 / Animation_Speed do
  1205. Swait()
  1206. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  1207. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  1208. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1209. end
  1210. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1211. CreateSound(649634100, Torso, 10, 0.8)
  1212. for i=0, 0.01, 0.1 / Animation_Speed do
  1213. Swait()
  1214. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1215. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1216. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1217. end
  1218. ATTACK = false
  1219. Rooted = false
  1220. TAUNT = false
  1221. end
  1222.  
  1223. function Teleport()
  1224. ATTACK = true
  1225. Rooted = false
  1226. for i=0, 0.5, 0.1 / Animation_Speed do
  1227. Swait()
  1228. 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)
  1229. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1230. end
  1231. for e = 1, #BODY do
  1232. if BODY[e] ~= nil then
  1233. local STUFF = BODY[e]
  1234. local PART = STUFF[1]
  1235. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1236. local PRT = PART:Clone()
  1237. PRT.Anchored = true
  1238. PRT.CanCollide = false
  1239. PRT.Material = "Neon"
  1240. PRT.Color = C3(1,0,0)
  1241. PRT.Name = "WarpEffect"
  1242. PRT.Parent = Effects
  1243. PRT.CFrame = PART.CFrame
  1244. PRT:BreakJoints()
  1245. if PRT:FindFirstChildOfClass("Sound") then
  1246. PRT:FindFirstChildOfClass("Sound"):remove()
  1247. end
  1248. if PRT:FindFirstChildOfClass("Decal") then
  1249. PRT:FindFirstChildOfClass("Decal"):remove()
  1250. end
  1251. coroutine.resume(coroutine.create(function()
  1252. for i = 1, 100 do
  1253. Swait()
  1254. PRT.Transparency = PRT.Transparency + 1/100
  1255. end
  1256. PRT:remove()
  1257. end))
  1258. end
  1259. end
  1260. end
  1261. CreateSound(217767125, Torso, 10, 1)
  1262. local POS = RootPart.Orientation
  1263. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1264. RootPart.Orientation = POS
  1265. RootJoint.Parent = RootPart
  1266. for i=0, 0.5, 0.1 / Animation_Speed do
  1267. Swait()
  1268. 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)
  1269. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1270. end
  1271. for i=0, 0.1, 0.1 / Animation_Speed do
  1272. Swait()
  1273. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1274. end
  1275. ATTACK = false
  1276. Rooted = false
  1277. end
  1278.  
  1279. function Equivalent_Pain()
  1280. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1281. if HITFLOOR then
  1282. ATTACK = true
  1283. Rooted = true
  1284. FULL = true
  1285. local GYRO = IT("BodyGyro",RootPart)
  1286. GYRO.D = 25
  1287. GYRO.P = 20000
  1288. GYRO.MaxTorque = VT(0,math.huge,0)
  1289. for i=0, 0.3, 0.1 / Animation_Speed do
  1290. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1291. Swait()
  1292. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1293. 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)
  1294. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1295. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1296. 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(-35)), 1 / Animation_Speed)
  1297. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(5)), 1 / Animation_Speed)
  1298. end
  1299. GYRO:remove()
  1300. CreateSound(12222200, RightArm, 10, 1)
  1301. for i=0, 0.4, 0.1 / Animation_Speed do
  1302. Swait()
  1303. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  1304. 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)
  1305. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1306. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1307. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  1308. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1309. end
  1310. CreateSound(289842971, RightArm, 10, 1)
  1311. coroutine.resume(coroutine.create(function()
  1312. local HIT,POS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(Mouse.Hit.p+VT(0,1,0), Mouse.Hit.p-VT(0,1,0))).lookVector, 45, Character)
  1313. local ECHO = POS
  1314. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1315. HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1316. ECHO = POS
  1317. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1318. HIT,POS = Raycast(ECHO+VT(0,1,0), (CF(ECHO, ECHO + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1319. ECHO = POS
  1320. end
  1321. if ECHO.Y == HITPOS.Y then
  1322. local DISTANCE = (HITPOS - ECHO).Magnitude/3
  1323. local CFRAME = CF(HITPOS,ECHO)
  1324. local RANGE = math.ceil(DISTANCE)
  1325. for i = 1, RANGE-1 do
  1326. Swait(3)
  1327. local A = CFRAME*CF(0,0,-i*3)
  1328. ApplyAoE(A.p,4)
  1329. CreateFlyingDebree(HITFLOOR,A,2,VT(2,2,2),2,65)
  1330. end
  1331. local SIZE = 3
  1332. local POS = CFRAME*CF(0,0,-RANGE*3).p
  1333. WACKYEFFECT({Time = 75, EffectType = "Sphere", Size = VT(55,0,55)*SIZE, Size2 = VT(55,15,55)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 0.8, SoundVolume = 10})
  1334. WACKYEFFECT({EffectType = "Sphere", Size = VT(10,250,10)*SIZE, Size2 = VT(20,1000,20)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
  1335. WACKYEFFECT({EffectType = "Sphere", Size = VT(30,150,30)*SIZE, Size2 = VT(50,300,50)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 178452241, SoundPitch = 1, SoundVolume = 10})
  1336. for i = 1, 9 do
  1337. WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,15*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  1338. end
  1339. for i = 1, 9 do
  1340. WACKYEFFECT({TIME = 65, EffectType = "Sphere", Size = VT(5,5,0)*SIZE, Size2 = VT(0,0,35)*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-25*SIZE), MoveToPos = CF(POS+VT(0,5*SIZE,0))*ANGLES(RAD(0),RAD((360/9)*i),RAD(0))*ANGLES(RAD(25),RAD(0),RAD(0))*CF(0,0,-55*SIZE).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  1341. end
  1342. ApplyAoE(POS,30*SIZE)
  1343. CreateDebreeRing(HITFLOOR,POS,30*SIZE,VT(8,8,8)*SIZE,5)
  1344. CreateDebreeRing(HITFLOOR,POS,50*SIZE,VT(2,2,2)*SIZE,5)
  1345. end
  1346. end))
  1347. for i=0, 0.6, 0.1 / Animation_Speed do
  1348. Swait()
  1349. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  1350. 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)
  1351. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1352. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(-12)) * ANGLES(RAD(-35), RAD(55), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1353. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  1354. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1355. end
  1356. FULL = false
  1357. ATTACK = false
  1358. Rooted = false
  1359. end
  1360. end
  1361.  
  1362. --//=================================\\
  1363. --|| ASSIGN THINGS TO KEYS
  1364. --\\=================================//
  1365.  
  1366. function MouseDown(Mouse)
  1367. if ATTACK == false then
  1368. Click()
  1369. end
  1370. end
  1371.  
  1372. function MouseUp(Mouse)
  1373. HOLD = false
  1374. end
  1375.  
  1376. function KeyDown(Key)
  1377. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1378. KEYHOLD = true
  1379. if Key == "z" and ATTACK == false then
  1380. Whitelist()
  1381. end
  1382.  
  1383. if Key == "b" and ATTACK == false then
  1384. Clear_Whitelist()
  1385. end
  1386.  
  1387. if Key == "c" and ATTACK == false then
  1388. Smite()
  1389. end
  1390.  
  1391. if Key == "x" and ATTACK == false then
  1392. Meteor_Shower()
  1393. end
  1394.  
  1395. if Key == "t" and ATTACK == false then
  1396. Taunt()
  1397. end
  1398.  
  1399. if Key == "q" and ATTACK == false then
  1400. Teleport()
  1401. end
  1402.  
  1403. if Key == "p" and ATTACK == false then
  1404. Equivalent_Pain()
  1405. end
  1406. end
  1407. end
  1408.  
  1409. function KeyUp(Key)
  1410. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1411. KEYHOLD = false
  1412. end
  1413. end
  1414.  
  1415. Mouse.Button1Down:connect(function(NEWKEY)
  1416. MouseDown(NEWKEY)
  1417. end)
  1418. Mouse.Button1Up:connect(function(NEWKEY)
  1419. MouseUp(NEWKEY)
  1420. end)
  1421. Mouse.KeyDown:connect(function(NEWKEY)
  1422. KeyDown(NEWKEY)
  1423. end)
  1424. Mouse.KeyUp:connect(function(NEWKEY)
  1425. KeyUp(NEWKEY)
  1426. end)
  1427.  
  1428. --//=================================\\
  1429. --\\=================================//
  1430.  
  1431.  
  1432. function unanchor()
  1433. if UNANCHOR == true then
  1434. g = Character:GetChildren()
  1435. for i = 1, #g do
  1436. if g[i].ClassName == "Part" then
  1437. g[i].Anchored = false
  1438. end
  1439. end
  1440. end
  1441. end
  1442.  
  1443.  
  1444. --//=================================\\
  1445. --|| WRAP THE WHOLE SCRIPT UP
  1446. --\\=================================//
  1447.  
  1448. Humanoid.Changed:connect(function(Jump)
  1449. if Jump == "Jump" and (Disable_Jump == true) then
  1450. Humanoid.Jump = false
  1451. end
  1452. end)
  1453.  
  1454. local BLINKLOOP = 0
  1455. script.Parent = WEAPONGUI
  1456. ANIMATE.Parent = nil
  1457.  
  1458. while true do
  1459. Swait()
  1460. if Humanoid then
  1461. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1462. IDLEANIMATION:Play()
  1463. end
  1464. SINE = SINE + CHANGE*2
  1465. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1466. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1467. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1468. local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  1469. HairWeld1.C1 = Clerp(HairWeld1.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 1.5 * SIN(SINE / 12) - 2.5 * COS(SINE / 12)), RAD(4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1470. HairWeld2.C1 = Clerp(HairWeld2.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 - 1.5 * SIN(SINE / 12) + 2.5 * COS(SINE / 12)), RAD(-4.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1471. HoodWeld.C1 = Clerp(HoodWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0 + 0.75 * SIN(SINE / 12) - 1.75 * COS(SINE / 12)), RAD(2.75 * SIN(SINE / 12))), 1 / Animation_Speed)
  1472. if ANIM == "Walk" and TORSOVELOCITY > 1 and FULL == false then
  1473. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1474. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1475. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.1 * 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(35 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
  1476. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.1 * 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(35 * COS(SINE / WALKSPEEDVALUE))), 1 / Animation_Speed)
  1477. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or FULL == true then
  1478. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1479. 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)
  1480. 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)
  1481. 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)
  1482. end
  1483. if FULL == false then
  1484. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1485. ANIM = "Jump"
  1486. if ATTACK == false then
  1487. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1488. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-15), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1489. end
  1490. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1491. if TAUNT == false then
  1492. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1493. end
  1494. 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)
  1495. 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)
  1496. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1497. ANIM = "Fall"
  1498. if ATTACK == false then
  1499. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1500. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1501. end
  1502. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(15), RAD(0), RAD(OFFSET)), 0.2 / Animation_Speed)
  1503. if TAUNT == false then
  1504. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1505. end
  1506. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  1507. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  1508. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1509. ANIM = "Idle"
  1510. if ATTACK == false then
  1511. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1512. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1513. end
  1514. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(OFFSET)), 0.8 / Animation_Speed)
  1515. if TAUNT == false then
  1516. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1517. end
  1518. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  1519. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  1520. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1521. ANIM = "Walk"
  1522. if ATTACK == false then
  1523. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(5), RAD(0)), 0.15 / Animation_Speed)
  1524. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1525. end
  1526. if TAUNT == false then
  1527. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1528. end
  1529. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(OFFSET)), 0.8 / Animation_Speed)
  1530. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1531. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1532. end
  1533. end
  1534. unanchor()
  1535. Humanoid.MaxHealth = "inf"
  1536. Humanoid.Health = "inf"
  1537. if Rooted == false then
  1538. Disable_Jump = false
  1539. Humanoid.WalkSpeed = Speed
  1540. elseif Rooted == true then
  1541. Disable_Jump = true
  1542. Humanoid.WalkSpeed = 0
  1543. end
  1544. sick.Volume = 2
  1545. sick.Pitch = 1
  1546. sick.Playing = true
  1547. sick.Parent = Torso
  1548. Humanoid.Name = MRANDOM(100000000,999999999)
  1549. Humanoid.PlatformStand = false
  1550. for _, c in pairs(Cam:GetChildren()) do
  1551. if game.Players:FindFirstChild(c.Name) == nil and c.ClassName == "BillboardGui" then
  1552. c:remove()
  1553. end
  1554. end
  1555. for LIST = 1, #WHITELIST do
  1556. if WHITELIST[LIST] ~= nil then
  1557. local CHARACTER = workspace:FindFirstChild(WHITELIST[LIST])
  1558. if CHARACTER then
  1559. if Cam:FindFirstChild(WHITELIST[LIST]) == nil then
  1560. local TORSO = CHARACTER:FindFirstChild("Torso") or CHARACTER:FindFirstChild("UpperTorso")
  1561. if TORSO then
  1562. CreateSound(201858045, Cam, 3, 1)
  1563. local GUI = Instance.new("BillboardGui",Cam)
  1564. GUI.Name = WHITELIST[LIST]
  1565. GUI.Size = UDim2.new(5,0,5,0)
  1566. GUI.Adornee = TORSO
  1567. local GUI2 = IT("ImageLabel",GUI)
  1568. GUI2.BackgroundTransparency = 1
  1569. GUI2.BorderSizePixel = 0
  1570. GUI2.ImageTransparency = 1
  1571. GUI2.Size = UDim2.new(1,0,1,0)
  1572. GUI2.SizeConstraint = "RelativeYY"
  1573. GUI.AlwaysOnTop = true
  1574. GUI2.Image = "http://www.roblox.com/asset/?id=142164463"
  1575. end
  1576. else
  1577. local GUI = Cam:FindFirstChild(WHITELIST[LIST])
  1578. if GUI.ImageLabel.ImageTransparency <= 1 then
  1579. GUI.ImageLabel.ImageTransparency = GUI.ImageLabel.ImageTransparency - 0.03
  1580. end
  1581. local TORSO = CHARACTER:FindFirstChild("Torso") or CHARACTER:FindFirstChild("UpperTorso")
  1582. if TORSO then
  1583. GUI.Adornee = TORSO
  1584. end
  1585. end
  1586. else
  1587. if Cam:FindFirstChild(WHITELIST[LIST]) then
  1588. Cam:FindFirstChild(WHITELIST[LIST]):remove()
  1589. end
  1590. end
  1591. else
  1592. if Cam:FindFirstChild(WHITELIST[LIST]) then
  1593. Cam:FindFirstChild(WHITELIST[LIST]):remove()
  1594. end
  1595. table.remove(WHITELIST,LIST)
  1596. end
  1597. end
  1598. if Character:FindFirstChildOfClass("Accessory") then
  1599. Character:FindFirstChildOfClass("Accessory"):remove()
  1600. elseif Character:FindFirstChildOfClass("Hat") then
  1601. Character:FindFirstChildOfClass("Hat"):remove()
  1602. end
  1603. if Head:FindFirstChild("face") then
  1604. Head.face.Texture = "rbxassetid://403870689"
  1605. end
  1606. BLINKLOOP = BLINKLOOP + 1
  1607. if BLINKLOOP >=650 then
  1608. BLINKLOOP = 0
  1609. Blink()
  1610. end
  1611. Humanoid.DisplayDistanceType = "None"
  1612. Humanoid.PlatformStand = false
  1613. refit()
  1614. for _, c in pairs(Torso:GetChildren()) do
  1615. if c:IsA("JointInstance") or c.ClassName == "Sound" then
  1616. else
  1617. c:remove()
  1618. end
  1619. end
  1620. end
  1621.  
  1622. --//=================================\\
  1623. --\\=================================//
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629. --//====================================================\\--
  1630. --|| END OF SCRIPT
  1631. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement