SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has been converted to FE by iPxter | |
| 2 | ||
| 3 | ||
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | do | |
| 7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 8 | script.Parent = Player.Character | |
| 9 | ||
| 10 | --RemoteEvent for communicating | |
| 11 | - | player = game.Players.LocalPlayer |
| 11 | + | local Event = Instance.new("RemoteEvent")
|
| 12 | Event.Name = "UserInput_Event" | |
| 13 | ||
| 14 | - | Mouse = player:GetMouse() |
| 14 | + | --Fake event to make stuff like Mouse.KeyDown work |
| 15 | local function fakeEvent() | |
| 16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 17 | t.connect = t.Connect | |
| 18 | return t | |
| 19 | end | |
| 20 | ||
| 21 | --Creating fake input objects with fake variables | |
| 22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 26 | end} | |
| 27 | --Merged 2 functions into one by checking amount of arguments | |
| 28 | CAS.UnbindAction = CAS.BindAction | |
| 29 | ||
| 30 | --This function will trigger the events that have been :Connect()'ed | |
| 31 | local function te(self,ev,...) | |
| 32 | local t = m[ev] | |
| 33 | if t and t._fakeEvent and t.Function then | |
| 34 | t.Function(...) | |
| 35 | end | |
| 36 | end | |
| 37 | m.TrigEvent = te | |
| 38 | UIS.TrigEvent = te | |
| 39 | ||
| 40 | Event.OnServerEvent:Connect(function(plr,io) | |
| 41 | if plr~=Player then return end | |
| 42 | if io.isMouse then | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | else | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local UIS = game:GetService("UserInputService")
| |
| 66 | local input = function(io,a) | |
| 67 | if a then return end | |
| 68 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 70 | end | |
| 71 | UIS.InputBegan:Connect(input) | |
| 72 | UIS.InputEnded:Connect(input) | |
| 73 | ||
| 74 | local Mouse = Player:GetMouse() | |
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 85 | end | |
| 86 | ||
| 87 | -------------- | |
| 88 | --Psychopath-- | |
| 89 | -------------- | |
| 90 | --By -- | |
| 91 | --CKbackup- | |
| 92 | ----------- | |
| 93 | --Q - Target | |
| 94 | --AWC - Kill | |
| 95 | --ASC - End | |
| 96 | --DSC - Murder | |
| 97 | player = game.Players.hsdfsfsdfds | |
| 98 | chara = player.Character | |
| 99 | debby = game.Debris | |
| 100 | chara.Humanoid.WalkSpeed = 8 | |
| 101 | atkd = false | |
| 102 | targetted = nil | |
| 103 | ||
| 104 | --Outfit-- | |
| 105 | New = function(Object, Parent, Name, Data) | |
| 106 | local Object = Instance.new(Object) | |
| 107 | for Index, Value in pairs(Data or {}) do
| |
| 108 | Object[Index] = Value | |
| 109 | end | |
| 110 | Object.Parent = Parent | |
| 111 | Object.Name = Name | |
| 112 | return Object | |
| 113 | end | |
| 114 | ||
| 115 | ShadowHead = New("Part",chara,"ShadowHead",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 116 | Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
| |
| 117 | Weld = New("ManualWeld",ShadowHead,"Weld",{Part0 = ShadowHead,Part1 = chara.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 118 | ||
| 119 | Knifu = New("Model",chara,"Knifu",{})
| |
| 120 | Handle = New("Part",Knifu,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 121 | Mesh = New("CylinderMesh",Handle,"Mesh",{})
| |
| 122 | KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),C1 = CFrame.new(0, -1.00000644, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 123 | Hitbox = New("Part",Knifu,"Hitbox",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 1.4000001, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 27.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 124 | Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = Handle,C1 = CFrame.new(0, 1.20000052, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 125 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 126 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
| |
| 127 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 128 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 129 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),})
| |
| 130 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 131 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.800005555, 26.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 132 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
| |
| 133 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 134 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(54.1000023, 0.400004029, 26.8000031, 1, 0, 0, 0, 0, 1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 135 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
| |
| 136 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 137 | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(54.1000023, 0.500006318, 27.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 138 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
| |
| 139 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 140 | BloodPart = New("Part",Knifu,"BloodPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.399999946, 0.400000036),CFrame = CFrame.new(54.1000023, 0.600008607, 28.1000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
| |
| 141 | Mesh = New("SpecialMesh",BloodPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
| |
| 142 | Weld = New("ManualWeld",BloodPart,"Weld",{Part0 = BloodPart,Part1 = Handle,C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 143 | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700007081, 27.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 144 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
| |
| 145 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 146 | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 147 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 148 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 149 | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 150 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 151 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 152 | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 153 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 154 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 155 | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 156 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 157 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 158 | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 159 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 160 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 161 | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 162 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 163 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 164 | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 165 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 166 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 167 | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 168 | Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 169 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 170 | Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700007081, 27.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 171 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),})
| |
| 172 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 173 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 174 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
| |
| 175 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 176 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 177 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
| |
| 178 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 179 | Blood2Part = New("Part",Knifu,"Blood2Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(54.1000023, 0.500006318, 27.7000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
| |
| 180 | Mesh = New("BlockMesh",Blood2Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),})
| |
| 181 | Weld = New("ManualWeld",Blood2Part,"Weld",{Part0 = Blood2Part,Part1 = Handle,C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 182 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(54.1000023, 0.700008988, 27.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
| |
| 183 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
| |
| 184 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 185 | Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(54.1000023, 0.500008225, 27.4000034, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
| |
| 186 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
| |
| 187 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 188 | ||
| 189 | local p1mit = Instance.new("ParticleEmitter",Hitbox)
| |
| 190 | p1mit.Texture = "rbxasset://textures/particles/fire_main.dds" | |
| 191 | p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))})
| |
| 192 | p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
| |
| 193 | p1mit.Lifetime = NumberRange.new(2) | |
| 194 | p1mit.Rate = 100 | |
| 195 | p1mit.Enabled = false | |
| 196 | p1mit.Acceleration = Vector3.new(0,-5,0) | |
| 197 | p1mit.Rotation = NumberRange.new(0,359) | |
| 198 | p1mit.Speed = NumberRange.new(0) | |
| 199 | local p2mit = Instance.new("ParticleEmitter",BloodPart)
| |
| 200 | p2mit.Texture = "http://www.roblox.com/asset/?id=243132757" | |
| 201 | p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))})
| |
| 202 | p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(1,.1)})
| |
| 203 | p2mit.Lifetime = NumberRange.new(1) | |
| 204 | p2mit.Rate = 10 | |
| 205 | p2mit.Acceleration = Vector3.new(0,-10,0) | |
| 206 | p2mit.Speed = NumberRange.new(0) | |
| 207 | local p3mit = p2mit:Clone() | |
| 208 | p3mit.Parent = Blood2Part | |
| 209 | ||
| 210 | crosshair = Instance.new("BillboardGui",chara)
| |
| 211 | crosshair.Size = UDim2.new(10,0,10,0) | |
| 212 | crosshair.Enabled = false | |
| 213 | imgl = Instance.new("ImageLabel",crosshair)
| |
| 214 | imgl.Position = UDim2.new(0,0,0,0) | |
| 215 | imgl.Size = UDim2.new(1,0,1,0) | |
| 216 | imgl.Image = "rbxassetid://233522684" | |
| 217 | imgl.BackgroundTransparency = 1 | |
| 218 | imgl.ImageColor3 = Color3.new(.6,0,0) | |
| 219 | ||
| 220 | --Sounds-- | |
| 221 | function LoadSnd(id,loop,vol,pit) | |
| 222 | local snd = New("Sound",chara,"Sound",{SoundId = "rbxassetid://"..id,Looped = loop,Volume = vol,Pitch = pit})
| |
| 223 | return snd | |
| 224 | end | |
| 225 | Music = LoadSnd(150674644,true,1,1) | |
| 226 | SwingSnd = LoadSnd(12222208,false,1,.5) | |
| 227 | HitSnd = LoadSnd(429400881,false,1,1) | |
| 228 | ChatSnd = LoadSnd(565939471,false,1,.4) | |
| 229 | ThrowSnd = LoadSnd(743521497,false,1,1) | |
| 230 | TargetSnd = LoadSnd(743521450,false,1,1) | |
| 231 | Music:Play() | |
| 232 | ||
| 233 | --Play Sound in Part-- | |
| 234 | function PlaySnd(snd,part) | |
| 235 | local sound = snd:Clone() | |
| 236 | sound.PlayOnRemove = true | |
| 237 | sound.Parent = part | |
| 238 | sound:Destroy() | |
| 239 | end | |
| 240 | ||
| 241 | --Target Select-- | |
| 242 | function TargetSelect(person) | |
| 243 | local dd=coroutine.wrap(function() | |
| 244 | if targetted ~= person then | |
| 245 | targetted = person | |
| 246 | for i = 0,30,10 do | |
| 247 | wait(.05) | |
| 248 | crosshair.Size = UDim2.new(40-i,0,40-i,0) | |
| 249 | end | |
| 250 | end | |
| 251 | end) | |
| 252 | dd() | |
| 253 | end | |
| 254 | ||
| 255 | --Damage Function-- | |
| 256 | function dealdmg(dude) | |
| 257 | dude.Humanoid.PlatformStand = true | |
| 258 | local bgf = Instance.new("BodyGyro",dude.Head)
| |
| 259 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
| 260 | local val = Instance.new("BoolValue",dude)
| |
| 261 | val.Name = "IsHit" | |
| 262 | for i = 1, 6 do | |
| 263 | local blo = Instance.new("Part",game.Workspace)
| |
| 264 | blo.Size = Vector3.new(.6,.2,.6) | |
| 265 | blo.Material = "SmoothPlastic" | |
| 266 | blo.BrickColor = BrickColor.new("Crimson")
| |
| 267 | blo.Position = dude.Head.Position | |
| 268 | blo.CFrame = dude.Head.CFrame | |
| 269 | debby:AddItem(blo,30) | |
| 270 | end | |
| 271 | local ds = coroutine.wrap(function() | |
| 272 | wait(1) | |
| 273 | dude.Humanoid.Health = 0 | |
| 274 | end) | |
| 275 | ds() | |
| 276 | end | |
| 277 | ||
| 278 | --Explode Hitbox-- | |
| 279 | function ExHitbox(rad,pos,damage,env,toim) | |
| 280 | local E = Instance.new("Explosion")
| |
| 281 | E.Position = pos | |
| 282 | E.Parent = game.Workspace | |
| 283 | E.BlastRadius = rad | |
| 284 | E.BlastPressure = 0 | |
| 285 | E.Visible = false | |
| 286 | E.Hit:connect(function(hit) | |
| 287 | if hit.Parent:FindFirstChild("Humanoid")~=nil then
| |
| 288 | dealdmg(hit.Parent,damage,env,toim) | |
| 289 | end | |
| 290 | end) | |
| 291 | end | |
| 292 | ||
| 293 | --Chat Function-- | |
| 294 | function chatfunc(text) | |
| 295 | local chat = coroutine.wrap(function() | |
| 296 | if chara:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 297 | chara:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 298 | end | |
| 299 | local naeeym2 = Instance.new("BillboardGui",chara)
| |
| 300 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 301 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 302 | naeeym2.Adornee = chara.Head | |
| 303 | naeeym2.Name = "TalkingBillBoard" | |
| 304 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 305 | tecks2.BackgroundTransparency = 1 | |
| 306 | tecks2.BorderSizePixel = 0 | |
| 307 | tecks2.Text = "" | |
| 308 | tecks2.Font = "Fantasy" | |
| 309 | tecks2.FontSize = "Size24" | |
| 310 | tecks2.TextStrokeTransparency = 0 | |
| 311 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
| 312 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 313 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 314 | for i = 1,string.len(text),1 do | |
| 315 | PlaySnd(ChatSnd,chara) | |
| 316 | tecks2.Text = string.sub(text,1,i) | |
| 317 | wait(0.01) | |
| 318 | end | |
| 319 | wait(1) | |
| 320 | for i = 1, 5 do | |
| 321 | wait(.01) | |
| 322 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0) | |
| 323 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2 | |
| 324 | tecks2.TextTransparency = tecks2.TextTransparency + .2 | |
| 325 | end | |
| 326 | naeeym2:Destroy() | |
| 327 | end) | |
| 328 | chat() | |
| 329 | end | |
| 330 | ||
| 331 | function onChatted(msg) | |
| 332 | chatfunc(msg) | |
| 333 | end | |
| 334 | player.Chatted:connect(onChatted) | |
| 335 | ||
| 336 | --Blade Hit Effect-- | |
| 337 | function SlashEff(pos) | |
| 338 | local p = Instance.new("Part",game.Workspace)
| |
| 339 | p.Size = Vector3.new(0,0,0) | |
| 340 | p.BrickColor = BrickColor.new("White")
| |
| 341 | p.Material = "Neon" | |
| 342 | p.Anchored = true | |
| 343 | p.CanCollide = false | |
| 344 | p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359))) | |
| 345 | local pm = Instance.new("SpecialMesh",p)
| |
| 346 | pm.MeshType = "Sphere" | |
| 347 | pm.Scale = Vector3.new(2.5,0,2.5) | |
| 348 | local disp = coroutine.wrap(function() | |
| 349 | for i = 1, 4 do | |
| 350 | wait(.01) | |
| 351 | p.Transparency = p.Transparency + .2 | |
| 352 | pm.Scale = pm.Scale + Vector3.new(0,30,0) | |
| 353 | end | |
| 354 | wait(.01) | |
| 355 | p:Destroy() | |
| 356 | end) | |
| 357 | disp() | |
| 358 | end | |
| 359 | ||
| 360 | --Super Pause-- | |
| 361 | function SuperPause() | |
| 362 | SuperSnd:Play() | |
| 363 | local p = Instance.new("Part",game.Workspace)
| |
| 364 | p.Size = Vector3.new(0,0,0) | |
| 365 | p.BrickColor = BrickColor.new("White")
| |
| 366 | p.Material = "Neon" | |
| 367 | p.Anchored = true | |
| 368 | p.CanCollide = false | |
| 369 | p.CFrame = chara.Torso.CFrame | |
| 370 | local pm = Instance.new("SpecialMesh",p)
| |
| 371 | pm.MeshType = "Sphere" | |
| 372 | local disp = coroutine.wrap(function() | |
| 373 | for i = 1, 4 do | |
| 374 | wait(.01) | |
| 375 | p.Transparency = p.Transparency + .2 | |
| 376 | pm.Scale = pm.Scale + Vector3.new(20,20,20) | |
| 377 | end | |
| 378 | wait(.01) | |
| 379 | p:Destroy() | |
| 380 | end) | |
| 381 | disp() | |
| 382 | end | |
| 383 | ||
| 384 | --Blade Touch-- | |
| 385 | dela = .5 | |
| 386 | bladeactive = false | |
| 387 | stormvipactive = false | |
| 388 | executeactive = false | |
| 389 | function bladehit(hit) | |
| 390 | if bladeactive == true then | |
| 391 | if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit")==nil then
| |
| 392 | p1mit.Enabled = true | |
| 393 | PlaySnd(HitSnd,hit.Parent.Head) | |
| 394 | dealdmg(hit.Parent) | |
| 395 | if stormvipactive == true then | |
| 396 | local bf = Instance.new("BodyVelocity",hit.Parent.Head)
| |
| 397 | bf.P = 10000 | |
| 398 | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) | |
| 399 | bf.Velocity = Vector3.new(0,100,0) | |
| 400 | debby:AddItem(bf,.2) | |
| 401 | end | |
| 402 | if executeactive == true then | |
| 403 | local we = Instance.new("Weld",Hitbox)
| |
| 404 | we.Name = "HitWeld" | |
| 405 | we.Part0 = hit.Parent.Head | |
| 406 | we.Part1 = Hitbox | |
| 407 | we.C0 = we.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
| 408 | end | |
| 409 | wait(.5) | |
| 410 | p1mit.Enabled = false | |
| 411 | end | |
| 412 | end | |
| 413 | end | |
| 414 | Hitbox.Touched:connect(bladehit) | |
| 415 | ||
| 416 | --Material Return-- | |
| 417 | gprop = {}
| |
| 418 | function materialhit(hit) | |
| 419 | if hit.Parent ~= chara and hit.Parent.Parent ~= chara and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then
| |
| 420 | gprop = {hit.BrickColor,hit.Material}
| |
| 421 | end | |
| 422 | end | |
| 423 | chara["Left Leg"].Touched:connect(materialhit) | |
| 424 | chara["Right Leg"].Touched:connect(materialhit) | |
| 425 | ||
| 426 | --Clerp Animations-- | |
| 427 | TC = chara.HumanoidRootPart.RootJoint | |
| 428 | HC = chara.Torso.Neck | |
| 429 | RAC = chara.Torso["Right Shoulder"] | |
| 430 | LAC = chara.Torso["Left Shoulder"] | |
| 431 | RLC = chara.Torso["Right Hip"] | |
| 432 | LLC = chara.Torso["Left Hip"] | |
| 433 | TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
| 434 | HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0) | |
| 435 | RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 436 | LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 437 | RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 438 | LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 439 | RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 440 | LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 441 | RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 442 | LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 443 | RW = Instance.new("Weld",HC.Parent)
| |
| 444 | RW.Part1 = HC.Parent | |
| 445 | RW.Part0 = chara["Right Arm"] | |
| 446 | RW.C0 = RWF | |
| 447 | LW = Instance.new("Weld",HC.Parent)
| |
| 448 | LW.Part1 = HC.Parent | |
| 449 | LW.Part0 = chara["Left Arm"] | |
| 450 | LW.C0 = LWF | |
| 451 | RLW = nil | |
| 452 | LLW = nil | |
| 453 | ||
| 454 | function Sheath(stype) | |
| 455 | KWeld:Destroy() | |
| 456 | if stype == 1 then --Sheathed | |
| 457 | KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0),C1 = CFrame.new(0, -1.00000644, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 458 | elseif stype == 2 then --Unsheathed | |
| 459 | KWeld = New("ManualWeld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1.00000525, 4.17232513e-07, 0, 4.17232513e-07, 1.00000525),C1 = CFrame.new(0, -0.600002885, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 460 | end | |
| 461 | end | |
| 462 | ||
| 463 | function AddLegWelds() | |
| 464 | RLW = Instance.new("Weld",chara["Right Leg"])
| |
| 465 | RLW.Part1 = HC.Parent | |
| 466 | RLW.Part0 = chara["Right Leg"] | |
| 467 | RLW.C0 = RLWF | |
| 468 | LLW = Instance.new("Weld",chara["Left Leg"])
| |
| 469 | LLW.Part1 = HC.Parent | |
| 470 | LLW.Part0 = chara["Left Leg"] | |
| 471 | LLW.C0 = LLWF | |
| 472 | end | |
| 473 | ||
| 474 | function DestroyLegWelds() | |
| 475 | RLC = New("Motor6D",chara.Torso,"Right Hip",{Part0 = chara.Torso,Part1 = chara["Right Leg"],C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0),})
| |
| 476 | LLC = New("Motor6D",chara.Torso,"Left Hip",{Part0 = chara.Torso,Part1 = chara["Left Leg"],C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0),})
| |
| 477 | RLW:Destroy() | |
| 478 | LLW:Destroy() | |
| 479 | end | |
| 480 | ||
| 481 | function clerp(a,b,c) | |
| 482 | return a:lerp(b,c) | |
| 483 | end | |
| 484 | ||
| 485 | --TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) | |
| 486 | --HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)) | |
| 487 | --RW.C0 = (RWF + Vector3.new(1,2,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)) | |
| 488 | --LW.C0 = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2)) | |
| 489 | ||
| 490 | TC.C0 = TCF | |
| 491 | HC.C0 = HCF | |
| 492 | RW.C0 = RWF | |
| 493 | LW.C0 = LWF | |
| 494 | ||
| 495 | --Idle Clerp-- | |
| 496 | ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(10)) | |
| 497 | IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-10)) | |
| 498 | IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2)) | |
| 499 | ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2)) | |
| 500 | ||
| 501 | TC.C0 = ITCF | |
| 502 | HC.C0 = IHCF | |
| 503 | RW.C0 = IRWF | |
| 504 | LW.C0 = ILWF | |
| 505 | ||
| 506 | --Claw Dash-- | |
| 507 | function ClawDash() | |
| 508 | del = true | |
| 509 | atkd = true | |
| 510 | chara.Humanoid.WalkSpeed = 0 | |
| 511 | chatfunc("Without a trace...")
| |
| 512 | for i = 0,.6,.2 do | |
| 513 | wait(.01) | |
| 514 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
| 515 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
| 516 | RW.C0 = clerp(IRWF,RWF,.4+i) | |
| 517 | end | |
| 518 | local hittpart = Instance.new("Part",chara)
| |
| 519 | hittpart.Anchored = true | |
| 520 | hittpart.Size = Vector3.new(5,5,1) | |
| 521 | hittpart.Transparency = 1 | |
| 522 | hittpart.CFrame = chara.HumanoidRootPart.CFrame + (chara.HumanoidRootPart.CFrame.lookVector * 3) | |
| 523 | local sawlookv = hittpart.CFrame.lookVector | |
| 524 | local hitm = Instance.new("BlockMesh",hittpart)
| |
| 525 | hitm.Scale = Vector3.new(0,0,0) | |
| 526 | local trpart = Instance.new("Part",chara)
| |
| 527 | trpart.Anchored = true | |
| 528 | trpart.Size = Vector3.new(0,0,0) | |
| 529 | trpart.CFrame = hittpart.CFrame | |
| 530 | trpart.BrickColor = BrickColor.new("Really black")
| |
| 531 | local trmesh = Instance.new("FileMesh",trpart)
| |
| 532 | trmesh.Scale = Vector3.new(0,0,0) | |
| 533 | trmesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 534 | local hdec1 = Instance.new("Decal",hittpart)
| |
| 535 | hdec1.Texture = "http://www.roblox.com/asset/?id=362691215" | |
| 536 | hdec1.Face = "Front" | |
| 537 | local hdec2 = hdec1:Clone() | |
| 538 | hdec2.Parent = hittpart | |
| 539 | hdec2.Face = "Back" | |
| 540 | OrbSnd:Play() | |
| 541 | ElectricSnd:Play() | |
| 542 | for i = 1, 5 do | |
| 543 | hitm.Scale = hitm.Scale + Vector3.new(.2,.2,0) | |
| 544 | trmesh.Scale = trmesh.Scale + Vector3.new(1,1,.1) | |
| 545 | wait(.01) | |
| 546 | end | |
| 547 | hittpart.Touched:connect(function(hit) | |
| 548 | if hit.Parent ~= chara then | |
| 549 | ClawDashSnd:Play() | |
| 550 | hittpart:Destroy() | |
| 551 | trpart:Destroy() | |
| 552 | AddLegWelds() | |
| 553 | freezeatk = true | |
| 554 | chatfunc("Winter's Riposte!")
| |
| 555 | Sheath(4) | |
| 556 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0) | |
| 557 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0) | |
| 558 | RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)) | |
| 559 | LW.C0 = (LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)) | |
| 560 | LLW.C0 = LLWF | |
| 561 | RLW.C0 = RLWF + Vector3.new(0,-1,1) | |
| 562 | for i = 1, 10 do | |
| 563 | local trace = Instance.new("Part",game.Workspace)
| |
| 564 | trace.CanCollide = false | |
| 565 | trace.Size = Vector3.new(1,1,1) | |
| 566 | trace.Transparency = 1 | |
| 567 | trace.BottomSurface = 0 | |
| 568 | trace.TopSurface = 0 | |
| 569 | trace.Anchored = true | |
| 570 | trace.CFrame = (chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * (5*i)) | |
| 571 | debby:AddItem(trace,1) | |
| 572 | ExHitbox(10,trace.Position,40,2,.1) | |
| 573 | end | |
| 574 | local trace = Instance.new("Part",game.Workspace)
| |
| 575 | trace.BrickColor = BrickColor.new("Toothpaste")
| |
| 576 | trace.CanCollide = false | |
| 577 | trace.Size = Vector3.new(1,1,1) | |
| 578 | trace.BottomSurface = 0 | |
| 579 | trace.TopSurface = 0 | |
| 580 | trace.Anchored = true | |
| 581 | trace.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 25 | |
| 582 | trace.Material = "Neon" | |
| 583 | local tracem = Instance.new("SpecialMesh",trace)
| |
| 584 | tracem.MeshType = "Sphere" | |
| 585 | tracem.Scale = Vector3.new(1,1,50) | |
| 586 | local disp = coroutine.wrap(function() | |
| 587 | for i = 1, 9 do | |
| 588 | wait(.01) | |
| 589 | trace.Transparency = trace.Transparency + .1 | |
| 590 | end | |
| 591 | wait(.01) | |
| 592 | trace:Destroy() | |
| 593 | end) | |
| 594 | disp() | |
| 595 | chara.HumanoidRootPart.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 60 | |
| 596 | wait(1) | |
| 597 | Sheath(3) | |
| 598 | for i = 0,.6,.2 do | |
| 599 | wait(.05) | |
| 600 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i) | |
| 601 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(20),0,0),.6-i) | |
| 602 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-50)),.6-i) | |
| 603 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(50)),.6-i) | |
| 604 | LLW.C0 = LLWF | |
| 605 | RLW.C0 = clerp(RLWF,RLWF + Vector3.new(0,-1,1),.6-i) | |
| 606 | end | |
| 607 | Sheath(1) | |
| 608 | freezeatk = false | |
| 609 | del = false | |
| 610 | DestroyLegWelds() | |
| 611 | chara.Humanoid.WalkSpeed = 32 | |
| 612 | end | |
| 613 | end) | |
| 614 | for i = 1, 60 do | |
| 615 | wait(.01) | |
| 616 | hittpart.CFrame=hittpart.CFrame*CFrame.fromEulerAnglesXYZ(0,0,math.pi/64) | |
| 617 | end | |
| 618 | if hittpart ~= nil then | |
| 619 | for i = 1, 5 do | |
| 620 | hitm.Scale = hitm.Scale - Vector3.new(.2,.2,0) | |
| 621 | trmesh.Scale = trmesh.Scale - Vector3.new(1,1,.1) | |
| 622 | wait(.01) | |
| 623 | end | |
| 624 | hittpart:Destroy() | |
| 625 | trpart:Destroy() | |
| 626 | for i = 0,.6,.2 do | |
| 627 | wait(.01) | |
| 628 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
| 629 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
| 630 | RW.C0 = clerp(IRWF,RWF,.6-i) | |
| 631 | end | |
| 632 | del = false | |
| 633 | chara.Humanoid.WalkSpeed = 32 | |
| 634 | end | |
| 635 | end | |
| 636 | ||
| 637 | --Kill-- | |
| 638 | function KillThem() | |
| 639 | del = true | |
| 640 | atkd = true | |
| 641 | chara.Humanoid.WalkSpeed = 0 | |
| 642 | bladeactive = true | |
| 643 | SwingSnd:Play() | |
| 644 | Sheath(2) | |
| 645 | wait(.01) | |
| 646 | for i = 0,.75,.22 do | |
| 647 | wait(.01) | |
| 648 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
| 649 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.4+i) | |
| 650 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
| 651 | end | |
| 652 | wait(1) | |
| 653 | Sheath(1) | |
| 654 | bladeactive = false | |
| 655 | for i = 0,.6,.2 do | |
| 656 | wait(.01) | |
| 657 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
| 658 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.6-i) | |
| 659 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
| 660 | end | |
| 661 | TC.C0 = ITCF | |
| 662 | HC.C0 = IHCF | |
| 663 | RW.C0 = IRWF | |
| 664 | LW.C0 = ILWF | |
| 665 | chara.Humanoid.WalkSpeed = 8 | |
| 666 | del = false | |
| 667 | end | |
| 668 | ||
| 669 | --End-- | |
| 670 | function EndThem() | |
| 671 | del = true | |
| 672 | atkd = true | |
| 673 | chara.Humanoid.WalkSpeed = 0 | |
| 674 | bladeactive = true | |
| 675 | SwingSnd:Play() | |
| 676 | wait(.01) | |
| 677 | for i = 0,.75,.25 do | |
| 678 | wait(.01) | |
| 679 | TC.C0 = clerp(ITCF,TCF,.4+i) | |
| 680 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),.4+i) | |
| 681 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,0,-.4)) * CFrame.fromEulerAnglesXYZ(math.rad(-150),0,math.rad(-90)),.4+i) | |
| 682 | end | |
| 683 | wait(.5) | |
| 684 | bladeactive = false | |
| 685 | for i = 0,.6,.2 do | |
| 686 | wait(.01) | |
| 687 | TC.C0 = clerp(ITCF,TCF,.6-i) | |
| 688 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,0),.6-i) | |
| 689 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,0,-.4)) * CFrame.fromEulerAnglesXYZ(math.rad(-150),0,math.rad(-90)),.6-i) | |
| 690 | end | |
| 691 | TC.C0 = ITCF | |
| 692 | HC.C0 = IHCF | |
| 693 | RW.C0 = IRWF | |
| 694 | LW.C0 = ILWF | |
| 695 | chara.Humanoid.WalkSpeed = 8 | |
| 696 | del = false | |
| 697 | end | |
| 698 | ||
| 699 | --Murder-- | |
| 700 | function MurderThem() | |
| 701 | del = true | |
| 702 | atkd = true | |
| 703 | chara.Humanoid.WalkSpeed = 0 | |
| 704 | for i = 0,.6,.2 do | |
| 705 | wait(.01) | |
| 706 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-25),0,math.rad(100)),.4+i) | |
| 707 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(100)),.4+i) | |
| 708 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.7,1.4,-1.1)) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(-180)),.4+i) | |
| 709 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)),.4+i) | |
| 710 | end | |
| 711 | local bf = Instance.new("BodyVelocity",chara.Torso)
| |
| 712 | bf.P = 10000 | |
| 713 | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) | |
| 714 | bf.Velocity = Vector3.new(0,100,0) + chara.HumanoidRootPart.CFrame.lookVector*5 | |
| 715 | SwingSnd:Play() | |
| 716 | stormvipactive = true | |
| 717 | bladeactive = true | |
| 718 | wait(.2) | |
| 719 | stormvipactive = false | |
| 720 | bladeactive = false | |
| 721 | bf:Destroy() | |
| 722 | for i = 0,.6,.2 do | |
| 723 | wait(.01) | |
| 724 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(-25),0,math.rad(100)),.6-i) | |
| 725 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(100)),.6-i) | |
| 726 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.7,1.4,-1.1)) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(-180)),.6-i) | |
| 727 | LW.C0 = clerp(ILWF,(LWF + Vector3.new(0,.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(30)),.6-i) | |
| 728 | end | |
| 729 | TC.C0 = ITCF | |
| 730 | HC.C0 = IHCF | |
| 731 | RW.C0 = IRWF | |
| 732 | LW.C0 = ILWF | |
| 733 | chara.Humanoid.WalkSpeed = 8 | |
| 734 | del = false | |
| 735 | end | |
| 736 | ||
| 737 | --Execute-- | |
| 738 | function ExecuteThem() | |
| 739 | del = true | |
| 740 | atkd = true | |
| 741 | for i = 0,.6,.2 do | |
| 742 | wait(.01) | |
| 743 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i) | |
| 744 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.4+i) | |
| 745 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.4+i) | |
| 746 | end | |
| 747 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
| 748 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0) | |
| 749 | RW.C0 = (RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
| 750 | local bf = Instance.new("BodyVelocity",chara.Torso)
| |
| 751 | bf.P = 10000 | |
| 752 | bf.MaxForce = Vector3.new(bf.P,bf.P,bf.P) | |
| 753 | bf.Velocity = Vector3.new(0,100,0) + chara.HumanoidRootPart.CFrame.lookVector*5 | |
| 754 | Sheath(2) | |
| 755 | SwingSnd:Play() | |
| 756 | executeactive = true | |
| 757 | bladeactive = true | |
| 758 | wait(.2) | |
| 759 | bf:Destroy() | |
| 760 | wait(.5) | |
| 761 | if Hitbox:FindFirstChild("HitWeld")~=nil then
| |
| 762 | Hitbox:FindFirstChild("HitWeld"):Destroy()
| |
| 763 | end | |
| 764 | Sheath(1) | |
| 765 | executeactive = false | |
| 766 | bladeactive = false | |
| 767 | for i = 0,.6,.2 do | |
| 768 | wait(.01) | |
| 769 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.6-i) | |
| 770 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45),0,0),.6-i) | |
| 771 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(0,1,0)) * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0),.6-i) | |
| 772 | end | |
| 773 | TC.C0 = ITCF | |
| 774 | HC.C0 = IHCF | |
| 775 | RW.C0 = IRWF | |
| 776 | LW.C0 = ILWF | |
| 777 | del = false | |
| 778 | end | |
| 779 | ||
| 780 | --Expunge-- | |
| 781 | function ExpungeThem() | |
| 782 | del = true | |
| 783 | atkd = true | |
| 784 | chara.Humanoid.WalkSpeed = 0 | |
| 785 | for i = 0,1,.5 do | |
| 786 | wait(.01) | |
| 787 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.4+i) | |
| 788 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.4+i) | |
| 789 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.4+i) | |
| 790 | end | |
| 791 | ThrowSnd:Play() | |
| 792 | local knc = Knifu:GetChildren() | |
| 793 | for i = 1, #knc do | |
| 794 | knc[i].Transparency = 1 | |
| 795 | end | |
| 796 | wait(.2) | |
| 797 | KnifuHit = New("Model",game.Workspace,"KnifuHit",{})
| |
| 798 | debby:AddItem(KnifuHit,5) | |
| 799 | HWeldPart = New("Part",KnifuHit,"HWeldPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(68.6099854, 1.50001717, 8.10717869, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 800 | Mesh = New("CylinderMesh",HWeldPart,"Mesh",{})
| |
| 801 | Weld = New("ManualWeld",HWeldPart,"Weld",{Part0 = HWeldPart,Part1 = targetted.Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),C1 = CFrame.new(0.00998687744, 1.00000417, -1.79282093, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 802 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(68.6099854, 0.913415372, 8.92320538, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
| |
| 803 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
| |
| 804 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 805 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.60001719, 7.93397379, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 806 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
| |
| 807 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 808 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.30001676, 8.45358944, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 809 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),})
| |
| 810 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 811 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.47322106, 8.55358887, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 812 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
| |
| 813 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 814 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(68.6099854, 1.12680948, 8.3535881, 1, 0, 0, 0, 0.500000536, 0.866025746, 0, -0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 815 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
| |
| 816 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 817 | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(68.6099854, 1.01341367, 8.74999905, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 818 | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
| |
| 819 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 820 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.399999946, 0.400000036),CFrame = CFrame.new(68.6099854, 0.650017917, 9.5794239, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
| |
| 821 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
| |
| 822 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 823 | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.886619031, 9.36961555, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 824 | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
| |
| 825 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 826 | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.28662145, 8.67679501, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 827 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 828 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 829 | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.28662145, 8.67679501, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 830 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 831 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 832 | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.18662131, 8.85000038, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 833 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 834 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 835 | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.18662131, 8.85000038, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 836 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 837 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 838 | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08662117, 9.02320576, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 839 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 840 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 841 | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08662117, 9.02320576, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 842 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 843 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 844 | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.986621022, 9.19641113, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 845 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 846 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 847 | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.986621022, 9.19641113, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 848 | Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
| |
| 849 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 850 | HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08661926, 9.0232048, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
| |
| 851 | Mesh = New("BlockMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),})
| |
| 852 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 853 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.50001705, 8.10717869, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 854 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
| |
| 855 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 856 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.4000169, 8.28038406, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 857 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
| |
| 858 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 859 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(68.6099854, 0.76341331, 9.18301201, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
| |
| 860 | Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),})
| |
| 861 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 862 | HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(68.6099854, 0.886620879, 9.36961555, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
| |
| 863 | Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
| |
| 864 | Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
| |
| 865 | dealdmg(targetted) | |
| 866 | PlaySnd(HitSnd,targetted.Head) | |
| 867 | wait(1) | |
| 868 | for i = 0,1,.1 do | |
| 869 | wait(.01) | |
| 870 | for i = 1, #knc do | |
| 871 | if knc[i] ~= Hitbox then | |
| 872 | knc[i].Transparency = 1-i | |
| 873 | end | |
| 874 | end | |
| 875 | end | |
| 876 | for i = 0,.6,.2 do | |
| 877 | wait(.01) | |
| 878 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)),.6-i) | |
| 879 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-90)),.6-i) | |
| 880 | RW.C0 = clerp(IRWF,(RWF + Vector3.new(.5,1.4,0)) * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-90)),.6-i) | |
| 881 | end | |
| 882 | TC.C0 = ITCF | |
| 883 | HC.C0 = IHCF | |
| 884 | RW.C0 = IRWF | |
| 885 | LW.C0 = ILWF | |
| 886 | chara.Humanoid.WalkSpeed = 8 | |
| 887 | del = false | |
| 888 | end | |
| 889 | ||
| 890 | --Lock On-- | |
| 891 | function LockOn() | |
| 892 | if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 893 | TargetSelect(Mouse.Target.Parent) | |
| 894 | TargetSnd:Play() | |
| 895 | else end | |
| 896 | end | |
| 897 | ||
| 898 | --Mouse Functions-- | |
| 899 | orbpushactive = false | |
| 900 | del = false | |
| 901 | input = "" | |
| 902 | letterd = 0 | |
| 903 | ltoim = 0 | |
| 904 | function onKeyDown(key) | |
| 905 | if del == false then | |
| 906 | if key == "q" then | |
| 907 | if input == "as" and targetted ~= nil then | |
| 908 | ExpungeThem() | |
| 909 | else LockOn() end | |
| 910 | input = "" | |
| 911 | letterd = 0 | |
| 912 | ltoim = 0 | |
| 913 | elseif key == "z" then | |
| 914 | input = "" | |
| 915 | letterd = 0 | |
| 916 | ltoim = 0 | |
| 917 | elseif key == "x" then | |
| 918 | input = "" | |
| 919 | letterd = 0 | |
| 920 | ltoim = 0 | |
| 921 | elseif key == "c" then | |
| 922 | if input == "aw" then | |
| 923 | KillThem() | |
| 924 | elseif input == "as" then | |
| 925 | EndThem() | |
| 926 | elseif input == "ds" then | |
| 927 | MurderThem() | |
| 928 | elseif input == "ww" then | |
| 929 | ExecuteThem() | |
| 930 | else end | |
| 931 | input = "" | |
| 932 | letterd = 0 | |
| 933 | ltoim = 0 | |
| 934 | elseif (key == "w" or key == "a" or key == "s" or key == "d") then | |
| 935 | input=input..key | |
| 936 | print(input) | |
| 937 | letterd = letterd + 1 | |
| 938 | ltoim = ltoim + 10 | |
| 939 | if letterd > 5 then | |
| 940 | input = "" | |
| 941 | letterd = 0 | |
| 942 | ltoim = 0 | |
| 943 | end | |
| 944 | elseif key == "m" then | |
| 945 | if Music.IsPlaying == true then | |
| 946 | Music:Stop() | |
| 947 | elseif Music.IsPlaying == false then | |
| 948 | Music:Play() | |
| 949 | end | |
| 950 | end | |
| 951 | end | |
| 952 | end | |
| 953 | combo = 0 | |
| 954 | ||
| 955 | --Mouse Activation-- | |
| 956 | if Mouse then | |
| 957 | Mouse.KeyDown:connect(onKeyDown) | |
| 958 | end | |
| 959 | ||
| 960 | --Loop Function-- | |
| 961 | walking = false | |
| 962 | toim = 0 | |
| 963 | while true do | |
| 964 | wait() | |
| 965 | toim = toim + .1 | |
| 966 | ltoim = ltoim - 1 | |
| 967 | if ltoim < 1 then | |
| 968 | input = "" | |
| 969 | end | |
| 970 | chara.Humanoid.MaxHealth = math.huge | |
| 971 | chara.Humanoid.Health = math.huge | |
| 972 | if atkd == true then | |
| 973 | TC.C0 = TCF | |
| 974 | HC.C0 = HCF | |
| 975 | RW.C0 = RWF | |
| 976 | LW.C0 = LWF | |
| 977 | atkd = false | |
| 978 | end | |
| 979 | torvel = (chara.HumanoidRootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 980 | if torvel < 1 and walking == true and del == false and atkd == false then | |
| 981 | for i = 0,1,.5 do | |
| 982 | wait(.001) | |
| 983 | if del == false then | |
| 984 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),ITCF,i) | |
| 985 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),IHCF,i) | |
| 986 | RW.C0 = IRWF | |
| 987 | LW.C0 = ILWF | |
| 988 | end | |
| 989 | end | |
| 990 | walking = false | |
| 991 | elseif torvel > 1 and walking == false and del == false and atkd == false then | |
| 992 | for i = 0,1,.5 do | |
| 993 | wait(.001) | |
| 994 | if del == false then | |
| 995 | TC.C0 = clerp(ITCF,TCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),i) | |
| 996 | HC.C0 = clerp(IHCF,HCF * CFrame.fromEulerAnglesXYZ(math.rad(5),0,0),i) | |
| 997 | RW.C0 = IRWF | |
| 998 | LW.C0 = ILWF | |
| 999 | end | |
| 1000 | end | |
| 1001 | walking = true | |
| 1002 | else | |
| 1003 | end | |
| 1004 | imgl.Rotation = imgl.Rotation + 3 | |
| 1005 | if targetted ~= nil then | |
| 1006 | crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
| |
| 1007 | crosshair.Enabled = true | |
| 1008 | elseif targetted == nil then | |
| 1009 | crosshair.Adornee = nil | |
| 1010 | crosshair.Enabled = false | |
| 1011 | end | |
| 1012 | end |