daily pastebin goal
5%
SHARE
TWEET

eek

a guest Jan 18th, 2019 60 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,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4.     print("FE Compatibility code by Mokiros")
  5.     script.Parent = Player.Character
  6.  
  7.     --RemoteEvent for communicating
  8.     local Event = Instance.new("RemoteEvent")
  9.     Event.Name = "UserInput_Event"
  10.  
  11.     --Fake event to make stuff like Mouse.KeyDown work
  12.     local function fakeEvent()
  13.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14.         t.connect = t.Connect
  15.         return t
  16.     end
  17.  
  18.     --Creating fake input objects with fake variables
  19.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23.     end}
  24.     --Merged 2 functions into one by checking amount of arguments
  25.     CAS.UnbindAction = CAS.BindAction
  26.  
  27.     --This function will trigger the events that have been :Connect()'ed
  28.     local function te(self,ev,...)
  29.         local t = m[ev]
  30.         if t and t._fakeEvent and t.Function then
  31.             t.Function(...)
  32.         end
  33.     end
  34.     m.TrigEvent = te
  35.     UIS.TrigEvent = te
  36.  
  37.     Event.OnServerEvent:Connect(function(plr,io)
  38.         if plr~=Player then return end
  39.         if io.isMouse then
  40.             m.Target = io.Target
  41.             m.Hit = io.Hit
  42.         else
  43.             local b = io.UserInputState == Enum.UserInputState.Begin
  44.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46.             end
  47.             for _,t in pairs(CAS.Actions) do
  48.                 for _,k in pairs(t.Keys) do
  49.                     if k==io.KeyCode then
  50.                         t.Function(t.Name,io.UserInputState,io)
  51.                     end
  52.                 end
  53.             end
  54.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56.         end
  57.     end)
  58.     Event.Parent = NLS([==[
  59.     local Player = game:GetService("Players").LocalPlayer
  60.     local Event = script:WaitForChild("UserInput_Event")
  61.  
  62.     local UIS = game:GetService("UserInputService")
  63.     local input = function(io,a)
  64.         if a then return end
  65.         --Since InputObject is a client-side instance, we create and pass table instead
  66.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67.     end
  68.     UIS.InputBegan:Connect(input)
  69.     UIS.InputEnded:Connect(input)
  70.  
  71.     local Mouse = Player:GetMouse()
  72.     local h,t
  73.     --Give the server mouse data 30 times every second, but only if the values changed
  74.     --If player is not moving their mouse, client won't fire events
  75.     while wait(1/30) do
  76.         if h~=Mouse.Hit or t~=Mouse.Target then
  77.             h,t=Mouse.Hit,Mouse.Target
  78.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  79.         end
  80.     end]==],Player.Character)
  81.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. --//====================================================\\--
  85. --||               CREATED BY SHACKLUSTER
  86. --\\====================================================//--
  87.  
  88.  
  89.  
  90. wait(0.2)
  91.  
  92.  
  93.  
  94. Player = owner
  95. PlayerGui = Player.PlayerGui
  96. Cam = workspace.CurrentCamera
  97. Backpack = Player.Backpack
  98. Character = Player.Character
  99. Humanoid = Character.Humanoid
  100. RootPart = Character["HumanoidRootPart"]
  101. Torso = Character["Torso"]
  102. Head = Character["Head"]
  103. RightArm = Character["Right Arm"]
  104. LeftArm = Character["Left Arm"]
  105. RightLeg = Character["Right Leg"]
  106. LeftLeg = Character["Left Leg"]
  107. RootJoint = RootPart["RootJoint"]
  108. Neck = Torso["Neck"]
  109. RightShoulder = Torso["Right Shoulder"]
  110. LeftShoulder = Torso["Left Shoulder"]
  111. RightHip = Torso["Right Hip"]
  112. LeftHip = Torso["Left Hip"]
  113. local sick = Instance.new("Sound",Character)
  114. sick.SoundId = "rbxassetid://2701520256"
  115. sick.Looped = true
  116. sick.Pitch = 1
  117. sick.Volume = 1
  118. sick:Play()
  119.  
  120. IT = Instance.new
  121. CF = CFrame.new
  122. VT = Vector3.new
  123. RAD = math.rad
  124. C3 = Color3.new
  125. UD2 = UDim2.new
  126. BRICKC = BrickColor.new
  127. ANGLES = CFrame.Angles
  128. EULER = CFrame.fromEulerAnglesXYZ
  129. COS = math.cos
  130. ACOS = math.acos
  131. SIN = math.sin
  132. ASIN = math.asin
  133. ABS = math.abs
  134. MRANDOM = math.random
  135. FLOOR = math.floor
  136.  
  137. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  138.     local NEWMESH = IT(MESH)
  139.     if MESH == "SpecialMesh" then
  140.         NEWMESH.MeshType = MESHTYPE
  141.         if MESHID ~= "nil" and MESHID ~= "" then
  142.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  143.         end
  144.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  145.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  146.         end
  147.     end
  148.     NEWMESH.Offset = OFFSET or VT(9999, 9999, 9999)
  149.     NEWMESH.Scale = SCALE
  150.     NEWMESH.Parent = PARENT
  151.     return NEWMESH
  152. end
  153.  
  154. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  155.     local NEWPART = IT("Part")
  156.     NEWPART.formFactor = FORMFACTOR
  157.     NEWPART.Reflectance = REFLECTANCE
  158.     NEWPART.Transparency = TRANSPARENCY
  159.     NEWPART.CanCollide = false
  160.     NEWPART.Locked = true
  161.     NEWPART.Anchored = true
  162.     if ANCHOR == false then
  163.         NEWPART.Anchored = false
  164.     end
  165.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  166.     NEWPART.Name = NAME
  167.     NEWPART.Size = SIZE
  168.     NEWPART.Position = Torso.Position
  169.     NEWPART.Material = MATERIAL
  170.     NEWPART:BreakJoints()
  171.     NEWPART.Parent = PARENT
  172.     return NEWPART
  173. end
  174.  
  175. --//=================================\\
  176. --||          CUSTOMIZATION
  177. --\\=================================//
  178.  
  179. Player_Size = 1 --Size of the player.
  180. Animation_Speed = 3
  181. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  182.  
  183. local Speed = 16
  184. local Effects2 = {}
  185.  
  186. --//=================================\\
  187. --||      END OF CUSTOMIZATION
  188. --\\=================================//
  189.  
  190.     local function weldBetween(a, b)
  191.         local weldd = Instance.new("ManualWeld")
  192.         weldd.Part0 = a
  193.         weldd.Part1 = b
  194.         weldd.C0 = CFrame.new()
  195.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  196.         weldd.Parent = a
  197.         return weldd
  198.     end
  199.  
  200. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  201. local acs = Instance.new("Part")
  202. acs.CanCollide = false
  203. acs.Anchored = false
  204. acs.Size = Vector3.new(9999,9999,9999)
  205. acs.CFrame = attachmentpart.CFrame
  206. acs.Parent = Character
  207. acs.BrickColor = color
  208.     local meshs = Instance.new("SpecialMesh")
  209.     meshs.MeshId = mesh
  210.     meshs.TextureId = texture
  211.     meshs.Parent = acs
  212.     meshs.Scale = scale
  213.     meshs.Offset = offset
  214. weldBetween(attachmentpart,acs)
  215. end
  216.  
  217. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  218. if TYPE == "Gem" then
  219.     local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  220.     acs.Anchored = false
  221.     acs.CanCollide = false
  222.     acs.CFrame = PART.CFrame
  223.     local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  224. weldBetween(PART,acs)
  225. elseif TYPE == "Skull" then
  226.     local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  227.     acs.Anchored = false
  228.     acs.CanCollide = false
  229.     acs.CFrame = PART.CFrame
  230.     local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  231. weldBetween(PART,acs)
  232. elseif TYPE == "Eye" then
  233.     local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  234.     acs.Anchored = false
  235.     acs.CanCollide = false
  236.     acs.CFrame = PART.CFrame
  237.     local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  238. weldBetween(PART,acs)
  239. end
  240. end
  241.  
  242. --//=================================\\
  243. --||          USEFUL VALUES
  244. --\\=================================//
  245.  
  246. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  247. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  248. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  249. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  250. local CHANGEDEFENSE = 0
  251. local CHANGEDAMAGE = 0
  252. local CHANGEMOVEMENT = 0
  253. local ANIM = "Idle"
  254. local ATTACK = false
  255. local EQUIPPED = false
  256. local HOLD = false
  257. local COMBO = 1
  258. local Rooted = false
  259. local SINE = 0
  260. local KEYHOLD = false
  261. local CHANGE = 2 / Animation_Speed
  262. local WALKINGANIM = false
  263. local WALK = 0
  264. local VALUE1 = false
  265. local HITFLOOR = nil
  266. local VALUE2 = false
  267. local ROBLOXIDLEANIMATION = IT("Animation")
  268. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  269. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  270. --ROBLOXIDLEANIMATION.Parent = Humanoid
  271. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  272. WEAPONGUI.Name = "Weapon GUI"
  273. local Weapon = IT("Model")
  274. Weapon.Name = "Adds"
  275. local Delete = IT("Model",Character)
  276. Delete.Name = "Banlist"
  277. local Effects = IT("Folder", Weapon)
  278. Effects.Name = "Effects"
  279. local ANIMATOR = Humanoid.Animator
  280. local ANIMATE = Character.Animate
  281. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  282. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  283. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  284. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  285. local UNANCHOR = true
  286.  
  287. local SKILLTEXTCOLOR = C3(0,0,0)
  288.  
  289. --//=================================\\
  290. --\\=================================//
  291.  
  292.  
  293. --//=================================\\
  294. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  295. --\\=================================//
  296.  
  297. ArtificialHB = Instance.new("BindableEvent", script)
  298. ArtificialHB.Name = "ArtificialHB"
  299.  
  300. script:WaitForChild("ArtificialHB")
  301.  
  302. frame = Frame_Speed
  303. tf = 0
  304. allowframeloss = false
  305. tossremainder = false
  306. lastframe = tick()
  307. script.ArtificialHB:Fire()
  308.  
  309. game:GetService("RunService").Heartbeat:connect(function(s, p)
  310.     tf = tf + s
  311.     if tf >= frame then
  312.         if allowframeloss then
  313.             script.ArtificialHB:Fire()
  314.             lastframe = tick()
  315.         else
  316.             for i = 1, math.floor(tf / frame) do
  317.                 script.ArtificialHB:Fire()
  318.             end
  319.         lastframe = tick()
  320.         end
  321.         if tossremainder then
  322.             tf = 0
  323.         else
  324.             tf = tf - frame * math.floor(tf / frame)
  325.         end
  326.     end
  327. end)
  328.  
  329. --//=================================\\
  330. --\\=================================//
  331.  
  332.  
  333.  
  334.  
  335.  
  336. --//=================================\\
  337. --||          SOME FUNCTIONS
  338. --\\=================================//
  339.  
  340. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  341.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  342. end
  343.  
  344. function PositiveAngle(NUMBER)
  345.     if NUMBER >= 0 then
  346.         NUMBER = 0
  347.     end
  348.     return NUMBER
  349. end
  350.  
  351. function NegativeAngle(NUMBER)
  352.     if NUMBER <= 0 then
  353.         NUMBER = 0
  354.     end
  355.     return NUMBER
  356. end
  357.  
  358. function Swait(NUMBER)
  359.     if NUMBER == 0 or NUMBER == nil then
  360.         ArtificialHB.Event:wait()
  361.     else
  362.         for i = 1, NUMBER do
  363.             ArtificialHB.Event:wait()
  364.         end
  365.     end
  366. end
  367.  
  368. function QuaternionFromCFrame(cf)
  369.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  370.     local trace = m00 + m11 + m22
  371.     if trace > 0 then
  372.         local s = math.sqrt(1 + trace)
  373.         local recip = 0.5 / s
  374.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  375.     else
  376.         local i = 0
  377.         if m11 > m00 then
  378.             i = 1
  379.         end
  380.         if m22 > (i == 0 and m00 or m11) then
  381.             i = 2
  382.         end
  383.         if i == 0 then
  384.             local s = math.sqrt(m00 - m11 - m22 + 1)
  385.             local recip = 0.5 / s
  386.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  387.         elseif i == 1 then
  388.             local s = math.sqrt(m11 - m22 - m00 + 1)
  389.             local recip = 0.5 / s
  390.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  391.         elseif i == 2 then
  392.             local s = math.sqrt(m22 - m00 - m11 + 1)
  393.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  394.         end
  395.     end
  396. end
  397.  
  398. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  399.     local xs, ys, zs = x + x, y + y, z + z
  400.     local wx, wy, wz = w * xs, w * ys, w * zs
  401.     local xx = x * xs
  402.     local xy = x * ys
  403.     local xz = x * zs
  404.     local yy = y * ys
  405.     local yz = y * zs
  406.     local zz = z * zs
  407.     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))
  408. end
  409.  
  410. function QuaternionSlerp(a, b, t)
  411.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  412.     local startInterp, finishInterp;
  413.     if cosTheta >= 0.0001 then
  414.         if (1 - cosTheta) > 0.0001 then
  415.             local theta = ACOS(cosTheta)
  416.             local invSinTheta = 1 / SIN(theta)
  417.             startInterp = SIN((1 - t) * theta) * invSinTheta
  418.             finishInterp = SIN(t * theta) * invSinTheta
  419.         else
  420.             startInterp = 1 - t
  421.             finishInterp = t
  422.         end
  423.     else
  424.         if (1 + cosTheta) > 0.0001 then
  425.             local theta = ACOS(-cosTheta)
  426.             local invSinTheta = 1 / SIN(theta)
  427.             startInterp = SIN((t - 1) * theta) * invSinTheta
  428.             finishInterp = SIN(t * theta) * invSinTheta
  429.         else
  430.             startInterp = t - 1
  431.             finishInterp = t
  432.         end
  433.     end
  434.     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
  435. end
  436.  
  437. function Clerp(a, b, t)
  438.     local qa = {QuaternionFromCFrame(a)}
  439.     local qb = {QuaternionFromCFrame(b)}
  440.     local ax, ay, az = a.x, a.y, a.z
  441.     local bx, by, bz = b.x, b.y, b.z
  442.     local _t = 1 - t
  443.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  444. end
  445.  
  446. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  447.     local frame = IT("Frame")
  448.     frame.BackgroundTransparency = TRANSPARENCY
  449.     frame.BorderSizePixel = BORDERSIZEPIXEL
  450.     frame.Position = POSITION
  451.     frame.Size = SIZE
  452.     frame.BackgroundColor3 = COLOR
  453.     frame.BorderColor3 = BORDERCOLOR
  454.     frame.Name = NAME
  455.     frame.Parent = PARENT
  456.     return frame
  457. end
  458.  
  459. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  460.     local label = IT("TextLabel")
  461.     label.BackgroundTransparency = 1
  462.     label.Size = UD2(1, 0, 1, 0)
  463.     label.Position = UD2(0, 0, 0, 0)
  464.     label.TextColor3 = TEXTCOLOR
  465.     label.TextStrokeTransparency = STROKETRANSPARENCY
  466.     label.TextTransparency = TRANSPARENCY
  467.     label.FontSize = TEXTFONTSIZE
  468.     label.Font = TEXTFONT
  469.     label.BorderSizePixel = BORDERSIZEPIXEL
  470.     label.TextScaled = false
  471.     label.Text = TEXT
  472.     label.Name = NAME
  473.     label.Parent = PARENT
  474.     return label
  475. end
  476.  
  477. function NoOutlines(PART)
  478.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  479. end
  480.  
  481.  
  482. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  483.     local NEWWELD = IT(TYPE)
  484.     NEWWELD.Part0 = PART0
  485.     NEWWELD.Part1 = PART1
  486.     NEWWELD.C0 = C0
  487.     NEWWELD.C1 = C1
  488.     NEWWELD.Parent = PARENT
  489.     return NEWWELD
  490. end
  491.  
  492. local SOUND = IT("Sound",nil)
  493.  
  494. function CreateSound(ID, PARENT, VOLUME, PITCH)
  495.     local NEWSOUND = nil
  496.     coroutine.resume(coroutine.create(function()
  497.         NEWSOUND = SOUND:Clone()
  498.         NEWSOUND.Parent = PARENT
  499.         NEWSOUND.Volume = VOLUME
  500.         NEWSOUND.Pitch = PITCH
  501.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  502.         Swait()
  503.         NEWSOUND:play()
  504.         game:GetService("Debris"):AddItem(NEWSOUND, 10)
  505.     end))
  506.     return NEWSOUND
  507. end
  508.  
  509. function CFrameFromTopBack(at, top, back)
  510.     local right = top:Cross(back)
  511.     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)
  512. end
  513.  
  514. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  515.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  516.     local mesh = IT("SpecialMesh",wave)
  517.     mesh.MeshType = "FileMesh"
  518.     mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  519.     mesh.Scale = SIZE
  520.     mesh.Offset = VT(0,0,-SIZE.X/8)
  521.     wave.CFrame = CFRAME
  522.     coroutine.resume(coroutine.create(function(PART)
  523.         for i = 1, WAIT do
  524.             Swait()
  525.             mesh.Scale = mesh.Scale + GROW
  526.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  527.             if DOESROT == true then
  528.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  529.             end
  530.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  531.             if wave.Transparency > 0.99 then
  532.                 wave:remove()
  533.             end
  534.         end
  535.     end))
  536. end
  537.  
  538. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  539.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  540.     local mesh = IT("SpecialMesh",wave)
  541.     mesh.MeshType = "Sphere"
  542.     mesh.Scale = SIZE
  543.     mesh.Offset = VT(9999,9999,9999)
  544.     wave.CFrame = CFRAME
  545.     coroutine.resume(coroutine.create(function(PART)
  546.         for i = 1, WAIT do
  547.             Swait()
  548.             mesh.Scale = mesh.Scale + GROW
  549.             wave.Transparency = wave.Transparency + (1/WAIT)
  550.             if wave.Transparency > 0.99 then
  551.                 wave:remove()
  552.             end
  553.         end
  554.     end))
  555. end
  556.  
  557. function MakeForm(PART,TYPE)
  558.     if TYPE == "Cyl" then
  559.         local MSH = IT("CylinderMesh",PART)
  560.     elseif TYPE == "Ball" then
  561.         local MSH = IT("SpecialMesh",PART)
  562.         MSH.MeshType = "Sphere"
  563.     elseif TYPE == "Wedge" then
  564.         local MSH = IT("SpecialMesh",PART)
  565.         MSH.MeshType = "Wedge"
  566.     end
  567. end
  568.  
  569. function CheckTableForString(Table, String)
  570.     for i, v in pairs(Table) do
  571.         if string.find(string.lower(String), string.lower(v)) then
  572.             return true
  573.         end
  574.     end
  575.     return false
  576. end
  577.  
  578. function CheckIntangible(Hit)
  579.     local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  580.     if Hit and Hit.Parent then
  581.         if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  582.             return true
  583.         end
  584.     end
  585.     return false
  586. end
  587.  
  588. Debris = game:GetService("Debris")
  589.  
  590. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  591.     local Direction = CFrame.new(StartPos, Vec).lookVector
  592.     local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  593.     local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  594.     if RayHit and CheckIntangible(RayHit) then
  595.         if DelayIfHit then
  596.             wait()
  597.         end
  598.         RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  599.     end
  600.     return RayHit, RayPos, RayNormal
  601. end
  602.  
  603. function turnto(position)
  604.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  605. end
  606.  
  607. --//=================================\\
  608. --||         WEAPON CREATION
  609. --\\=================================//
  610.  
  611. local HandlePart = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  612. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "10604848", "10605252", VT(30,30,30), VT(0, 98, -10))
  613. local cR=255
  614. local cG=0
  615. local cB=0
  616. local flg5=1 local omgidk=1
  617. local add=15
  618. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  619.     if omgidk>10000 then omgidk=0 end
  620.     omgidk=omgidk+1
  621.     if cR>=255 then flg5=1 end
  622.     if cG>=255 then flg5=2 end
  623.     if cB>=255 then flg5=3 end
  624.     if flg5==1 then cR=cR-add cG=cG+add end
  625.     if flg5==2 then cG=cG-add cB=cB+add end
  626.     if flg5==3 then cB=cB-add cR=cR+add end
  627.     color=Color3.fromRGB(cR,cG,cB)
  628. HandleMesh.VertexColor = VT(cR,cG,cB)
  629. end)
  630. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-0.8,0) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  631. m = game.Players.iiOmqLobertoi_ALT --The name of the guy who was using the script.
  632. char = m.Character
  633. local txt = Instance.new("BillboardGui", char)
  634. txt.Adornee = char.Head
  635. txt.Name = "_status"
  636. txt.Size = UDim2.new(2, 0, 1.2, 0)
  637. txt.StudsOffset = Vector3.new(-9, 30, 0)
  638. local text = Instance.new("TextLabel", txt)
  639. text.Size = UDim2.new(10, 0, 7, 0)
  640. text.FontSize = "Size24"
  641. text.TextScaled = true
  642. text.TextTransparency = 0
  643. text.BackgroundTransparency = 1
  644. text.TextTransparency = 0
  645. text.TextStrokeTransparency = 0
  646. text.Font = "Bodoni"
  647. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  648. v = Instance.new("Part")
  649. v.Name = "ColorBrick"
  650. v.Parent = m.Character
  651. v.FormFactor = "Symmetric"
  652. v.Anchored = true
  653. v.CanCollide = false
  654. v.BottomSurface = "Smooth"
  655. v.TopSurface = "Smooth"
  656. v.Size = Vector3.new(10, 5, 3)
  657. v.Transparency = 1
  658. v.CFrame = char.Torso.CFrame
  659. v.BrickColor = BrickColor.new("Really black")
  660. v.Transparency = 1
  661. v.Shape = "Block"
  662. spawn(function()
  663. local TweenService = game:GetService("TweenService")
  664. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  665. local Int = 0
  666. while wait(0.5) do
  667.     if Int == #Colours then Int = 0 end
  668.     Int = Int+1
  669.     TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  670. end
  671. end)
  672. text.Text = "iiOmqLobertoi_ALT"
  673. for _, c in pairs(Weapon:GetChildren()) do
  674.     if c.ClassName == "Part" then
  675.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  676.     end
  677. end
  678.  
  679. Weapon.Parent = Character
  680.  
  681. Humanoid.Died:connect(function()
  682.     ATTACK = true
  683. end)
  684.  
  685. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  686. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  687.  
  688. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[CLICK+HOLD] Ban Slam", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 1")
  689. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Teleport", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 2")
  690.  
  691. --//=================================\\
  692. --||            DAMAGING
  693. --\\=================================//
  694.  
  695. function BAN(CHARACTER)
  696.     local BANFOLDER = IT("Folder",Effects)
  697.     local naeeym2 = Instance.new("BillboardGui",BANFOLDER)
  698.     naeeym2.AlwaysOnTop = false
  699.     naeeym2.Size = UDim2.new(5,35,2,35)
  700.     naeeym2.StudsOffset = Vector3.new(0,1,0)
  701.     naeeym2.Name = "AAAA"
  702.     local tecks2 = Instance.new("TextLabel",naeeym2)
  703.     tecks2.BackgroundTransparency = 1
  704.     tecks2.TextScaled = true
  705.     tecks2.BorderSizePixel = 0
  706.     tecks2.Text = "BANNED"
  707.     tecks2.Font = "Code"
  708.     tecks2.TextSize = 30
  709.     tecks2.TextStrokeTransparency = 1
  710.     tecks2.TextColor3 = Color3.new(1,0,0)
  711.     tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  712.     tecks2.Size = UDim2.new(1,0,0.5,0)
  713.     tecks2.Parent = naeeym2
  714.     for i,v in ipairs(CHARACTER:GetChildren()) do
  715.         if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  716.             if v.Name ~= "HumanoidRootPart" then
  717.                 local BOD = v:Clone()
  718.                 BOD.CanCollide = false
  719.                 BOD.Anchored = true
  720.                 BOD.CFrame = v.CFrame
  721.                 BOD.Parent = BANFOLDER
  722.                 BOD.Material = "Neon"
  723.                 BOD.Color = C3(1,0,0)
  724.                 if BOD:FindFirstChildOfClass("Decal") then
  725.                     BOD:FindFirstChildOfClass("Decal"):remove()
  726.                 end
  727.                 if BOD.Name == "Head" then
  728.                     naeeym2.Adornee = BOD
  729.                 end
  730.                 if BOD.ClassName == "MeshPart" then
  731.                     BOD.TextureID = ""
  732.                 end
  733.             end
  734.         end
  735.     end
  736.     CHARACTER:remove()
  737.     coroutine.resume(coroutine.create(function()
  738.         for i = 1, 50 do
  739.             Swait()
  740.             for i,v in ipairs(BANFOLDER:GetChildren()) do
  741.                 if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  742.                     v.Transparency = 1
  743.                 end
  744.                 naeeym2.Enabled = false
  745.             end
  746.             Swait()
  747.             for i,v in ipairs(BANFOLDER:GetChildren()) do
  748.                 if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  749.                     v.Transparency = 0
  750.                 end
  751.                 naeeym2.Enabled = true
  752.             end
  753.         end
  754.         BANFOLDER:remove()
  755.     end))
  756. end
  757.  
  758. function BANNEAREST(POS,RANGE)
  759.     for i,v in ipairs(workspace:GetChildren()) do
  760.     local body = v:GetChildren()
  761.         for part = 1, #body do
  762.             if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  763.                 if(body[part].Position - POS).Magnitude < RANGE then
  764.                     if v:FindFirstChildOfClass("Humanoid") then
  765.                         BAN(v)
  766.                         if game.Players:FindFirstChild(v.Name) then
  767.                             local Value = IT("BoolValue",Delete)
  768.                             Value.Name = v.Name
  769.                         end
  770.                     end
  771.                 end
  772.             end
  773.         end
  774.     end
  775. end
  776.  
  777. --//=================================\\
  778. --||    ATTACK FUNCTIONS AND STUFF
  779. --\\=================================//
  780.  
  781. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  782.     if FLOOR ~= nil then
  783.         coroutine.resume(coroutine.create(function()
  784.             local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  785.             PART.CFrame = CF(POSITION)
  786.             for i = 1, 45 do
  787.                 local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  788.                 RingPiece.Material = FLOOR.Material
  789.                 RingPiece.Color = FLOOR.Color
  790.                 RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  791.                 Debris:AddItem(RingPiece,SWAIT/100)
  792.             end
  793.             PART:remove()
  794.         end))
  795.     end
  796. end
  797.  
  798. function BANSLAM()
  799.     ATTACK = true
  800.     Rooted = false
  801.     repeat
  802.         for i=0, 0.2, 0.1 / Animation_Speed do
  803.             Swait()
  804.             HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)),2 / Animation_Speed)
  805.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 7) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  806.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  807.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  808.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  809.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  810.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed)
  811.         end
  812.         for i=0, 0.08, 0.1 / Animation_Speed do
  813.             Swait()
  814.             HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
  815.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  816.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  817.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  818.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  819.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  820.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  821.         end
  822.         for i=0, 0.08, 0.1 / Animation_Speed do
  823.             Swait()
  824.             HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  825.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  826.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  827.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  828.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  829.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  830.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  831.         end
  832.         CreateSound("147722910", Effects, 10, 1)
  833.         BANNEAREST(RootPart.CFrame*CF(0,0,-6).p,25)
  834.         if HITFLOOR ~= nil then
  835.             CreateSound("289842971", HandlePart, 10, 1)
  836.             CreateSound("289842971", HandlePart, 10, 1)
  837.             CreateSound("289842971", HandlePart, 10, 1)
  838.             CreateSound("289842971", HandlePart, 10, 1)
  839.             CreateDebreeRing(HITFLOOR,RootPart.CFrame*CF(0,-5,-6).p,5,VT(8,8,8),35)
  840.         end
  841.         CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,2,"Really red",VT(0,3,0))
  842.         CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,-2,"Really red",VT(0,3,0))
  843.         for i=0, 0.1, 0.1 / Animation_Speed do
  844.             Swait()
  845.             HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  846.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  847.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  848.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  849.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  850.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  851.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  852.         end
  853.         if HOLD == true then
  854.             for i=0, 0.08, 0.1 / Animation_Speed do
  855.                 Swait()
  856.                 if HOLD == false then
  857.                     break
  858.                 end
  859.                 HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed)
  860.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  861.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  862.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  863.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  864.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  865.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  866.             end
  867.         end
  868.     until HOLD == false
  869.     for i=0, 1, 0.1 / Animation_Speed do
  870.         Swait()
  871.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed)
  872.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed)
  873.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed)
  874.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  875.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  876.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  877.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  878.     end
  879.     for i=0, 5, 0.1 / Animation_Speed do
  880.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  881.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  882.         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)
  883.         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)
  884.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  885.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  886.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  887.     end
  888.     ATTACK = false
  889.     Rooted = false
  890. end
  891.  
  892. --//=================================\\
  893. --||      ASSIGN THINGS TO KEYS
  894. --\\=================================//
  895.  
  896. function MouseDown(Mouse)
  897.     HOLD = true
  898.     if ATTACK == false then
  899.         BANSLAM()
  900.     end
  901. end
  902.  
  903. function MouseUp(Mouse)
  904. HOLD = false
  905. end
  906.  
  907. function KeyDown(Key)
  908.     KEYHOLD = true
  909.     if Key == "b" and ATTACK == false then
  910.         local pos = RootPart.Position
  911.         RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos)
  912.         CreateSound("769380905", Torso, 10, 1)
  913.     end
  914.  
  915.     if Key == "t" then
  916.         CreateSound("1058417264", Head, 10, 1)
  917.         Delete:ClearAllChildren()
  918.     end
  919. end
  920.  
  921. function KeyUp(Key)
  922.     KEYHOLD = false
  923. end
  924.  
  925.     Mouse.Button1Down:connect(function(NEWKEY)
  926.         MouseDown(NEWKEY)
  927.     end)
  928.     Mouse.Button1Up:connect(function(NEWKEY)
  929.         MouseUp(NEWKEY)
  930.     end)
  931.     Mouse.KeyDown:connect(function(NEWKEY)
  932.         KeyDown(NEWKEY)
  933.     end)
  934.     Mouse.KeyUp:connect(function(NEWKEY)
  935.         KeyUp(NEWKEY)
  936.     end)
  937.  
  938. --//=================================\\
  939. --\\=================================//
  940.  
  941.  
  942. function unanchor()
  943.     if UNANCHOR == true then
  944.         g = Character:GetChildren()
  945.         for i = 1, #g do
  946.             if g[i].ClassName == "Part" then
  947.                 g[i].Anchored = false
  948.             end
  949.         end
  950.     end
  951. end
  952.  
  953.  
  954. --//=================================\\
  955. --||    WRAP THE WHOLE SCRIPT UP
  956. --\\=================================//
  957.  
  958. Humanoid.Changed:connect(function(Jump)
  959.     if Jump == "Jump" and (Disable_Jump == true) then
  960.         Humanoid.Jump = false
  961.     end
  962. end)
  963.  
  964. Speed = 23
  965.  
  966. while true do
  967.     Swait()
  968.     ANIMATE.Parent = nil
  969.     local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  970.     IDLEANIMATION:Play()
  971.     SINE = SINE + CHANGE
  972.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  973.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  974.     local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  975.     HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  976.     local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  977.     if ATTACK == false then
  978.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  979.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  980.     end
  981.     if ANIM == "Walk" and TORSOVELOCITY > 1 and ATTACK == false then
  982.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  983.         Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  984.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  985.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  986.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or (ATTACK == true) then
  987.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  988.         Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  989.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  990.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  991.     end
  992.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  993.         ANIM = "Jump"
  994.         if ATTACK == false then
  995.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  996.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  997.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  998.             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)
  999.             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)
  1000.            end
  1001.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1002.         ANIM = "Fall"
  1003.         if ATTACK == false then
  1004.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1005.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1006.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1007.             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)
  1008.             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)
  1009.         end
  1010.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1011.         ANIM = "Idle"
  1012.         if ATTACK == false then
  1013.             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)
  1014.             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)
  1015.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1016.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1017.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1018.         end
  1019.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1020.         ANIM = "Walk"
  1021.         WALK = WALK + 1 / Animation_Speed
  1022.         if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1023.             WALK = 0
  1024.             if WALKINGANIM == true then
  1025.                 WALKINGANIM = false
  1026.             elseif WALKINGANIM == false then
  1027.                 WALKINGANIM = true
  1028.             end
  1029.         end
  1030.         --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1031.         --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1032.         if ATTACK == false then
  1033.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1034.             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)
  1035.             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)
  1036.             RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1037.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1038.         end
  1039.     end
  1040.     unanchor()
  1041.     Humanoid.MaxHealth = "inf"
  1042.     Humanoid.Health = "inf"
  1043.     if Rooted == false then
  1044.         Disable_Jump = false
  1045.         Humanoid.WalkSpeed = Speed
  1046.     elseif Rooted == true then
  1047.         Disable_Jump = true
  1048.         Humanoid.WalkSpeed = 0
  1049.     end
  1050.     local MATHS = {"0","1"}
  1051.     Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1052.     Humanoid.PlatformStand = false
  1053.     local GAME = game.Players:GetChildren()
  1054.         for PLAYER = 1, #GAME do
  1055.         local PLAY = GAME[PLAYER]
  1056.         if PLAY.Character ~= nil and Delete:FindFirstChild(PLAY.Name) then
  1057.             PLAY.Character:remove()
  1058.         end
  1059.     end
  1060. end
  1061.  
  1062. --//=================================\\
  1063. --\\=================================//
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069. --//====================================================\\--
  1070. --||                     END OF SCRIPT
  1071. --\\====================================================//--
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top