Advertisement
13242

Untitled

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