Advertisement
wamandnj

Untitled

Mar 21st, 2019
302
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(1,0,0),Color3.fromRGB(1,0,0),Color3.fromRGB(1,0,0),Color3.fromRGB(0,1,0),Color3.fromRGB(0,1,0),Color3.fromRGB(0,1,0),Color3.fromRGB(0,0,0),Color3.fromRGB(0,0,0)}
  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 red", "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.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  689. asd.LightEmission = .1
  690. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  691. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  692. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  693. asd.Transparency = bbb
  694. asd.Size = aaa
  695. asd.ZOffset = .9
  696. asd.Acceleration = Vector3.new(0, -15, 0)
  697. asd.LockedToPart = false
  698. asd.EmissionDirection = "Back"
  699. asd.Lifetime = NumberRange.new(1, 2)
  700. asd.Rotation = NumberRange.new(-100, 100)
  701. asd.RotSpeed = NumberRange.new(-100, 100)
  702. asd.Speed = NumberRange.new(10)
  703. asd.Enabled = false
  704. asd.VelocitySpread = 999
  705.  
  706. function getbloody(victim,amount)
  707. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Fire", victim.Size)
  708. PART.CFrame = victim.CFrame
  709. local HITPLAYERSOUNDS = {"2558570292","638062404"}
  710. Debris:AddItem(PART,5)
  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. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  714. local prtcl = asd:Clone()
  715. prtcl.Parent = PART
  716. prtcl:Emit(amount*10)
  717. end
  718.  
  719. local Particle = IT("ParticleEmitter",nil)
  720. Particle.Enabled = false
  721. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  722. Particle.LightEmission = 0.5
  723. Particle.Rate = 150
  724. Particle.ZOffset = 1
  725. Particle.Rotation = NumberRange.new(-180, 180)
  726. Particle.RotSpeed = NumberRange.new(-180, 180)
  727. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  728. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  729.  
  730. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  731. function ParticleEmitter(Table)
  732. local PRTCL = Particle:Clone()
  733. local Speed = Table.Speed or 5
  734. local Drag = Table.Drag or 0
  735. local Size1 = Table.Size1 or 1
  736. local Size2 = Table.Size2 or 5
  737. local Lifetime1 = Table.Lifetime1 or 1
  738. local Lifetime2 = Table.Lifetime2 or 1.5
  739. local Parent = Table.Parent or Torso
  740. local Emit = Table.Emit or 100
  741. local Offset = Table.Offset or 360
  742. local Acel = Table.Acel or VT(0,0,0)
  743. local Enabled = Table.Enabled or false
  744. PRTCL.Parent = Parent
  745. PRTCL.Size = NumberSequence.new(Size1,Size2)
  746. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  747. PRTCL.Speed = NumberRange.new(Speed)
  748. PRTCL.VelocitySpread = Offset
  749. PRTCL.Drag = Drag
  750. PRTCL.Acceleration = Acel
  751. if Enabled == false then
  752. PRTCL:Emit(Emit)
  753. Debris:AddItem(PRTCL,Lifetime2)
  754. else
  755. PRTCL.Enabled = true
  756. end
  757. return PRTCL
  758. end
  759.  
  760. --//=================================\\
  761. --|| WEAPON CREATION
  762. --\\=================================//
  763.  
  764. local A = IT("Attachment",LeftArm)
  765. A.Position = VT(1,1.3,0)
  766. A.Orientation = VT(-0.098, -89.999, 0.227)
  767. local B = IT("Attachment",LeftArm)
  768. B.Position = VT(-1.3,-0.6,0)
  769. B.Orientation = VT(-88.911, -68.808, 158.782)
  770.  
  771.  
  772. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  773. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  774. MakeForm(Part,"Wedge")
  775.  
  776. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  777. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  778. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  779. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  780. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  781. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  782. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  783. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  784. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  785. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  786.  
  787. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  788. local Gun = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0),false)
  789. local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "468351345", "468351348", VT(0.06,0.06,0.06), VT(0,0, 0))
  790. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.8, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  791.  
  792. --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})
  793. function WACKYEFFECT(Table)
  794. local TYPE = (Table.EffectType or "Sphere")
  795. local SIZE = (Table.Size or VT(1,1,1))
  796. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  797. local TRANSPARENCY = (Table.Transparency or 0)
  798. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  799. local CFRAME = (Table.CFrame or Torso.CFrame)
  800. local MOVEDIRECTION = (Table.MoveToPos or nil)
  801. local ROTATION1 = (Table.RotationX or 0)
  802. local ROTATION2 = (Table.RotationY or 0)
  803. local ROTATION3 = (Table.RotationZ or 0)
  804. local MATERIAL = (Table.Material or "Neon")
  805. local COLOR = (Table.Color or C3(1,1,1))
  806. local TIME = (Table.Time or 45)
  807. local SOUNDID = (Table.SoundID or nil)
  808. local SOUNDPITCH = (Table.SoundPitch or nil)
  809. local SOUNDVOLUME = (Table.SoundVolume or nil)
  810. coroutine.resume(coroutine.create(function()
  811. local PLAYSSOUND = false
  812. local SOUND = nil
  813. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  814. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  815. PLAYSSOUND = true
  816. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  817. end
  818. EFFECT.Color = COLOR
  819. local MSH = nil
  820. if TYPE == "Sphere" then
  821. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  822. elseif TYPE == "Block" then
  823. MSH = IT("BlockMesh",EFFECT)
  824. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  825. elseif TYPE == "Wave" then
  826. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  827. elseif TYPE == "Ring" then
  828. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  829. elseif TYPE == "Slash" then
  830. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  831. elseif TYPE == "Round Slash" then
  832. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  833. elseif TYPE == "Swirl" then
  834. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  835. elseif TYPE == "Skull" then
  836. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  837. elseif TYPE == "Crystal" then
  838. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  839. end
  840. if MSH ~= nil then
  841. local MOVESPEED = nil
  842. if MOVEDIRECTION ~= nil then
  843. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  844. end
  845. local GROWTH = SIZE - ENDSIZE
  846. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  847. if TYPE == "Block" then
  848. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  849. else
  850. EFFECT.CFrame = CFRAME
  851. end
  852. for LOOP = 1, TIME+1 do
  853. Swait()
  854. MSH.Scale = MSH.Scale - GROWTH/TIME
  855. if TYPE == "Wave" then
  856. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  857. end
  858. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  859. if TYPE == "Block" then
  860. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  861. else
  862. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  863. end
  864. if MOVEDIRECTION ~= nil then
  865. local ORI = EFFECT.Orientation
  866. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  867. EFFECT.Orientation = ORI
  868. end
  869. end
  870. if PLAYSSOUND == false then
  871. EFFECT:remove()
  872. else
  873. SOUND.Stopped:Connect(function()
  874. EFFECT:remove()
  875. end)
  876. end
  877. else
  878. if PLAYSSOUND == false then
  879. EFFECT:remove()
  880. else
  881. repeat Swait() until SOUND.Playing == false
  882. EFFECT:remove()
  883. end
  884. end
  885. end))
  886. end
  887.  
  888. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  889. function ParticleEmitter(Table)
  890. local PRTCL = Particle:Clone()
  891. local Speed = Table.Speed or 5
  892. local Drag = Table.Drag or 0
  893. local Size1 = Table.Size1 or 1
  894. local Size2 = Table.Size2 or 5
  895. local Lifetime1 = Table.Lifetime1 or 1
  896. local Lifetime2 = Table.Lifetime2 or 1.5
  897. local Parent = Table.Parent or Torso
  898. local Emit = Table.Emit or 100
  899. local Offset = Table.Offset or 360
  900. local Acel = Table.Acel or VT(0,0,0)
  901. local Enabled = Table.Enabled or false
  902. PRTCL.Parent = Parent
  903. PRTCL.Size = NumberSequence.new(Size1,Size2)
  904. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  905. PRTCL.Speed = NumberRange.new(Speed)
  906. PRTCL.VelocitySpread = Offset
  907. PRTCL.Drag = Drag
  908. PRTCL.Acceleration = Acel
  909. if Enabled == false then
  910. PRTCL:Emit(Emit)
  911. Debris:AddItem(PRTCL,Lifetime2)
  912. else
  913. PRTCL.Enabled = true
  914. end
  915. return PRTCL
  916. end
  917.  
  918. 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)})
  919. --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)})
  920.  
  921. for _, c in pairs(Weapon:GetDescendants()) do
  922. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  923. c.Material = "Glass"
  924. c.Color = C3(0,0,0)
  925. elseif c.ClassName == "Part" and c.Name == "Eye" then
  926. c.Color = C3(1,0,0)
  927. c.Material = "Neon"
  928. end
  929. end
  930.  
  931. Weapon.Parent = Character
  932. for _, c in pairs(Weapon:GetChildren()) do
  933. if c.ClassName == "Part" then
  934. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  935. end
  936. end
  937.  
  938. local SKILLTEXTCOLOR = C3(1,0,0)
  939. local SKILLFONT = "Antique"
  940. local SKILLTEXTSIZE = 7
  941.  
  942. Humanoid.Died:connect(function()
  943. ATTACK = true
  944. end)
  945.  
  946. 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")
  947. --[[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")
  948. 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")
  949. 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")
  950. 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")
  951. ]]
  952. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] ", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  953. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  954. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  955. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  956. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  957. ]]
  958. function printbye(Name)
  959. 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, "}
  960. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  961. end
  962.  
  963. workspace.ChildAdded:connect(function(instance)
  964. for BANISH = 1, #TOBANISH do
  965. if TOBANISH[BANISH] ~= nil then
  966. if instance.Name == TOBANISH[BANISH] then
  967. coroutine.resume(coroutine.create(function()
  968. printbye(instance.Name)
  969. instance:ClearAllChildren()
  970. Debris:AddItem(instance,0.0005)
  971. end))
  972. end
  973. end
  974. end
  975. end)
  976.  
  977. --//=================================\\
  978. --|| DAMAGING
  979. --\\=================================//
  980.  
  981.  
  982. function BulletDetection(FROM,TO,BRUTAL)
  983. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  984. coroutine.resume(coroutine.create(function()
  985. if AIMHIT ~= nil then
  986. if AIMHIT.Parent ~= Character then
  987. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  988. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  989. if BRUTAL == true then
  990. Kill(AIMHIT.Parent)
  991. else
  992. getbloody(AIMHIT,15)
  993. AIMHIT.Parent:BreakJoints()
  994. if AIMHIT.Name == "Head" then
  995. AIMHIT.Name = "HEADSHOT"
  996. AIMHIT:remove()
  997. end
  998. end
  999. else
  1000. if BRUTAL == true then
  1001. Kill(AIMHIT.Parent.Parent)
  1002. else
  1003. AIMHIT.Parent.Parent:BreakJoints()
  1004. end
  1005. end
  1006. end
  1007. end
  1008. end
  1009. end))
  1010. SpawnTrail(FROM,AIMPOS)
  1011. return AIMHIT,AIMPOS,NORMAL
  1012. end
  1013.  
  1014. function Banish(Foe)
  1015. if Foe then
  1016. coroutine.resume(coroutine.create(function()
  1017. --if game.Players:FindFirstChild(Foe.Name) then
  1018. table.insert(TOBANISH,Foe.Name)
  1019. printbye(Foe.Name)
  1020. --end
  1021. Foe.Archivable = true
  1022. local CLONE = Foe:Clone()
  1023. Foe:Destroy()
  1024. CLONE.Parent = Effects
  1025. CLONE:BreakJoints()
  1026. local MATERIALS = {"Glass","Neon"}
  1027. for _, c in pairs(CLONE:GetDescendants()) do
  1028. if c:IsA("BasePart") then
  1029. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1030. CreateSound(340722848, c, 10, 1, false)
  1031. end
  1032. c.Anchored = true
  1033. c.Transparency = c.Transparency + 0.2
  1034. c.Material = MATERIALS[MRANDOM(1,2)]
  1035. c.Color = C3(0,1,0)
  1036. if c.ClassName == "MeshPart" then
  1037. c.TextureID = ""
  1038. end
  1039. if c:FindFirstChildOfClass("SpecialMesh") then
  1040. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1041. end
  1042. if c:FindFirstChildOfClass("Decal") then
  1043. c:FindFirstChildOfClass("Decal"):remove()
  1044. end
  1045. c.Name = "Banished"
  1046. c.CanCollide = false
  1047. else
  1048. c:remove()
  1049. end
  1050. end
  1051. local A = false
  1052. for i = 1, 35 do
  1053. if A == false then
  1054. A = true
  1055. elseif A == true then
  1056. A = false
  1057. end
  1058. for _, c in pairs(CLONE:GetDescendants()) do
  1059. if c:IsA("BasePart") then
  1060. c.Anchored = true
  1061. c.Material = MATERIALS[MRANDOM(1,2)]
  1062. c.Transparency = c.Transparency + 0.8/35
  1063. if A == false then
  1064. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1065. elseif A == true then
  1066. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1067. end
  1068. end
  1069. end
  1070. Swait()
  1071. end
  1072. CLONE:remove()
  1073. end))
  1074. end
  1075. end
  1076.  
  1077. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1078. local CHILDREN = workspace:GetDescendants()
  1079. for index, CHILD in pairs(CHILDREN) do
  1080. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1081. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1082. if HUM then
  1083. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1084. if TORSO then
  1085. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1086. if ISBANISH == true then
  1087. Banish(CHILD)
  1088. else
  1089. if ISBANISH == "Gravity" then
  1090. HUM.PlatformStand = true
  1091. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1092. local grav = Instance.new("BodyPosition",TORSO)
  1093. grav.D = 15
  1094. grav.P = 20000
  1095. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1096. grav.position = TORSO.Position
  1097. grav.Name = "V3BanishForce"..Player.Name
  1098. else
  1099. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1100. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1101. end
  1102. else
  1103. HUM.PlatformStand = false
  1104. end
  1105. end
  1106. elseif ISBANISH == "Gravity" then
  1107. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1108. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1109. HUM.PlatformStand = false
  1110. end
  1111. end
  1112. end
  1113. end
  1114. end
  1115. end
  1116. end
  1117.  
  1118. function Kill(Char)
  1119. local NewCharacter = IT("Model",Effects)
  1120. NewCharacter.Name = "Ow im ded ;-;"
  1121. for _, c in pairs(Char:GetDescendants()) do
  1122. if c:IsA("BasePart") and c.Transparency == 0 then
  1123. if c.Parent == Char then
  1124. getbloody(c,5)
  1125. end
  1126. c:BreakJoints()
  1127. c.Material = "Glass"
  1128. c.Color = C3(0.5,0,0)
  1129. c.CanCollide = true
  1130. c.Transparency = 0.3
  1131. if c:FindFirstChildOfClass("SpecialMesh") then
  1132. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1133. end
  1134. if c.Name == "Head" then
  1135. c:ClearAllChildren()
  1136. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1137. end
  1138. if c.ClassName == "MeshPart" then
  1139. c.TextureID = ""
  1140. end
  1141. if c:FindFirstChildOfClass("BodyPosition") then
  1142. c:FindFirstChildOfClass("BodyPosition"):remove()
  1143. end
  1144. if c:FindFirstChildOfClass("ParticleEmitter") then
  1145. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1146. end
  1147. c.Parent = NewCharacter
  1148. c.Name = "DeadPart"
  1149. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1150. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1151. end
  1152. end
  1153. Char:remove()
  1154. Debris:AddItem(NewCharacter,5)
  1155. end
  1156.  
  1157. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1158. local CHILDREN = workspace:GetDescendants()
  1159. for index, CHILD in pairs(CHILDREN) do
  1160. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1161. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1162. if HUM then
  1163. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1164. if TORSO then
  1165. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1166. if BRUTAL == true then
  1167. Kill(CHILD)
  1168. else
  1169. CHILD:BreakJoints()
  1170. end
  1171. end
  1172. end
  1173. end
  1174. end
  1175. end
  1176. end
  1177.  
  1178. function BulletDetection(FROM,TO,BRUTAL)
  1179. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1180. coroutine.resume(coroutine.create(function()
  1181. if AIMHIT ~= nil then
  1182. if AIMHIT.Parent ~= Character then
  1183. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1184. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1185. if BRUTAL == true then
  1186. Kill(AIMHIT.Parent)
  1187. else
  1188. getbloody(AIMHIT,15)
  1189. AIMHIT.Parent:BreakJoints()
  1190. if AIMHIT.Name == "Head" then
  1191. AIMHIT.Name = "HEADSHOT"
  1192. AIMHIT:remove()
  1193. end
  1194. end
  1195. else
  1196. if BRUTAL == true then
  1197. Kill(AIMHIT.Parent.Parent)
  1198. else
  1199. AIMHIT.Parent.Parent:BreakJoints()
  1200. end
  1201. end
  1202. end
  1203. end
  1204. end
  1205. end))
  1206. SpawnTrail(FROM,AIMPOS)
  1207. return AIMHIT,AIMPOS,NORMAL
  1208. end
  1209.  
  1210. function Banish(Foe)
  1211. if Foe then
  1212. coroutine.resume(coroutine.create(function()
  1213. --if game.Players:FindFirstChild(Foe.Name) then
  1214. table.insert(TOBANISH,Foe.Name)
  1215. printbye(Foe.Name)
  1216. --end
  1217. Foe.Archivable = true
  1218. local CLONE = Foe:Clone()
  1219. Foe:Destroy()
  1220. CLONE.Parent = Effects
  1221. CLONE:BreakJoints()
  1222. local MATERIALS = {"Glass","Neon"}
  1223. for _, c in pairs(CLONE:GetDescendants()) do
  1224. if c:IsA("BasePart") then
  1225. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1226. CreateSound(340722848, c, 10, 1, false)
  1227. end
  1228. c.Anchored = true
  1229. c.Transparency = c.Transparency + 0.2
  1230. c.Material = MATERIALS[MRANDOM(1,2)]
  1231. c.Color = C3(1,0,0)
  1232. if c.ClassName == "MeshPart" then
  1233. c.TextureID = ""
  1234. end
  1235. if c:FindFirstChildOfClass("SpecialMesh") then
  1236. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1237. end
  1238. if c:FindFirstChildOfClass("Decal") then
  1239. c:FindFirstChildOfClass("Decal"):remove()
  1240. end
  1241. c.Name = "Banished"
  1242. c.CanCollide = false
  1243. else
  1244. c:remove()
  1245. end
  1246. end
  1247. local A = false
  1248. for i = 1, 35 do
  1249. if A == false then
  1250. A = true
  1251. elseif A == true then
  1252. A = false
  1253. end
  1254. for _, c in pairs(CLONE:GetDescendants()) do
  1255. if c:IsA("BasePart") then
  1256. c.Anchored = true
  1257. c.Material = MATERIALS[MRANDOM(1,2)]
  1258. c.Transparency = c.Transparency + 0.8/35
  1259. if A == false then
  1260. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1261. elseif A == true then
  1262. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1263. end
  1264. end
  1265. end
  1266. Swait()
  1267. end
  1268. CLONE:remove()
  1269. end))
  1270. end
  1271. end
  1272.  
  1273. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1274. local CHILDREN = workspace:GetDescendants()
  1275. for index, CHILD in pairs(CHILDREN) do
  1276. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1277. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1278. if HUM then
  1279. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1280. if TORSO then
  1281. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1282. if ISBANISH == true then
  1283. Banish(CHILD)
  1284. else
  1285. if ISBANISH == "Gravity" then
  1286. HUM.PlatformStand = true
  1287. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1288. local grav = Instance.new("BodyPosition",TORSO)
  1289. grav.D = 15
  1290. grav.P = 20000
  1291. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1292. grav.position = TORSO.Position
  1293. grav.Name = "V3BanishForce"..Player.Name
  1294. else
  1295. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1296. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1297. end
  1298. else
  1299. HUM.PlatformStand = false
  1300. end
  1301. end
  1302. elseif ISBANISH == "Gravity" then
  1303. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1304. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1305. HUM.PlatformStand = false
  1306. end
  1307. end
  1308. end
  1309. end
  1310. end
  1311. end
  1312. end
  1313.  
  1314. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1315. local CHILDREN = workspace:GetDescendants()
  1316. for index, CHILD in pairs(CHILDREN) do
  1317. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1318. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1319. if HUM then
  1320. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1321. if TORSO then
  1322. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1323. if BRUTAL == true then
  1324. Kill(CHILD)
  1325. else
  1326. CHILD:BreakJoints()
  1327. end
  1328. end
  1329. end
  1330. end
  1331. end
  1332. end
  1333. end
  1334.  
  1335. function Kill(Char)
  1336. local NewCharacter = IT("Model",Effects)
  1337. NewCharacter.Name = "Ow im ded ;-;"
  1338. for _, c in pairs(Char:GetDescendants()) do
  1339. if c:IsA("BasePart") and c.Transparency == 0 then
  1340. if c.Parent == Char then
  1341. getbloody(c,5)
  1342. end
  1343. c:BreakJoints()
  1344. c.Material = "Glass"
  1345. c.Color = C3(1,0,0)
  1346. c.CanCollide = true
  1347. c.Transparency = 0.3
  1348. if c:FindFirstChildOfClass("SpecialMesh") then
  1349. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1350. end
  1351. if c.Name == "Head" then
  1352. c:ClearAllChildren()
  1353. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1354. end
  1355. if c.ClassName == "MeshPart" then
  1356. c.TextureID = ""
  1357. end
  1358. if c:FindFirstChildOfClass("BodyPosition") then
  1359. c:FindFirstChildOfClass("BodyPosition"):remove()
  1360. end
  1361. if c:FindFirstChildOfClass("ParticleEmitter") then
  1362. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1363. end
  1364. c.Parent = NewCharacter
  1365. c.Name = "DeadPart"
  1366. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1367. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1368. end
  1369. end
  1370. Char:remove()
  1371. Debris:AddItem(NewCharacter,5)
  1372. end
  1373.  
  1374. function ApplyClock(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1375. local CHILDREN = workspace:GetDescendants()
  1376. for index, CHILD in pairs(CHILDREN) do
  1377. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1378. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1379. if HUM then
  1380. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1381. if TORSO then
  1382. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1383. if INSTAKILL == true then
  1384. CHILD:BreakJoints()
  1385. else
  1386. local DMG = MRANDOM(MINDMG,MAXDMG)
  1387. ApplyDamage(HUM,DMG,TORSO)
  1388. end
  1389. if FLING > 0 then
  1390. for _, c in pairs(CHILD:GetChildren()) do
  1391. if c:IsA("BasePart") then
  1392. local bv = Instance.new("BodyVelocity")
  1393. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1394. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1395. bv.Parent = c
  1396. Debris:AddItem(bv,0.05)
  1397. end
  1398. end
  1399. end
  1400. end
  1401. end
  1402. end
  1403. end
  1404. end
  1405. end
  1406.  
  1407. --//=================================\\
  1408. --|| ATTACK FUNCTIONS AND STUFF
  1409. --\\=================================//
  1410.  
  1411. function TakeOnMe()
  1412. Speed = 16
  1413. local MEME = CreateSound(1119179868, Effects, 2, 1, false)
  1414. ATTACK = true
  1415. Rooted = false
  1416. local DANCE = true
  1417. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1418. if NEWKEY == "p" then
  1419. DANCE = false
  1420. end
  1421. end)
  1422. PLAYSONG = false
  1423. while true do
  1424. for i = 1, 15 do
  1425. Swait()
  1426. MEME.Parent = Effects
  1427. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1428. 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)
  1429. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1430. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1431. 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)
  1432. 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)
  1433. end
  1434. if DANCE == false then
  1435. break
  1436. end
  1437. for i = 1, 15 do
  1438. Swait()
  1439. MEME.Parent = Effects
  1440. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1441. 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)
  1442. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1443. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(45), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1444. 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)
  1445. 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)
  1446. end
  1447. end
  1448. PLAYSONG = true
  1449. KEY:Disconnect()
  1450. MEME:remove()
  1451. Speed = 25
  1452. ATTACK = false
  1453. Rooted = false
  1454. end
  1455.  
  1456. function Morning_Star()
  1457. ATTACK = true
  1458. Rooted = true
  1459. for i=0, 1, 0.1 / Animation_Speed do
  1460. Swait()
  1461. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1462. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1463. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1464. 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)
  1465. 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)
  1466. 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)
  1467. end
  1468. coroutine.resume(coroutine.create(function()
  1469. local POS = Mouse.Hit.p
  1470. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "Strike", VT(0,2000,0))
  1471. MakeForm(RAY,"Cyl")
  1472. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "Strike", VT(0,0,0))
  1473. MakeForm(SPHERE,"Ball")
  1474. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Maroon", "Strike", VT(0,0,0))
  1475. MakeForm(SHIELD,"Ball")
  1476. SHIELD.CFrame = CF(POS)
  1477. RAY.CFrame = CF(POS)
  1478. SPHERE.CFrame = CF(POS)
  1479. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1480. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1481. for i = 1, 200 do
  1482. Swait()
  1483. 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})
  1484. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1485. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1486. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1487. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1488. end
  1489. for i = 1, 45 do
  1490. Swait()
  1491. RAY.Transparency = RAY.Transparency + 1/45
  1492. SPHERE.Transparency = RAY.Transparency
  1493. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1494. end
  1495. RAY:remove()
  1496. SHIELD:remove()
  1497. SPHERE:remove()
  1498. end))
  1499. for i=0, 1, 0.1 / Animation_Speed do
  1500. Swait()
  1501. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1502. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1503. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1504. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1505. 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)
  1506. 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)
  1507. end
  1508. ATTACK = false
  1509. Rooted = false
  1510. end
  1511.  
  1512. function Taunt()
  1513. ATTACK = true
  1514. local LAUGH = nil
  1515. coroutine.resume(coroutine.create(function()
  1516. repeat
  1517. Swait()
  1518. 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)
  1519. 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)
  1520. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1521. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1522. 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)
  1523. 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)
  1524. until LAUGH ~= nil
  1525. repeat
  1526. Swait()
  1527. LAUGH.Parent = Head
  1528. 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)
  1529. 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)
  1530. 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)
  1531. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1532. 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)
  1533. 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)
  1534. until LAUGH.Playing == false
  1535. ATTACK = false
  1536. end))
  1537. wait(0.1)
  1538. LAUGH = CreateSound(300208779, Head, 10, 1, false)
  1539. sick:Resume()
  1540. end
  1541.  
  1542. function Shell()
  1543. ATTACK = true
  1544. Rooted = false
  1545. local GYRO = IT("BodyGyro",RootPart)
  1546. GYRO.D = 750
  1547. GYRO.P = 20000
  1548. GYRO.MaxTorque = VT(0,40000000,0)
  1549. for i=0, 1, 0.1 / Animation_Speed do
  1550. Swait()
  1551. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1552. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1553. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1554. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1555. 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)
  1556. 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)
  1557. 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)
  1558. end
  1559. GYRO:remove()
  1560. CreateSound(696483710, Gun, 5, 1, false)
  1561. local AIMHIT,AIMPOS,NORMAL = BulletDetection(Gun.Position,Mouse.Hit.p)
  1562. SpawnTrail(Gun.CFrame*CF(1.5,0.5,0).p,AIMPOS)
  1563. 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})
  1564. for i=0, 0.3, 0.1 / Animation_Speed do
  1565. Swait()
  1566. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1567. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1568. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(110), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1569. 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)
  1570. 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)
  1571. 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)
  1572. end
  1573. ATTACK = false
  1574. Rooted = false
  1575. end
  1576.  
  1577. function Teleport()
  1578. ATTACK = true
  1579. Rooted = false
  1580. for i=0, 0.5, 0.1 / Animation_Speed do
  1581. Swait()
  1582. 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)
  1583. 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)
  1584. end
  1585. for e = 1, #BODY do
  1586. if BODY[e] ~= nil then
  1587. local STUFF = BODY[e]
  1588. local PART = STUFF[1]
  1589. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1590. local PRT = PART:Clone()
  1591. PRT.Anchored = true
  1592. PRT.CanCollide = false
  1593. PRT.Material = "Neon"
  1594. PRT.Color = C3(1,1,1)
  1595. PRT.Name = "WarpEffect"
  1596. PRT.Parent = Effects
  1597. PRT.CFrame = PART.CFrame
  1598. PRT:BreakJoints()
  1599. if PRT:FindFirstChildOfClass("Sound") then
  1600. PRT:FindFirstChildOfClass("Sound"):remove()
  1601. end
  1602. if PRT:FindFirstChildOfClass("Decal") then
  1603. PRT:FindFirstChildOfClass("Decal"):remove()
  1604. end
  1605. coroutine.resume(coroutine.create(function()
  1606. for i = 1, 100 do
  1607. Swait()
  1608. PRT.Transparency = PRT.Transparency + 1/100
  1609. end
  1610. PRT:remove()
  1611. end))
  1612. end
  1613. end
  1614. end
  1615. CreateSound(217767125, Torso, 10, 1)
  1616. local POS = RootPart.Orientation
  1617. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1618. RootPart.Orientation = POS
  1619. RootJoint.Parent = RootPart
  1620. for i=0, 0.5, 0.1 / Animation_Speed do
  1621. Swait()
  1622. 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)
  1623. 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)
  1624. end
  1625. for i=0, 0.1, 0.1 / Animation_Speed do
  1626. Swait()
  1627. 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)
  1628. end
  1629. ATTACK = false
  1630. Rooted = false
  1631. end
  1632.  
  1633. --//=================================\\
  1634. --|| ASSIGN THINGS TO KEYS
  1635. --\\=================================//
  1636.  
  1637. function MouseDown(Mouse)
  1638. if ATTACK == false then
  1639. end
  1640. end
  1641.  
  1642. function MouseUp(Mouse)
  1643. HOLD = false
  1644. end
  1645.  
  1646. function KeyDown(Key)
  1647. KEYHOLD = true
  1648. if Key == "z" and ATTACK == false then
  1649. Morning_Star()
  1650. end
  1651.  
  1652. if Key == "t" and ATTACK == false then
  1653. Taunt()
  1654. end
  1655.  
  1656. if Key == "c" and ATTACK == false then
  1657. Shell()
  1658. end
  1659.  
  1660. if Key == "q" and ATTACK == false then
  1661. Teleport()
  1662. end
  1663.  
  1664. if Key == "p" and ATTACK == false then
  1665. TakeOnMe()
  1666. end
  1667. end
  1668.  
  1669. function KeyUp(Key)
  1670. KEYHOLD = false
  1671. end
  1672.  
  1673. Mouse.Button1Down:connect(function(NEWKEY)
  1674. MouseDown(NEWKEY)
  1675. end)
  1676. Mouse.Button1Up:connect(function(NEWKEY)
  1677. MouseUp(NEWKEY)
  1678. end)
  1679. Mouse.KeyDown:connect(function(NEWKEY)
  1680. KeyDown(NEWKEY)
  1681. end)
  1682. Mouse.KeyUp:connect(function(NEWKEY)
  1683. KeyUp(NEWKEY)
  1684. end)
  1685.  
  1686. --//=================================\\
  1687. --\\=================================//
  1688.  
  1689.  
  1690. function unanchor()
  1691. if UNANCHOR == true then
  1692. g = Character:GetChildren()
  1693. for i = 1, #g do
  1694. if g[i].ClassName == "Part" then
  1695. g[i].Anchored = false
  1696. end
  1697. end
  1698. end
  1699. end
  1700.  
  1701.  
  1702. --//=================================\\
  1703. --|| WRAP THE WHOLE SCRIPT UP
  1704. --\\=================================//
  1705.  
  1706. Humanoid.Changed:connect(function(Jump)
  1707. if Jump == "Jump" and (Disable_Jump == true) then
  1708. Humanoid.Jump = false
  1709. end
  1710. end)
  1711.  
  1712. local CONNECT = nil
  1713.  
  1714. while true do
  1715. Swait()
  1716. ANIMATE.Parent = nil
  1717. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1718. Humanoid = IT("Humanoid",Character)
  1719. end
  1720. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1721. v:Stop();
  1722. end
  1723. SINE = SINE + CHANGE
  1724. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1725. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1726. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1727. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1728. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1729. 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)
  1730. 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)
  1731. 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)
  1732. 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)
  1733. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1734. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1735. 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)
  1736. 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)
  1737. 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)
  1738. end
  1739. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1740. ANIM = "Jump"
  1741. if ATTACK == false then
  1742. 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)
  1743. 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)
  1744. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1745. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1746. 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)
  1747. 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)
  1748. end
  1749. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1750. ANIM = "Fall"
  1751. if ATTACK == false then
  1752. 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)
  1753. 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)
  1754. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1755. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1756. 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)
  1757. 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)
  1758. end
  1759. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1760. ANIM = "Idle"
  1761. if ATTACK == false then
  1762. 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)
  1763. 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)
  1764. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1765. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1766. 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)
  1767. 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)
  1768. end
  1769. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1770. ANIM = "Walk"
  1771. if ATTACK == false then
  1772. 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)
  1773. 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)
  1774. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1775. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1776. 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)
  1777. 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)
  1778. end
  1779. end
  1780. unanchor()
  1781. Humanoid.MaxHealth = 1.0E298
  1782. Humanoid.Health = 1.0E298
  1783. if Rooted == false then
  1784. Disable_Jump = false
  1785. Humanoid.WalkSpeed = Speed
  1786. elseif Rooted == true then
  1787. Disable_Jump = true
  1788. Humanoid.WalkSpeed = 0
  1789. end
  1790. sick.Parent = Torso
  1791. sick:resume()
  1792. sick.Volume = 0.2
  1793. sick.Pitch = 1
  1794. sick.SoundId = "rbxassetid://2187563407"
  1795. sick.Name = "MAD"
  1796. end
  1797.  
  1798. --//=================================\\
  1799. --\\=================================//
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805. --//====================================================\\--
  1806. --|| END OF SCRIPT
  1807. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement