Advertisement
Christoffer07700Extr

no3

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