Advertisement
wamandnj

Untitled

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