yoyo74456

SmiteEdit

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