Advertisement
zza

Fe Verison

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