Advertisement
Christoffer07700Extr

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

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