Advertisement
Bendy928443534

Untitled

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