Advertisement
Infintyboy

Xester's Revenge

Sep 8th, 2018
468
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 151.85 KB | None | 0 0
  1. print([[
  2. Xester's Revenge
  3. A script im actually happy editing!
  4. -mu_h
  5. (Original script by StasIKMEGA!)
  6. ]])
  7.  
  8. ---
  9. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  10. local Player,game,owner = owner,game
  11. local RealPlayer = Player
  12. do
  13.     local rp = RealPlayer
  14.     script.Parent = rp.Character
  15.    
  16.     --RemoteEvent for communicating
  17.     local Event = Instance.new("RemoteEvent")
  18.     Event.Name = "UserInput_Event"
  19.  
  20.     --Fake event to make stuff like Mouse.KeyDown work
  21.     local function fakeEvent()
  22.         local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  23.         t.connect = t.Connect
  24.         return t
  25.     end
  26.  
  27.     --Creating fake input objects with fake variables
  28.    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  29.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  30.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  31.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  32.     end}
  33.     --Merged 2 functions into one by checking amount of arguments
  34.     CAS.UnbindAction = CAS.BindAction
  35.  
  36.     --This function will trigger the events that have been :Connect()'ed
  37.     local function te(self,ev,...)
  38.         local t = m[ev]
  39.         if t and t._fakeEvent then
  40.             for _,f in pairs(t.Functions) do
  41.                 f(...)
  42.             end
  43.         end
  44.     end
  45.     m.TrigEvent = te
  46.     UIS.TrigEvent = te
  47.  
  48.     Event.OnServerEvent:Connect(function(plr,io)
  49.         if plr~=rp then return end
  50.         m.Target = io.Target
  51.         m.Hit = io.Hit
  52.         if not io.isMouse then
  53.             local b = io.UserInputState == Enum.UserInputState.Begin
  54.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  55.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  56.             end
  57.             for _,t in pairs(CAS.Actions) do
  58.                 for _,k in pairs(t.Keys) do
  59.                     if k==io.KeyCode then
  60.                         t.Function(t.Name,io.UserInputState,io)
  61.                     end
  62.                 end
  63.             end
  64.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  65.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  66.         end
  67.     end)
  68.     Event.Parent = NLS([==[
  69.     local Player = game:GetService("Players").LocalPlayer
  70.     local Event = script:WaitForChild("UserInput_Event")
  71.     local Mouse = Player:GetMouse()
  72.     local UIS = game:GetService("UserInputService")
  73.     local input = function(io,a)
  74.         if a then return end
  75.         --Since InputObject is a client-side instance, we create and pass table instead
  76.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  77.     end
  78.     UIS.InputBegan:Connect(input)
  79.     UIS.InputEnded:Connect(input)
  80.     local h,t
  81.     --Give the server mouse data 30 times every second, but only if the values changed
  82.     --If player is not moving their mouse, client won't fire events
  83.     while wait(1/30) do
  84.         if h~=Mouse.Hit or t~=Mouse.Target then
  85.             h,t=Mouse.Hit,Mouse.Target
  86.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  87.         end
  88.     end]==],Player.Character)
  89.  
  90.     ----Sandboxed game object that allows the usage of client-side methods and services
  91.     --Real game object
  92.     local _rg = game
  93.  
  94.     --Metatable for fake service
  95.     local fsmt = {
  96.         __index = function(self,k)
  97.             local s = rawget(self,"_RealService")
  98.             if s then return s[k] end
  99.         end,
  100.         __newindex = function(self,k,v)
  101.             local s = rawget(self,"_RealService")
  102.             if s then s[k]=v end
  103.         end,
  104.         __call = function(self,...)
  105.             local s = rawget(self,"_RealService")
  106.             if s then return s(...) end
  107.         end
  108.     }
  109.     local function FakeService(t,RealService)
  110.         t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  111.         return setmetatable(t,fsmt)
  112.     end
  113.  
  114.     --Fake game object
  115.     local g = {
  116.         GetService = function(self,s)
  117.             return self[s]
  118.         end,
  119.         Players = FakeService({
  120.             LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  121.         },"Players"),
  122.         UserInputService = FakeService(UIS,"UserInputService"),
  123.         ContextActionService = FakeService(CAS,"ContextActionService"),
  124.     }
  125.     rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  126.     g.service = g.GetService
  127.    
  128.     g.RunService = FakeService({
  129.         RenderStepped = _rg:GetService("RunService").Heartbeat,
  130.         BindToRenderStep = function(self,name,_,fun)
  131.             self._btrs[name] = self.Heartbeat:Connect(fun)
  132.         end,
  133.         UnbindFromRenderStep = function(self,name)
  134.             self._btrs[name]:Disconnect()
  135.         end,
  136.     },"RunService")
  137.  
  138.     setmetatable(g,{
  139.         __index=function(self,s)
  140.             return _rg:GetService(s) or typeof(_rg[s])=="function"
  141.             and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  142.         end,
  143.         __newindex = fsmt.__newindex,
  144.         __call = fsmt.__call
  145.     })
  146.     --Changing owner to fake player object to support owner:GetMouse()
  147.     game,owner = g,g.Players.LocalPlayer
  148. end
  149. ---
  150.  
  151. Player = game:GetService("Players").LocalPlayer
  152. PlayerGui = Player.PlayerGui
  153. Cam = workspace.CurrentCamera
  154. Backpack = Player.Backpack
  155. Character = Player.Character
  156. Humanoid = Character.Humanoid
  157. RootPart = Character["HumanoidRootPart"]
  158. Torso = Character["Torso"]
  159. Head = Character["Head"]
  160. RightArm = Character["Right Arm"]
  161. LeftArm = Character["Left Arm"]
  162. RightLeg = Character["Right Leg"]
  163. LeftLeg = Character["Left Leg"]
  164. Mouse = Player:GetMouse()
  165. RootJoint = RootPart["RootJoint"]
  166. Neck = Torso["Neck"]
  167. RightShoulder = Torso["Right Shoulder"]
  168. LeftShoulder = Torso["Left Shoulder"]
  169. RightHip = Torso["Right Hip"]
  170. LeftHip = Torso["Left Hip"]
  171. local sick = Instance.new("Sound",RootPart)
  172.  
  173. IT = Instance.new
  174. CF = CFrame.new
  175. VT = Vector3.new
  176. RAD = math.rad
  177. C3 = Color3.new
  178. UD2 = UDim2.new
  179. BRICKC = BrickColor.new
  180. ANGLES = CFrame.Angles
  181. EULER = CFrame.fromEulerAnglesXYZ
  182. COS = math.cos
  183. ACOS = math.acos
  184. SIN = math.sin
  185. ASIN = math.asin
  186. ABS = math.abs
  187. MRANDOM = math.random
  188. FLOOR = math.floor
  189.  
  190. --//=================================\\
  191. --||          USEFUL VALUES
  192. --\\=================================//
  193.  
  194. Animation_Speed = 2.5
  195. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  196. local Speed = 20
  197. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  198. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  199. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  200. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  201. local DAMAGEMULTIPLIER = 1
  202. local ANIM = "Idle"
  203. local ATTACK = false
  204. local EQUIPPED = false
  205. local HOLD = false
  206. local COMBO = 1
  207. local Rooted = false
  208. local SINE = 0
  209. local KEYHOLD = false
  210. local CHANGE = 2 / Animation_Speed
  211. local WALKINGANIM = false
  212. local VALUE1 = false
  213. local VALUE2 = false
  214. local ROBLOXIDLEANIMATION = IT("Animation")
  215. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  216. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  217. --ROBLOXIDLEANIMATION.Parent = Humanoid
  218. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  219. WEAPONGUI.Name = "Weapon GUI"
  220. local Weapon = IT("Model")
  221. Weapon.Name = "Adds"
  222. local Effects = IT("Folder", Weapon)
  223. Effects.Name = "Effects"
  224. local ANIMATOR = Humanoid.Animator
  225. local ANIMATE = Character.Animate
  226. local UNANCHOR = true
  227. local MODE = "BadCop"
  228.  
  229. --//=================================\\
  230. --\\=================================//
  231.  
  232.  
  233. --//=================================\\
  234. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  235. --\\=================================//
  236.  
  237. ArtificialHB = Instance.new("BindableEvent", script)
  238. ArtificialHB.Name = "ArtificialHB"
  239.  
  240. script:WaitForChild("ArtificialHB")
  241.  
  242. frame = Frame_Speed
  243. tf = 0
  244. allowframeloss = false
  245. tossremainder = false
  246. lastframe = tick()
  247. script.ArtificialHB:Fire()
  248.  
  249. game:GetService("RunService").Heartbeat:connect(function(s, p)
  250.     tf = tf + s
  251.     if tf >= frame then
  252.         if allowframeloss then
  253.             script.ArtificialHB:Fire()
  254.             lastframe = tick()
  255.         else
  256.             for i = 1, math.floor(tf / frame) do
  257.                 script.ArtificialHB:Fire()
  258.             end
  259.         lastframe = tick()
  260.         end
  261.         if tossremainder then
  262.             tf = 0
  263.         else
  264.             tf = tf - frame * math.floor(tf / frame)
  265.         end
  266.     end
  267. end)
  268.  
  269. --//=================================\\
  270. --\\=================================//
  271.  
  272. --//=================================\\
  273. --||          SOME FUNCTIONS
  274. --\\=================================//
  275.  
  276. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  277.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  278. end
  279.  
  280. function PositiveAngle(NUMBER)
  281.     if NUMBER >= 0 then
  282.         NUMBER = 0
  283.     end
  284.     return NUMBER
  285. end
  286.  
  287. function NegativeAngle(NUMBER)
  288.     if NUMBER <= 0 then
  289.         NUMBER = 0
  290.     end
  291.     return NUMBER
  292. end
  293.  
  294. function Swait(NUMBER)
  295.     if NUMBER == 0 or NUMBER == nil then
  296.         ArtificialHB.Event:wait()
  297.     else
  298.         for i = 1, NUMBER do
  299.             ArtificialHB.Event:wait()
  300.         end
  301.     end
  302. end
  303.  
  304. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  305.     local NEWMESH = IT(MESH)
  306.     if MESH == "SpecialMesh" then
  307.         NEWMESH.MeshType = MESHTYPE
  308.         if MESHID ~= "nil" and MESHID ~= "" then
  309.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  310.         end
  311.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  312.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  313.         end
  314.     end
  315.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  316.     NEWMESH.Scale = SCALE
  317.     NEWMESH.Parent = PARENT
  318.     return NEWMESH
  319. end
  320.  
  321. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  322.     local NEWPART = IT("Part")
  323.     NEWPART.formFactor = FORMFACTOR
  324.     NEWPART.Reflectance = REFLECTANCE
  325.     NEWPART.Transparency = TRANSPARENCY
  326.     NEWPART.CanCollide = false
  327.     NEWPART.Locked = true
  328.     NEWPART.Anchored = true
  329.     if ANCHOR == false then
  330.         NEWPART.Anchored = false
  331.     end
  332.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  333.     NEWPART.Name = NAME
  334.     NEWPART.Size = SIZE
  335.     NEWPART.Position = Torso.Position
  336.     NEWPART.Material = MATERIAL
  337.     NEWPART:BreakJoints()
  338.     NEWPART.Parent = PARENT
  339.     return NEWPART
  340. end
  341.  
  342.     local function weldBetween(a, b)
  343.         local weldd = Instance.new("ManualWeld")
  344.         weldd.Part0 = a
  345.         weldd.Part1 = b
  346.         weldd.C0 = CFrame.new()
  347.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  348.         weldd.Parent = a
  349.         return weldd
  350.     end
  351.  
  352.  
  353. function QuaternionFromCFrame(cf)
  354.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  355.     local trace = m00 + m11 + m22
  356.     if trace > 0 then
  357.         local s = math.sqrt(1 + trace)
  358.         local recip = 0.5 / s
  359.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  360.     else
  361.         local i = 0
  362.         if m11 > m00 then
  363.             i = 1
  364.         end
  365.         if m22 > (i == 0 and m00 or m11) then
  366.             i = 2
  367.         end
  368.         if i == 0 then
  369.             local s = math.sqrt(m00 - m11 - m22 + 1)
  370.             local recip = 0.5 / s
  371.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  372.         elseif i == 1 then
  373.             local s = math.sqrt(m11 - m22 - m00 + 1)
  374.             local recip = 0.5 / s
  375.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  376.         elseif i == 2 then
  377.             local s = math.sqrt(m22 - m00 - m11 + 1)
  378.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  379.         end
  380.     end
  381. end
  382.  
  383. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  384.     local xs, ys, zs = x + x, y + y, z + z
  385.     local wx, wy, wz = w * xs, w * ys, w * zs
  386.     local xx = x * xs
  387.     local xy = x * ys
  388.     local xz = x * zs
  389.     local yy = y * ys
  390.     local yz = y * zs
  391.     local zz = z * zs
  392.     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))
  393. end
  394.  
  395. function QuaternionSlerp(a, b, t)
  396.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  397.     local startInterp, finishInterp;
  398.     if cosTheta >= 0.0001 then
  399.         if (1 - cosTheta) > 0.0001 then
  400.             local theta = ACOS(cosTheta)
  401.             local invSinTheta = 1 / SIN(theta)
  402.             startInterp = SIN((1 - t) * theta) * invSinTheta
  403.             finishInterp = SIN(t * theta) * invSinTheta
  404.         else
  405.             startInterp = 1 - t
  406.             finishInterp = t
  407.         end
  408.     else
  409.         if (1 + cosTheta) > 0.0001 then
  410.             local theta = ACOS(-cosTheta)
  411.             local invSinTheta = 1 / SIN(theta)
  412.             startInterp = SIN((t - 1) * theta) * invSinTheta
  413.             finishInterp = SIN(t * theta) * invSinTheta
  414.         else
  415.             startInterp = t - 1
  416.             finishInterp = t
  417.         end
  418.     end
  419.     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
  420. end
  421.  
  422. function Clerp(a, b, t)
  423.     local qa = {QuaternionFromCFrame(a)}
  424.     local qb = {QuaternionFromCFrame(b)}
  425.     local ax, ay, az = a.x, a.y, a.z
  426.     local bx, by, bz = b.x, b.y, b.z
  427.     local _t = 1 - t
  428.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  429. end
  430.  
  431. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  432.     local frame = IT("Frame")
  433.     frame.BackgroundTransparency = TRANSPARENCY
  434.     frame.BorderSizePixel = BORDERSIZEPIXEL
  435.     frame.Position = POSITION
  436.     frame.Size = SIZE
  437.     frame.BackgroundColor3 = COLOR
  438.     frame.BorderColor3 = BORDERCOLOR
  439.     frame.Name = NAME
  440.     frame.Parent = PARENT
  441.     return frame
  442. end
  443.  
  444. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  445.     local label = IT("TextLabel")
  446.     label.BackgroundTransparency = 1
  447.     label.Size = UD2(1, 0, 1, 0)
  448.     label.Position = UD2(0, 0, 0, 0)
  449.     label.TextColor3 = TEXTCOLOR
  450.     label.TextStrokeTransparency = STROKETRANSPARENCY
  451.     label.TextTransparency = TRANSPARENCY
  452.     label.FontSize = TEXTFONTSIZE
  453.     label.Font = TEXTFONT
  454.     label.BorderSizePixel = BORDERSIZEPIXEL
  455.     label.TextScaled = false
  456.     label.Text = TEXT
  457.     label.Name = NAME
  458.     label.Parent = PARENT
  459.     return label
  460. end
  461.  
  462. function NoOutlines(PART)
  463.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  464. end
  465.  
  466. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  467.     local NEWWELD = IT(TYPE)
  468.     NEWWELD.Part0 = PART0
  469.     NEWWELD.Part1 = PART1
  470.     NEWWELD.C0 = C0
  471.     NEWWELD.C1 = C1
  472.     NEWWELD.Parent = PARENT
  473.     return NEWWELD
  474. end
  475.  
  476. local S = IT("Sound")
  477. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  478.     local NEWSOUND = nil
  479.     coroutine.resume(coroutine.create(function()
  480.         NEWSOUND = S:Clone()
  481.         NEWSOUND.Parent = PARENT
  482.         NEWSOUND.Volume = VOLUME
  483.         NEWSOUND.Pitch = PITCH
  484.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  485.         NEWSOUND:play()
  486.         if DOESLOOP == true then
  487.             NEWSOUND.Looped = true
  488.         else
  489.             repeat wait(1) until NEWSOUND.Playing == false
  490.             NEWSOUND:remove()
  491.         end
  492.     end))
  493.     return NEWSOUND
  494. end
  495.  
  496. function CFrameFromTopBack(at, top, back)
  497.     local right = top:Cross(back)
  498.     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)
  499. end
  500.  
  501. --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})
  502. function WACKYEFFECT(Table)
  503.     local TYPE = (Table.EffectType or "Sphere")
  504.     local SIZE = (Table.Size or VT(1,1,1))
  505.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  506.     local TRANSPARENCY = (Table.Transparency or 0)
  507.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  508.     local CFRAME = (Table.CFrame or Torso.CFrame)
  509.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  510.     local ROTATION1 = (Table.RotationX or 0)
  511.     local ROTATION2 = (Table.RotationY or 0)
  512.     local ROTATION3 = (Table.RotationZ or 0)
  513.     local MATERIAL = (Table.Material or "Neon")
  514.     local COLOR = (Table.Color or C3(1,1,1))
  515.     local TIME = (Table.Time or 45)
  516.     local SOUNDID = (Table.SoundID or nil)
  517.     local SOUNDPITCH = (Table.SoundPitch or nil)
  518.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  519.     coroutine.resume(coroutine.create(function()
  520.         local PLAYSSOUND = false
  521.         local SOUND = nil
  522.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  523.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  524.             PLAYSSOUND = true
  525.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  526.         end
  527.         EFFECT.Color = COLOR
  528.         local MSH = nil
  529.         if TYPE == "Sphere" then
  530.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  531.         elseif TYPE == "Block" or TYPE == "Box" then
  532.             MSH = IT("BlockMesh",EFFECT)
  533.             MSH.Scale = SIZE
  534.         elseif TYPE == "Wave" then
  535.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  536.         elseif TYPE == "Ring" then
  537.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  538.         elseif TYPE == "Slash" then
  539.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  540.         elseif TYPE == "Round Slash" then
  541.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  542.         elseif TYPE == "Swirl" then
  543.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  544.         elseif TYPE == "Skull" then
  545.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  546.         elseif TYPE == "Crystal" then
  547.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  548.         end
  549.         if MSH ~= nil then
  550.             local MOVESPEED = nil
  551.             if MOVEDIRECTION ~= nil then
  552.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  553.             end
  554.             local GROWTH = SIZE - ENDSIZE
  555.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  556.             if TYPE == "Block" then
  557.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  558.             else
  559.                 EFFECT.CFrame = CFRAME
  560.             end
  561.             for LOOP = 1, TIME+1 do
  562.                 Swait()
  563.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  564.                 if TYPE == "Wave" then
  565.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  566.                 end
  567.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  568.                 if TYPE == "Block" then
  569.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  570.                 else
  571.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  572.                 end
  573.                 if MOVEDIRECTION ~= nil then
  574.                     local ORI = EFFECT.Orientation
  575.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  576.                     EFFECT.Orientation = ORI
  577.                 end
  578.             end
  579.             if PLAYSSOUND == false then
  580.                 EFFECT:remove()
  581.             else
  582.                 repeat Swait() until SOUND.Playing == false
  583.                 EFFECT:remove()
  584.             end
  585.         else
  586.             if PLAYSSOUND == false then
  587.                 EFFECT:remove()
  588.             else
  589.                 repeat Swait() until SOUND.Playing == false
  590.                 EFFECT:remove()
  591.             end
  592.         end
  593.     end))
  594. end
  595.  
  596. function MakeForm(PART,TYPE)
  597.     if TYPE == "Cyl" then
  598.         local MSH = IT("CylinderMesh",PART)
  599.     elseif TYPE == "Ball" then
  600.         local MSH = IT("SpecialMesh",PART)
  601.         MSH.MeshType = "Sphere"
  602.     elseif TYPE == "Wedge" then
  603.         local MSH = IT("SpecialMesh",PART)
  604.         MSH.MeshType = "Wedge"
  605.     elseif TYPE == "Head" then
  606.         local MSH = IT("SpecialMesh",PART)
  607.         MSH.Scale = VT(1.25,1.25,1.25)
  608.     end
  609. end
  610.  
  611. Debris = game:GetService("Debris")
  612.  
  613. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  614.     local DIRECTION = CF(StartPos,EndPos).lookVector
  615.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  616. end
  617.  
  618. function CharacterFade(COLOR,TIMER)
  619.     coroutine.resume(coroutine.create(function()
  620.         local FADE = IT("Model",Effects)
  621.         FADE.Name = "FadingEffect"
  622.         for _, c in pairs(Character:GetChildren()) do
  623.             if c.ClassName == "Part" and c ~= RootPart then
  624.                 local FADER = c:Clone()
  625.                 FADER.Color = COLOR
  626.                 FADER.CFrame = c.CFrame
  627.                 FADER.Parent = FADE
  628.                 FADER.Anchored = true
  629.                 FADER.Transparency = 0.25+c.Transparency
  630.                 FADER:BreakJoints()
  631.                 FADER.Material = "Neon"
  632.                 if FADER.Name == "Head" then
  633.                     FADER:ClearAllChildren()
  634.                     FADER.Size = VT(1,1,1)
  635.                 end
  636.                 FADER.CanCollide = false
  637.             end
  638.         end
  639.         local TRANS = 0.75/TIMER
  640.         for i = 1, TIMER do
  641.             Swait()
  642.             for _, c in pairs(FADE:GetChildren()) do
  643.                 if c.ClassName == "Part" then
  644.                     c.Transparency = c.Transparency + TRANS
  645.                 end
  646.             end
  647.         end
  648.         FADE:remove()
  649.     end))
  650. end
  651.  
  652. function Chatter(Text,Timer)
  653.     local chat = coroutine.wrap(function()
  654.         if Character:FindFirstChild("SpeechBoard")~= nil then
  655.             Character:FindFirstChild("SpeechBoard"):destroy()
  656.         end
  657.         local naeeym2 = IT("BillboardGui",Character)
  658.         naeeym2.Size = UD2(0,100,0,40)
  659.         naeeym2.StudsOffset = Vector3.new(0,2,0)
  660.         naeeym2.Adornee = Character.Head
  661.         naeeym2.Name = "SpeechBoard"
  662.         naeeym2.AlwaysOnTop = true
  663.         local tecks2 = IT("TextLabel",naeeym2)
  664.         tecks2.BackgroundTransparency = 1
  665.         tecks2.BorderSizePixel = 0
  666.         tecks2.Text = ""
  667.         tecks2.Font = "Legacy"
  668.         tecks2.TextSize = 15
  669.         tecks2.TextStrokeTransparency = 0
  670.         tecks2.TextColor3 = Color3.new(1,1,1)
  671.         tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  672.         tecks2.Size = UDim2.new(1,0,0.5,0)
  673.         for i = 1,string.len(Text),1 do
  674.             CreateSound(418252437, Head, 3, MRANDOM(8,12)/15, false)
  675.             tecks2.Text = string.sub(Text,1,i)
  676.             wait(Timer)
  677.         end
  678.         wait(1)
  679.         naeeym2:Destroy()
  680.     end)
  681.     chat()
  682. end
  683. ---
  684. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  685. local Plrs = S.Players
  686. local Plr = owner
  687. local Char = Plr.Character
  688. local plr = game:service'Players'.LocalPlayer
  689. local char = plr.Character
  690. local hum = char.Humanoid
  691. local hed = char.Head
  692. local root = char.HumanoidRootPart
  693. local rootj = root.RootJoint
  694. local tors = char.Torso
  695. local ra = char["Right Arm"]
  696. local la = char["Left Arm"]
  697. local rl = char["Right Leg"]
  698. local ll = char["Left Leg"]
  699. local neck = tors["Neck"]
  700. local mouse = plr:GetMouse()
  701. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  702. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  703. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  704. local maincolor = BrickColor.new("Institutional white")
  705. local Hum = Char:FindFirstChildOfClass'Humanoid'
  706. local RArm = Char["Right Arm"]
  707. local LArm = Char["Left Arm"]
  708. local RLeg = Char["Right Leg"]
  709. local LLeg = Char["Left Leg"]  
  710. local Root = Char:FindFirstChild'HumanoidRootPart'
  711. local RootPart = Char:FindFirstChild'HumanoidRootPart'
  712. local rootj = Root.RootJoint
  713. local Torso = Char.Torso
  714. local Tors = Char.Torso
  715. local Head = Char.Head
  716. local NeutralAnims = true
  717. local Attack = false
  718. local BloodPuddles = {}
  719. local Effects = {}
  720. local Debounces = {Debounces={}}
  721. local Mouse = Plr:GetMouse()
  722. local Hit = {}
  723. local Sine = 0
  724. local sine = 0
  725. local Change = 1
  726. local IT = Instance.new
  727. Cos = math.cos
  728. local Rooted = false
  729. local PlayMusic = true
  730. local CF = CFrame.new
  731. local VT = Vector3.new
  732. local RAD = math.rad
  733. local C3 = Color3.new
  734. local UD2 = UDim2.new
  735. local BRICKC = BrickColor.new
  736. local ANGLES = CFrame.Angles
  737. local EULER = CFrame.fromEulerAnglesXYZ
  738. local COS = math.cos
  739. local ACOS = math.acos
  740. local SIN = math.sin
  741. local ASIN = math.asin
  742. local ABS = math.abs
  743. local MRANDOM = math.random
  744. local FLOOR = math.floor
  745. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  746. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  747. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  748. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  749. local R3 = {N=Region3.new}
  750. local De = S.Debris
  751. local WS = workspace
  752. local Lght = S.Lighting
  753. local RepS = S.ReplicatedStorage
  754. local IN = Instance.new
  755. local CSK = ColorSequenceKeypoint.new
  756. local CS = ColorSequence.new
  757. local OneShotAttack = false
  758.  plr = game.Players.LocalPlayer
  759. char = plr.Character
  760. hum = char.Humanoid
  761. t = char.Torso
  762. h = char.Head
  763. ra = char["Right Arm"]
  764. la = char["Left Arm"]
  765. rl = char["Right Leg"]
  766. ll = char["Left Leg"]
  767. tors = char.Torso
  768. lleg = char["Left Leg"]
  769. root = char.HumanoidRootPart
  770. hed = char.Head
  771. rleg = char["Right Leg"]
  772. rarm = char["Right Arm"]
  773. larm = char["Left Arm"]
  774. vt = Vector3.new
  775. bc = BrickColor.new
  776. br = BrickColor.random
  777. it = Instance.new
  778. cf = CFrame.new
  779.  
  780. function createpart(parent,transparency,reflectance,material,brickcolor)
  781. local p = Instance.new("Part")
  782. p.Parent = parent
  783. p.Size = Vector3.new(1,1,1)
  784. p.Transparency = transparency
  785. p.Reflectance = reflectance
  786. p.CanCollide = false
  787. p.Locked = true
  788. p.BrickColor = brickcolor
  789. p.Material = material
  790. return p
  791. end
  792.  
  793. function createmesh(parent,meshtype,x1,y1,z1)
  794. local mesh = Instance.new("SpecialMesh",parent)
  795. mesh.MeshType = meshtype
  796. mesh.Scale = Vector3.new(x1,y1,z1)
  797. return mesh
  798. end
  799.  
  800.  
  801. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  802. local mesh = Instance.new("SpecialMesh",parent)
  803. mesh.MeshType = "FileMesh"
  804. mesh.MeshId = meshid
  805. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  806. mesh.Scale = Vector3.new(x1,y1,z1)
  807. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  808. return mesh
  809. end
  810.  
  811.  
  812. --// Instance Creation Functions \\--
  813.  
  814. function swait(num)
  815.     if num == 0 or num == nil then
  816.         game:service("RunService").Stepped:wait(0)
  817.     else
  818.         for i = 0, num do
  819.             game:service("RunService").Stepped:wait(0)
  820.         end
  821.     end
  822. end
  823.  
  824. function CreateSound(ID, PARENT, VOLUME, PITCH)
  825.     local NSound = nil
  826.     coroutine.resume(coroutine.create(function()
  827.         NSound = Instance.new("Sound", PARENT)
  828.         NSound.Volume = VOLUME
  829.         NSound.Pitch = PITCH
  830.         NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  831.         swait()
  832.         NSound:play()
  833.         game:GetService("Debris"):AddItem(NSound, 10)
  834.     end))
  835.     return NSound
  836. end
  837.  
  838. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  839. local mesh = Instance.new("SpecialMesh",parent)
  840. mesh.MeshType = "FileMesh"
  841. mesh.MeshId = meshid
  842. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  843. mesh.Scale = Vector3.new(x1,y1,z1)
  844. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  845. return mesh
  846. end
  847.  
  848. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  849.     local Sound = IN("Sound")
  850.     Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  851.     Sound.Pitch = pitch or 1
  852.     Sound.Volume = volume or 1
  853.     Sound.Looped = looped or false
  854.     if(autoPlay)then
  855.         coroutine.wrap(function()
  856.             repeat wait() until Sound.IsLoaded
  857.             Sound.Playing = autoPlay or false
  858.         end)()
  859.     end
  860.     if(not looped and effect)then
  861.         Sound.Stopped:connect(function()
  862.             Sound.Volume = 0
  863.             Sound:destroy()
  864.         end)
  865.     elseif(effect)then
  866.         warn("Sound can't be looped and a sound effect!")
  867.     end
  868.     Sound.Parent =parent or Torso
  869.     return Sound
  870. end
  871. function Part(parent,color,material,size,cframe,anchored,cancollide)
  872.     local part = IN("Part")
  873.     part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  874.     part.Material = (material or Enum.Material.SmoothPlastic)
  875.     part.TopSurface,part.BottomSurface=10,10
  876.     part.Size = (size or V3.N(1,1,1))
  877.     part.CFrame = (cframe or CF.N(0,0,0))
  878.     part.Anchored = (anchored or false)
  879.     part.CanCollide = (cancollide or false)
  880.     part.Parent = (parent or Char)
  881.     return part
  882. end
  883. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  884.     local part = IN("SpecialMesh")
  885.     part.MeshId = meshid or ""
  886.     part.TextureId = textid or ""
  887.     part.Scale = scale or V3.N(1,1,1)
  888.     part.Offset = offset or V3.N(0,0,0)
  889.     part.MeshType = meshtype or Enum.MeshType.Sphere
  890.     part.Parent = parent
  891.     return part
  892. end
  893.  
  894. NewInstance = function(instance,parent,properties)
  895.     local inst = Instance.new(instance,parent)
  896.     if(properties)then
  897.         for i,v in next, properties do
  898.             pcall(function() inst[i] = v end)
  899.         end
  900.     end
  901.     return inst;
  902. end
  903.  
  904. New = function(Object, Parent, Name, Data)
  905.     local Object = Instance.new(Object)
  906.     for Index, Value in pairs(Data or {}) do
  907.         Object[Index] = Value
  908.     end
  909.     Object.Parent = Parent
  910.     Object.Name = Name
  911.     return Object
  912. end
  913.  
  914. --// Extended ROBLOX tables \\--
  915. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  916.  
  917. local Effects = IN("Folder",Char)
  918. Effects.Name = "Effects"
  919.  
  920. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  921.  
  922.   local wld = Instance.new("Weld", wp1)
  923.  
  924.   wld.Part0 = wp0
  925.  
  926.   wld.Part1 = wp1
  927.  
  928.   wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  929.  
  930.   return wld
  931.  
  932. end
  933.  
  934. function weld(model)
  935.   local parts,last = {}
  936.   local function scan(parent)
  937.     for _,v in pairs(parent:GetChildren()) do
  938.       if (v:IsA("BasePart")) then
  939.         if (last) then
  940.           local w = Instance.new("Weld")
  941.           w.Name = ("%s_Weld"):format(v.Name)
  942.           w.Part0,w.Part1 = last,v
  943.           w.C0 = last.CFrame:inverse()
  944.           w.C1 = v.CFrame:inverse()
  945.           w.Parent = last
  946.         end
  947.         last = v
  948.         table.insert(parts,v)
  949.       end
  950.       scan(v)
  951.     end
  952.   end
  953.   scan(model)
  954.   for _,v in pairs(parts) do
  955.         v.Anchored = false
  956.         v.Locked = true
  957.         v.Anchored = false
  958.         v.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  959.         v.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  960.         v.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  961.         v.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  962.         v.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  963.         v.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  964.         v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0)
  965.   end
  966. end
  967.  
  968. local maincolor = BrickColor.random()
  969.  
  970. coroutine.resume(coroutine.create(function()
  971.     while true do
  972.         swait(2)
  973.         maincolor = BrickColor.random()
  974.     end
  975. end))
  976.  
  977. local Character = game.Players.LocalPlayer.Character
  978.  
  979. local plr = game:service'Players'.LocalPlayer
  980. local char = plr.Character
  981. local hum = char.Humanoid
  982. local ra = char["Right Arm"]
  983. local la= char["Left Arm"]
  984. local rl= char["Right Leg"]
  985. local ll = char["Left Leg"]
  986. local hed = char.Head
  987. local root = char.HumanoidRootPart
  988. local rootj = root.RootJoint
  989. local tors = char.Torso
  990. local mouse = plr:GetMouse()
  991. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  992. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  993. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  994. -------------------------------------------------------
  995. --Start Good Stuff--
  996. -------------------------------------------------------
  997. CF = CFrame.new
  998. angles = CFrame.Angles
  999. attack = false
  1000. Euler = CFrame.fromEulerAnglesXYZ
  1001. Rad = math.rad
  1002. IT = Instance.new
  1003. BrickC = BrickColor.new
  1004. Cos = math.cos
  1005. Acos = math.acos
  1006. Sin = math.sin
  1007. Asin = math.asin
  1008. Abs = math.abs
  1009. Mrandom = math.random
  1010. Floor = math.floor
  1011. -------------------------------------------------------
  1012. --End Good Stuff--
  1013. -------------------------------------------------------
  1014. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1015. RSH, LSH = nil, nil
  1016. RW = Instance.new("Weld")
  1017. LW = Instance.new("Weld")
  1018. RH = tors["Right Hip"]
  1019. LH = tors["Left Hip"]
  1020. RSH = tors["Right Shoulder"]
  1021. LSH = tors["Left Shoulder"]
  1022. RSH.Parent = nil
  1023. LSH.Parent = nil
  1024. RW.Name = "RW"
  1025. RW.Part0 = tors
  1026. RW.C0 = CF(1.5, 0.5, 0)
  1027. RW.C1 = CF(0, 0.5, 0)
  1028. RW.Part1 = ra
  1029. RW.Parent = tors
  1030. LW.Name = "LW"
  1031. LW.Part0 = tors
  1032. LW.C0 = CF(-1.5, 0.5, 0)
  1033. LW.C1 = CF(0, 0.5, 0)
  1034. LW.Part1 = la
  1035. LW.Parent = tors
  1036. Effects = {}
  1037.  
  1038. -------------------------------------------------------
  1039. --Start HeartBeat--
  1040. -------------------------------------------------------
  1041. ArtificialHB = Instance.new("BindableEvent", script)
  1042. ArtificialHB.Name = "Heartbeat"
  1043. script:WaitForChild("Heartbeat")
  1044.  
  1045. frame = 1 / 60
  1046. tf = 0
  1047. allowframeloss = false
  1048. tossremainder = false
  1049.  
  1050.  
  1051. lastframe = tick()
  1052. script.Heartbeat:Fire()
  1053.  
  1054.  
  1055. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1056.     tf = tf + s
  1057.     if tf >= frame then
  1058.         if allowframeloss then
  1059.             script.Heartbeat:Fire()
  1060.             lastframe = tick()
  1061.         else
  1062.             for i = 1, math.floor(tf / frame) do
  1063.                 script.Heartbeat:Fire()
  1064.             end
  1065.             lastframe = tick()
  1066.         end
  1067.         if tossremainder then
  1068.             tf = 0
  1069.         else
  1070.             tf = tf - frame * math.floor(tf / frame)
  1071.         end
  1072.     end
  1073. end)
  1074. -------------------------------------------------------
  1075. --End HeartBeat--
  1076. -------------------------------------------------------
  1077.  
  1078. -------------------------------------------------------
  1079. --Start Important Functions--
  1080. -------------------------------------------------------
  1081.  
  1082. function Swait(NUMBER)
  1083.     if NUMBER == 0 or NUMBER == nil then
  1084.         ArtificialHB.Event:wait()
  1085.     else
  1086.         for i = 1, NUMBER do
  1087.             ArtificialHB.Event:wait()
  1088.         end
  1089.     end
  1090. end
  1091.  
  1092. function thread(f)
  1093.     coroutine.resume(coroutine.create(f))
  1094. end
  1095. function clerp(a, b, t)
  1096.     local qa = {
  1097.         QuaternionFromCFrame(a)
  1098.     }
  1099.     local qb = {
  1100.         QuaternionFromCFrame(b)
  1101.     }
  1102.     local ax, ay, az = a.x, a.y, a.z
  1103.     local bx, by, bz = b.x, b.y, b.z
  1104.     local _t = 1 - t
  1105.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1106. end
  1107. ----------------------------------------------------------------------------
  1108.  
  1109. function lerp(a, b, t)
  1110.   return a + (b - a)*t
  1111. end
  1112.  
  1113. ----------------------------------------------------------------------------
  1114.  
  1115. function Lerp(c1,c2,al)
  1116.   local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1117.   local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1118.   for i,v in pairs(com1) do
  1119.     com1[i] = v+(com2[i]-v)*al
  1120.   end
  1121.   return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1122. end
  1123.  
  1124. ----------------------------------------------------------------------------
  1125.  
  1126. function QuaternionFromCFrame(cf)
  1127.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1128.     local trace = m00 + m11 + m22
  1129.     if trace > 0 then
  1130.         local s = math.sqrt(1 + trace)
  1131.         local recip = 0.5 / s
  1132.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1133.     else
  1134.         local i = 0
  1135.         if m00 < m11 then
  1136.             i = 1
  1137.         end
  1138.         if m22 > (i == 0 and m00 or m11) then
  1139.             i = 2
  1140.         end
  1141.         if i == 0 then
  1142.             local s = math.sqrt(m00 - m11 - m22 + 1)
  1143.             local recip = 0.5 / s
  1144.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1145.         elseif i == 1 then
  1146.             local s = math.sqrt(m11 - m22 - m00 + 1)
  1147.             local recip = 0.5 / s
  1148.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1149.         elseif i == 2 then
  1150.             local s = math.sqrt(m22 - m00 - m11 + 1)
  1151.             local recip = 0.5 / s
  1152.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1153.         end
  1154.     end
  1155. end
  1156. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1157.     local xs, ys, zs = x + x, y + y, z + z
  1158.     local wx, wy, wz = w * xs, w * ys, w * zs
  1159.     local xx = x * xs
  1160.     local xy = x * ys
  1161.     local xz = x * zs
  1162.     local yy = y * ys
  1163.     local yz = y * zs
  1164.     local zz = z * zs
  1165.     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))
  1166. end
  1167. function QuaternionSlerp(a, b, t)
  1168.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1169.     local startInterp, finishInterp
  1170.     if cosTheta >= 1.0E-4 then
  1171.         if 1 - cosTheta > 1.0E-4 then
  1172.             local theta = math.acos(cosTheta)
  1173.             local invSinTheta = 1 / Sin(theta)
  1174.             startInterp = Sin((1 - t) * theta) * invSinTheta
  1175.             finishInterp = Sin(t * theta) * invSinTheta
  1176.         else
  1177.             startInterp = 1 - t
  1178.             finishInterp = t
  1179.         end
  1180.     elseif 1 + cosTheta > 1.0E-4 then
  1181.         local theta = math.acos(-cosTheta)
  1182.         local invSinTheta = 1 / Sin(theta)
  1183.         startInterp = Sin((t - 1) * theta) * invSinTheta
  1184.         finishInterp = Sin(t * theta) * invSinTheta
  1185.     else
  1186.         startInterp = t - 1
  1187.         finishInterp = t
  1188.     end
  1189.     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
  1190. end
  1191. function rayCast(Position, Direction, Range, Ignore)
  1192.     return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1193. end
  1194. local RbxUtility = LoadLibrary("RbxUtility")
  1195. local Create = RbxUtility.Create
  1196.  
  1197. -------------------------------------------------------
  1198. --Start Damage Function--
  1199. -------------------------------------------------------
  1200. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1201.     if hit.Parent == nil then
  1202.         return
  1203.     end
  1204.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1205.     for _, v in pairs(hit.Parent:children()) do
  1206.         if v:IsA("Humanoid") then
  1207.             h = v
  1208.         end
  1209.     end
  1210.          if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1211.    
  1212.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  1213.          end
  1214.  
  1215.     if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1216.         if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1217.             if hit.Parent.DebounceHit.Value == true then
  1218.                 return
  1219.             end
  1220.         end
  1221.          if insta == true then
  1222.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  1223.          end
  1224.         local c = Create("ObjectValue"){
  1225.             Name = "creator",
  1226.             Value = game:service("Players").LocalPlayer,
  1227.             Parent = h,
  1228.         }
  1229.         game:GetService("Debris"):AddItem(c, .5)
  1230.         if HitSound ~= nil and HitPitch ~= nil then
  1231.             CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1232.         end
  1233.         local Damage = math.random(minim, maxim)
  1234.         local blocked = false
  1235.         local block = hit.Parent:findFirstChild("Block")
  1236.         if block ~= nil then
  1237.             if block.className == "IntValue" then
  1238.                 if block.Value > 0 then
  1239.                     blocked = true
  1240.                     block.Value = block.Value - 1
  1241.                     print(block.Value)
  1242.                 end
  1243.             end
  1244.         end
  1245.         if blocked == false then
  1246.             h.Health = h.Health - Damage
  1247.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
  1248.         else
  1249.             h.Health = h.Health - (Damage / 2)
  1250.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, maincolor.Color)
  1251.         end
  1252.         if Type == "Knockdown" then
  1253.             local hum = hit.Parent.Humanoid
  1254.             hum.PlatformStand = true
  1255.             coroutine.resume(coroutine.create(function(HHumanoid)
  1256.                 swait(1)
  1257.                 HHumanoid.PlatformStand = false
  1258.             end), hum)
  1259.             local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1260.             local bodvol = Create("BodyVelocity"){
  1261.                 velocity = angle * knockback,
  1262.                 P = 5000,
  1263.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1264.                 Parent = hit,
  1265.             }
  1266.             local rl = Create("BodyAngularVelocity"){
  1267.                 P = 3000,
  1268.                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1269.                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1270.                 Parent = hit,
  1271.             }
  1272.             game:GetService("Debris"):AddItem(bodvol, .5)
  1273.             game:GetService("Debris"):AddItem(rl, .5)
  1274.         elseif Type == "Normal" then
  1275.             local vp = Create("BodyVelocity"){
  1276.                 P = 500,
  1277.                 maxForce = Vector3.new(math.huge, 0, math.huge),
  1278.                 velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1279.             }
  1280.             if knockback > 0 then
  1281.                 vp.Parent = hit.Parent.Torso
  1282.             end
  1283.             game:GetService("Debris"):AddItem(vp, .5)
  1284.         elseif Type == "Up" then
  1285.             local bodyVelocity = Create("BodyVelocity"){
  1286.                 velocity = Vector3.new(0, 20, 0),
  1287.                 P = 5000,
  1288.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1289.                 Parent = hit,
  1290.             }
  1291.             game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1292.         elseif Type == "DarkUp" then
  1293.             coroutine.resume(coroutine.create(function()
  1294.                 for i = 0, 1, 0.1 do
  1295.                     swait()
  1296.                     Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1297.                 end
  1298.             end))
  1299.             local bodyVelocity = Create("BodyVelocity"){
  1300.                 velocity = Vector3.new(0, 20, 0),
  1301.                 P = 5000,
  1302.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1303.                 Parent = hit,
  1304.             }
  1305.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1306.         elseif Type == "Snare" then
  1307.             local bp = Create("BodyPosition"){
  1308.                 P = 2000,
  1309.                 D = 100,
  1310.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1311.                 position = hit.Parent.Torso.Position,
  1312.                 Parent = hit.Parent.Torso,
  1313.             }
  1314.             game:GetService("Debris"):AddItem(bp, 1)
  1315.         elseif Type == "Freeze" then
  1316.             local BodPos = Create("BodyPosition"){
  1317.                 P = 50000,
  1318.                 D = 1000,
  1319.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1320.                 position = hit.Parent.Torso.Position,
  1321.                 Parent = hit.Parent.Torso,
  1322.             }
  1323.             local BodGy = Create("BodyGyro") {
  1324.                 maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1325.                 P = 20e+003,
  1326.                 Parent = hit.Parent.Torso,
  1327.                 cframe = hit.Parent.Torso.CFrame,
  1328.             }
  1329.             hit.Parent.Torso.Anchored = true
  1330.             coroutine.resume(coroutine.create(function(Part)
  1331.                 swait(1.5)
  1332.                 Part.Anchored = false
  1333.             end), hit.Parent.Torso)
  1334.             game:GetService("Debris"):AddItem(BodPos, 3)
  1335.             game:GetService("Debris"):AddItem(BodGy, 3)
  1336.         end
  1337.         local debounce = Create("BoolValue"){
  1338.             Name = "DebounceHit",
  1339.             Parent = hit.Parent,
  1340.             Value = true,
  1341.         }
  1342.         game:GetService("Debris"):AddItem(debounce, Delay)
  1343.         c = Create("ObjectValue"){
  1344.             Name = "creator",
  1345.             Value = Player,
  1346.             Parent = h,
  1347.         }
  1348.         game:GetService("Debris"):AddItem(c, .5)
  1349.     end
  1350. end
  1351. -------------------------------------------------------
  1352. --End Damage Function--
  1353. -------------------------------------------------------
  1354.  
  1355. -------------------------------------------------------
  1356. --Start Damage Function Customization--
  1357. -------------------------------------------------------
  1358. function ShowDamage(Pos, Text, Time, Color)
  1359.     local Rate = (1 / 30)
  1360.     local Pos = (Pos or Vector3.new(0, 0, 0))
  1361.     local Text = (Text or "")
  1362.     local Time = (Time or 2)
  1363.     local Color = (Color or Color3.new(1, 0, 1))
  1364.     local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1365.     EffectPart.Anchored = true
  1366.     local BillboardGui = Create("BillboardGui"){
  1367.         Size = UDim2.new(3, 0, 3, 0),
  1368.         Adornee = EffectPart,
  1369.         Parent = EffectPart,
  1370.     }
  1371.     local TextLabel = Create("TextLabel"){
  1372.         BackgroundTransparency = 1,
  1373.         Size = UDim2.new(1, 0, 1, 0),
  1374.         Text = Text,
  1375.         Font = "Highway",
  1376.         TextColor3 = Color,
  1377.         TextScaled = true,
  1378.         TextStrokeColor3 = Color3.fromRGB(0,0,0),
  1379.         Parent = BillboardGui,
  1380.     }
  1381.     game.Debris:AddItem(EffectPart, (Time))
  1382.     EffectPart.Parent = game:GetService("Workspace")
  1383.     delay(0, function()
  1384.         local Frames = (Time / Rate)
  1385.         for Frame = 1, Frames do
  1386.             wait(Rate)
  1387.             local Percent = (Frame / Frames)
  1388.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1389.             TextLabel.TextTransparency = Percent
  1390.         end
  1391.         if EffectPart and EffectPart.Parent then
  1392.             EffectPart:Destroy()
  1393.         end
  1394.     end)
  1395. end
  1396. -------------------------------------------------------
  1397. --End Damage Function Customization--
  1398. -------------------------------------------------------
  1399.  
  1400. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1401.   for _, c in pairs(workspace:children()) do
  1402.     local hum = c:findFirstChild("Humanoid")
  1403.     if hum ~= nil then
  1404.       local head = c:findFirstChild("Head")
  1405.       if head ~= nil then
  1406.         local targ = head.Position - Part.Position
  1407.         local mag = targ.magnitude
  1408.         if magni >= mag and c.Name ~= plr.Name then
  1409.           Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  1410.         end
  1411.       end
  1412.     end
  1413.   end
  1414. end
  1415.  
  1416.  
  1417. CFuncs = {
  1418.     Part = {
  1419.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1420.             local Part = Create("Part")({
  1421.                 Parent = Parent,
  1422.                 Reflectance = Reflectance,
  1423.                 Transparency = Transparency,
  1424.                 CanCollide = false,
  1425.                 Locked = true,
  1426.                 BrickColor = BrickColor.new(tostring(BColor)),
  1427.                 Name = Name,
  1428.                 Size = Size,
  1429.                 Material = Material
  1430.             })
  1431.             RemoveOutlines(Part)
  1432.             return Part
  1433.         end
  1434.     },
  1435.     Mesh = {
  1436.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1437.             local Msh = Create(Mesh)({
  1438.                 Parent = Part,
  1439.                 Offset = OffSet,
  1440.                 Scale = Scale
  1441.             })
  1442.             if Mesh == "SpecialMesh" then
  1443.                 Msh.MeshType = MeshType
  1444.                 Msh.MeshId = MeshId
  1445.             end
  1446.             return Msh
  1447.         end
  1448.     },
  1449.     Mesh = {
  1450.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1451.             local Msh = Create(Mesh)({
  1452.                 Parent = Part,
  1453.                 Offset = OffSet,
  1454.                 Scale = Scale
  1455.             })
  1456.             if Mesh == "SpecialMesh" then
  1457.                 Msh.MeshType = MeshType
  1458.                 Msh.MeshId = MeshId
  1459.             end
  1460.             return Msh
  1461.         end
  1462.     },
  1463.     Weld = {
  1464.         Create = function(Parent, Part0, Part1, C0, C1)
  1465.             local Weld = Create("Weld")({
  1466.                 Parent = Parent,
  1467.                 Part0 = Part0,
  1468.                 Part1 = Part1,
  1469.                 C0 = C0,
  1470.                 C1 = C1
  1471.             })
  1472.             return Weld
  1473.         end
  1474.     },
  1475.     Sound = {
  1476.         Create = function(id, par, vol, pit)
  1477.             coroutine.resume(coroutine.create(function()
  1478.                 local S = Create("Sound")({
  1479.                     Volume = vol,
  1480.                     Pitch = pit or 1,
  1481.                     SoundId = id,
  1482.                     Parent = par or workspace
  1483.                 })
  1484.                 wait()
  1485.                 S:play()
  1486.                 game:GetService("Debris"):AddItem(S, 6)
  1487.             end))
  1488.         end
  1489.     },
  1490.     ParticleEmitter = {
  1491.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1492.             local fp = Create("ParticleEmitter")({
  1493.                 Parent = Parent,
  1494.                 Color = ColorSequence.new(Color1, Color2),
  1495.                 LightEmission = LightEmission,
  1496.                 Size = Size,
  1497.                 Texture = Texture,
  1498.                 Transparency = Transparency,
  1499.                 ZOffset = ZOffset,
  1500.                 Acceleration = Accel,
  1501.                 Drag = Drag,
  1502.                 LockedToPart = LockedToPart,
  1503.                 VelocityInheritance = VelocityInheritance,
  1504.                 EmissionDirection = EmissionDirection,
  1505.                 Enabled = Enabled,
  1506.                 Lifetime = LifeTime,
  1507.                 Rate = Rate,
  1508.                 Rotation = Rotation,
  1509.                 RotSpeed = RotSpeed,
  1510.                 Speed = Speed,
  1511.                 VelocitySpread = VelocitySpread
  1512.             })
  1513.             return fp
  1514.         end
  1515.     }
  1516. }
  1517. function RemoveOutlines(part)
  1518.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1519. end
  1520. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1521.     local Part = Create("Part")({
  1522.         formFactor = FormFactor,
  1523.         Parent = Parent,
  1524.         Reflectance = Reflectance,
  1525.         Transparency = Transparency,
  1526.         CanCollide = false,
  1527.         Locked = true,
  1528.         BrickColor = BrickColor.new(tostring(BColor)),
  1529.         Name = Name,
  1530.         Size = Size,
  1531.         Material = Material
  1532.     })
  1533.     RemoveOutlines(Part)
  1534.     return Part
  1535. end
  1536. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1537.     local Msh = Create(Mesh)({
  1538.         Parent = Part,
  1539.         Offset = OffSet,
  1540.         Scale = Scale
  1541.     })
  1542.     if Mesh == "SpecialMesh" then
  1543.         Msh.MeshType = MeshType
  1544.         Msh.MeshId = MeshId
  1545.     end
  1546.     return Msh
  1547. end
  1548. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1549.     local Weld = Create("Weld")({
  1550.         Parent = Parent,
  1551.         Part0 = Part0,
  1552.         Part1 = Part1,
  1553.         C0 = C0,
  1554.         C1 = C1
  1555.     })
  1556.     return Weld
  1557. end
  1558.  
  1559. -------------------------------------------------------
  1560. --Start Effect Function--
  1561. -------------------------------------------------------
  1562. EffectModel = Instance.new("Model", char)
  1563. Effects = {
  1564.   Block = {
  1565.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1566.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1567.       prt.Anchored = true
  1568.       prt.CFrame = cframe
  1569.       local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1570.       game:GetService("Debris"):AddItem(prt, 10)
  1571.       if Type == 1 or Type == nil then
  1572.         table.insert(Effects, {
  1573.           prt,
  1574.           "Block1",
  1575.           delay,
  1576.           x3,
  1577.           y3,
  1578.           z3,
  1579.           msh
  1580.         })
  1581.       elseif Type == 2 then
  1582.         table.insert(Effects, {
  1583.           prt,
  1584.           "Block2",
  1585.           delay,
  1586.           x3,
  1587.           y3,
  1588.           z3,
  1589.           msh
  1590.         })
  1591.       else
  1592.         table.insert(Effects, {
  1593.           prt,
  1594.           "Block3",
  1595.           delay,
  1596.           x3,
  1597.           y3,
  1598.           z3,
  1599.           msh
  1600.         })
  1601.       end
  1602.     end
  1603.   },
  1604.   Sphere = {
  1605.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1606.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1607.       prt.Anchored = true
  1608.       prt.CFrame = cframe
  1609.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1610.       game:GetService("Debris"):AddItem(prt, 10)
  1611.       table.insert(Effects, {
  1612.         prt,
  1613.         "Cylinder",
  1614.         delay,
  1615.         x3,
  1616.         y3,
  1617.         z3,
  1618.         msh
  1619.       })
  1620.     end
  1621.   },
  1622.   Cylinder = {
  1623.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1624.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1625.       prt.Anchored = true
  1626.       prt.CFrame = cframe
  1627.       local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1628.       game:GetService("Debris"):AddItem(prt, 10)
  1629.       table.insert(Effects, {
  1630.         prt,
  1631.         "Cylinder",
  1632.         delay,
  1633.         x3,
  1634.         y3,
  1635.         z3,
  1636.         msh
  1637.       })
  1638.     end
  1639.   },
  1640.   Wave = {
  1641.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1642.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1643.       prt.Anchored = true
  1644.       prt.CFrame = cframe
  1645.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1646.       game:GetService("Debris"):AddItem(prt, 10)
  1647.       table.insert(Effects, {
  1648.         prt,
  1649.         "Cylinder",
  1650.         delay,
  1651.         x3 / 60,
  1652.         y3 / 60,
  1653.         z3 / 60,
  1654.         msh
  1655.       })
  1656.     end
  1657.   },
  1658.   Ring = {
  1659.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1660.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1661.       prt.Anchored = true
  1662.       prt.CFrame = cframe
  1663.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1664.       game:GetService("Debris"):AddItem(prt, 10)
  1665.       table.insert(Effects, {
  1666.         prt,
  1667.         "Cylinder",
  1668.         delay,
  1669.         x3,
  1670.         y3,
  1671.         z3,
  1672.         msh
  1673.       })
  1674.     end
  1675.   },
  1676.   Break = {
  1677.     Create = function(brickcolor, cframe, x1, y1, z1)
  1678.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1679.       prt.Anchored = true
  1680.       prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1681.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1682.       local num = math.random(10, 50) / 1000
  1683.       game:GetService("Debris"):AddItem(prt, 10)
  1684.       table.insert(Effects, {
  1685.         prt,
  1686.         "Shatter",
  1687.         num,
  1688.         prt.CFrame,
  1689.         math.random() - math.random(),
  1690.         0,
  1691.         math.random(50, 100) / 100
  1692.       })
  1693.     end
  1694.   },
  1695. Spiral = {
  1696.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1697.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1698.       prt.Anchored = true
  1699.       prt.CFrame = cframe
  1700.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1701.       game:GetService("Debris"):AddItem(prt, 10)
  1702.       table.insert(Effects, {
  1703.         prt,
  1704.         "Cylinder",
  1705.         delay,
  1706.         x3,
  1707.         y3,
  1708.         z3,
  1709.         msh
  1710.       })
  1711.     end
  1712.   },
  1713. Push = {
  1714.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1715.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1716.       prt.Anchored = true
  1717.       prt.CFrame = cframe
  1718.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1719.       game:GetService("Debris"):AddItem(prt, 10)
  1720.       table.insert(Effects, {
  1721.         prt,
  1722.         "Cylinder",
  1723.         delay,
  1724.         x3,
  1725.         y3,
  1726.         z3,
  1727.         msh
  1728.       })
  1729.     end
  1730.   }
  1731. }
  1732. -------------------------------------------------------
  1733. --End Effect Function--
  1734. -------------------------------------------------------
  1735.  
  1736. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1737.     local NSound = nil
  1738.     coroutine.resume(coroutine.create(function()
  1739.         NSound = Instance.new("Sound", PARENT)
  1740.         NSound.Volume = VOLUME
  1741.         NSound.Pitch = PITCH
  1742.         NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1743.         swait()
  1744.         NSound:play()
  1745.         game:GetService("Debris"):AddItem(NSound, 10)
  1746.     end))
  1747.     return NSound
  1748. end
  1749.  
  1750. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1751.   local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1752.   prt.Anchored = true
  1753.   prt.CFrame = cframe
  1754.   local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1755.   game:GetService("Debris"):AddItem(prt, 10)
  1756.   if Type == 1 or Type == nil then
  1757.     table.insert(Effects, {
  1758.       prt,
  1759.       "Block1",
  1760.       delay,
  1761.       x3,
  1762.       y3,
  1763.       z3,
  1764.       msh
  1765.     })
  1766.   elseif Type == 2 then
  1767.     table.insert(Effects, {
  1768.       prt,
  1769.       "Block2",
  1770.       delay,
  1771.       x3,
  1772.       y3,
  1773.       z3,
  1774.       msh
  1775.     })
  1776.   elseif Type == 3 then
  1777.     table.insert(Effects, {
  1778.       prt,
  1779.       "Block3",
  1780.       delay,
  1781.       x3,
  1782.       y3,
  1783.       z3,
  1784.       msh
  1785.     })
  1786.   end
  1787. end
  1788.  
  1789. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1790. local fp=Instance.new("Part")
  1791. fp.formFactor=formfactor
  1792. fp.Parent=parent
  1793. fp.Reflectance=reflectance
  1794. fp.Transparency=transparency
  1795. fp.CanCollide=false
  1796. fp.Locked=true
  1797. fp.BrickColor=brickcolor
  1798. fp.Name=name
  1799. fp.Size=size
  1800. fp.Position=tors.Position
  1801. RemoveOutlines(fp)
  1802. fp.Material="SmoothPlastic"
  1803. fp:BreakJoints()
  1804. return fp
  1805. end
  1806.  
  1807. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1808. local mesh=Instance.new(Mesh)
  1809. mesh.Parent=part
  1810. if Mesh=="SpecialMesh" then
  1811. mesh.MeshType=meshtype
  1812. if meshid~="nil" then
  1813. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1814. end
  1815. end
  1816. mesh.Offset=offset
  1817. mesh.Scale=scale
  1818. return mesh
  1819. end
  1820.  
  1821. function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  1822.     local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1823.     prt.Anchored = true
  1824.     prt.Material = "Neon"
  1825.     prt.CFrame = cframe
  1826. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1827.     game:GetService("Debris"):AddItem(prt, 5)
  1828.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1829.         local rtype = rottype
  1830.         for i = 0, 1, delay do
  1831.             swait()
  1832.             if rtype == 1 then
  1833.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1834.             elseif rtype == 2 then
  1835.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1836.             end
  1837.             prt.Transparency = i
  1838.             Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1839.         end
  1840.         Part.Parent = nil
  1841.     end), prt, msh)
  1842. end
  1843.  
  1844.  
  1845. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1846.     local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1847.     prt.Anchored = true
  1848.     prt.Material = "Neon"
  1849.     prt.CFrame = cframe
  1850.     prt.CFrame = prt.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1851. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1852.     game:GetService("Debris"):AddItem(prt, 5)
  1853.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1854.         for i = 0, 1, delay do
  1855.             swait()
  1856.             Part.CFrame = Part.CFrame * Euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1857.             Part.Transparency = i
  1858.             Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1859.         end
  1860.         Part.Parent = nil
  1861.     end), prt, msh)
  1862. end
  1863.  
  1864.  
  1865. function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  1866.     local prt = part(3, char, 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1867.     prt.Anchored = true
  1868.     prt.Material = "Neon"
  1869.     prt.CFrame = cframe
  1870. local msh = mesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, 0.01))
  1871.     game:GetService("Debris"):AddItem(prt, 5)
  1872.     coroutine.resume(coroutine.create(function(Part, Mesh)
  1873.         local rtype = rottype
  1874.         for i = 0, 1, delay do
  1875.             swait()
  1876.             if rtype == 1 then
  1877.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  1878.             elseif rtype == 2 then
  1879.                 prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  1880.             end
  1881.             prt.Transparency = i
  1882.             Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, 0)
  1883.         end
  1884.         Part.Parent = nil
  1885.     end), prt, msh)
  1886. end
  1887.  
  1888. function Eviscerate(dude)
  1889.     if dude.Name ~= char then
  1890.         local bgf = IT("BodyGyro", dude.Head)
  1891.         bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1892.         local val = IT("BoolValue", dude)
  1893.         val.Name = "IsHit"
  1894.         local ds = coroutine.wrap(function()
  1895.             dude:WaitForChild("Head"):BreakJoints()
  1896.             wait(0.5)
  1897.             target = nil
  1898.             coroutine.resume(coroutine.create(function()
  1899.                 for i, v in pairs(dude:GetChildren()) do
  1900.                     if v:IsA("Accessory") then
  1901.                         v:Destroy()
  1902.                     end
  1903.                     if v:IsA("Humanoid") then
  1904.                         v:Destroy()
  1905.                     end
  1906.                     if v:IsA("CharacterMesh") then
  1907.                         v:Destroy()
  1908.                     end
  1909.                     if v:IsA("Model") then
  1910.                         v:Destroy()
  1911.                     end
  1912.                     if v:IsA("Part") or v:IsA("MeshPart") then
  1913.                         for x, o in pairs(v:GetChildren()) do
  1914.                             if o:IsA("Decal") then
  1915.                                 o:Destroy()
  1916.                             end
  1917.                         end
  1918.                         coroutine.resume(coroutine.create(function()
  1919.                             v.Material = "Neon"
  1920.                             v.CanCollide = false
  1921.                             local PartEmmit1 = IT("ParticleEmitter", v)
  1922.                             PartEmmit1.LightEmission = 1
  1923.                             PartEmmit1.Texture = "rbxassetid://284205403"
  1924.                             PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1925.                             PartEmmit1.Rate = 150
  1926.                             PartEmmit1.Lifetime = NumberRange.new(1)
  1927.                             PartEmmit1.Size = NumberSequence.new({
  1928.                                 NumberSequenceKeypoint.new(0, 0.75, 0),
  1929.                                 NumberSequenceKeypoint.new(1, 0, 0)
  1930.                             })
  1931.                             PartEmmit1.Transparency = NumberSequence.new({
  1932.                                 NumberSequenceKeypoint.new(0, 0, 0),
  1933.                                 NumberSequenceKeypoint.new(1, 1, 0)
  1934.                             })
  1935.                             PartEmmit1.Speed = NumberRange.new(0, 0)
  1936.                             PartEmmit1.VelocitySpread = 30000
  1937.                             PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1938.                             PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1939.                             local BodPoss = IT("BodyPosition", v)
  1940.                             BodPoss.P = 3000
  1941.                             BodPoss.D = 1000
  1942.                             BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1943.                             BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1944.                             v.Color = maincolor.Color
  1945.                             coroutine.resume(coroutine.create(function()
  1946.                                 for i = 0, 49 do
  1947.                                     swait(1)
  1948.                                     v.Transparency = v.Transparency + 0.08
  1949.                                 end
  1950.                                 wait(0.5)
  1951.                                 PartEmmit1.Enabled = false
  1952.                                 wait(3)
  1953.                                 v:Destroy()
  1954.                                 dude:Destroy()
  1955.                             end))
  1956.                         end))
  1957.                     end
  1958.                 end
  1959.             end))
  1960.         end)
  1961.         ds()
  1962.     end
  1963. end
  1964.  
  1965. function OneShot(dude)
  1966.     OneShotAttack = true
  1967.     if dude.Name ~= char then
  1968.         local bgf = IT("BodyGyro", dude.Head)
  1969.         bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1970.         local val = IT("BoolValue", dude)
  1971.         val.Name = "IsHit"
  1972.         local ds = coroutine.wrap(function()
  1973.             dude:WaitForChild("Head"):BreakJoints()
  1974.             wait(0.5)
  1975.             target = nil
  1976.             coroutine.resume(coroutine.create(function()
  1977.                 for i, v in pairs(dude:GetChildren()) do
  1978.                     if v:IsA("Accessory") then
  1979.                         v:Destroy()
  1980.                     end
  1981.                     if v:IsA("Humanoid") then
  1982.                         v:Destroy()
  1983.                     end
  1984.                     if v:IsA("CharacterMesh") then
  1985.                         v:Destroy()
  1986.                     end
  1987.                     if v:IsA("Model") then
  1988.                         v:Destroy()
  1989.                     end
  1990.                     if v:IsA("Part") or v:IsA("MeshPart") then
  1991.                         for x, o in pairs(v:GetChildren()) do
  1992.                             if o:IsA("Decal") then
  1993.                                 o:Destroy()
  1994.                             end
  1995.                         end
  1996.                         coroutine.resume(coroutine.create(function()
  1997.                             v.Material = "Neon"
  1998.                             v.CanCollide = false
  1999.                             local PartEmmit1 = IT("ParticleEmitter", v)
  2000.                             PartEmmit1.LightEmission = 1
  2001.                             PartEmmit1.Texture = "rbxassetid://284205403"
  2002.                             PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2003.                             PartEmmit1.Rate = 150
  2004.                             PartEmmit1.Lifetime = NumberRange.new(1)
  2005.                             PartEmmit1.Size = NumberSequence.new({
  2006.                                 NumberSequenceKeypoint.new(0, 0.75, 0),
  2007.                                 NumberSequenceKeypoint.new(1, 0, 0)
  2008.                             })
  2009.                             PartEmmit1.Transparency = NumberSequence.new({
  2010.                                 NumberSequenceKeypoint.new(0, 0, 0),
  2011.                                 NumberSequenceKeypoint.new(1, 1, 0)
  2012.                             })
  2013.                             PartEmmit1.Speed = NumberRange.new(0, 0)
  2014.                             PartEmmit1.VelocitySpread = 30000
  2015.                             PartEmmit1.Rotation = NumberRange.new(-500, 500)
  2016.                             PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  2017.                             local BodPoss = IT("BodyPosition", v)
  2018.                             BodPoss.P = 3000
  2019.                             BodPoss.D = 1000
  2020.                             BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2021.                             BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  2022.                             v.Color = maincolor.Color
  2023.                             coroutine.resume(coroutine.create(function()
  2024.                                 for i = 0, 49 do
  2025.                                     swait(1)
  2026.                                     v.Transparency = v.Transparency + 0.08
  2027.                                 end
  2028.                                 wait(0.5)
  2029.                                 PartEmmit1.Enabled = false
  2030.                                 wait(3)
  2031.                                 v:Destroy()
  2032.                                 dude:Destroy()
  2033.                             end))
  2034.                         end))
  2035.                     end
  2036.                 end
  2037.             end))
  2038.         end)
  2039.         ds()
  2040.     end
  2041.     OneShotAttack = false
  2042. end
  2043.  
  2044. function FindNearestHead(Position, Distance, SinglePlayer)
  2045.     if SinglePlayer then
  2046.         return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  2047.     end
  2048.     local List = {}
  2049.     for i, v in pairs(workspace:GetChildren()) do
  2050.         if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  2051.             table.insert(List, v)
  2052.         end
  2053.     end
  2054.     return List
  2055. end
  2056. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  2057.     local type = type
  2058.     local rng = Instance.new("Part", char)
  2059.     rng.Anchored = true
  2060.     rng.BrickColor = color
  2061.     rng.CanCollide = false
  2062.     rng.FormFactor = 3
  2063.     rng.Name = "Ring"
  2064.     rng.Material = "Neon"
  2065.     rng.Size = Vector3.new(1, 1, 1)
  2066.     rng.Transparency = 0
  2067.     rng.TopSurface = 0
  2068.     rng.BottomSurface = 0
  2069.     rng.CFrame = pos
  2070.     rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2071.     local rngm = Instance.new("SpecialMesh", rng)
  2072.     rngm.MeshType = "Sphere"
  2073.     rngm.Scale = Vector3.new(x1, y1, z1)
  2074.     local scaler2 = 1
  2075.     local speeder = FastSpeed
  2076.     if type == "Add" then
  2077.         scaler2 = 1 * value
  2078.     elseif type == "Divide" then
  2079.         scaler2 = 1 / value
  2080.     end
  2081.     coroutine.resume(coroutine.create(function()
  2082.         for i = 0, 10 / bonuspeed, 0.1 do
  2083.             swait()
  2084.             if type == "Add" then
  2085.                 scaler2 = scaler2 - 0.01 * value / bonuspeed
  2086.             elseif type == "Divide" then
  2087.                 scaler2 = scaler2 - 0.01 / value * bonuspeed
  2088.             end
  2089.             speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2090.             rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2091.             rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2092.             rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2093.         end
  2094.         rng:Destroy()
  2095.     end))
  2096. end
  2097. -------------------------------------------------------
  2098. --End Important Functions--
  2099. -------------------------------------------------------
  2100. Head.face.Texture = "rbxassetid://404306534"
  2101.  
  2102. --[[
  2103.         Thanks for using Build-To-Lua by jarredbcv.
  2104. ]]--
  2105. New = function(Object, Parent, Name, Data)
  2106.     local Object = Instance.new(Object)
  2107.     for Index, Value in pairs(Data or {}) do
  2108.         Object[Index] = Value
  2109.     end
  2110.     Object.Parent = Parent
  2111.     Object.Name = Name
  2112.     return Object
  2113. end
  2114.  
  2115. Knife = New("Model",char,"Knife",{})
  2116. Handle = New("Part",Knife,"Handle",{BrickColor = BrickColor.new("Bright green"),Transparency = 1,Transparency = 1,Size = Vector3.new(1.65882361, 1.99058843, 1.65882361),CFrame = CFrame.new(82.2077255, 1.57540321, 117.400002, 0, 0, -1, 1, 0, 0, 0, -1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.294118, 0.592157, 0.294118),})
  2117. Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.200000003, 1.20000005),})
  2118. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.3119583, 1.46481109, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2119. Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.266666681, 0.0666666701),MeshType = Enum.MeshType.Wedge,})
  2120. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-0.110592127, 0, 0.895767212, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2121. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.2456055, 1.685987, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2122. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.466666669, 0.0666666701),})
  2123. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110583782, 0, 0.962120056, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2124. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.5110245, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2125. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  2126. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, 0.69670105, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2127. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.9533539, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  2128. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  2129. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, 0.254371643, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2130. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 1.32705891, 1.65882361),CFrame = CFrame.new(82.1745453, 1.6859839, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  2131. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 1.16666663, 0.0666666701),})
  2132. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110580683, 0, 0.0331802368, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2133. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.9108047, 1.57541645, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2134. Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.24000001, 0.0800000057, 0.24000001),})
  2135. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.32322311e-05, 0, -1.70307922, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2136. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 1.32705891, 1.65882361),CFrame = CFrame.new(82.1745529, 1.46481287, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2137. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 1.16666663, 0.0666666701),})
  2138. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-0.110590339, 0, 0.0331726074, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2139. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.3957291, 1.57539487, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  2140. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  2141. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-8.34465027e-06, 0, -0.18800354, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2142. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.0465393, 1.685987, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2143. Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.13333334, 0.0666666701),MeshType = Enum.MeshType.Wedge,})
  2144. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110583782, 0, 1.16118622, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2145. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.9550476, 1.57542157, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2146. Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.220000014, 0.0733333379, 0.220000014),})
  2147. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.83582306e-05, 0, -1.74732208, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2148. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.9707947, 1.57539833, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2149. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.200000003, 0.0666666701, 0.333333343),})
  2150. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-4.88758087e-06, 0, -0.763069153, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2151. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.9311295, 1.94298697, 117.400002, 0.406722844, -0.913551688, -3.65672458e-05, -0.913551688, -0.406722814, 2.31264985e-05, -3.59999867e-05, 2.39999936e-05, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2152. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.13333334, 0.0666666701, 0.200000003),})
  2153. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.406722844, -0.913551688, -3.59999867e-05, -0.913551688, -0.406722814, 2.39999936e-05, -3.65672458e-05, 2.31264985e-05, -1),C1 = CFrame.new(0.367583752, 0, -0.723403931, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2154. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.1571426, 1.57541645, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2155. Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.200000018, 0.0666666701),MeshType = Enum.MeshType.Wedge,})
  2156. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.32322311e-05, 0, 1.05058289, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2157. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.8380737, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  2158. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  2159. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, -0.630348206, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2160. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.3119583, 1.57540166, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2161. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.266666681, 0.0666666701),})
  2162. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-1.54972076e-06, 0, 0.895767212, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2163. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.424202, 1.57539666, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2164. Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.200000003, 1.4000001, 0.200000003),})
  2165. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-6.55651093e-06, 0, -1.21647644, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2166. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.0150146, 1.21046209, 117.400002, 0.406722844, -0.913551688, -3.65672458e-05, -0.913551688, -0.406722814, 2.31264985e-05, -3.59999867e-05, 2.39999936e-05, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2167. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.13333334, 0.0666666701, 0.200000003),})
  2168. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.406722844, -0.913551688, -3.59999867e-05, -0.913551688, -0.406722814, 2.39999936e-05, -3.65672458e-05, 2.31264985e-05, -1),C1 = CFrame.new(-0.36494112, 0, -0.807289124, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2169.  
  2170.  
  2171.  
  2172. for _,v in next, Knife:GetChildren() do
  2173.     if v:IsA'BasePart' then
  2174.     v.CanCollide = false
  2175. end
  2176. end
  2177.  
  2178. NewInstance = function(instance,parent,properties)
  2179.     local inst = Instance.new(instance,parent)
  2180.     if(properties)then
  2181.         for i,v in next, properties do
  2182.             pcall(function() inst[i] = v end)
  2183.         end
  2184.     end
  2185.     return inst;
  2186. end
  2187.  
  2188. local HW = NewInstance('Weld',char,{Part0=la,Part1=Handle,C0 = CFrame.new(0,-1,1.3)*CFrame.Angles(math.rad(0),0,math.rad(90))})
  2189. local Hitbox = New("Part",Knife,"Hitbox",{Size=Vector3.new(1,2,1),CanCollide=false,Transparency=1})
  2190. local HitboxWeld = New("Weld",Knife,"Weldie",{Part0=Hitbox,Part1=Handle,C0=CFrame.new(0,-1,0)})
  2191.  
  2192. Knife = New("Model",char,"Knife",{})
  2193. Handle = New("Part",Knife,"Handle",{BrickColor = BrickColor.new("Bright green"),Transparency = 1,Transparency = 1,Size = Vector3.new(1.65882361, 1.99058843, 1.65882361),CFrame = CFrame.new(82.2077255, 1.57540321, 117.400002, 0, 0, -1, 1, 0, 0, 0, -1, 0),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.294118, 0.592157, 0.294118),})
  2194. Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.600000024, 0.200000003, 1.20000005),})
  2195. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.3119583, 1.46481109, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2196. Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.266666681, 0.0666666701),MeshType = Enum.MeshType.Wedge,})
  2197. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-0.110592127, 0, 0.895767212, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2198. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.2456055, 1.685987, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2199. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.466666669, 0.0666666701),})
  2200. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110583782, 0, 0.962120056, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2201. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.5110245, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2202. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  2203. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, 0.69670105, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2204. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.9533539, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  2205. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  2206. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, 0.254371643, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2207. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 1.32705891, 1.65882361),CFrame = CFrame.new(82.1745453, 1.6859839, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  2208. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 1.16666663, 0.0666666701),})
  2209. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110580683, 0, 0.0331802368, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2210. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.9108047, 1.57541645, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2211. Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.24000001, 0.0800000057, 0.24000001),})
  2212. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.32322311e-05, 0, -1.70307922, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2213. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 1.32705891, 1.65882361),CFrame = CFrame.new(82.1745529, 1.46481287, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2214. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 1.16666663, 0.0666666701),})
  2215. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-0.110590339, 0, 0.0331726074, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2216. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.3957291, 1.57539487, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  2217. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  2218. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-8.34465027e-06, 0, -0.18800354, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2219. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.0465393, 1.685987, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2220. Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.13333334, 0.0666666701),MeshType = Enum.MeshType.Wedge,})
  2221. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0.110583782, 0, 1.16118622, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2222. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.9550476, 1.57542157, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2223. Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.220000014, 0.0733333379, 0.220000014),})
  2224. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.83582306e-05, 0, -1.74732208, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2225. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.9707947, 1.57539833, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2226. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.200000003, 0.0666666701, 0.333333343),})
  2227. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-4.88758087e-06, 0, -0.763069153, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2228. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.9311295, 1.94298697, 117.400002, 0.406722844, -0.913551688, -3.65672458e-05, -0.913551688, -0.406722814, 2.31264985e-05, -3.59999867e-05, 2.39999936e-05, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2229. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.13333334, 0.0666666701, 0.200000003),})
  2230. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.406722844, -0.913551688, -3.59999867e-05, -0.913551688, -0.406722814, 2.39999936e-05, -3.65672458e-05, 2.31264985e-05, -1),C1 = CFrame.new(0.367583752, 0, -0.723403931, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2231. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.1571426, 1.57541645, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2232. Mesh = New("SpecialMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.200000018, 0.0666666701),MeshType = Enum.MeshType.Wedge,})
  2233. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(1.32322311e-05, 0, 1.05058289, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2234. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Mid gray"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(82.8380737, 1.57540321, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  2235. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.333333343, 0.0666666701),})
  2236. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(0, 0, -0.630348206, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2237. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Really red"),Reflectance = 0.40000000596046,FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(81.3119583, 1.57540166, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  2238. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.0666666701, 0.266666681, 0.0666666701),})
  2239. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-1.54972076e-06, 0, 0.895767212, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2240. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.424202, 1.57539666, 117.400002, 4.80000017e-05, -1, -2.3040001e-09, 4.80000017e-05, 0, 1, -1, -4.80000017e-05, 4.80000017e-05),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2241. Mesh = New("CylinderMesh",Brick,"Mesh",{Scale = Vector3.new(0.200000003, 1.4000001, 0.200000003),})
  2242. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 4.80000017e-05, 4.80000017e-05, -1, -1, 0, -4.80000017e-05, -2.3040001e-09, 1, 4.80000017e-05),C1 = CFrame.new(-6.55651093e-06, 0, -1.21647644, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2243. Brick = New("Part",Knife,"Brick",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1.65882361, 0.663529456, 1.65882361),CFrame = CFrame.new(83.0150146, 1.21046209, 117.400002, 0.406722844, -0.913551688, -3.65672458e-05, -0.913551688, -0.406722814, 2.31264985e-05, -3.59999867e-05, 2.39999936e-05, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2244. Mesh = New("BlockMesh",Brick,"Mesh",{Scale = Vector3.new(0.13333334, 0.0666666701, 0.200000003),})
  2245. mot = New("Motor",Brick,"mot",{Part0 = Brick,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.406722844, -0.913551688, -3.59999867e-05, -0.913551688, -0.406722814, 2.39999936e-05, -3.65672458e-05, 2.31264985e-05, -1),C1 = CFrame.new(-0.36494112, 0, -0.807289124, 0, 1, 0, 0, 0, -1, -1, 0, 0),})
  2246.  
  2247. local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(0,-1,1.3)*CFrame.Angles(math.rad(0),0,math.rad(90))})
  2248. local Hitbox = New("Part",Knife,"Hitbox",{Size=Vector3.new(1,2,1),CanCollide=false,Transparency=1})
  2249. local HitboxWeld = New("Weld",Knife,"Weldie",{Part0=Hitbox,Part1=Handle,C0=CFrame.new(0,-1,0)})
  2250.  
  2251. New = function(Object, Parent, Name, Data)
  2252.     local Object = Instance.new(Object)
  2253.     for Index, Value in pairs(Data or {}) do
  2254.         Object[Index] = Value
  2255.     end
  2256.     Object.Parent = Parent
  2257.     Object.Name = Name
  2258.     return Object
  2259. end
  2260.    
  2261. Gaunty = New("Model",char,"Gaunty",{})
  2262. Handle = New("Part",Gaunty,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 1.26999998, 1),CFrame = CFrame.new(-5.67319345, 3.02064276, -77.6615906, 0.999894261, 0.010924357, 0.00963267777, -0.0110270018, 0.999882579, 0.0106679145, -0.00951499958, -0.0107729975, 0.999897003),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2263. Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  2264. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765579, 3.62595344, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2265. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161155701, 0.603512526, 0.00862884521, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2266. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 3.62595367, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2267. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471122265, 0.600126028, 0.00564575195, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2268. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.5176549, 3.62595415, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2269. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812294, 0.606899738, 0.0116195679, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2270. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765471, 3.62595463, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2271. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.448780537, 0.610177517, 0.014503479, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2272. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-6.13765526, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2273. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.459102631, -0.489744425, -0.00598144531, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2274. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.82765627, 2.53595448, -77.6579285, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2275. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149136543, -0.486357927, -0.00299835205, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2276. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.51765537, 2.53595448, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2277. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160831451, -0.48297143, -1.52587891e-05, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2278. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.21765566, 2.53595424, -77.6579361, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2279. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460799217, -0.479694128, 0.00286865234, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2280. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.66865063, 3.64553881, -77.6613617, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2281. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  2282. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(-0.00235080719, 0.624869347, 0.00694274902, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2283. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 3.73544312, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2284. Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  2285. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.000443935394, 0.714845657, 0.00408172607, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2286. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480446, 3.52554965, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2287. Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  2288. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00275993347, 0.504870415, 0.0118331909, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2289. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.07999992, 0.279999971, 1.06999993),CFrame = CFrame.new(-5.6686511, 2.55553746, -77.6613541, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2290. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  2291. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.00966835022, -0.465003252, -0.00468444824, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2292. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66490126, 2.64544272, -77.6652145, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2293. Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  2294. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0124630928, -0.375026226, -0.00754547119, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2295. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1.08999991, 0.0599999577, 1.07999992),CFrame = CFrame.new(-5.66480494, 2.43554902, -77.65522, 0.999894857, 0.0109243635, 0.00963268708, -0.0110270083, 0.999883175, 0.0106679257, -0.00951500144, -0.0107729994, 0.999897599),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2296. Mesh = New("BlockMesh",NeonPart,"Mesh",{Scale = Vector3.new(1.03999996, 1, 1.03999996),})
  2297. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),C1 = CFrame.new(0.0147790909, -0.585001707, 0.000205993652, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2298. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595463, -78.1079407, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2299. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.0018901825, 0.61005497, -0.439842224, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2300. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 3.62595558, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2301. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00464963913, 0.606931448, -0.149864197, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2302. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595606, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2303. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00278997421, 0.603431463, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2304. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 3.62595654, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2305. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(-0.00554895401, 0.600307703, 0.470123291, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2306. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595638, -77.1979294, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2307. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0064702034, -0.489563704, 0.458496094, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2308. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.13999987, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.66765547, 2.53595614, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2309. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00922966003, -0.486439705, 0.168525696, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2310. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265558, 2.53595638, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2311. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00736999512, -0.482939243, -0.161483765, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2312. NeonPart = New("Part",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.12999988, 0.109999999, 0.109999999),CFrame = CFrame.new(-5.67265606, 2.53595614, -78.1079254, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2313. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.0101289749, -0.479815245, -0.451454163, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2314. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765547, 3.62595677, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2315. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00554943085, 0.600307941, 0.47013092, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2316. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 3.62595701, -77.4879303, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2317. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(-0.00278949738, 0.603432655, 0.180152893, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2318. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -77.8179321, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2319. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.000350952148, 0.606987953, -0.149810791, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2320. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765451, 3.62595749, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2321. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00311040878, 0.61011219, -0.439788818, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2322. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595734, -78.107933, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2323. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0151295662, -0.479759216, -0.451416016, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2324. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.8179245, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2325. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.0123701096, -0.482883692, -0.161437988, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2326. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.5359571, -77.4879227, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2327. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00923013687, -0.48643899, 0.168533325, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2328. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.66765499, 2.53595686, -77.1979218, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2329. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0.00647068024, -0.489563227, 0.458503723, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2330. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765478, 3.62595701, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2331. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.471121788, 0.600129128, 0.00566101074, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2332. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765484, 3.62595725, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2333. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.161154747, 0.603516102, 0.008644104, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2334. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765442, 3.62595773, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2335. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.148812771, 0.606903076, 0.0116348267, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2336. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765375, 3.6259582, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2337. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.44878149, 0.610180855, 0.0145187378, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2338. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.21765327, 2.53595781, -77.6579132, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2339. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.460801125, -0.47969079, 0.00289154053, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2340. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.51765299, 2.53595757, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2341. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.160833359, -0.48296833, 0, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2342. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-5.82765341, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2343. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.149133682, -0.486355066, -0.00299072266, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2344. Part = New("Part",Gaunty,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.Metal,Shape = Enum.PartType.Cylinder,Size = Vector3.new(1.15999985, 0.0700000003, 0.0700000003),CFrame = CFrame.new(-6.13765383, 2.53595734, -77.6579208, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2345. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.4591012, -0.489741802, -0.00597381592, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2346. NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203499, 3.4509573, -77.7865677, 1.0000006, -6.18456397e-10, 3.7252903e-09, -6.18456397e-10, 1.0000006, 4.65661287e-09, 3.7252903e-09, 4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2347. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C1 = CFrame.new(0.00760126114, 0.431732178, -0.120269775, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2348. NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203451, 3.45095778, -77.5215683, -1.0000006, -6.18456397e-10, -9.12696123e-08, 6.18456397e-10, 1.0000006, -4.65661287e-09, 8.38190317e-08, 4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2349. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1),C1 = CFrame.new(0.00508022308, 0.428877592, 0.144706726, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2350. NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.25000003),CFrame = CFrame.new(-5.66203403, 2.81095791, -77.7865601, -1.0000006, 8.81700544e-08, 3.7252903e-09, -8.69331416e-08, -1.0000006, 4.65661287e-09, -3.7252903e-09, -4.65661287e-09, 1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2351. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, -8.74227766e-08, 0, 8.74227766e-08, -1, 0, 0, 0, 1),C1 = CFrame.new(0.0146594048, -0.208191872, -0.127082825, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2352. NeonPart = New("WedgePart",Gaunty,"NeonPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 0.640000045, 0.280000031),CFrame = CFrame.new(-5.66203356, 2.8209579, -77.5215607, 1.0000006, -8.69331416e-08, 8.38190317e-08, -8.81700544e-08, -1.0000006, -4.65661287e-09, 9.12696123e-08, -4.65661287e-09, -1.0000006),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  2353. mot = New("Motor",NeonPart,"mot",{Part0 = NeonPart,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, -8.74227766e-08, 8.74227766e-08, -8.74227766e-08, -1, -7.64274186e-15, 8.74227766e-08, 0, -1),C1 = CFrame.new(0.0120282173, -0.201047897, 0.137992859, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2354. Wedge = New("WedgePart",Gaunty,"Wedge",{BrickColor = BrickColor.new("Black"),Size = Vector3.new(1.1099999, 0.569999993, 1.13),CFrame = CFrame.new(-5.6508193, 4.06113148, -77.6620178, -4.74974513e-08, -6.18456397e-10, 1.0000006, -5.58793545e-09, 1.0000006, -1.5279511e-10, -1.0000006, 4.65661287e-09, -4.00468707e-08),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  2355. mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08),C1 = CFrame.new(0.0109024048, 1.04061508, 0.010887146, 0.999894261, -0.0110270018, -0.00951499958, 0.010924357, 0.999882579, -0.0107729975, 0.00963267777, 0.0106679145, 0.999897003),})
  2356.  
  2357.  
  2358. NewInstance = function(instance,parent,properties)
  2359.     local inst = Instance.new(instance,parent)
  2360.     if(properties)then
  2361.         for i,v in next, properties do
  2362.             pcall(function() inst[i] = v end)
  2363.         end
  2364.     end
  2365.     return inst;
  2366. end
  2367.  
  2368. local HW = NewInstance('Motor', char, {Part0 = ra, Part1 = Handle, C0 = CF(0,-.51,0)})
  2369.  
  2370. for _,v in next, Gaunty:children() do
  2371.     v.CanCollide = false
  2372. end
  2373.  
  2374.  
  2375. local all, last = {}, nil
  2376. ArmourParts = {}
  2377. NeonParts = {}
  2378. function scan(p)
  2379.   for _, v in pairs(p:GetChildren()) do
  2380.     if v:IsA("BasePart") then
  2381.       if v.BrickColor == BrickColor.new("Black") then
  2382.         table.insert(ArmourParts, v)
  2383.       end
  2384.       if v.BrickColor == BrickColor.new("Institutional white") then
  2385.         table.insert(NeonParts, v)
  2386.       end
  2387.       if last then
  2388.         local w = Instance.new("Weld")
  2389.         w.Part0, w.Part1 = last, v
  2390.         w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  2391.         w.Parent = last
  2392.       end
  2393.       table.insert(all, v)
  2394.       last = v
  2395.     end
  2396.     scan(v)
  2397.   end
  2398. end
  2399. scan(Gaunty)
  2400. local all2, last2 = {}, nil
  2401. ArmourParts2 = {}
  2402. NeonParts2 = {}
  2403. function scan2(p)
  2404.   for _, v in pairs(p:GetChildren()) do
  2405.     if v:IsA("BasePart") then
  2406.       if v.BrickColor == BrickColor.new("Black") then
  2407.         table.insert(ArmourParts2, v)
  2408.       end
  2409.       if v.BrickColor == BrickColor.new("Institutional white") then
  2410.         table.insert(NeonParts2, v)
  2411.       end
  2412.       if last2 then
  2413.         local w = Instance.new("Weld")
  2414.         w.Part0, w.Part1 = last2, v
  2415.         w.C0 = v.CFrame:toObjectSpace(last2.CFrame):inverse()
  2416.         w.Parent = last2
  2417.       end
  2418.       table.insert(all2, v)
  2419.       last2 = v
  2420.     end
  2421.     scan2(v)
  2422.   end
  2423. end
  2424. for i, v in pairs(ArmourParts) do
  2425.      v.BrickColor = BrickC("Black")
  2426.         end
  2427. for i, v in pairs(NeonParts) do
  2428.      v.BrickColor = BrickColor.random()
  2429.         end
  2430. for i, v in pairs(ArmourParts2) do
  2431.      v.BrickColor = BrickC("Black")
  2432.         end
  2433. for i, v in pairs(NeonParts2) do
  2434.      v.BrickColor = BrickColor.random()
  2435.         end
  2436. maincolor = BrickColor.random()
  2437. local l = game.Lighting
  2438.  
  2439. local sky = Instance.new("Sky",l)
  2440. l.TimeOfDay = "00:00:00"
  2441. l.Brightness = 1
  2442. l.Ambient = Color3.new(0.25, 0.5, 0.75)
  2443.  
  2444. jester = Instance.new("Part",Character)
  2445. jester.Size = Vector3.new(2,2,2)
  2446. jester.CFrame = Head.CFrame
  2447. jester.CanCollide = false
  2448. jesterWeld = Instance.new("Weld",jester)
  2449. jesterWeld.Part0 = jester
  2450. jesterWeld.Part1 = Head
  2451. jesterWeld.C0 = jester.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
  2452. mjester = Instance.new("SpecialMesh", jester)
  2453. mjester.MeshType = "FileMesh"
  2454. mjester.Scale = Vector3.new(1.2, 1.3, 1.2)
  2455. mjester.MeshId,mjester.TextureId = 'rbxassetid://1241662062','rbxassetid://1241662395'
  2456.  
  2457. shirt = Instance.new("Shirt", Character)
  2458. shirt.Name = "Shirt"
  2459. pants = Instance.new("Pants", Character)
  2460. pants.Name = "Pants"
  2461. Character.Shirt.ShirtTemplate = "rbxassetid://676428254"----lol
  2462. Character.Pants.PantsTemplate = "rbxassetid://676428351"
  2463.  
  2464. for i, v in pairs(game:GetService("Players").LocalPlayer.Character:children()) do
  2465.   if v:IsA("Accessory") then
  2466.     v:Destroy()
  2467.   end
  2468. end
  2469.  
  2470. local naeeym2 = Instance.new("BillboardGui",char)
  2471. naeeym2.AlwaysOnTop = true
  2472. naeeym2.Size = UDim2.new(5,35,2,35)
  2473. naeeym2.StudsOffset = Vector3.new(0,2,0)
  2474. naeeym2.Adornee = hed
  2475. naeeym2.Name = "Name"
  2476.  
  2477. local tecks2 = Instance.new("TextLabel",naeeym2)
  2478. tecks2.BackgroundTransparency = 1
  2479. tecks2.TextScaled = true
  2480. tecks2.BorderSizePixel = 0
  2481. tecks2.Font = "Code"
  2482. tecks2.TextSize = 30
  2483. tecks2.TextStrokeTransparency = 0
  2484. tecks2.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  2485. tecks2.Size = UDim2.new(1,0,0.5,0)
  2486. tecks2.Parent = naeeym2
  2487.  
  2488. function RecolorTextAndRename(name, col1, col2)
  2489.     tecks2.TextStrokeColor3 = col2
  2490.     tecks2.TextColor3 = col1
  2491.     tecks2.Text = name
  2492. end
  2493. RecolorTextAndRename("Xester's Revenge", Color3.new(0, 0, 0), BrickColor.random().Color)
  2494.  
  2495. coroutine.resume(coroutine.create(function()
  2496.     while true do
  2497.         swait(2)
  2498.         RecolorTextAndRename("Xester's Revenge", Color3.new(0, 0, 0), BrickColor.random().Color)
  2499.     end
  2500. end))
  2501.  
  2502. function chatfunc(text, color)
  2503.     local chat = coroutine.wrap(function()
  2504.         if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  2505.             Character:FindFirstChild("TalkingBillBoard"):destroy()
  2506.         end
  2507.         local naeeym3 = Instance.new("BillboardGui", Character)
  2508.         naeeym3.Size = UDim2.new(0, 100, 0, 40)
  2509.         naeeym3.StudsOffset = Vector3.new(0, 3, 0)
  2510.         naeeym3.Adornee = Character.Head
  2511.         naeeym3.Name = "TalkingBillBoard"
  2512.         local tecks3 = Instance.new("TextLabel", naeeym3)
  2513.         tecks3.BackgroundTransparency = 1
  2514.         tecks3.BorderSizePixel = 0
  2515.         tecks3.Text = ""
  2516.         tecks3.Font = "SciFi"
  2517.         tecks3.TextSize = 30
  2518.         tecks3.TextStrokeTransparency = 0
  2519.         tecks3.TextColor3 = color
  2520.         tecks3.TextStrokeColor3 = Color3.new(0, 0, 0)
  2521.         tecks3.Size = UDim2.new(1, 0, 0.5, 0)
  2522.         local tecks4 = Instance.new("TextLabel", naeeym3)
  2523.         tecks4.BackgroundTransparency = 1
  2524.         tecks4.BorderSizePixel = 0
  2525.         tecks4.Text = ""
  2526.         tecks4.Font = "SciFi"
  2527.         tecks4.TextSize = 30
  2528.         tecks4.TextStrokeTransparency = 0
  2529.         tecks4.TextColor3 = Color3.new(0, 0, 0)
  2530.         tecks4.TextStrokeColor3 = color
  2531.         tecks4.Size = UDim2.new(1, 0, 0.5, 0)
  2532.         coroutine.resume(coroutine.create(function()
  2533.             while true do
  2534.                 swait(1)
  2535.                 tecks3.TextColor3 = BrickColor.random().Color
  2536.                 tecks4.TextStrokeColor3 = BrickColor.random().Color
  2537.                 tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  2538.                 tecks4.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  2539.                 tecks3.Rotation = math.random(-5, 5)
  2540.                 tecks4.Rotation = math.random(-5, 5)
  2541.             end
  2542.         end))
  2543.         for i = 1, string.len(text) do
  2544.             CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
  2545.             tecks3.Text = string.sub(text, 1, i)
  2546.             tecks4.Text = string.sub(text, 1, i)
  2547.             swait(1)
  2548.         end
  2549.         wait(1)
  2550.         local randomrot = math.random(1, 2)
  2551.         if randomrot == 1 then
  2552.             for i = 1, 50 do
  2553.                 swait()
  2554.                 tecks3.Rotation = tecks2.Rotation - 0.75
  2555.                 tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2556.                 tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  2557.                 tecks4.Rotation = tecks2.Rotation + 0.75
  2558.                 tecks4.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2559.                 tecks4.TextTransparency = tecks2.TextTransparency + 0.04
  2560.             end
  2561.         elseif randomrot == 2 then
  2562.             for i = 1, 50 do
  2563.                 swait()
  2564.                 tecks3.Rotation = tecks2.Rotation + 0.75
  2565.                 tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2566.                 tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  2567.                 tecks4.Rotation = tecks2.Rotation - 0.75
  2568.                 tecks4.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2569.                 tecks4.TextTransparency = tecks2.TextTransparency + 0.04
  2570.             end
  2571.         end
  2572.         naeeym3:Destroy()
  2573.     end)
  2574.     chat()
  2575. end
  2576.  
  2577. -------------------------------------------------------
  2578. --Start Attacks N Stuff--
  2579. -------------------------------------------------------
  2580. local sine=0
  2581.  
  2582. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  2583.   local Hitboxpart = Instance.new("Part", EffectModel)
  2584.   RemoveOutlines(Hitboxpart)
  2585.   Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  2586.   Hitboxpart.CanCollide = false
  2587.   Hitboxpart.Transparency = 1
  2588.   Hitboxpart.Anchored = true
  2589.   Hitboxpart.CFrame = Pose
  2590.   game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  2591.   MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  2592. end
  2593. wait2 = false
  2594. -------------------------------------------------------
  2595. --Start Customization--
  2596. -------------------------------------------------------
  2597. local Player_Size = 1
  2598. if Player_Size ~= 1 then
  2599. root.Size = root.Size * Player_Size
  2600. tors.Size = tors.Size * Player_Size
  2601. hed.Size = hed.Size * Player_Size
  2602. ra.Size = ra.Size * Player_Size
  2603. la.Size = la.Size * Player_Size
  2604. rl.Size = rl.Size * Player_Size
  2605. ll.Size = ll.Size * Player_Size
  2606. ----------------------------------------------------------------------------------
  2607. rootj.Parent = root
  2608. neck.Parent = tors
  2609. RW.Parent = tors
  2610. LW.Parent = tors
  2611. RH.Parent = tors
  2612. LH.Parent = tors
  2613. ----------------------------------------------------------------------------------
  2614. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2615. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2616. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  2617. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  2618. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  2619. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  2620. ----------------------------------------------------------------------------------
  2621. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2622. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2623. RH.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))
  2624. LH.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))
  2625. --hat.Parent = Character
  2626. end
  2627. ----------------------------------------------------------------------------------
  2628. function Taunt()
  2629.     attack = true
  2630.     CreateSound("2113262031", tors, 30, 0.5)
  2631.     chatfunc("You won't die.", BrickColor.random().Color)
  2632. wait(2)
  2633.     attack = false
  2634.     hum.WalkSpeed = 16
  2635. end
  2636. -------------------------------------------------------
  2637. --End Attacks N Stuff--
  2638. -------------------------------------------------------
  2639. mouse.KeyDown:connect(function(key)
  2640.     if string.byte(key) == 48 then
  2641.         Swing = 2
  2642.         hum.WalkSpeed = 38.82
  2643.     end
  2644. end)
  2645. mouse.KeyUp:connect(function(key)
  2646.     if string.byte(key) == 48 then
  2647.         Swing = 1
  2648.         hum.WalkSpeed = 8
  2649.     end
  2650. end)
  2651.  
  2652. mouse.KeyDown:connect(function(key)
  2653.     if attack == false then
  2654.         if key == 't' then
  2655.             Taunt()
  2656.         elseif key == 'z' then
  2657.  
  2658.         elseif key == 'x' then
  2659.  
  2660.                 elseif key == 'c' then
  2661.  
  2662.                 elseif key == 'v' then
  2663.  
  2664.         end
  2665.     end
  2666.  end)
  2667.  
  2668.     attack = false
  2669. local HW = NewInstance('Weld',char,{Part0=tors, Part1=Eye, C0 = CF(0,4,0) * angles(0,0,0)})
  2670.     for i = 0, 3, 0.1 do
  2671.         swait()
  2672.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  2673.         neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2674.         RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  2675.         LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  2676.         RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  2677.         LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  2678.         HW.C0 = clerp(HW.C0, CF(0, 1.8, 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  2679.     end
  2680.     attack = false
  2681.     attack = false
  2682. local HW = NewInstance('Weld',char,{Part0=tors, Part1=Eye, C0 = CF(0,4,0) * angles(0,0,0)})
  2683.     for i = 0, 3, 0.1 do
  2684.         swait()
  2685.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.5 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  2686.         neck.C0 = clerp(neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2687.         RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  2688.         LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.6 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  2689.         RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  2690.         LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  2691.         HW.C0 = clerp(HW.C0, CF(0, 1.8, 0) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  2692.     end
  2693.     attack = false
  2694. --//=================================\\
  2695. --\\=================================//
  2696.  
  2697. function unanchor()
  2698.     for _, c in pairs(Character:GetChildren()) do
  2699.         if c:IsA("BasePart") and c ~= RootPart then
  2700.             c.Anchored = false
  2701.         end
  2702.     end
  2703.     for _, c in pairs(Weapon:GetChildren()) do
  2704.         if c:IsA("BasePart") and c ~= RootPart then
  2705.             c.Anchored = false
  2706.         end
  2707.     end
  2708.     if UNANCHOR == true then
  2709.         RootPart.Anchored = false
  2710.     else
  2711.         RootPart.Anchored = true
  2712.     end
  2713. end
  2714.  
  2715. --//=================================\\
  2716. --||    WRAP THE WHOLE SCRIPT UP
  2717. --\\=================================//
  2718.  
  2719. Humanoid.Changed:connect(function(Jump)
  2720.     if Jump == "Jump" and (Disable_Jump == true) then
  2721.         Humanoid.Jump = false
  2722.     end
  2723. end)
  2724.  
  2725. local IN = Instance.new
  2726. local IN = Instance.new
  2727. local IN = Instance.new
  2728. local IN = Instance.new
  2729. local IN = Instance.new
  2730. local IN = Instance.new
  2731. local IN = Instance.new
  2732. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  2733.     local Sound = IN("Sound")
  2734.     Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  2735.     Sound.Pitch = pitch or 1
  2736.     Sound.Volume = volume or 1
  2737.     Sound.Looped = looped or false
  2738.     if(autoPlay)then
  2739.         coroutine.wrap(function()
  2740.             repeat wait() until Sound.IsLoaded
  2741.             Sound.Playing = autoPlay or false
  2742.         end)()
  2743.     end
  2744.     if(not looped and effect)then
  2745.         Sound.Stopped:connect(function()
  2746.             Sound.Volume = 0
  2747.             Sound:destroy()
  2748.         end)
  2749.     elseif(effect)then
  2750.         warn("Sound can't be looped and a sound effect!")
  2751.     end
  2752.     Sound.Parent =parent or Torso
  2753.     return Sound
  2754. end
  2755. local MusicID = 991980152
  2756. local Music = Sound(char,MusicID,1,3,true,false,true)
  2757. Music.Name = 'Music'
  2758. while true do
  2759.     Swait()
  2760.     script.Parent = WEAPONGUI
  2761.     ANIMATE.Parent = nil
  2762.     for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2763.         v:Stop();
  2764.     end
  2765.     SINE = SINE + CHANGE
  2766.   if(not Music or not Music.Parent)then
  2767.         local tPos = 0
  2768.         pcall(function()tPos = Music.TimePosition; Music:destroy() end)
  2769.         Music = Sound(char,MusicID,1,10,true,false,true)
  2770.         Music.Name = 'Music'
  2771.         Music.TimePosition = tPos
  2772.     end
  2773.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2774.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2775.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2776.     local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2777.     if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2778.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.05 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2779.         Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2780.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  2781.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  2782.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2783.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2784.         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)
  2785.         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.7 / Animation_Speed)
  2786.         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.7 / Animation_Speed)
  2787.     end
  2788.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2789.         ANIM = "Jump"
  2790.         if ATTACK == false then
  2791.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2792.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2793.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2794.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2795.             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)
  2796.             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)
  2797.         end
  2798.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2799.         ANIM = "Fall"
  2800.         if ATTACK == false then
  2801.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2802.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2803.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2804.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2805.             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)
  2806.             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)
  2807.         end
  2808.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2809.         ANIM = "Idle"
  2810.         if ATTACK == false then
  2811.             if MODE == "GoodCop" then
  2812.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.05 * COS(SINE / 12), 0, 0 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2813.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2814.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0.3) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2815.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2816.                 RightHip.C0 = Clerp(RightHip.C0, CF(1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2817.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2818.             elseif MODE == "BadCop" then
  2819.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2820.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  2821.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2822.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9, 0.25 + 0.05 * SIN(SINE / 12), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2823.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2824.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2825.             end
  2826.         end
  2827.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2828.         ANIM = "Walk"
  2829.         if ATTACK == false then
  2830.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2831.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2832.             if MODE == "GoodCop" then
  2833.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), 0.3) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2834.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2835.             elseif MODE == "BadCop" then
  2836.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.9, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2837.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.9, 0.25 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2838.             end
  2839.             RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 2 / Animation_Speed)
  2840.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5)), 2 / Animation_Speed)
  2841.         end
  2842.     end
  2843.     unanchor()
  2844.     Humanoid.MaxHealth = 3e3
  2845.     Humanoid.Health = 3e3
  2846.     if Rooted == false then
  2847.         Disable_Jump = false
  2848.         Humanoid.WalkSpeed = Speed
  2849.     elseif Rooted == true then
  2850.         Disable_Jump = true
  2851.         Humanoid.WalkSpeed = 0
  2852.     end
  2853. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement