SwordLibrary

Run Settings
LanguageLua
Language Version
Run Command
--Converted with MakeSureDudeDies2's model to script plugin, ttyyuu12345 made original function sandbox(var,func) local env = getfenv(func) local newenv = setmetatable({},{ __index = function(self,k) if k=="script" then return var else return env[k] end end, }) setfenv(func,newenv) return func end cors = {} mas = Instance.new("Model",game:GetService("Lighting")) MainModel = Instance.new("Model") SheatheModel = Instance.new("Model") HandGuardModel = Instance.new("Model") HandleModel = Instance.new("Model") SheatheBlock = Instance.new("Part") BladeNegative1 = Instance.new("Part") BladeNegative2 = Instance.new("Part") BladeNegative3 = Instance.new("Part") BladeNegative4 = Instance.new("Part") HandleGuardPart1 = Instance.new("Part") HandleGuardWedge1 = Instance.new("WedgePart") HandleGuardWedge2 = Instance.new("WedgePart") Negative1 = Instance.new("WedgePart") Negative2 = Instance.new("WedgePart") Negative3 = Instance.new("WedgePart") Negative4 = Instance.new("Part") Negative5 = Instance.new("WedgePart") Negative6 = Instance.new("WedgePart") Negative7 = Instance.new("WedgePart") Negative8 = Instance.new("WedgePart") Negative9 = Instance.new("WedgePart") SwordModel = Instance.new("Model") BladeModel = Instance.new("Model") BladeMiddle = Instance.new("Part") BladeWedge1 = Instance.new("WedgePart") BladeWedge2 = Instance.new("WedgePart") BladeWedge3 = Instance.new("WedgePart") BladeWedge4 = Instance.new("WedgePart") HandleInner = Instance.new("Part") HandleOuter = Instance.new("Part") HandleEnd = Instance.new("Part") MainModel.Name = "Sword Group" MainModel.Parent = mas -- Sheathe SheatheModel.Name = "Sheathe" SheatheModel.Parent = MainModel SheatheBlock.Name = "SheatheBlock" SheatheBlock.Parent = SheatheModel SheatheBlock.CFrame = CFrame.new(-18.625, 2.08690119, -16.0589638, 1, 0, 0, 0, 0.939692616, -0.342020124, 0, 0.342020124, 0.939692616) SheatheBlock.Orientation = Vector3.new(20, 0, 0) SheatheBlock.Position = Vector3.new(-18.625, 2.0869011878967285, -16.058963775634766) SheatheBlock.Rotation = Vector3.new(20, 0, 0) SheatheBlock.Size = Vector3.new(0.1850934773683548, 0.3084893822669983, 2.4679152965545654) SheatheBlock.Anchored = true SheatheBlock.BottomSurface = Enum.SurfaceType.Smooth SheatheBlock.TopSurface = Enum.SurfaceType.Smooth Negative1.Name = "Negative" Negative1.Parent = SheatheModel Negative1.CFrame = CFrame.new(-18.6549301, 2.01683068, -16.0839329, 0, 0, 1, -0.342020005, -0.939693093, 0, 0.939692676, -0.342020184, 0) Negative1.Orientation = Vector3.new(0, 90, -160) Negative1.Position = Vector3.new(-18.654930114746094, 2.0168306827545166, -16.083932876586914) Negative1.Rotation = Vector3.new(-160, 90, 0) Negative1.Size = Vector3.new(2.498762369155884, 0.08275102078914642, 0.06169722229242325) Negative1.Anchored = true Negative1.BottomSurface = Enum.SurfaceType.Smooth Negative2.Name = "Negative" Negative2.Parent = SheatheModel Negative2.CFrame = CFrame.new(-18.5932407, 2.15513372, -16.0335922, 0, 0, -1, -0.342019945, 0.939692855, 0, 0.939692676, 0.342020005, 0) Negative2.Orientation = Vector3.new(0, -90, -20) Negative2.Position = Vector3.new(-18.59324073791504, 2.1551337242126465, -16.033592224121094) Negative2.Rotation = Vector3.new(20, -90, 0) Negative2.Size = Vector3.new(2.498762369155884, 0.08275014162063599, 0.06169722229242325) Negative2.Anchored = true Negative2.BottomSurface = Enum.SurfaceType.Smooth Negative3.Name = "Negative" Negative3.Parent = SheatheModel Negative3.CFrame = CFrame.new(-18.5932407, 2.01683116, -16.0839329, 0, 0, -1, 0.342020005, -0.939693093, 0, -0.939692676, -0.342020184, 0) Negative3.Orientation = Vector3.new(0, -90, 160) Negative3.Position = Vector3.new(-18.59324073791504, 2.016831159591675, -16.083932876586914) Negative3.Rotation = Vector3.new(-160, -90, 0) Negative3.Size = Vector3.new(2.498762369155884, 0.08275022357702255, 0.06169722229242325) Negative3.Anchored = true Negative3.BottomSurface = Enum.SurfaceType.Smooth Negative4.Name = "Negative" Negative4.Parent = SheatheModel Negative4.CFrame = CFrame.new(-18.6221523, 2.08369875, -16.0529785, 1, 0, 0, 0, 0.939692616, -0.342020124, 0, 0.342020124, 0.939692616) Negative4.Orientation = Vector3.new(20, 0, 0) Negative4.Position = Vector3.new(-18.62215232849121, 2.0836987495422363, -16.052978515625) Negative4.Rotation = Vector3.new(20, 0, 0) Negative4.Size = Vector3.new(0.12145049124956131, 0.06719329208135605, 2.491600513458252) Negative4.Anchored = true Negative4.BottomSurface = Enum.SurfaceType.Smooth Negative4.TopSurface = Enum.SurfaceType.Smooth Negative5.Name = "Negative" Negative5.Parent = SheatheModel Negative5.CFrame = CFrame.new(-18.5778103, 1.9942081, -16.0915546, 0, 0, 1, 0.342019945, 0.939692855, 0, -0.939692676, 0.342020005, 0) Negative5.Orientation = Vector3.new(0, 90, 20) Negative5.Position = Vector3.new(-18.577810287475586, 1.9942080974578857, -16.091554641723633) Negative5.Rotation = Vector3.new(20, 90, 0) Negative5.Size = Vector3.new(2.4987640380859375, 0.1135992780327797, 0.09254676848649979) Negative5.Anchored = true Negative5.BottomSurface = Enum.SurfaceType.Smooth Negative6.Name = "Negative" Negative6.Parent = SheatheModel Negative6.CFrame = CFrame.new(-18.6717663, 1.99420619, -16.0915565, 0, 0, -1, -0.342019945, 0.939692855, 0, 0.939692676, 0.342020005, 0) Negative6.Orientation = Vector3.new(0, -90, -20) Negative6.Position = Vector3.new(-18.67176628112793, 1.994206190109253, -16.091556549072266) Negative6.Rotation = Vector3.new(20, -90, 0) Negative6.Size = Vector3.new(2.498762369155884, 0.11359935253858566, 0.09254583716392517) Negative6.Anchored = true Negative6.BottomSurface = Enum.SurfaceType.Smooth Negative7.Name = "Negative" Negative7.Parent = SheatheModel Negative7.CFrame = CFrame.new(-18.6717663, 2.1789732, -16.0243073, 0, 0, -1, 0.342020124, -0.939692616, 0, -0.939692616, -0.342020124, 0) Negative7.Orientation = Vector3.new(0, -90, 160) Negative7.Position = Vector3.new(-18.67176628112793, 2.1789731979370117, -16.024307250976562) Negative7.Rotation = Vector3.new(-160, -90, 0) Negative7.Size = Vector3.new(2.498762369155884, 0.11359960585832596, 0.09254676848649979) Negative7.Anchored = true Negative7.BottomSurface = Enum.SurfaceType.Smooth Negative8.Name = "Negative" Negative8.Parent = SheatheModel Negative8.CFrame = CFrame.new(-18.5778103, 2.1789732, -16.0243092, 0, 0, 1, -0.342020124, -0.939692616, 0, 0.939692616, -0.342020124, 0) Negative8.Orientation = Vector3.new(0, 90, -160) Negative8.Position = Vector3.new(-18.577810287475586, 2.1789731979370117, -16.024309158325195) Negative8.Rotation = Vector3.new(-160, 90, 0) Negative8.Size = Vector3.new(2.4987635612487793, 0.11359985172748566, 0.09254676848649979) Negative8.Anchored = true Negative8.BottomSurface = Enum.SurfaceType.Smooth Negative9.Name = "Negative" Negative9.Parent = SheatheModel Negative9.CFrame = CFrame.new(-18.6549301, 2.15513396, -16.0335922, 0, 0, 1, 0.342019945, 0.939692855, 0, -0.939692676, 0.342020005, 0) Negative9.Orientation = Vector3.new(0, 90, 20) Negative9.Position = Vector3.new(-18.654930114746094, 2.1551339626312256, -16.033592224121094) Negative9.Rotation = Vector3.new(20, 90, 0) Negative9.Size = Vector3.new(2.4987640380859375, 0.08275017887353897, 0.061697378754615784) Negative9.Anchored = true Negative9.BottomSurface = Enum.SurfaceType.Smooth -- Sword Model Definition SwordModel.Name = "Sword" SwordModel.Parent = MainModel -- Blade BladeModel.Name = "Blade" BladeModel.Parent = SwordModel BladeMiddle.Name = "BladePart" BladeMiddle.Parent = BladeModel BladeMiddle.CFrame = CFrame.new(-18.6385593, 1.95944548, -15.7179403, 0.997564077, 0, 0.0697564483, 0.0238581169, 0.939692199, -0.341186881, -0.0655496418, 0.342019975, 0.937403202) BladeMiddle.Orientation = Vector3.new(19.950000762939453, 4.260000228881836, 1.4500000476837158) BladeMiddle.Position = Vector3.new(-18.638559341430664, 1.9594454765319824, -15.717940330505371) BladeMiddle.Rotation = Vector3.new(20, 4, 0) BladeMiddle.Size = Vector3.new(0.12329208850860596, 0.06719329208135605, 3.597515344619751) BladeMiddle.Anchored = true BladeMiddle.BottomSurface = Enum.SurfaceType.Smooth BladeMiddle.TopSurface = Enum.SurfaceType.Smooth BladeWedge1.Name = "BladePart" BladeWedge1.Parent = BladeModel BladeWedge1.CFrame = CFrame.new(-18.6692772, 1.88990283, -15.7415419, 0.0697564483, 1.24734285e-08, 0.997564077, -0.341186702, -0.939692855, 0.0238581169, 0.937403262, -0.342020005, -0.0655496418) BladeWedge1.Orientation = Vector3.new(-1.3700000047683716, 93.76000213623047, -160.0399932861328) BladeWedge1.Position = Vector3.new(-18.66927719116211, 1.8899028301239014, -15.741541862487793) BladeWedge1.Rotation = Vector3.new(-160, 86, 0) BladeWedge1.Size = Vector3.new(3.598762273788452, 0.08275102078914642, 0.06169722229242325) BladeWedge1.Anchored = true BladeWedge1.BottomSurface = Enum.SurfaceType.Smooth BladeWedge2.Name = "BladePart" BladeWedge2.Parent = BladeModel BladeWedge2.CFrame = CFrame.new(-18.6077385, 1.89137435, -15.7455864, -0.0697564483, 1.24734285e-08, -0.997564077, 0.341186702, -0.939692855, -0.0238581169, -0.937403262, -0.342020005, 0.0655496418) BladeWedge2.Orientation = Vector3.new(1.3700000047683716, -86.23999786376953, 160.0399932861328) BladeWedge2.Position = Vector3.new(-18.607738494873047, 1.8913743495941162, -15.745586395263672) BladeWedge2.Rotation = Vector3.new(20, -86, -180) BladeWedge2.Size = Vector3.new(3.598762273788452, 0.08275022357702255, 0.06169722229242325) BladeWedge2.Anchored = true BladeWedge2.BottomSurface = Enum.SurfaceType.Smooth BladeWedge3.Name = "BladePart" BladeWedge3.Parent = BladeModel BladeWedge3.CFrame = CFrame.new(-18.6077385, 2.02967644, -15.6952457, 0.0697564408, -1.66312386e-08, -0.997564077, -0.341186643, 0.939692378, -0.0238581169, 0.937403202, 0.342019796, 0.0655496418) BladeWedge3.Orientation = Vector3.new(1.3700000047683716, -86.23999786376953, -19.959999084472656) BladeWedge3.Position = Vector3.new(-18.607738494873047, 2.0296764373779297, -15.695245742797852) BladeWedge3.Rotation = Vector3.new(20, -86, 0) BladeWedge3.Size = Vector3.new(3.598762273788452, 0.08275014162063599, 0.06169722229242325) BladeWedge3.Anchored = true BladeWedge3.BottomSurface = Enum.SurfaceType.Smooth BladeWedge4.Name = "BladePart" BladeWedge4.Parent = BladeModel BladeWedge4.CFrame = CFrame.new(-18.6692772, 2.02820635, -15.6912012, -0.0697564408, -1.66312386e-08, 0.997564077, 0.341186643, 0.939692378, 0.0238581169, -0.937403202, 0.342019796, -0.0655496418) BladeWedge4.Orientation = Vector3.new(-1.3700000047683716, 93.76000213623047, 19.959999084472656) BladeWedge4.Position = Vector3.new(-18.66927719116211, 2.0282063484191895, -15.691201210021973) BladeWedge4.Rotation = Vector3.new(-160, 86, 180) BladeWedge4.Size = Vector3.new(3.598763942718506, 0.08275017887353897, 0.061697378754615784) BladeWedge4.Anchored = true BladeWedge4.BottomSurface = Enum.SurfaceType.Smooth BladeNegative1.Name = "NegatePart" BladeNegative1.Parent = BladeModel BladeNegative1.CFrame = CFrame.new(-18.5989895, 1.51066208, -14.139926, 0.8633973, 0.501613617, 0.0541204847, -0.156780586, 0.368711203, -0.916227043, -0.479546815, 0.782582819, 0.396987528) BladeNegative1.Orientation = Vector3.new(66.37999725341797, 7.760000228881836, -23.040000915527344) BladeNegative1.Position = Vector3.new(-18.598989486694336, 1.5106620788574219, -14.139925956726074) BladeNegative1.Rotation = Vector3.new(66.56999969482422, 3.0999999046325684, -30.15999984741211) BladeNegative1.Size = Vector3.new(0.12329208850860596, 0.33438482880592346, 0.4938032031059265) BladeNegative1.Anchored = true BladeNegative1.BottomSurface = Enum.SurfaceType.Smooth BladeNegative1.TopSurface = Enum.SurfaceType.Smooth BladeNegative2.Name = "NegatePart" BladeNegative2.Parent = BladeModel BladeNegative2.CFrame = CFrame.new(-18.4519997, 1.51100039, -14.1399994, 0.910247505, -0.411936224, 0.0419366769, 0.199199647, 0.346862435, -0.91651845, 0.36300081, 0.842612088, 0.397788137) BladeNegative2.Orientation = Vector3.new(66.41999816894531, 6.019999980926514, 29.8700008392334) BladeNegative2.Position = Vector3.new(-18.45199966430664, 1.511000394821167, -14.139999389648438) BladeNegative2.Rotation = Vector3.new(66.54000091552734, 2.4000000953674316, 24.350000381469727) BladeNegative2.Size = Vector3.new(0.12329208850860596, 0.33438482880592346, 0.4938032031059265) BladeNegative2.Anchored = true BladeNegative2.BottomSurface = Enum.SurfaceType.Smooth BladeNegative2.TopSurface = Enum.SurfaceType.Smooth BladeNegative3.Name = "NegatePart" BladeNegative3.Parent = BladeModel BladeNegative3.CFrame = CFrame.new(-18.6004562, 1.29269993, -14.2452145, -0.8633973, 0.501613617, 0.0541204847, -0.428347647, -0.785483718, 0.446692407, 0.266577631, 0.362490386, 0.893049419) BladeNegative3.Orientation = Vector3.new(-26.530000686645508, 3.4700000286102295, -151.39999389648438) BladeNegative3.Position = Vector3.new(-18.60045623779297, 1.292699933052063, -14.245214462280273) BladeNegative3.Rotation = Vector3.new(-26.56999969482422, 3.0999999046325684, -149.83999633789062) BladeNegative3.Size = Vector3.new(0.12329208850860596, 0.33438482880592346, 0.4938032031059265) BladeNegative3.Anchored = true BladeNegative3.BottomSurface = Enum.SurfaceType.Smooth BladeNegative3.TopSurface = Enum.SurfaceType.Smooth BladeNegative4.Name = "NegatePart" BladeNegative4.Parent = BladeModel BladeNegative4.CFrame = CFrame.new(-18.4534702, 1.29249048, -14.2454882, -0.910247505, -0.411936224, 0.0419366769, 0.385928243, -0.807332635, 0.446401, -0.150031775, 0.422519624, 0.893850029) BladeNegative4.Orientation = Vector3.new(-26.510000228881836, 2.690000057220459, 154.4499969482422) BladeNegative4.Position = Vector3.new(-18.45347023010254, 1.2924904823303223, -14.245488166809082) BladeNegative4.Rotation = Vector3.new(-26.540000915527344, 2.4000000953674316, 155.64999389648438) BladeNegative4.Size = Vector3.new(0.12329208850860596, 0.33438482880592346, 0.4938032031059265) BladeNegative4.Anchored = true BladeNegative4.BottomSurface = Enum.SurfaceType.Smooth BladeNegative4.TopSurface = Enum.SurfaceType.Smooth -- Handle Guard HandGuardModel.Name = "HandGuard" HandGuardModel.Parent = SwordModel HandleGuardPart1.Name = "HandGuardPart" HandleGuardPart1.Parent = HandGuardModel HandleGuardPart1.CFrame = CFrame.new(-18.7685814, 2.5927844, -17.4593124, 0.997564018, -5.58793793e-08, 0.0697564408, 0.0238580797, 0.939692676, -0.341186941, -0.0655497164, 0.342020124, 0.9374035) HandleGuardPart1.Orientation = Vector3.new(19.950000762939453, 4.260000228881836, 1.4500000476837158) HandleGuardPart1.Position = Vector3.new(-18.76858139038086, 2.5927844047546387, -17.459312438964844) HandleGuardPart1.Rotation = Vector3.new(20, 4, 0) HandleGuardPart1.Size = Vector3.new(0.12329208850860596, 0.46719324588775635, 0.1323346346616745) HandleGuardPart1.Anchored = true HandleGuardPart1.BottomSurface = Enum.SurfaceType.Smooth HandleGuardPart1.TopSurface = Enum.SurfaceType.Smooth HandleGuardWedge1.Name = "HandGuardWedge" HandleGuardWedge1.Parent = HandGuardModel HandleGuardWedge1.CFrame = CFrame.new(-18.7684441, 2.33011055, -17.5551014, 0.997563839, 5.33312061e-08, -0.0697596818, 0.023859283, -0.939694166, 0.341187239, -0.0655526668, -0.342020631, -0.937404156) HandleGuardWedge1.Orientation = Vector3.new(-19.950000762939453, -175.74000549316406, 178.5500030517578) HandleGuardWedge1.Position = Vector3.new(-18.768444061279297, 2.330110549926758, -17.55510139465332) HandleGuardWedge1.Rotation = Vector3.new(-160, -4, 0) HandleGuardWedge1.Size = Vector3.new(0.12300000339746475, 0.09200001507997513, 0.13199999928474426) HandleGuardWedge1.BottomSurface = Enum.SurfaceType.Smooth HandleGuardWedge1.Anchored = true HandleGuardWedge2.Name = "HandGuardWedge" HandleGuardWedge2.Parent = HandGuardModel HandleGuardWedge2.CFrame = CFrame.new(-18.7687149, 2.85545874, -17.3635197, -0.997563839, -5.56773898e-08, -0.0697596818, -0.0238592699, 0.939693093, 0.34118706, 0.0655526519, 0.342020303, -0.937403798) HandleGuardWedge2.Orientation = Vector3.new(-19.950000762939453, -175.74000549316406, -1.4500000476837158) HandleGuardWedge2.Position = Vector3.new(-18.768714904785156, 2.8554587364196777, -17.3635196685791) HandleGuardWedge2.Rotation = Vector3.new(-160, -4, 180) HandleGuardWedge2.Size = Vector3.new(0.12300000339746475, 0.09200002253055573, 0.13199999928474426) HandleGuardWedge2.BottomSurface = Enum.SurfaceType.Smooth HandleGuardWedge2.Anchored = true -- Handle HandleModel.Name = "Handle" HandleModel.Parent = SwordModel HandleInner.Name = "HandleInner" HandleInner.Parent = HandleModel HandleInner.CFrame = CFrame.new(-18.6230011, 2.70288062, -17.7456589, 0, 0, -1, -0.342020154, 0.939692616, 2.98023224e-08, 0.939692616, 0.342020154, 0) HandleInner.Orientation = Vector3.new(0, -90, -20) HandleInner.Position = Vector3.new(-18.623001098632812, 2.702880620956421, -17.745656967163086) HandleInner.Rotation = Vector3.new(20, -90, 0) HandleInner.Color = Color3.new(1, 1, 1) HandleInner.Size = Vector3.new(0.49799999594688416, 0.21700000762939453, 0.13199999928474426) HandleInner.BottomSurface = Enum.SurfaceType.Smooth HandleInner.BrickColor = BrickColor.new("Institutional white") HandleInner.Material = Enum.Material.Metal HandleInner.TopSurface = Enum.SurfaceType.Smooth HandleInner.brickColor = BrickColor.new("Institutional white") HandleInner.Shape = Enum.PartType.Cylinder HandleInner.Anchored = true HandleOuter.Name = "HandelOuter" HandleOuter.Parent = HandleModel HandleOuter.CFrame = CFrame.new(-18.6229992, 2.70299983, -17.7460003, 0, 0, -1, -0.342020154, 0.939692616, 2.98023224e-08, 0.939692616, 0.342020154, 0) HandleOuter.Orientation = Vector3.new(0, -90, -20) HandleOuter.Position = Vector3.new(-18.62299919128418, 2.7029998302459717, -17.746000289916992) HandleOuter.Rotation = Vector3.new(20, -90, 0) HandleOuter.Color = Color3.new(0, 0, 0) HandleOuter.Size = Vector3.new(0.39799997210502625, 0.2370000183582306, 0.15200001001358032) HandleOuter.BottomSurface = Enum.SurfaceType.Smooth HandleOuter.BrickColor = BrickColor.new("Really black") HandleOuter.TopSurface = Enum.SurfaceType.Smooth HandleOuter.brickColor = BrickColor.new("Really black") HandleOuter.Shape = Enum.PartType.Cylinder HandleOuter.Anchored = true HandleEnd.Name = "End" HandleEnd.Parent = HandleModel HandleEnd.CFrame = CFrame.new(-18.6229992, 2.80817199, -18.034956, 0, 0, -1, -0.342020154, 0.939692616, 2.98023224e-08, 0.939692616, 0.342020154, 0) HandleEnd.Orientation = Vector3.new(0, -90, -20) HandleEnd.Position = Vector3.new(-18.62299919128418, 2.8081719875335693, -18.034955978393555) HandleEnd.Rotation = Vector3.new(20, -90, 0) HandleEnd.Color = Color3.new(1, 1, 1) HandleEnd.Size = Vector3.new(0.1850000023841858, 0.1850000023841858, 0.1850000023841858) HandleEnd.BottomSurface = Enum.SurfaceType.Smooth HandleEnd.BrickColor = BrickColor.new("Institutional white") HandleEnd.Material = Enum.Material.Metal HandleEnd.TopSurface = Enum.SurfaceType.Smooth HandleEnd.brickColor = BrickColor.new("Institutional white") HandleEnd.Shape = Enum.PartType.Ball HandleEnd.Anchored = true for i,v in pairs(mas:GetChildren()) do v.Parent = script pcall(function() v:MakeJoints() end) end mas:Destroy() for i,v in pairs(cors) do spawn(function() pcall(v) end) end -- Everything After Creation of parts local character = owner.Character function operate(base,operations,typ) if base~=nil and operations~=nil then local success, newUnion = pcall(function() if typ == "neg" then return base:SubtractAsync(operations) elseif typ == "union" then return base:UnionAsync(operations) end end) if success and newUnion then newUnion.CFrame = base.CFrame newUnion.Anchored = true newUnion.Parent = script -- Remove original parts base:Destroy() for _,part in next, operations do part:Destroy() end return newUnion end return nil end end if (character:FindFirstChild("Animate")) then character.Humanoid:ClearAllChildren() character.Animate:Remove() end -- Sheathe Union And Negation local SheatheNegateTable = {Negative1,Negative2,Negative3,Negative4,Negative5,Negative6,Negative7,Negative8,Negative9} local SheathePart = operate(SheatheBlock, SheatheNegateTable, "neg") SheathePart.Parent = SheatheModel SheathePart.Anchored = false -- Blade Union And Negation local BladeUnionTable = {BladeWedge1,BladeWedge2,BladeWedge3,BladeWedge4} local BladePartPreNegate = operate(BladeMiddle,BladeUnionTable,"union") local BladeNegateTable = {BladeNegative1,BladeNegative2,BladeNegative3,BladeNegative4} local BladePart = operate(BladePartPreNegate,BladeNegateTable,"neg") BladePart.Parent = BladeModel BladePart.Anchored = false -- HandleGuard Union local HandleGuardUnionTable = {HandleGuardWedge1, HandleGuardWedge2} local HandleGuardPart = operate(HandleGuardPart1,HandleGuardUnionTable,"union") HandleGuardPart.Parent = HandGuardModel HandleGuardPart.Anchored = false -- Handle Union local HandleUnionTable = {HandleOuter, HandleEnd} local HandlePart = operate(HandleInner, HandleUnionTable, "union") HandlePart.Parent = HandleModel HandlePart.Anchored = false -- Sheathe Weld ??? local Sheathe = Instance.new("Weld") Sheathe.Part0 = SheathePart Sheathe.Part1 = character.LowerTorso Sheathe.Parent = SheathePart.Parent Sheathe.C0 = Sheathe.C0*CFrame.new(Vector3.new(1.1,.5,-.9))*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)) -- Blade Weld ??? local Blade = Instance.new("Weld") Blade.Part0 = BladePart Blade.Part1 = character.LowerTorso Blade.Parent = BladePart.Parent Blade.C0 = Blade.C0*CFrame.new(Vector3.new(1.1,.5,-.9))*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)) -- Handle Guard Weld ??? local HandleGuard = Instance.new("Weld") HandleGuard.Part0 = HandleGuardPart HandleGuard.Part1 = BladePart HandleGuard.Parent = HandleGuardPart.Parent HandleGuard.C0 = HandleGuard.C0*CFrame.new(Vector3.new(0,0,1.75))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) -- Handle Weld local Handle = Instance.new("Weld") Handle.Part0 = HandlePart Handle.Part1 = HandleGuardPart Handle.Parent = HandlePart.Parent Handle.C0 = Handle.C0*CFrame.new(Vector3.new(.358,0,0))*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
-- Creates and parents a r15 player rig local plr = owner char = plr.Character local FakeChar = game.Players:CreateHumanoidModelFromDescription(game.Players:GetHumanoidDescriptionFromUserId(owner.UserId), Enum.HumanoidRigType.R15) FakeChar.Parent = script FakeChar.Name = plr.Name -- Local Change Event for interacting with client objects local ChangeCameraSubject = Instance.new("RemoteEvent") ChangeCameraSubject.Name = "ChangeCameraSubject" ChangeCameraSubject.Parent = owner.PlayerGui plr.Character = FakeChar --NLS to bind and setup ChangeCameraSubject Event NLS([[ local plr = owner char = plr.Character huma = char.Humanoid huma.DisplayName = " " -- Change Camera Subject Based On Value will expand as needed to be properly working owner.PlayerGui.ChangeCameraSubject.OnClientEvent:Connect(function(NewValue) workspace.CurrentCamera.CameraSubject = NewValue end) ]],owner.PlayerGui) ChangeCameraSubject:FireClient((owner), script.Player.Humanoid) local character = plr.Character local humanoid = character:FindFirstChildOfClass("Humanoid") humanoid.DisplayName = char.Humanoid.DisplayName
Editor Settings
Theme
Key bindings
Full width
Lines