Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
- --[[ Converted by WafflesAreVeryGood(Nobody#3907 on discord) ]]--
- local plr=game.Players.LocalPlayer
- local mouse=plr:GetMouse()
- repeat wait() until plr.Character
- wait(3)
- local char=plr.Character
- local hum=char:WaitForChild("Humanoid")
- local torso=char:WaitForChild("Torso")
- local rarm=char:WaitForChild("Right Arm")
- local hrp=char:WaitForChild("HumanoidRootPart")
- local tool=Instance.new("Tool")
- tool.Name = "Toy Knife"
- tool.GripForward = Vector3.new(0,0,-1)
- tool.GripRight = Vector3.new(1,0,0)
- tool.ToolTip = "Toy Knife: Used by Patience"
- tool.CanBeDropped = false
- tool.ManualActivationOnly = false
- tool.RequiresHandle = false
- tool.Enabled = true
- tool.Parent = plr.Backpack
- --Converted with ttyyuu12345's model to script plugin v4
- 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"))
- Folder0 = Instance.new("Folder")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- ParticleEmitter3 = Instance.new("ParticleEmitter")
- Part4 = Instance.new("Part")
- ParticleEmitter5 = Instance.new("ParticleEmitter")
- Model6 = Instance.new("Model")
- Part7 = Instance.new("Part")
- Weld8 = Instance.new("Weld")
- Part9 = Instance.new("Part")
- SpecialMesh10 = Instance.new("SpecialMesh")
- Weld11 = Instance.new("Weld")
- Part12 = Instance.new("Part")
- Weld13 = Instance.new("Weld")
- Part14 = Instance.new("Part")
- Weld15 = Instance.new("Weld")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- SpecialMesh18 = Instance.new("SpecialMesh")
- Weld19 = Instance.new("Weld")
- Part20 = Instance.new("Part")
- SpecialMesh21 = Instance.new("SpecialMesh")
- Weld22 = Instance.new("Weld")
- Part23 = Instance.new("Part")
- SpecialMesh24 = Instance.new("SpecialMesh")
- Weld25 = Instance.new("Weld")
- Part26 = Instance.new("Part")
- SpecialMesh27 = Instance.new("SpecialMesh")
- Weld28 = Instance.new("Weld")
- Part29 = Instance.new("Part")
- SpecialMesh30 = Instance.new("SpecialMesh")
- Weld31 = Instance.new("Weld")
- Part32 = Instance.new("Part")
- SpecialMesh33 = Instance.new("SpecialMesh")
- Weld34 = Instance.new("Weld")
- Part35 = Instance.new("Part")
- Weld36 = Instance.new("Weld")
- Part37 = Instance.new("Part")
- Weld38 = Instance.new("Weld")
- Sound39 = Instance.new("Sound")
- Animation40 = Instance.new("Animation")
- Animation41 = Instance.new("Animation")
- Folder0.Parent = mas
- Part1.Name = "DSlash"
- Part1.Parent = Folder0
- Part1.Material = Enum.Material.Neon
- Part1.BrickColor = BrickColor.new("Really red")
- Part1.Anchored = true
- Part1.CanCollide = false
- Part1.Size = Vector3.new(0.486999989, 5.19999981, 0.31099999)
- Part1.CFrame = CFrame.new(22.1118927, 166.745255, -2483.23218, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(1, 0, 0)
- Part1.Position = Vector3.new(22.1118927, 166.745255, -2483.23218)
- Part1.Color = Color3.new(1, 0, 0)
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshType = Enum.MeshType.Sphere
- ParticleEmitter3.Name = "Slash"
- ParticleEmitter3.Parent = Part1
- ParticleEmitter3.Transparency = NumberSequence.new(0,0,1)
- ParticleEmitter3.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter3.Size = NumberSequence.new(1.5,0)
- ParticleEmitter3.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- ParticleEmitter3.LightEmission = 1
- ParticleEmitter3.Texture = "http://www.roblox.com/asset/?id=298319954"
- ParticleEmitter3.ZOffset = 1
- ParticleEmitter3.Lifetime = NumberRange.new(0, 0)
- ParticleEmitter3.Rate = 500
- ParticleEmitter3.RotSpeed = NumberRange.new(100, 100)
- ParticleEmitter3.Speed = NumberRange.new(1, 1)
- ParticleEmitter3.VelocitySpread = 180
- ParticleEmitter3.Color = ColorSequence.new(Color3.new(0, 0, 0),Color3.new(0, 0, 0))
- Part4.Name = "Eye"
- Part4.Parent = Folder0
- Part4.Transparency = 1
- Part4.Anchored = true
- Part4.CanCollide = false
- Part4.FormFactor = Enum.FormFactor.Custom
- Part4.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part4.CFrame = CFrame.new(-9.60000038, 169.899979, -2436.89941, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part4.Position = Vector3.new(-9.60000038, 169.899979, -2436.89941)
- ParticleEmitter5.Name = "Flame"
- ParticleEmitter5.Parent = Part4
- ParticleEmitter5.Transparency = NumberSequence.new(0.69999998807907,0.89999997615814,1)
- ParticleEmitter5.Rotation = NumberRange.new(-180, 180)
- ParticleEmitter5.Size = NumberSequence.new(0.30000001192093,0)
- ParticleEmitter5.Color = ColorSequence.new(Color3.new(1, 0.0392157, 0.0392157),Color3.new(1, 0.0392157, 0.0392157))
- ParticleEmitter5.LightEmission = 1
- ParticleEmitter5.Texture = "http://www.roblox.com/asset/?id=134531489"
- ParticleEmitter5.Lifetime = NumberRange.new(0, 0)
- ParticleEmitter5.Rate = 500
- ParticleEmitter5.Speed = NumberRange.new(0, 0)
- ParticleEmitter5.Color = ColorSequence.new(Color3.new(1, 0.0392157, 0.0392157),Color3.new(1, 0.0392157, 0.0392157))
- Model6.Name = "KnifeModel"
- Model6.Parent = Folder0
- Part7.Parent = Model6
- Part7.BrickColor = BrickColor.new("Pastel violet")
- Part7.Size = Vector3.new(0.349999964, 0.684999943, 0.0500000007)
- Part7.CFrame = CFrame.new(-84.8525009, 3.97503614, -217.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.Color = Color3.new(0.694118, 0.654902, 1)
- Part7.Position = Vector3.new(-84.8525009, 3.97503614, -217.25)
- Part7.Color = Color3.new(0.694118, 0.654902, 1)
- Weld8.Parent = Part7
- Weld8.C0 = CFrame.new(84.8525009, -3.97503614, 217.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld8.C1 = CFrame.new(84.900032, -1.64453602, 217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld8.Part0 = Part7
- Weld8.Part1 = Part16
- Part9.Parent = Model6
- Part9.BrickColor = BrickColor.new("Pastel violet")
- Part9.Rotation = Vector3.new(-90, 60, 90)
- Part9.Size = Vector3.new(0.0500000007, 0.180000007, 0.300000012)
- Part9.CFrame = CFrame.new(-85.1249161, 4.15473557, -217.250015, -9.9347659e-08, -0.500000179, 0.866025329, 0, 0.866025329, 0.500000179, -1, 4.96738473e-08, -8.60375877e-08)
- Part9.BottomSurface = Enum.SurfaceType.Smooth
- Part9.TopSurface = Enum.SurfaceType.Smooth
- Part9.Color = Color3.new(0.694118, 0.654902, 1)
- Part9.Position = Vector3.new(-85.1249161, 4.15473557, -217.250015)
- Part9.Orientation = Vector3.new(-30, 90, 0)
- Part9.Color = Color3.new(0.694118, 0.654902, 1)
- SpecialMesh10.Parent = Part9
- SpecialMesh10.MeshType = Enum.MeshType.Wedge
- Weld11.Parent = Part9
- Weld11.C0 = CFrame.new(-217.250015, -46.1605644, 71.6429443, -9.9347659e-08, 0, -1, -0.500000179, 0.866025329, 4.96738473e-08, 0.866025329, 0.500000179, -8.60375877e-08)
- Weld11.C1 = CFrame.new(84.900032, -1.64453602, 217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld11.Part0 = Part9
- Weld11.Part1 = Part16
- Part12.Parent = Model6
- Part12.BrickColor = BrickColor.new("Pastel violet")
- Part12.Rotation = Vector3.new(0, 90, 0)
- Part12.Size = Vector3.new(0.0500000007, 0.199999988, 0.0500000268)
- Part12.CFrame = CFrame.new(-85.2249985, 3.74500012, -217.25, -9.9347659e-08, 0, 1, 0, 1, 0, -1, 0, -9.9347659e-08)
- Part12.BottomSurface = Enum.SurfaceType.Smooth
- Part12.TopSurface = Enum.SurfaceType.Smooth
- Part12.Color = Color3.new(0.694118, 0.654902, 1)
- Part12.Position = Vector3.new(-85.2249985, 3.74500012, -217.25)
- Part12.Orientation = Vector3.new(0, 90, 0)
- Part12.Color = Color3.new(0.694118, 0.654902, 1)
- Weld13.Parent = Part12
- Weld13.C0 = CFrame.new(-217.250015, -3.74500012, 85.2249756, -9.9347659e-08, 0, -1, 0, 1, 0, 1, 0, -9.9347659e-08)
- Weld13.C1 = CFrame.new(84.900032, -1.64453602, 217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld13.Part0 = Part12
- Weld13.Part1 = Part16
- Part14.Parent = Model6
- Part14.BrickColor = BrickColor.new("Pastel violet")
- Part14.Rotation = Vector3.new(0, 0, -30)
- Part14.Size = Vector3.new(0.159999952, 0.184999928, 0.0500000007)
- Part14.CFrame = CFrame.new(-85.1071472, 3.99762344, -217.25, 0.866025567, 0.499999613, 0, -0.499999613, 0.866025567, 0, 0, 0, 1)
- Part14.BottomSurface = Enum.SurfaceType.Smooth
- Part14.TopSurface = Enum.SurfaceType.Smooth
- Part14.Color = Color3.new(0.694118, 0.654902, 1)
- Part14.Position = Vector3.new(-85.1071472, 3.99762344, -217.25)
- Part14.Orientation = Vector3.new(0, 0, -30)
- Part14.Color = Color3.new(0.694118, 0.654902, 1)
- Weld15.Parent = Part14
- Weld15.C0 = CFrame.new(75.7037811, 39.0914993, 217.25, 0.866025567, -0.499999613, 0, 0.499999613, 0.866025567, 0, 0, 0, 1)
- Weld15.C1 = CFrame.new(84.900032, -1.64453602, 217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld15.Part0 = Part14
- Weld15.Part1 = Part16
- Part16.Name = "Handle"
- Part16.Parent = Model6
- Part16.BrickColor = BrickColor.new("Really black")
- Part16.Size = Vector3.new(0.490999997, 1.28900003, 0.0809999853)
- Part16.CFrame = CFrame.new(-84.900032, 1.64453602, -217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part16.BottomSurface = Enum.SurfaceType.Smooth
- Part16.TopSurface = Enum.SurfaceType.Smooth
- Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part16.Position = Vector3.new(-84.900032, 1.64453602, -217.199951)
- Part16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part17.Parent = Model6
- Part17.BrickColor = BrickColor.new("Pastel violet")
- Part17.Rotation = Vector3.new(-90, -75, -90)
- Part17.Size = Vector3.new(0.0500000007, 0.349999994, 0.309999973)
- Part17.CFrame = CFrame.new(-85.0265884, 3.94403839, -217.25, 1.86770436e-07, 0.258818626, -0.965925872, 0, 0.965925872, 0.258818626, 1, -4.83396612e-08, 1.80406403e-07)
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.Color = Color3.new(0.694118, 0.654902, 1)
- Part17.Position = Vector3.new(-85.0265884, 3.94403839, -217.25)
- Part17.Orientation = Vector3.new(-15, -90, 0)
- Part17.Color = Color3.new(0.694118, 0.654902, 1)
- SpecialMesh18.Parent = Part17
- SpecialMesh18.MeshType = Enum.MeshType.Wedge
- Weld19.Parent = Part17
- Weld19.C0 = CFrame.new(217.250015, 18.1968079, -83.1501389, 1.86770436e-07, 0, 1, 0.258818626, 0.965925872, -4.83396612e-08, -0.965925872, 0.258818626, 1.80406403e-07)
- Weld19.C1 = CFrame.new(84.900032, -1.64453602, 217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld19.Part0 = Part17
- Weld19.Part1 = Part16
- Part20.Parent = Model6
- Part20.BrickColor = BrickColor.new("Pastel violet")
- Part20.Rotation = Vector3.new(0, 90, 0)
- Part20.Size = Vector3.new(0.0500000007, 0.579999983, 0.25000003)
- Part20.CFrame = CFrame.new(-85.125, 3.93500018, -217.25, -9.9347659e-08, 0, 1, 0, 1, 0, -1, 0, -9.9347659e-08)
- Part20.BottomSurface = Enum.SurfaceType.Smooth
- Part20.TopSurface = Enum.SurfaceType.Smooth
- Part20.Color = Color3.new(0.694118, 0.654902, 1)
- Part20.Position = Vector3.new(-85.125, 3.93500018, -217.25)
- Part20.Orientation = Vector3.new(0, 90, 0)
- Part20.Color = Color3.new(0.694118, 0.654902, 1)
- SpecialMesh21.Parent = Part20
- SpecialMesh21.MeshType = Enum.MeshType.Wedge
- Weld22.Parent = Part20
- Weld22.C0 = CFrame.new(-217.250015, -3.93500018, 85.1249771, -9.9347659e-08, 0, -1, 0, 1, 0, 1, 0, -9.9347659e-08)
- Weld22.C1 = CFrame.new(84.900032, -1.64453602, 217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld22.Part0 = Part20
- Weld22.Part1 = Part16
- Part23.Parent = Model6
- Part23.BrickColor = BrickColor.new("Really black")
- Part23.Rotation = Vector3.new(0, 90, 0)
- Part23.Size = Vector3.new(0.0910000056, 0.288999975, 0.180999994)
- Part23.CFrame = CFrame.new(-85.150032, 1.04453576, -217.199951, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Part23.BottomSurface = Enum.SurfaceType.Smooth
- Part23.TopSurface = Enum.SurfaceType.Smooth
- Part23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part23.Position = Vector3.new(-85.150032, 1.04453576, -217.199951)
- Part23.Orientation = Vector3.new(0, 90, 0)
- Part23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh24.Parent = Part23
- SpecialMesh24.MeshType = Enum.MeshType.Cylinder
- Weld25.Parent = Part23
- Weld25.C0 = CFrame.new(-217.199951, -1.04453588, 85.1500244, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Weld25.C1 = CFrame.new(84.900032, -1.64453602, 217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld25.Part0 = Part23
- Weld25.Part1 = Part16
- Part26.Parent = Model6
- Part26.BrickColor = BrickColor.new("Really black")
- Part26.Size = Vector3.new(0.490999997, 0.0889999866, 0.0809999853)
- Part26.CFrame = CFrame.new(-84.900032, 2.29453611, -217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part26.BottomSurface = Enum.SurfaceType.Smooth
- Part26.TopSurface = Enum.SurfaceType.Smooth
- Part26.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part26.Position = Vector3.new(-84.900032, 2.29453611, -217.199951)
- Part26.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh27.Parent = Part26
- SpecialMesh27.MeshType = Enum.MeshType.Cylinder
- Weld28.Parent = Part26
- Weld28.C0 = CFrame.new(84.900032, -2.29453611, 217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld28.C1 = CFrame.new(84.900032, -1.64453602, 217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld28.Part0 = Part26
- Weld28.Part1 = Part16
- Part29.Parent = Model6
- Part29.BrickColor = BrickColor.new("Pastel violet")
- Part29.Rotation = Vector3.new(-90, 45, 90)
- Part29.Size = Vector3.new(0.0500000007, 0.200000003, 0.300000012)
- Part29.CFrame = CFrame.new(-85.2451782, 3.82501221, -217.250015, -9.9347659e-08, -0.707107067, 0.707106471, 0, 0.707106471, 0.707107067, -1, 7.02494347e-08, -7.02493708e-08)
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.Color = Color3.new(0.694118, 0.654902, 1)
- Part29.Position = Vector3.new(-85.2451782, 3.82501221, -217.250015)
- Part29.Orientation = Vector3.new(-45, 90, 0)
- Part29.Color = Color3.new(0.694118, 0.654902, 1)
- SpecialMesh30.Parent = Part29
- SpecialMesh30.MeshType = Enum.MeshType.Wedge
- Weld31.Parent = Part29
- Weld31.C0 = CFrame.new(-217.250015, -62.9821434, 57.5727081, -9.9347659e-08, 0, -1, -0.707107067, 0.707106471, 7.02494347e-08, 0.707106471, 0.707107067, -7.02493708e-08)
- Weld31.C1 = CFrame.new(84.900032, -1.64453602, 217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld31.Part0 = Part29
- Weld31.Part1 = Part16
- Part32.Parent = Model6
- Part32.BrickColor = BrickColor.new("Pastel violet")
- Part32.Rotation = Vector3.new(0, 90, 0)
- Part32.Size = Vector3.new(0.0500000007, 0.200000003, 0.370000035)
- Part32.CFrame = CFrame.new(-84.8649979, 4.40500021, -217.25, -9.9347659e-08, 0, 1, 0, 1, 0, -1, 0, -9.9347659e-08)
- Part32.BottomSurface = Enum.SurfaceType.Smooth
- Part32.TopSurface = Enum.SurfaceType.Smooth
- Part32.Color = Color3.new(0.694118, 0.654902, 1)
- Part32.Position = Vector3.new(-84.8649979, 4.40500021, -217.25)
- Part32.Orientation = Vector3.new(0, 90, 0)
- Part32.Color = Color3.new(0.694118, 0.654902, 1)
- SpecialMesh33.Parent = Part32
- SpecialMesh33.MeshType = Enum.MeshType.Wedge
- Weld34.Parent = Part32
- Weld34.C0 = CFrame.new(-217.250015, -4.40500021, 84.864975, -9.9347659e-08, 0, -1, 0, 1, 0, 1, 0, -9.9347659e-08)
- Weld34.C1 = CFrame.new(84.900032, -1.64453602, 217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld34.Part0 = Part32
- Weld34.Part1 = Part16
- Part35.Parent = Model6
- Part35.BrickColor = BrickColor.new("Pastel violet")
- Part35.Size = Vector3.new(0.594999969, 1.38499987, 0.0500000007)
- Part35.CFrame = CFrame.new(-84.9749985, 2.97503614, -217.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part35.BottomSurface = Enum.SurfaceType.Smooth
- Part35.TopSurface = Enum.SurfaceType.Smooth
- Part35.Color = Color3.new(0.694118, 0.654902, 1)
- Part35.Position = Vector3.new(-84.9749985, 2.97503614, -217.25)
- Part35.Color = Color3.new(0.694118, 0.654902, 1)
- Weld36.Parent = Part35
- Weld36.C0 = CFrame.new(84.9749985, -2.97503614, 217.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld36.C1 = CFrame.new(84.900032, -1.64453602, 217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld36.Part0 = Part35
- Weld36.Part1 = Part16
- Part37.Name = "Blade"
- Part37.Parent = Model6
- Part37.BrickColor = BrickColor.new("Pastel violet")
- Part37.Transparency = 1
- Part37.Size = Vector3.new(0.594999969, 2.23499918, 0.0500000007)
- Part37.CFrame = CFrame.new(-84.9749985, 3.40003729, -217.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part37.BottomSurface = Enum.SurfaceType.Smooth
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.Color = Color3.new(0.694118, 0.654902, 1)
- Part37.Position = Vector3.new(-84.9749985, 3.40003729, -217.25)
- Part37.Color = Color3.new(0.694118, 0.654902, 1)
- Weld38.Parent = Part37
- Weld38.C0 = CFrame.new(84.9749985, -3.40003729, 217.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld38.C1 = CFrame.new(84.900032, -1.64453602, 217.199951, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld38.Part0 = Part37
- Weld38.Part1 = Part16
- Sound39.Name = "Slash"
- Sound39.Parent = Folder0
- Sound39.Pitch = 0.69999998807907
- Sound39.SoundId = "rbxassetid://394934205"
- Sound39.Volume = 1
- Animation40.Name = "GroundStab"
- Animation40.Parent = Folder0
- Animation40.AnimationId = "https://www.roblox.com/DownStab-item?id=89133529"
- Animation41.Name = "SlashAnim"
- Animation41.Parent = Folder0
- Animation41.AnimationId = "rbxassetid://218504594"
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Character
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- local important = char.Folder
- important.KnifeModel.Parent = tool
- important.DSlash.Parent = script
- important.Eye.Parent = script
- important.Slash.Parent = tool
- important.GroundStab.Parent = tool
- important.SlashAnim.Parent = tool
- important:Destroy()
- local slashanim=hum:LoadAnimation(tool.SlashAnim)
- local gstab=hum:LoadAnimation(tool.GroundStab)
- local equipped=false
- local check=false
- local dmgcheck=false
- local knife
- local eye1
- local eye2
- local kweld
- local closest
- local hitpos
- function Damage(mode,mag,proj)
- local dmgcheck2=false
- if mode=="Normal" then
- for _,v in pairs(game.Players:GetPlayers()) do
- if v.Character then
- local tchar=v.Character
- if (torso.Position-tchar.Torso.Position).magnitude<=mag and tchar:FindFirstChildOfClass("Humanoid").Health>0 and tchar~=char then
- tchar:FindFirstChildOfClass("Humanoid"):TakeDamage(35)
- end
- end
- end
- elseif mode=="Distant" then
- proj.Touched:connect(function(hit)
- if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Name~=plr.Name then
- if dmgcheck2==false then
- dmgcheck2=true
- hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(10)
- end
- end
- end)
- end
- end
- function Loop()
- coroutine.resume(coroutine.create(function()
- while equipped==true do
- wait()
- end
- end))
- end
- function Slash(mode)
- dmgcheck=true
- if mode=="Normal" or mode=="Distant" then
- slashanim:Play()
- local slashsfx=tool.Slash:Clone()
- slashsfx.Parent=workspace
- slashsfx:Play()
- game.Debris:AddItem(slashsfx,1)
- wait(0.4)
- if mode=="Normal" then
- Damage("Normal",30)
- end
- wait(0.3)
- if mode=="Distant" then
- local obj=script.DSlash:Clone()
- obj.Parent=workspace
- obj.Anchored=false
- obj.CFrame=hrp.CFrame*CFrame.new(1.5,0.5,2.5)
- obj.CFrame=CFrame.new(obj.Position,hitpos)*CFrame.Angles(0,math.pi/2,0)
- local bv=Instance.new("BodyVelocity",obj)
- bv.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
- bv.Velocity=(obj.CFrame*CFrame.Angles(0,-math.pi/2,0)).lookVector*350
- Damage("Distant",0,obj)
- end
- elseif mode=="Area" then
- gstab:Play()
- wait(0.2)
- for i=1,180/18 do
- kweld.C0=CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90-(i*18)),-math.pi/2,0)
- wait()
- end
- wait(1)
- local ef=Instance.new("Part",workspace)
- ef.Size=Vector3.new(5,20,20)
- ef.Material="Neon"
- ef.Transparency=1
- ef.BrickColor=BrickColor.new(1,0,0)
- ef.CanCollide=false
- ef.Anchored=true
- ef.CFrame=hrp.CFrame*CFrame.new(0,-5,0)*CFrame.Angles(0,0,math.pi/2)
- local efm=Instance.new("SpecialMesh",ef)
- efm.MeshType="Cylinder"
- for i=1,60 do
- ef.Transparency=1-(i/100)
- wait()
- end
- Damage("Normal",50)
- coroutine.resume(coroutine.create(function()
- wait(2)
- for i=1,30 do
- ef.Transparency=(1-(60/100))+(i/30)
- wait()
- end
- end))
- for i=1,50 do
- ef.Size=Vector3.new(5+(i*20),20,20)
- wait()
- end
- for i=1,180/18 do
- kweld.C0=CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-270+(i*18)),-math.pi/2,0)
- wait()
- end
- end
- dmgcheck=false
- end
- mouse.KeyDown:connect(function(key)
- if equipped==true and hum.Health>0 then
- if closest==nil then
- hitpos=mouse.Hit.p
- else
- hitpos=closest.Torso.Position
- end
- if key=="e" then
- if check==false then
- check=true
- hum.WalkSpeed=12
- Slash("Normal")
- hum.WalkSpeed=32
- wait(2)
- check=false
- end
- elseif key=="r" then
- if check==false and (hrp.Position-mouse.Hit.p).magnitude<=150 then
- check=true
- local currentpos=Vector3.new(hrp.Position.X,hrp.Position.Y,hrp.Position.Z)
- local bodyp=Instance.new("BodyPosition",hrp)
- bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
- bodyp.D=500
- bodyp.Position=mouse.Hit.p+Vector3.new(0,4,0)
- local bodygp=Instance.new("BodyGyro",hrp)
- bodygp.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
- bodygp.D=160
- bodygp.CFrame=CFrame.new(hrp.Position,mouse.Hit.p)
- wait(0.3)
- Slash("Normal")
- bodyp.Position=currentpos
- wait(0.3)
- bodyp:Destroy()
- bodygp:Destroy()
- wait(2.5)
- check=false
- end
- elseif key=="t" then
- if check==false then
- check=true
- hum.WalkSpeed=0
- Slash("Distant")
- hum.WalkSpeed=30
- wait(0.8)
- check=false
- end
- elseif key=="y" then
- if check==false then
- check=true
- hum.WalkSpeed=0
- Slash("Area")
- hum.WalkSpeed=30
- wait(3)
- check=false
- end
- end
- end
- end)
- tool.Equipped:connect(function()
- if dmgcheck==true then repeat wait() until dmgcheck==false end
- equipped=true
- knife=tool.KnifeModel:Clone()
- knife.Parent=char
- knife.Handle.Anchored=false
- kweld=Instance.new("Weld",knife.Handle)
- kweld.Part0=rarm
- kweld.Part1=knife.Handle
- kweld.C0=CFrame.new(0,-1,0)*CFrame.Angles(-math.pi/2,-math.pi/2,0)
- eye1=script.Eye:Clone()
- eye1.Parent=char
- eye1.Anchored=false
- local eye1f=Instance.new("Weld",eye1)
- eye1f.Part0=char.Head
- eye1f.Part1=eye1
- eye1f.C0=CFrame.new(-0.125,0.22,-0.55)*CFrame.Angles(0,0,math.pi/2)
- eye2=script.Eye:Clone()
- eye2.Parent=char
- eye2.Anchored=false
- local eye2f=Instance.new("Weld",eye2)
- eye2f.Part0=char.Head
- eye2f.Part1=eye2
- eye2f.C0=CFrame.new(0.125,0.22,-0.55)*CFrame.Angles(0,0,math.pi/2)
- Loop()
- end)
- tool.Unequipped:connect(function()
- if dmgcheck==true then repeat wait() until dmgcheck==false end
- equipped=false
- knife:Destroy()
- eye1:Destroy()
- eye2:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement