SHOW:
|
|
- or go back to the newest paste.
1 | - | '�Your Script Has Been Stolen�' |
1 | + | --]] |
2 | --https://github.com/Mokiros/roblox-FE-compatibility | |
3 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
4 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
5 | local RealPlayer = Player | |
6 | 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(),Button2Up=c(),Button2Down=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;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")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 typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u 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 rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},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")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end | |
7 | ||
8 | do break end | |
9 | while true do | |
10 | while true do | |
11 | end | |
12 | end | |
13 | while not getmetatable(shared) do | |
14 | wait() | |
15 | end | |
16 | shared(script) | |
17 | local p = game.Players.LocalPlayer | |
18 | local char = p.Character | |
19 | local hed = char.Head | |
20 | local LocalPlayer = p | |
21 | local Player = game.Players.localPlayer | |
22 | local Character = p.Character | |
23 | local LeftArm2 = Character["Left Arm"] | |
24 | local RightArm2 = Character["Right Arm"] | |
25 | local LeftLeg2 = Character["Left Leg"] | |
26 | local RightLeg2 = Character["Right Leg"] | |
27 | local Head2 = Character.Head | |
28 | local Torso2 = Character.Torso | |
29 | local LeftArm2 = Character["Left Arm"] | |
30 | local RightArm2 = Character["Right Arm"] | |
31 | local LeftLeg2 = Character["Left Leg"] | |
32 | local RightLeg2 = Character["Right Leg"] | |
33 | local Head2 = Character.Head | |
34 | local Torso2 = Character.Torso | |
35 | local BC = char["Body Colors"] | |
36 | BC.HeadColor = BrickColor.new("White") | |
37 | BC.LeftArmColor = BrickColor.new("White") | |
38 | BC.LeftLegColor = BrickColor.new("White") | |
39 | BC.RightArmColor = BrickColor.new("White") | |
40 | BC.RightLegColor = BrickColor.new("White") | |
41 | BC.TorsoColor = BrickColor.new("Pastel brow") | |
42 | local player = game.Players.LocalPlayer | |
43 | local shirt = player.Character:WaitForChild("Shirt") | |
44 | local pants = player.Character:WaitForChild("Pants") | |
45 | wait() | |
46 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=107765153" | |
47 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=47721958" | |
48 | for _, v in pairs(char.Head:GetChildren()) do | |
49 | if v.ClassName == "Decal" then | |
50 | v:remove() | |
51 | end | |
52 | end | |
53 | face = Instance.new("Decal", char.Head) | |
54 | face.Texture = "http://www.roblox.com/asset/?id=161062586" | |
55 | char.Humanoid.MaxHealth = math.huge | |
56 | char.Humanoid.Health = math.huge | |
57 | for i, v in pairs(char:GetChildren()) do | |
58 | if v.ClassName == "Accessory" or v.ClassName == "Hat" then | |
59 | v:destroy() | |
60 | end | |
61 | end | |
62 | local Hair = Instance.new("Part") | |
63 | Hair.Parent = char | |
64 | Hair.Name = "Hair" | |
65 | Hair.Size = Vector3.new(0, 0, 0) | |
66 | Hair.CFrame = char.Head.CFrame | |
67 | Hair:BreakJoints() | |
68 | Hair.CanCollide = false | |
69 | Hair.TopSurface = "Smooth" | |
70 | Hair.BottomSurface = "Smooth" | |
71 | Hair.BrickColor = BrickColor.new("Gold") | |
72 | Weld = Instance.new("Weld") | |
73 | Weld.Name = "Weld" | |
74 | Weld.Part0 = char.Head | |
75 | Weld.Part1 = Hair | |
76 | Weld.Parent = char.Head | |
77 | Weld.C0 = CFrame.new(-0.1, 0.2, 0.1) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
78 | Mesh = Instance.new("SpecialMesh") | |
79 | Mesh.Parent = Hair | |
80 | Mesh.MeshId = "rbxassetid://76056263" | |
81 | Mesh.TextureId = "rbxassetid://71271504" | |
82 | Mesh.Scale = Vector3.new(1, 1, 1) | |
83 | player = game.Players.LocalPlayer | |
84 | chara = player.Character | |
85 | debby = game.Debris | |
86 | Mouse = player:GetMouse() | |
87 | chara.Humanoid.WalkSpeed = 8 | |
88 | atkd = false | |
89 | targetted = nil | |
90 | function New(Object, Parent, Name, Data) | |
91 | local Object = Instance.new(Object) | |
92 | for Index, Value in pairs(Data or {}) do | |
93 | Object[Index] = Value | |
94 | end | |
95 | Object.Parent = Parent | |
96 | Object.Name = Name | |
97 | return Object | |
98 | end | |
99 | Knifu = New("Model", chara, "Knifu", {}) | |
100 | Handle = New("Part", Knifu, "Handle", { | |
101 | BrickColor = BrickColor.new("Black"), | |
102 | Material = Enum.Material.SmoothPlastic, | |
103 | Size = Vector3.new(0.200000003, 0.600000024, 0.400000006), | |
104 | CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
105 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
106 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
107 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
108 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
109 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
110 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
111 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
112 | }) | |
113 | Mesh = New("CylinderMesh", Handle, "Mesh", {}) | |
114 | KWeld = New("ManualWeld", Handle, "Weld", { | |
115 | Part0 = Handle, | |
116 | Part1 = chara["Right Arm"], | |
117 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
118 | C1 = CFrame.new(0, -1.00000644, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
119 | }) | |
120 | Hitbox = New("Part", Knifu, "Hitbox", { | |
121 | Transparency = 1, | |
122 | Transparency = 1, | |
123 | Size = Vector3.new(0.200000003, 1.4000001, 0.400000006), | |
124 | CFrame = CFrame.new(54.1000023, 0.6000067, 27.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
125 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
126 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
127 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
128 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
129 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
130 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
131 | }) | |
132 | Weld = New("ManualWeld", Hitbox, "Weld", { | |
133 | Part0 = Hitbox, | |
134 | Part1 = Handle, | |
135 | C1 = CFrame.new(0, 1.20000052, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
136 | }) | |
137 | Part = New("Part", Knifu, "Part", { | |
138 | BrickColor = BrickColor.new("Black"), | |
139 | Material = Enum.Material.SmoothPlastic, | |
140 | Size = Vector3.new(0.200000003, 0.200000003, 0.400000006), | |
141 | CFrame = CFrame.new(54.1000023, 0.6000067, 26.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
142 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
143 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
144 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
145 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
146 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
147 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
148 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
149 | }) | |
150 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
151 | Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005) | |
152 | }) | |
153 | Weld = New("ManualWeld", Part, "Weld", { | |
154 | Part0 = Part, | |
155 | Part1 = Handle, | |
156 | C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
157 | }) | |
158 | Part = New("Part", Knifu, "Part", { | |
159 | BrickColor = BrickColor.new("Black"), | |
160 | Material = Enum.Material.SmoothPlastic, | |
161 | Size = Vector3.new(0.200000003, 0.200000003, 0.400000006), | |
162 | CFrame = CFrame.new(54.1000023, 0.6000067, 26.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
163 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
164 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
165 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
166 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
167 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
168 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
169 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
170 | }) | |
171 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
172 | Scale = Vector3.new(1.5, 1.20000005, 1.5) | |
173 | }) | |
174 | Weld = New("ManualWeld", Part, "Weld", { | |
175 | Part0 = Part, | |
176 | Part1 = Handle, | |
177 | C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
178 | }) | |
179 | Part = New("Part", Knifu, "Part", { | |
180 | BrickColor = BrickColor.new("Black"), | |
181 | Material = Enum.Material.SmoothPlastic, | |
182 | Size = Vector3.new(0.200000003, 0.200000003, 0.400000006), | |
183 | CFrame = CFrame.new(54.1000023, 0.800005555, 26.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 0), | |
184 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
185 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
186 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
187 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
188 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
189 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
190 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
191 | }) | |
192 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
193 | Scale = Vector3.new(1, 1, 1.20000005), | |
194 | MeshType = Enum.MeshType.Wedge | |
195 | }) | |
196 | Weld = New("ManualWeld", Part, "Weld", { | |
197 | Part0 = Part, | |
198 | Part1 = Handle, | |
199 | C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
200 | C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
201 | }) | |
202 | Part = New("Part", Knifu, "Part", { | |
203 | BrickColor = BrickColor.new("Black"), | |
204 | Material = Enum.Material.SmoothPlastic, | |
205 | Size = Vector3.new(0.200000003, 0.200000003, 0.400000036), | |
206 | CFrame = CFrame.new(54.1000023, 0.400004029, 26.8000031, 1, 0, 0, 0, 0, 1, 0, -1, 0), | |
207 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
208 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
209 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
210 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
211 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
212 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
213 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
214 | }) | |
215 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
216 | Scale = Vector3.new(1, 1, 1.20000005), | |
217 | MeshType = Enum.MeshType.Wedge | |
218 | }) | |
219 | Weld = New("ManualWeld", Part, "Weld", { | |
220 | Part0 = Part, | |
221 | Part1 = Handle, | |
222 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1), | |
223 | C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
224 | }) | |
225 | Part = New("Part", Knifu, "Part", { | |
226 | Material = Enum.Material.SmoothPlastic, | |
227 | Reflectance = 0.20000000298023, | |
228 | Size = Vector3.new(0.200000003, 0.600000024, 0.200000003), | |
229 | CFrame = CFrame.new(54.1000023, 0.500006318, 27.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
230 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
231 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
232 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
233 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
234 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
235 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
236 | }) | |
237 | Mesh = New("BlockMesh", Part, "Mesh", { | |
238 | Scale = Vector3.new(0.400000006, 1, 1) | |
239 | }) | |
240 | Weld = New("ManualWeld", Part, "Weld", { | |
241 | Part0 = Part, | |
242 | Part1 = Handle, | |
243 | C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
244 | }) | |
245 | BloodPart = New("Part", Knifu, "BloodPart", { | |
246 | BrickColor = BrickColor.new("Crimson"), | |
247 | Material = Enum.Material.SmoothPlastic, | |
248 | Size = Vector3.new(0.200000003, 0.399999946, 0.400000036), | |
249 | CFrame = CFrame.new(54.1000023, 0.600008607, 28.1000042, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
250 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
251 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
252 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
253 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
254 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
255 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
256 | Color = Color3.new(0.592157, 0, 0) | |
257 | }) | |
258 | Mesh = New("SpecialMesh", BloodPart, "Mesh", { | |
259 | Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999), | |
260 | MeshType = Enum.MeshType.Wedge | |
261 | }) | |
262 | Weld = New("ManualWeld", BloodPart, "Weld", { | |
263 | Part0 = BloodPart, | |
264 | Part1 = Handle, | |
265 | C1 = CFrame.new(0, 1.70000005, 1.90734863E-6, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
266 | }) | |
267 | Part = New("Part", Knifu, "Part", { | |
268 | Material = Enum.Material.SmoothPlastic, | |
269 | Reflectance = 0.20000000298023, | |
270 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
271 | CFrame = CFrame.new(54.1000023, 0.700007081, 27.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
272 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
273 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
274 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
275 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
276 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
277 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
278 | }) | |
279 | Mesh = New("BlockMesh", Part, "Mesh", { | |
280 | Scale = Vector3.new(0.400000006, 1, 1) | |
281 | }) | |
282 | Weld = New("ManualWeld", Part, "Weld", { | |
283 | Part0 = Part, | |
284 | Part1 = Handle, | |
285 | C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
286 | }) | |
287 | Part = New("Part", Knifu, "Part", { | |
288 | Material = Enum.Material.SmoothPlastic, | |
289 | Reflectance = 0.20000000298023, | |
290 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
291 | CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 0), | |
292 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
293 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
294 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
295 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
296 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
297 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
298 | }) | |
299 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
300 | Offset = Vector3.new(0, -0.0500000007, -0.0500000007), | |
301 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
302 | MeshType = Enum.MeshType.Wedge | |
303 | }) | |
304 | Weld = New("ManualWeld", Part, "Weld", { | |
305 | Part0 = Part, | |
306 | Part1 = Handle, | |
307 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
308 | C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
309 | }) | |
310 | Part = New("Part", Knifu, "Part", { | |
311 | Material = Enum.Material.SmoothPlastic, | |
312 | Reflectance = 0.20000000298023, | |
313 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
314 | CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 0), | |
315 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
316 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
317 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
318 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
319 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
320 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
321 | }) | |
322 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
323 | Offset = Vector3.new(0, 0.0500000007, -0.0500000007), | |
324 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
325 | MeshType = Enum.MeshType.Wedge | |
326 | }) | |
327 | Weld = New("ManualWeld", Part, "Weld", { | |
328 | Part0 = Part, | |
329 | Part1 = Handle, | |
330 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
331 | C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
332 | }) | |
333 | Part = New("Part", Knifu, "Part", { | |
334 | Material = Enum.Material.SmoothPlastic, | |
335 | Reflectance = 0.20000000298023, | |
336 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
337 | CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 0), | |
338 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
339 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
340 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
341 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
342 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
343 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
344 | }) | |
345 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
346 | Offset = Vector3.new(0, -0.0500000007, -0.0500000007), | |
347 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
348 | MeshType = Enum.MeshType.Wedge | |
349 | }) | |
350 | Weld = New("ManualWeld", Part, "Weld", { | |
351 | Part0 = Part, | |
352 | Part1 = Handle, | |
353 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
354 | C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
355 | }) | |
356 | Part = New("Part", Knifu, "Part", { | |
357 | Material = Enum.Material.SmoothPlastic, | |
358 | Reflectance = 0.20000000298023, | |
359 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
360 | CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 0), | |
361 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
362 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
363 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
364 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
365 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
366 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
367 | }) | |
368 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
369 | Offset = Vector3.new(0, 0.0500000007, -0.0500000007), | |
370 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
371 | MeshType = Enum.MeshType.Wedge | |
372 | }) | |
373 | Weld = New("ManualWeld", Part, "Weld", { | |
374 | Part0 = Part, | |
375 | Part1 = Handle, | |
376 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
377 | C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
378 | }) | |
379 | Part = New("Part", Knifu, "Part", { | |
380 | Material = Enum.Material.SmoothPlastic, | |
381 | Reflectance = 0.20000000298023, | |
382 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
383 | CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 0), | |
384 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
385 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
386 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
387 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
388 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
389 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
390 | }) | |
391 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
392 | Offset = Vector3.new(0, 0.0500000007, -0.0500000007), | |
393 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
394 | MeshType = Enum.MeshType.Wedge | |
395 | }) | |
396 | Weld = New("ManualWeld", Part, "Weld", { | |
397 | Part0 = Part, | |
398 | Part1 = Handle, | |
399 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
400 | C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
401 | }) | |
402 | Part = New("Part", Knifu, "Part", { | |
403 | Material = Enum.Material.SmoothPlastic, | |
404 | Reflectance = 0.20000000298023, | |
405 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
406 | CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 0), | |
407 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
408 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
409 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
410 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
411 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
412 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
413 | }) | |
414 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
415 | Offset = Vector3.new(0, -0.0500000007, -0.0500000007), | |
416 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
417 | MeshType = Enum.MeshType.Wedge | |
418 | }) | |
419 | Weld = New("ManualWeld", Part, "Weld", { | |
420 | Part0 = Part, | |
421 | Part1 = Handle, | |
422 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
423 | C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
424 | }) | |
425 | Part = New("Part", Knifu, "Part", { | |
426 | Material = Enum.Material.SmoothPlastic, | |
427 | Reflectance = 0.20000000298023, | |
428 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
429 | CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 0), | |
430 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
431 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
432 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
433 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
434 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
435 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
436 | }) | |
437 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
438 | Offset = Vector3.new(0, -0.0500000007, -0.0500000007), | |
439 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
440 | MeshType = Enum.MeshType.Wedge | |
441 | }) | |
442 | Weld = New("ManualWeld", Part, "Weld", { | |
443 | Part0 = Part, | |
444 | Part1 = Handle, | |
445 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
446 | C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
447 | }) | |
448 | Part = New("Part", Knifu, "Part", { | |
449 | Material = Enum.Material.SmoothPlastic, | |
450 | Reflectance = 0.20000000298023, | |
451 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
452 | CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 0), | |
453 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
454 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
455 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
456 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
457 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
458 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
459 | }) | |
460 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
461 | Offset = Vector3.new(0, 0.0500000007, -0.0500000007), | |
462 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
463 | MeshType = Enum.MeshType.Wedge | |
464 | }) | |
465 | Weld = New("ManualWeld", Part, "Weld", { | |
466 | Part0 = Part, | |
467 | Part1 = Handle, | |
468 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
469 | C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
470 | }) | |
471 | Part = New("Part", Knifu, "Part", { | |
472 | Material = Enum.Material.SmoothPlastic, | |
473 | Reflectance = 0.20000000298023, | |
474 | Size = Vector3.new(0.200000003, 1, 0.200000003), | |
475 | CFrame = CFrame.new(54.1000023, 0.700007081, 27.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
476 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
477 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
478 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
479 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
480 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
481 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
482 | }) | |
483 | Mesh = New("BlockMesh", Part, "Mesh", { | |
484 | Offset = Vector3.new(0, 0, -0.0500000007), | |
485 | Scale = Vector3.new(0.400000006, 1, 0.5) | |
486 | }) | |
487 | Weld = New("ManualWeld", Part, "Weld", { | |
488 | Part0 = Part, | |
489 | Part1 = Handle, | |
490 | C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
491 | }) | |
492 | Part = New("Part", Knifu, "Part", { | |
493 | BrickColor = BrickColor.new("Black"), | |
494 | Material = Enum.Material.SmoothPlastic, | |
495 | Size = Vector3.new(0.200000003, 0.200000003, 0.400000006), | |
496 | CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
497 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
498 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
499 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
500 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
501 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
502 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
503 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
504 | }) | |
505 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
506 | Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005) | |
507 | }) | |
508 | Weld = New("ManualWeld", Part, "Weld", { | |
509 | Part0 = Part, | |
510 | Part1 = Handle, | |
511 | C1 = CFrame.new(0, 2.38418579E-7, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
512 | }) | |
513 | Part = New("Part", Knifu, "Part", { | |
514 | BrickColor = BrickColor.new("Black"), | |
515 | Material = Enum.Material.SmoothPlastic, | |
516 | Size = Vector3.new(0.200000003, 0.200000003, 0.400000006), | |
517 | CFrame = CFrame.new(54.1000023, 0.6000067, 26.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
518 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
519 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
520 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
521 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
522 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
523 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
524 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
525 | }) | |
526 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
527 | Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005) | |
528 | }) | |
529 | Weld = New("ManualWeld", Part, "Weld", { | |
530 | Part0 = Part, | |
531 | Part1 = Handle, | |
532 | C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
533 | }) | |
534 | Blood2Part = New("Part", Knifu, "Blood2Part", { | |
535 | BrickColor = BrickColor.new("Crimson"), | |
536 | Material = Enum.Material.SmoothPlastic, | |
537 | Size = Vector3.new(0.200000003, 0.400000036, 0.200000003), | |
538 | CFrame = CFrame.new(54.1000023, 0.500006318, 27.7000046, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
539 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
540 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
541 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
542 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
543 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
544 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
545 | Color = Color3.new(0.592157, 0, 0) | |
546 | }) | |
547 | Mesh = New("BlockMesh", Blood2Part, "Mesh", { | |
548 | Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999) | |
549 | }) | |
550 | Weld = New("ManualWeld", Blood2Part, "Weld", { | |
551 | Part0 = Blood2Part, | |
552 | Part1 = Handle, | |
553 | C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
554 | }) | |
555 | Part = New("Part", Knifu, "Part", { | |
556 | BrickColor = BrickColor.new("Crimson"), | |
557 | Material = Enum.Material.SmoothPlastic, | |
558 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000033), | |
559 | CFrame = CFrame.new(54.1000023, 0.700008988, 27.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 0), | |
560 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
561 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
562 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
563 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
564 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
565 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
566 | Color = Color3.new(0.592157, 0, 0) | |
567 | }) | |
568 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
569 | Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999), | |
570 | MeshType = Enum.MeshType.Wedge | |
571 | }) | |
572 | Weld = New("ManualWeld", Part, "Weld", { | |
573 | Part0 = Part, | |
574 | Part1 = Handle, | |
575 | C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
576 | C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
577 | }) | |
578 | Part = New("Part", Knifu, "Part", { | |
579 | BrickColor = BrickColor.new("Crimson"), | |
580 | Material = Enum.Material.SmoothPlastic, | |
581 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000033), | |
582 | CFrame = CFrame.new(54.1000023, 0.500008225, 27.4000034, -1, 0, 0, 0, 0, -1, 0, -1, 0), | |
583 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
584 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
585 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
586 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
587 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
588 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
589 | Color = Color3.new(0.592157, 0, 0) | |
590 | }) | |
591 | Mesh = New("SpecialMesh", Part, "Mesh", { | |
592 | Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999), | |
593 | MeshType = Enum.MeshType.Wedge | |
594 | }) | |
595 | Weld = New("ManualWeld", Part, "Weld", { | |
596 | Part0 = Part, | |
597 | Part1 = Handle, | |
598 | C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
599 | C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
600 | }) | |
601 | local p1mit = Instance.new("ParticleEmitter", Hitbox) | |
602 | p1mit.Texture = "rbxasset://textures/particles/fire_main.dds" | |
603 | p1mit.Color = ColorSequence.new({ | |
604 | ColorSequenceKeypoint.new(0, Color3.new(0.6, 0, 0)), | |
605 | ColorSequenceKeypoint.new(1, Color3.new(0.6, 0, 0)) | |
606 | }) | |
607 | p1mit.Size = NumberSequence.new({ | |
608 | NumberSequenceKeypoint.new(0, 1), | |
609 | NumberSequenceKeypoint.new(1, 0) | |
610 | }) | |
611 | p1mit.Lifetime = NumberRange.new(2) | |
612 | p1mit.Rate = 100 | |
613 | p1mit.Enabled = false | |
614 | p1mit.Acceleration = Vector3.new(0, -5, 0) | |
615 | p1mit.Rotation = NumberRange.new(0, 359) | |
616 | p1mit.Speed = NumberRange.new(0) | |
617 | local p2mit = Instance.new("ParticleEmitter", BloodPart) | |
618 | p2mit.Texture = "http://www.roblox.com/asset/?id=243132757" | |
619 | p2mit.Color = ColorSequence.new({ | |
620 | ColorSequenceKeypoint.new(0, Color3.new(0.6, 0, 0)), | |
621 | ColorSequenceKeypoint.new(1, Color3.new(0.6, 0, 0)) | |
622 | }) | |
623 | p2mit.Size = NumberSequence.new({ | |
624 | NumberSequenceKeypoint.new(0, 0.1), | |
625 | NumberSequenceKeypoint.new(1, 0.1) | |
626 | }) | |
627 | p2mit.Lifetime = NumberRange.new(1) | |
628 | p2mit.Rate = 10 | |
629 | p2mit.Acceleration = Vector3.new(0, -10, 0) | |
630 | p2mit.Speed = NumberRange.new(0) | |
631 | local p3mit = p2mit:Clone() | |
632 | p3mit.Parent = Blood2Part | |
633 | crosshair = Instance.new("BillboardGui", chara) | |
634 | crosshair.Size = UDim2.new(10, 0, 10, 0) | |
635 | crosshair.Enabled = false | |
636 | imgl = Instance.new("ImageLabel", crosshair) | |
637 | imgl.Position = UDim2.new(0, 0, 0, 0) | |
638 | imgl.Size = UDim2.new(1, 0, 1, 0) | |
639 | imgl.Image = "rbxassetid://115337883" | |
640 | imgl.BackgroundTransparency = 1 | |
641 | function LoadSnd(id, loop, vol, pit) | |
642 | local snd = New("Sound", chara, "Sound", { | |
643 | SoundId = "rbxassetid://" .. id, | |
644 | Looped = loop, | |
645 | Volume = vol, | |
646 | Pitch = pit | |
647 | }) | |
648 | return snd | |
649 | end | |
650 | Music = LoadSnd(577647313, true, 1, 1) | |
651 | SwingSnd = LoadSnd(668756205, false, 6, 0.5) | |
652 | HitSnd = LoadSnd(192088330, false, 10, 1) | |
653 | ChatSnd = LoadSnd(573249100, false, 1, 0.4) | |
654 | ThrowSnd = LoadSnd(743521497, false, 5, 1) | |
655 | TargetSnd = LoadSnd(408035394, false, 4, 1) | |
656 | Music:Play() | |
657 | function PlaySnd(snd, part) | |
658 | local sound = snd:Clone() | |
659 | sound.PlayOnRemove = true | |
660 | sound.Parent = part | |
661 | sound:Destroy() | |
662 | end | |
663 | function TargetSelect(person) | |
664 | local dd = coroutine.wrap(function() | |
665 | if targetted ~= person then | |
666 | targetted = person | |
667 | for i = 0, 30, 10 do | |
668 | wait(0.05) | |
669 | crosshair.Size = UDim2.new(40 - i, 0, 40 - i, 0) | |
670 | end | |
671 | end | |
672 | end) | |
673 | dd() | |
674 | end | |
675 | function dealdmg(dude) | |
676 | dude.Humanoid.PlatformStand = true | |
677 | local bgf = Instance.new("BodyGyro", dude.Head) | |
678 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0) | |
679 | local val = Instance.new("BoolValue", dude) | |
680 | val.Name = "IsHit" | |
681 | for i = 1, 6 do | |
682 | local blo = Instance.new("Part", game.Workspace) | |
683 | blo.Size = Vector3.new(0.6, 0.2, 0.6) | |
684 | blo.Material = "SmoothPlastic" | |
685 | blo.BrickColor = BrickColor.new("Crimson") | |
686 | blo.Position = dude.Head.Position | |
687 | blo.CFrame = dude.Head.CFrame | |
688 | debby:AddItem(blo, 30) | |
689 | end | |
690 | local ds = coroutine.wrap(function() | |
691 | wait(1) | |
692 | dude.Humanoid.Health = 0 | |
693 | end) | |
694 | ds() | |
695 | end | |
696 | function ExHitbox(rad, pos, damage, env, toim) | |
697 | local E = Instance.new("Explosion") | |
698 | E.Position = pos | |
699 | E.Parent = game.Workspace | |
700 | E.BlastRadius = rad | |
701 | E.BlastPressure = 0 | |
702 | E.Visible = false | |
703 | end | |
704 | function chatfunc(text) | |
705 | local chat = coroutine.wrap(function() | |
706 | if chara:FindFirstChild("TalkingBillBoard") ~= nil then | |
707 | chara:FindFirstChild("TalkingBillBoard"):destroy() | |
708 | end | |
709 | local naeeym2 = Instance.new("BillboardGui", chara) | |
710 | naeeym2.Size = UDim2.new(0, 100, 0, 40) | |
711 | naeeym2.StudsOffset = Vector3.new(0, 3, 0) | |
712 | naeeym2.Adornee = chara.Head | |
713 | naeeym2.Name = "TalkingBillBoard" | |
714 | local tecks2 = Instance.new("TextLabel", naeeym2) | |
715 | tecks2.BackgroundTransparency = 1 | |
716 | tecks2.BorderSizePixel = 0 | |
717 | tecks2.Text = "" | |
718 | tecks2.Font = "Fantasy" | |
719 | tecks2.FontSize = "Size24" | |
720 | tecks2.TextStrokeTransparency = 0 | |
721 | tecks2.TextColor3 = Color3.new(0.6, 0, 0) | |
722 | tecks2.TextStrokeColor3 = Color3.new(0, 0, 0) | |
723 | tecks2.Size = UDim2.new(1, 0, 0.5, 0) | |
724 | for i = 1, string.len(text) do | |
725 | PlaySnd(ChatSnd, chara) | |
726 | tecks2.Text = string.sub(text, 1, i) | |
727 | wait(0.01) | |
728 | end | |
729 | wait(1) | |
730 | for i = 1, 5 do | |
731 | wait(0.01) | |
732 | tecks2.Position = tecks2.Position - UDim2.new(0, 0, 0.05, 0) | |
733 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.2 | |
734 | tecks2.TextTransparency = tecks2.TextTransparency + 0.2 | |
735 | end | |
736 | naeeym2:Destroy() | |
737 | end) | |
738 | chat() | |
739 | end | |
740 | function onChatted(msg) | |
741 | chatfunc(msg) | |
742 | end | |
743 | player.Chatted:connect(onChatted) | |
744 | function SlashEff(pos) | |
745 | local p = Instance.new("Part", game.Workspace) | |
746 | p.Size = Vector3.new(0, 0, 0) | |
747 | p.BrickColor = BrickColor.new("White") | |
748 | p.Material = "Neon" | |
749 | p.Anchored = true | |
750 | p.CanCollide = false | |
751 | p.CFrame = pos * CFrame.fromEulerAnglesXYZ(math.random(0, math.rad(359)), math.random(0, math.rad(359)), math.random(0, math.rad(359))) | |
752 | local pm = Instance.new("SpecialMesh", p) | |
753 | pm.MeshType = "Sphere" | |
754 | pm.Scale = Vector3.new(2.5, 0, 2.5) | |
755 | local disp = coroutine.wrap | |
756 | disp() | |
757 | end | |
758 | function SuperPause() | |
759 | SuperSnd:Play() | |
760 | local p = Instance.new("Part", game.Workspace) | |
761 | p.Size = Vector3.new(0, 0, 0) | |
762 | p.BrickColor = BrickColor.new("White") | |
763 | p.Material = "Neon" | |
764 | p.Anchored = true | |
765 | p.CanCollide = false | |
766 | p.CFrame = chara.Torso.CFrame | |
767 | local pm = Instance.new("SpecialMesh", p) | |
768 | pm.MeshType = "Sphere" | |
769 | local disp = coroutine.wrap | |
770 | disp() | |
771 | end | |
772 | dela = 0.5 | |
773 | bladeactive = false | |
774 | stormvipactive = false | |
775 | executeactive = false | |
776 | function bladehit(hit) | |
777 | if bladeactive == true and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("IsHit") == nil then | |
778 | p1mit.Enabled = true | |
779 | PlaySnd(HitSnd, hit.Parent.Head) | |
780 | dealdmg(hit.Parent) | |
781 | if stormvipactive == true then | |
782 | local bf = Instance.new("BodyVelocity", hit.Parent.Head) | |
783 | bf.P = 10000 | |
784 | bf.MaxForce = Vector3.new(bf.P, bf.P, bf.P) | |
785 | bf.Velocity = Vector3.new(0, 100, 0) | |
786 | debby:AddItem(bf, 0.2) | |
787 | end | |
788 | if executeactive == true then | |
789 | local we = Instance.new("Weld", Hitbox) | |
790 | we.Name = "HitWeld" | |
791 | we.Part0 = hit.Parent.Head | |
792 | we.Part1 = Hitbox | |
793 | we.C0 = we.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, 0) | |
794 | end | |
795 | wait(0.5) | |
796 | p1mit.Enabled = false | |
797 | end | |
798 | end | |
799 | Hitbox.Touched:connect(bladehit) | |
800 | gprop = {} | |
801 | function materialhit(hit) | |
802 | if hit.Parent ~= chara and hit.Parent.Parent ~= chara and hit.Name ~= "Trace" and hit.Parent:FindFirstChild("Humanoid") == nil then | |
803 | gprop = { | |
804 | hit.BrickColor, | |
805 | hit.Material | |
806 | } | |
807 | end | |
808 | end | |
809 | chara["Left Leg"].Touched:connect(materialhit) | |
810 | chara["Right Leg"].Touched:connect(materialhit) | |
811 | TC = chara.HumanoidRootPart.RootJoint | |
812 | HC = chara.Torso.Neck | |
813 | RAC = chara.Torso["Right Shoulder"] | |
814 | LAC = chara.Torso["Left Shoulder"] | |
815 | RLC = chara.Torso["Right Hip"] | |
816 | LLC = chara.Torso["Left Hip"] | |
817 | TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
818 | HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
819 | RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
820 | LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
821 | RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
822 | LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
823 | RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
824 | LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
825 | RLWF = CFrame.new(-0.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
826 | LLWF = CFrame.new(0.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
827 | RW = Instance.new("Weld", HC.Parent) | |
828 | RW.Part1 = HC.Parent | |
829 | RW.Part0 = chara["Right Arm"] | |
830 | RW.C0 = RWF | |
831 | LW = Instance.new("Weld", HC.Parent) | |
832 | LW.Part1 = HC.Parent | |
833 | LW.Part0 = chara["Left Arm"] | |
834 | LW.C0 = LWF | |
835 | RLW = nil | |
836 | LLW = nil | |
837 | function Sheath(stype) | |
838 | KWeld:Destroy() | |
839 | if stype == 1 then | |
840 | KWeld = New("ManualWeld", Handle, "Weld", { | |
841 | Part0 = Handle, | |
842 | Part1 = chara["Right Arm"], | |
843 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), | |
844 | C1 = CFrame.new(0, -1.00000644, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
845 | }) | |
846 | elseif stype == 2 then | |
847 | KWeld = New("ManualWeld", Handle, "Weld", { | |
848 | Part0 = Handle, | |
849 | Part1 = chara["Right Arm"], | |
850 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1.00000525, 4.17232513E-7, 0, 4.17232513E-7, 1.00000525), | |
851 | C1 = CFrame.new(0, -0.600002885, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
852 | }) | |
853 | end | |
854 | end | |
855 | function AddLegWelds() | |
856 | RLW = Instance.new("Weld", chara["Right Leg"]) | |
857 | RLW.Part1 = HC.Parent | |
858 | RLW.Part0 = chara["Right Leg"] | |
859 | RLW.C0 = RLWF | |
860 | LLW = Instance.new("Weld", chara["Left Leg"]) | |
861 | LLW.Part1 = HC.Parent | |
862 | LLW.Part0 = chara["Left Leg"] | |
863 | LLW.C0 = LLWF | |
864 | end | |
865 | function DestroyLegWelds() | |
866 | RLC = New("Motor6D", chara.Torso, "Right Hip", { | |
867 | Part0 = chara.Torso, | |
868 | Part1 = chara["Right Leg"], | |
869 | C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0), | |
870 | C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
871 | }) | |
872 | LLC = New("Motor6D", chara.Torso, "Left Hip", { | |
873 | Part0 = chara.Torso, | |
874 | Part1 = chara["Left Leg"], | |
875 | C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), | |
876 | C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
877 | }) | |
878 | RLW:Destroy() | |
879 | LLW:Destroy() | |
880 | end | |
881 | function clerp(a, b, c) | |
882 | return a:lerp(b, c) | |
883 | end | |
884 | TC.C0 = TCF | |
885 | HC.C0 = HCF | |
886 | RW.C0 = RWF | |
887 | LW.C0 = LWF | |
888 | ITCF = TCF * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(10)) | |
889 | IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(10), 0, math.rad(-10)) | |
890 | IRWF = RWF * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(-2)) | |
891 | ILWF = LWF * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(2)) | |
892 | TC.C0 = ITCF | |
893 | HC.C0 = IHCF | |
894 | RW.C0 = IRWF | |
895 | LW.C0 = ILWF | |
896 | function ClawDash() | |
897 | del = true | |
898 | atkd = true | |
899 | chara.Humanoid.WalkSpeed = 0 | |
900 | chatfunc("Without a trace...") | |
901 | for i = 0, 0.6, 0.2 do | |
902 | wait(0.01) | |
903 | TC.C0 = clerp(ITCF, TCF * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(90)), 0.4 + i) | |
904 | HC.C0 = clerp(IHCF, HCF * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(-90)), 0.4 + i) | |
905 | RW.C0 = clerp(IRWF, RWF, 0.4 + i) | |
906 | end | |
907 | local hittpart = Instance.new("Part", chara) | |
908 | hittpart.Anchored = true | |
909 | hittpart.Size = Vector3.new(5, 5, 1) | |
910 | hittpart.Transparency = 1 | |
911 | hittpart.CFrame = chara.HumanoidRootPart.CFrame + chara.HumanoidRootPart.CFrame.lookVector * 3 | |
912 | local sawlookv = hittpart.CFrame.lookVector | |
913 | local hitm = Instance.new("BlockMesh", hittpart) | |
914 | hitm.Scale = Vector3.new(0, 0, 0) | |
915 | local trpart = Instance.new("Part", chara) | |
916 | trpart.Anchored = true | |
917 | trpart.Size = Vector3.new(0, 0, 0) | |
918 | trpart.CFrame = hittpart.CFrame | |
919 | trpart.BrickColor = BrickColor.new("Really black") | |
920 | local trmesh = Instance.new("FileMesh", trpart) | |
921 | trmesh.Scale = Vector3.new(0, 0, 0) | |
922 | trmesh.MeshId = "http://www.roblox.com/asset/?id=" | |
923 | local hdec1 = Instance.new("Decal", hittpart) | |
924 | hdec1.Texture = "http://www.roblox.com/asset/?id=362691215" | |
925 | hdec1.Face = "Front" | |
926 | local hdec2 = hdec1:Clone() | |
927 | hdec2.Parent = hittpart | |
928 | hdec2.Face = "Back" | |
929 | OrbSnd:Play() | |
930 | ElectricSnd:Play() | |
931 | for i = 1, 5 do | |
932 | hitm.Scale = hitm.Scale + Vector3.new(0.2, 0.2, 0) | |
933 | trmesh.Scale = trmesh.Scale + Vector3.new(1, 1, 0.1) | |
934 | wait(0.01) | |
935 | end | |
936 | for i = 1, 60 do | |
937 | wait(0.01) | |
938 | hittpart.CFrame = hittpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0, math.pi / 64) | |
939 | end | |
940 | if hittpart ~= nil then | |
941 | for i = 1, 5 do | |
942 | hitm.Scale = hitm.Scale - Vector3.new(0.2, 0.2, 0) | |
943 | trmesh.Scale = trmesh.Scale - Vector3.new(1, 1, 0.1) | |
944 | wait(0.01) | |
945 | end | |
946 | hittpart:Destroy() | |
947 | trpart:Destroy() | |
948 | for i = 0, 0.6, 0.2 do | |
949 | wait(0.01) | |
950 | TC.C0 = clerp(ITCF, TCF * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(90)), 0.6 - i) | |
951 | HC.C0 = clerp(IHCF, HCF * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(-90)), 0.6 - i) | |
952 | RW.C0 = clerp(IRWF, RWF, 0.6 - i) | |
953 | end | |
954 | del = false | |
955 | chara.Humanoid.WalkSpeed = 32 | |
956 | end | |
957 | end | |
958 | function KillThem() | |
959 | del = true | |
960 | atkd = true | |
961 | chara.Humanoid.WalkSpeed = 0 | |
962 | bladeactive = true | |
963 | SwingSnd:Play() | |
964 | Sheath(2) | |
965 | wait(0.01) | |
966 | for i = 0, 0.75, 0.22 do | |
967 | wait(0.01) | |
968 | TC.C0 = clerp(ITCF, TCF * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(90)), 0.4 + i) | |
969 | HC.C0 = clerp(IHCF, HCF * CFrame.fromEulerAnglesXYZ(math.rad(10), 0, math.rad(-90)), 0.4 + i) | |
970 | RW.C0 = clerp(IRWF, (RWF + Vector3.new(0.5, 1.4, 0)) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(-90)), 0.4 + i) | |
971 | end | |
972 | wait(1) | |
973 | Sheath(1) | |
974 | bladeactive = false | |
975 | for i = 0, 0.6, 0.2 do | |
976 | wait(0.01) | |
977 | TC.C0 = clerp(ITCF, TCF * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(90)), 0.6 - i) | |
978 | HC.C0 = clerp(IHCF, HCF * CFrame.fromEulerAnglesXYZ(math.rad(10), 0, math.rad(-90)), 0.6 - i) | |
979 | RW.C0 = clerp(IRWF, (RWF + Vector3.new(0.5, 1.4, 0)) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(-90)), 0.6 - i) | |
980 | end | |
981 | TC.C0 = ITCF | |
982 | HC.C0 = IHCF | |
983 | RW.C0 = IRWF | |
984 | LW.C0 = ILWF | |
985 | chara.Humanoid.WalkSpeed = 8 | |
986 | del = false | |
987 | end | |
988 | function EndThem() | |
989 | del = true | |
990 | atkd = true | |
991 | chara.Humanoid.WalkSpeed = 0 | |
992 | bladeactive = true | |
993 | SwingSnd:Play() | |
994 | wait(0.01) | |
995 | for i = 0, 0.75, 0.25 do | |
996 | wait(0.01) | |
997 | TC.C0 = clerp(ITCF, TCF, 0.4 + i) | |
998 | HC.C0 = clerp(IHCF, HCF * CFrame.fromEulerAnglesXYZ(math.rad(10), 0, 0), 0.4 + i) | |
999 | RW.C0 = clerp(IRWF, (RWF + Vector3.new(0.5, 0, -0.4)) * CFrame.fromEulerAnglesXYZ(math.rad(-150), 0, math.rad(-90)), 0.4 + i) | |
1000 | end | |
1001 | wait(0.5) | |
1002 | bladeactive = false | |
1003 | for i = 0, 0.6, 0.2 do | |
1004 | wait(0.01) | |
1005 | TC.C0 = clerp(ITCF, TCF, 0.6 - i) | |
1006 | HC.C0 = clerp(IHCF, HCF * CFrame.fromEulerAnglesXYZ(math.rad(10), 0, 0), 0.6 - i) | |
1007 | RW.C0 = clerp(IRWF, (RWF + Vector3.new(0.5, 0, -0.4)) * CFrame.fromEulerAnglesXYZ(math.rad(-150), 0, math.rad(-90)), 0.6 - i) | |
1008 | end | |
1009 | TC.C0 = ITCF | |
1010 | HC.C0 = IHCF | |
1011 | RW.C0 = IRWF | |
1012 | LW.C0 = ILWF | |
1013 | chara.Humanoid.WalkSpeed = 8 | |
1014 | del = false | |
1015 | end | |
1016 | function MurderThem() | |
1017 | del = true | |
1018 | atkd = true | |
1019 | chara.Humanoid.WalkSpeed = 0 | |
1020 | for i = 0, 0.6, 0.2 do | |
1021 | wait(0.01) | |
1022 | TC.C0 = clerp(ITCF, TCF * CFrame.fromEulerAnglesXYZ(math.rad(-25), 0, math.rad(100)), 0.4 + i) | |
1023 | HC.C0 = clerp(IHCF, HCF * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(100)), 0.4 + i) | |
1024 | RW.C0 = clerp(IRWF, (RWF + Vector3.new(0.7, 1.4, -1.1)) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), math.rad(-180)), 0.4 + i) | |
1025 | LW.C0 = clerp(ILWF, (LWF + Vector3.new(0, 0.4, 0)) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(30)), 0.4 + i) | |
1026 | end | |
1027 | local bf = Instance.new("BodyVelocity", chara.Torso) | |
1028 | bf.P = 10000 | |
1029 | bf.MaxForce = Vector3.new(bf.P, bf.P, bf.P) | |
1030 | bf.Velocity = Vector3.new(0, 100, 0) + chara.HumanoidRootPart.CFrame.lookVector * 5 | |
1031 | SwingSnd:Play() | |
1032 | stormvipactive = true | |
1033 | bladeactive = true | |
1034 | wait(0.2) | |
1035 | stormvipactive = false | |
1036 | bladeactive = false | |
1037 | bf:Destroy() | |
1038 | for i = 0, 0.6, 0.2 do | |
1039 | wait(0.01) | |
1040 | TC.C0 = clerp(ITCF, TCF * CFrame.fromEulerAnglesXYZ(math.rad(-25), 0, math.rad(100)), 0.6 - i) | |
1041 | HC.C0 = clerp(IHCF, HCF * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(100)), 0.6 - i) | |
1042 | RW.C0 = clerp(IRWF, (RWF + Vector3.new(0.7, 1.4, -1.1)) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), math.rad(-180)), 0.6 - i) | |
1043 | LW.C0 = clerp(ILWF, (LWF + Vector3.new(0, 0.4, 0)) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(30)), 0.6 - i) | |
1044 | end | |
1045 | TC.C0 = ITCF | |
1046 | HC.C0 = IHCF | |
1047 | RW.C0 = IRWF | |
1048 | LW.C0 = ILWF | |
1049 | chara.Humanoid.WalkSpeed = 8 | |
1050 | del = false | |
1051 | end | |
1052 | function ExecuteThem() | |
1053 | del = true | |
1054 | atkd = true | |
1055 | for i = 0, 0.6, 0.2 do | |
1056 | wait(0.01) | |
1057 | TC.C0 = clerp(ITCF, TCF * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, 0), 0.4 + i) | |
1058 | HC.C0 = clerp(IHCF, HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45), 0, 0), 0.4 + i) | |
1059 | RW.C0 = clerp(IRWF, (RWF + Vector3.new(0, 1, 0)) * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, 0), 0.4 + i) | |
1060 | end | |
1061 | TC.C0 = TCF * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, 0) | |
1062 | HC.C0 = HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45), 0, 0) | |
1063 | RW.C0 = (RWF + Vector3.new(0, 1, 0)) * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, 0) | |
1064 | local bf = Instance.new("BodyVelocity", chara.Torso) | |
1065 | bf.P = 10000 | |
1066 | bf.MaxForce = Vector3.new(bf.P, bf.P, bf.P) | |
1067 | bf.Velocity = Vector3.new(0, 100, 0) + chara.HumanoidRootPart.CFrame.lookVector * 5 | |
1068 | Sheath(2) | |
1069 | SwingSnd:Play() | |
1070 | executeactive = true | |
1071 | bladeactive = true | |
1072 | wait(0.2) | |
1073 | bf:Destroy() | |
1074 | wait(0.5) | |
1075 | if Hitbox:FindFirstChild("HitWeld") ~= nil then | |
1076 | Hitbox:FindFirstChild("HitWeld"):Destroy() | |
1077 | end | |
1078 | Sheath(1) | |
1079 | executeactive = false | |
1080 | bladeactive = false | |
1081 | for i = 0, 0.6, 0.2 do | |
1082 | wait(0.01) | |
1083 | TC.C0 = clerp(ITCF, TCF * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, 0), 0.6 - i) | |
1084 | HC.C0 = clerp(IHCF, HCF * CFrame.fromEulerAnglesXYZ(math.rad(-45), 0, 0), 0.6 - i) | |
1085 | RW.C0 = clerp(IRWF, (RWF + Vector3.new(0, 1, 0)) * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, 0), 0.6 - i) | |
1086 | end | |
1087 | TC.C0 = ITCF | |
1088 | HC.C0 = IHCF | |
1089 | RW.C0 = IRWF | |
1090 | LW.C0 = ILWF | |
1091 | del = false | |
1092 | end | |
1093 | function ExpungeThem() | |
1094 | del = true | |
1095 | atkd = true | |
1096 | chara.Humanoid.WalkSpeed = 0 | |
1097 | for i = 0, 1, 0.5 do | |
1098 | wait(0.01) | |
1099 | TC.C0 = clerp(ITCF, TCF * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(90)), 0.4 + i) | |
1100 | HC.C0 = clerp(IHCF, HCF * CFrame.fromEulerAnglesXYZ(math.rad(10), 0, math.rad(-90)), 0.4 + i) | |
1101 | RW.C0 = clerp(IRWF, (RWF + Vector3.new(0.5, 1.4, 0)) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(-90)), 0.4 + i) | |
1102 | end | |
1103 | ThrowSnd:Play() | |
1104 | local knc = Knifu:GetChildren() | |
1105 | for i = 1, #knc do | |
1106 | knc[i].Transparency = 1 | |
1107 | end | |
1108 | wait(0.2) | |
1109 | KnifuHit = New("Model", game.Workspace, "KnifuHit", {}) | |
1110 | debby:AddItem(KnifuHit, 5) | |
1111 | HWeldPart = New("Part", KnifuHit, "HWeldPart", { | |
1112 | BrickColor = BrickColor.new("Black"), | |
1113 | Material = Enum.Material.SmoothPlastic, | |
1114 | Size = Vector3.new(0.200000003, 0.600000024, 0.400000006), | |
1115 | CFrame = CFrame.new(68.6099854, 1.50001717, 8.10717869, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536), | |
1116 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1117 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1118 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1119 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1120 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1121 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1122 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1123 | }) | |
1124 | Mesh = New("CylinderMesh", HWeldPart, "Mesh", {}) | |
1125 | Weld = New("ManualWeld", HWeldPart, "Weld", { | |
1126 | Part0 = HWeldPart, | |
1127 | Part1 = targetted.Head, | |
1128 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536), | |
1129 | C1 = CFrame.new(0.00998687744, 1.00000417, -1.79282093, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1130 | }) | |
1131 | HPart = New("Part", KnifuHit, "HPart", { | |
1132 | BrickColor = BrickColor.new("Crimson"), | |
1133 | Material = Enum.Material.SmoothPlastic, | |
1134 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000033), | |
1135 | CFrame = CFrame.new(68.6099854, 0.913415372, 8.92320538, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536), | |
1136 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1137 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1138 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1139 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1140 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1141 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1142 | Color = Color3.new(0.592157, 0, 0) | |
1143 | }) | |
1144 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1145 | Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999), | |
1146 | MeshType = Enum.MeshType.Wedge | |
1147 | }) | |
1148 | Weld = New("ManualWeld", HPart, "Weld", { | |
1149 | Part0 = HPart, | |
1150 | Part1 = HWeldPart, | |
1151 | C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
1152 | C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1153 | }) | |
1154 | HPart = New("Part", KnifuHit, "HPart", { | |
1155 | BrickColor = BrickColor.new("Black"), | |
1156 | Material = Enum.Material.SmoothPlastic, | |
1157 | Size = Vector3.new(0.200000003, 0.200000003, 0.400000006), | |
1158 | CFrame = CFrame.new(68.6099854, 1.60001719, 7.93397379, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536), | |
1159 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1160 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1161 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1162 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1163 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1164 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1165 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1166 | }) | |
1167 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1168 | Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005) | |
1169 | }) | |
1170 | Weld = New("ManualWeld", HPart, "Weld", { | |
1171 | Part0 = HPart, | |
1172 | Part1 = HWeldPart, | |
1173 | C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1174 | }) | |
1175 | HPart = New("Part", KnifuHit, "HPart", { | |
1176 | BrickColor = BrickColor.new("Black"), | |
1177 | Material = Enum.Material.SmoothPlastic, | |
1178 | Size = Vector3.new(0.200000003, 0.200000003, 0.400000006), | |
1179 | CFrame = CFrame.new(68.6099854, 1.30001676, 8.45358944, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536), | |
1180 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1181 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1182 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1183 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1184 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1185 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1186 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1187 | }) | |
1188 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1189 | Scale = Vector3.new(1.5, 1.20000005, 1.5) | |
1190 | }) | |
1191 | Weld = New("ManualWeld", HPart, "Weld", { | |
1192 | Part0 = HPart, | |
1193 | Part1 = HWeldPart, | |
1194 | C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1195 | }) | |
1196 | HPart = New("Part", KnifuHit, "HPart", { | |
1197 | BrickColor = BrickColor.new("Black"), | |
1198 | Material = Enum.Material.SmoothPlastic, | |
1199 | Size = Vector3.new(0.200000003, 0.200000003, 0.400000006), | |
1200 | CFrame = CFrame.new(68.6099854, 1.47322106, 8.55358887, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536), | |
1201 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1202 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1203 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1204 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1205 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1206 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1207 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1208 | }) | |
1209 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1210 | Scale = Vector3.new(1, 1, 1.20000005), | |
1211 | MeshType = Enum.MeshType.Wedge | |
1212 | }) | |
1213 | Weld = New("ManualWeld", HPart, "Weld", { | |
1214 | Part0 = HPart, | |
1215 | Part1 = HWeldPart, | |
1216 | C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
1217 | C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1218 | }) | |
1219 | HPart = New("Part", KnifuHit, "HPart", { | |
1220 | BrickColor = BrickColor.new("Black"), | |
1221 | Material = Enum.Material.SmoothPlastic, | |
1222 | Size = Vector3.new(0.200000003, 0.200000003, 0.400000036), | |
1223 | CFrame = CFrame.new(68.6099854, 1.12680948, 8.3535881, 1, 0, 0, 0, 0.500000536, 0.866025746, 0, -0.866025746, 0.500000536), | |
1224 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1225 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1226 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1227 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1228 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1229 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1230 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1231 | }) | |
1232 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1233 | Scale = Vector3.new(1, 1, 1.20000005), | |
1234 | MeshType = Enum.MeshType.Wedge | |
1235 | }) | |
1236 | Weld = New("ManualWeld", HPart, "Weld", { | |
1237 | Part0 = HPart, | |
1238 | Part1 = HWeldPart, | |
1239 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1), | |
1240 | C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1241 | }) | |
1242 | HPart = New("Part", KnifuHit, "HPart", { | |
1243 | Material = Enum.Material.SmoothPlastic, | |
1244 | Reflectance = 0.20000000298023, | |
1245 | Size = Vector3.new(0.200000003, 0.600000024, 0.200000003), | |
1246 | CFrame = CFrame.new(68.6099854, 1.01341367, 8.74999905, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536), | |
1247 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1248 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1249 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1250 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1251 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1252 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1253 | }) | |
1254 | Mesh = New("BlockMesh", HPart, "Mesh", { | |
1255 | Scale = Vector3.new(0.400000006, 1, 1) | |
1256 | }) | |
1257 | Weld = New("ManualWeld", HPart, "Weld", { | |
1258 | Part0 = HPart, | |
1259 | Part1 = HWeldPart, | |
1260 | C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1261 | }) | |
1262 | HPart = New("Part", KnifuHit, "HPart", { | |
1263 | BrickColor = BrickColor.new("Crimson"), | |
1264 | Material = Enum.Material.SmoothPlastic, | |
1265 | Size = Vector3.new(0.200000003, 0.399999946, 0.400000036), | |
1266 | CFrame = CFrame.new(68.6099854, 0.650017917, 9.5794239, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536), | |
1267 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1268 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1269 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1270 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1271 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1272 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1273 | Color = Color3.new(0.592157, 0, 0) | |
1274 | }) | |
1275 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1276 | Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999), | |
1277 | MeshType = Enum.MeshType.Wedge | |
1278 | }) | |
1279 | Weld = New("ManualWeld", HPart, "Weld", { | |
1280 | Part0 = HPart, | |
1281 | Part1 = HWeldPart, | |
1282 | C1 = CFrame.new(0, 1.70000005, 1.90734863E-6, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1283 | }) | |
1284 | HPart = New("Part", KnifuHit, "HPart", { | |
1285 | Material = Enum.Material.SmoothPlastic, | |
1286 | Reflectance = 0.20000000298023, | |
1287 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
1288 | CFrame = CFrame.new(68.6099854, 0.886619031, 9.36961555, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536), | |
1289 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1290 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1291 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1292 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1293 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1294 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1295 | }) | |
1296 | Mesh = New("BlockMesh", HPart, "Mesh", { | |
1297 | Scale = Vector3.new(0.400000006, 1, 1) | |
1298 | }) | |
1299 | Weld = New("ManualWeld", HPart, "Weld", { | |
1300 | Part0 = HPart, | |
1301 | Part1 = HWeldPart, | |
1302 | C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1303 | }) | |
1304 | HPart = New("Part", KnifuHit, "HPart", { | |
1305 | Material = Enum.Material.SmoothPlastic, | |
1306 | Reflectance = 0.20000000298023, | |
1307 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
1308 | CFrame = CFrame.new(68.6099854, 1.28662145, 8.67679501, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536), | |
1309 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1310 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1311 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1312 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1313 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1314 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1315 | }) | |
1316 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1317 | Offset = Vector3.new(0, -0.0500000007, -0.0500000007), | |
1318 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
1319 | MeshType = Enum.MeshType.Wedge | |
1320 | }) | |
1321 | Weld = New("ManualWeld", HPart, "Weld", { | |
1322 | Part0 = HPart, | |
1323 | Part1 = HWeldPart, | |
1324 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
1325 | C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1326 | }) | |
1327 | HPart = New("Part", KnifuHit, "HPart", { | |
1328 | Material = Enum.Material.SmoothPlastic, | |
1329 | Reflectance = 0.20000000298023, | |
1330 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
1331 | CFrame = CFrame.new(68.6099854, 1.28662145, 8.67679501, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536), | |
1332 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1333 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1334 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1335 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1336 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1337 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1338 | }) | |
1339 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1340 | Offset = Vector3.new(0, 0.0500000007, -0.0500000007), | |
1341 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
1342 | MeshType = Enum.MeshType.Wedge | |
1343 | }) | |
1344 | Weld = New("ManualWeld", HPart, "Weld", { | |
1345 | Part0 = HPart, | |
1346 | Part1 = HWeldPart, | |
1347 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
1348 | C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1349 | }) | |
1350 | HPart = New("Part", KnifuHit, "HPart", { | |
1351 | Material = Enum.Material.SmoothPlastic, | |
1352 | Reflectance = 0.20000000298023, | |
1353 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
1354 | CFrame = CFrame.new(68.6099854, 1.18662131, 8.85000038, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536), | |
1355 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1356 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1357 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1358 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1359 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1360 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1361 | }) | |
1362 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1363 | Offset = Vector3.new(0, -0.0500000007, -0.0500000007), | |
1364 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
1365 | MeshType = Enum.MeshType.Wedge | |
1366 | }) | |
1367 | Weld = New("ManualWeld", HPart, "Weld", { | |
1368 | Part0 = HPart, | |
1369 | Part1 = HWeldPart, | |
1370 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
1371 | C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1372 | }) | |
1373 | HPart = New("Part", KnifuHit, "HPart", { | |
1374 | Material = Enum.Material.SmoothPlastic, | |
1375 | Reflectance = 0.20000000298023, | |
1376 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
1377 | CFrame = CFrame.new(68.6099854, 1.18662131, 8.85000038, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536), | |
1378 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1379 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1380 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1381 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1382 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1383 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1384 | }) | |
1385 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1386 | Offset = Vector3.new(0, 0.0500000007, -0.0500000007), | |
1387 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
1388 | MeshType = Enum.MeshType.Wedge | |
1389 | }) | |
1390 | Weld = New("ManualWeld", HPart, "Weld", { | |
1391 | Part0 = HPart, | |
1392 | Part1 = HWeldPart, | |
1393 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
1394 | C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1395 | }) | |
1396 | HPart = New("Part", KnifuHit, "HPart", { | |
1397 | Material = Enum.Material.SmoothPlastic, | |
1398 | Reflectance = 0.20000000298023, | |
1399 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
1400 | CFrame = CFrame.new(68.6099854, 1.08662117, 9.02320576, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536), | |
1401 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1402 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1403 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1404 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1405 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1406 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1407 | }) | |
1408 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1409 | Offset = Vector3.new(0, 0.0500000007, -0.0500000007), | |
1410 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
1411 | MeshType = Enum.MeshType.Wedge | |
1412 | }) | |
1413 | Weld = New("ManualWeld", HPart, "Weld", { | |
1414 | Part0 = HPart, | |
1415 | Part1 = HWeldPart, | |
1416 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
1417 | C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1418 | }) | |
1419 | HPart = New("Part", KnifuHit, "HPart", { | |
1420 | Material = Enum.Material.SmoothPlastic, | |
1421 | Reflectance = 0.20000000298023, | |
1422 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
1423 | CFrame = CFrame.new(68.6099854, 1.08662117, 9.02320576, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536), | |
1424 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1425 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1426 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1427 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1428 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1429 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1430 | }) | |
1431 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1432 | Offset = Vector3.new(0, -0.0500000007, -0.0500000007), | |
1433 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
1434 | MeshType = Enum.MeshType.Wedge | |
1435 | }) | |
1436 | Weld = New("ManualWeld", HPart, "Weld", { | |
1437 | Part0 = HPart, | |
1438 | Part1 = HWeldPart, | |
1439 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
1440 | C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1441 | }) | |
1442 | HPart = New("Part", KnifuHit, "HPart", { | |
1443 | Material = Enum.Material.SmoothPlastic, | |
1444 | Reflectance = 0.20000000298023, | |
1445 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
1446 | CFrame = CFrame.new(68.6099854, 0.986621022, 9.19641113, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536), | |
1447 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1448 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1449 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1450 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1451 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1452 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1453 | }) | |
1454 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1455 | Offset = Vector3.new(0, -0.0500000007, -0.0500000007), | |
1456 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
1457 | MeshType = Enum.MeshType.Wedge | |
1458 | }) | |
1459 | Weld = New("ManualWeld", HPart, "Weld", { | |
1460 | Part0 = HPart, | |
1461 | Part1 = HWeldPart, | |
1462 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
1463 | C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1464 | }) | |
1465 | HPart = New("Part", KnifuHit, "HPart", { | |
1466 | Material = Enum.Material.SmoothPlastic, | |
1467 | Reflectance = 0.20000000298023, | |
1468 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000003), | |
1469 | CFrame = CFrame.new(68.6099854, 0.986621022, 9.19641113, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536), | |
1470 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1471 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1472 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1473 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1474 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1475 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1476 | }) | |
1477 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1478 | Offset = Vector3.new(0, 0.0500000007, -0.0500000007), | |
1479 | Scale = Vector3.new(0.400000006, 0.5, 0.5), | |
1480 | MeshType = Enum.MeshType.Wedge | |
1481 | }) | |
1482 | Weld = New("ManualWeld", HPart, "Weld", { | |
1483 | Part0 = HPart, | |
1484 | Part1 = HWeldPart, | |
1485 | C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1), | |
1486 | C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1487 | }) | |
1488 | HPart = New("Part", KnifuHit, "HPart", { | |
1489 | Material = Enum.Material.SmoothPlastic, | |
1490 | Reflectance = 0.20000000298023, | |
1491 | Size = Vector3.new(0.200000003, 1, 0.200000003), | |
1492 | CFrame = CFrame.new(68.6099854, 1.08661926, 9.0232048, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536), | |
1493 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1494 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1495 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1496 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1497 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1498 | TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1499 | }) | |
1500 | Mesh = New("BlockMesh", HPart, "Mesh", { | |
1501 | Offset = Vector3.new(0, 0, -0.0500000007), | |
1502 | Scale = Vector3.new(0.400000006, 1, 0.5) | |
1503 | }) | |
1504 | Weld = New("ManualWeld", HPart, "Weld", { | |
1505 | Part0 = HPart, | |
1506 | Part1 = HWeldPart, | |
1507 | C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1508 | }) | |
1509 | HPart = New("Part", KnifuHit, "HPart", { | |
1510 | BrickColor = BrickColor.new("Black"), | |
1511 | Material = Enum.Material.SmoothPlastic, | |
1512 | Size = Vector3.new(0.200000003, 0.200000003, 0.400000006), | |
1513 | CFrame = CFrame.new(68.6099854, 1.50001705, 8.10717869, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536), | |
1514 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1515 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1516 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1517 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1518 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1519 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1520 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1521 | }) | |
1522 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1523 | Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005) | |
1524 | }) | |
1525 | Weld = New("ManualWeld", HPart, "Weld", { | |
1526 | Part0 = HPart, | |
1527 | Part1 = HWeldPart, | |
1528 | C1 = CFrame.new(0, 2.38418579E-7, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1529 | }) | |
1530 | HPart = New("Part", KnifuHit, "HPart", { | |
1531 | BrickColor = BrickColor.new("Black"), | |
1532 | Material = Enum.Material.SmoothPlastic, | |
1533 | Size = Vector3.new(0.200000003, 0.200000003, 0.400000006), | |
1534 | CFrame = CFrame.new(68.6099854, 1.4000169, 8.28038406, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536), | |
1535 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1536 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1537 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1538 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1539 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1540 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1541 | Color = Color3.new(0.105882, 0.164706, 0.207843) | |
1542 | }) | |
1543 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1544 | Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005) | |
1545 | }) | |
1546 | Weld = New("ManualWeld", HPart, "Weld", { | |
1547 | Part0 = HPart, | |
1548 | Part1 = HWeldPart, | |
1549 | C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1550 | }) | |
1551 | HPart = New("Part", KnifuHit, "HPart", { | |
1552 | BrickColor = BrickColor.new("Crimson"), | |
1553 | Material = Enum.Material.SmoothPlastic, | |
1554 | Size = Vector3.new(0.200000003, 0.400000036, 0.200000003), | |
1555 | CFrame = CFrame.new(68.6099854, 0.76341331, 9.18301201, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536), | |
1556 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1557 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1558 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1559 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1560 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1561 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1562 | Color = Color3.new(0.592157, 0, 0) | |
1563 | }) | |
1564 | Mesh = New("BlockMesh", HPart, "Mesh", { | |
1565 | Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999) | |
1566 | }) | |
1567 | Weld = New("ManualWeld", HPart, "Weld", { | |
1568 | Part0 = HPart, | |
1569 | Part1 = HWeldPart, | |
1570 | C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1571 | }) | |
1572 | HPart = New("Part", KnifuHit, "HPart", { | |
1573 | BrickColor = BrickColor.new("Crimson"), | |
1574 | Material = Enum.Material.SmoothPlastic, | |
1575 | Size = Vector3.new(0.200000003, 0.200000003, 0.200000033), | |
1576 | CFrame = CFrame.new(68.6099854, 0.886620879, 9.36961555, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536), | |
1577 | BackSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1578 | BottomSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1579 | FrontSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1580 | LeftSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1581 | RightSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1582 | TopSurface = Enum.SurfaceType.SmoothNoOutlines, | |
1583 | Color = Color3.new(0.592157, 0, 0) | |
1584 | }) | |
1585 | Mesh = New("SpecialMesh", HPart, "Mesh", { | |
1586 | Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999), | |
1587 | MeshType = Enum.MeshType.Wedge | |
1588 | }) | |
1589 | Weld = New("ManualWeld", HPart, "Weld", { | |
1590 | Part0 = HPart, | |
1591 | Part1 = HWeldPart, | |
1592 | C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1), | |
1593 | C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
1594 | }) | |
1595 | dealdmg(targetted) | |
1596 | PlaySnd(HitSnd, targetted.Head) | |
1597 | wait(1) | |
1598 | for i = 0, 1, 0.1 do | |
1599 | wait(0.01) | |
1600 | for i = 1, #knc do | |
1601 | if knc[i] ~= Hitbox then | |
1602 | knc[i].Transparency = 1 - i | |
1603 | end | |
1604 | end | |
1605 | end | |
1606 | for i = 0, 0.6, 0.2 do | |
1607 | wait(0.01) | |
1608 | TC.C0 = clerp(ITCF, TCF * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(90)), 0.6 - i) | |
1609 | HC.C0 = clerp(IHCF, HCF * CFrame.fromEulerAnglesXYZ(math.rad(10), 0, math.rad(-90)), 0.6 - i) | |
1610 | RW.C0 = clerp(IRWF, (RWF + Vector3.new(0.5, 1.4, 0)) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(-90)), 0.6 - i) | |
1611 | end | |
1612 | TC.C0 = ITCF | |
1613 | HC.C0 = IHCF | |
1614 | RW.C0 = IRWF | |
1615 | LW.C0 = ILWF | |
1616 | chara.Humanoid.WalkSpeed = 8 | |
1617 | del = false | |
1618 | end | |
1619 | function LockOn() | |
1620 | if Mouse.Target.Parent ~= chara and Mouse.Target.Parent.Parent ~= chara and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
1621 | TargetSelect(Mouse.Target.Parent) | |
1622 | TargetSnd:Play() | |
1623 | else | |
1624 | end | |
1625 | end | |
1626 | orbpushactive = false | |
1627 | del = false | |
1628 | input = "" | |
1629 | letterd = 0 | |
1630 | ltoim = 0 | |
1631 | function onKeyDown(key) | |
1632 | if del == false then | |
1633 | if key == "q" then | |
1634 | if input == "as" and targetted ~= nil then | |
1635 | ExpungeThem() | |
1636 | else | |
1637 | LockOn() | |
1638 | end | |
1639 | input = "" | |
1640 | letterd = 0 | |
1641 | ltoim = 0 | |
1642 | elseif key == "z" then | |
1643 | input = "" | |
1644 | letterd = 0 | |
1645 | ltoim = 0 | |
1646 | elseif key == "x" then | |
1647 | input = "" | |
1648 | letterd = 0 | |
1649 | ltoim = 0 | |
1650 | elseif key == "c" then | |
1651 | if input == "aw" then | |
1652 | KillThem() | |
1653 | elseif input == "as" then | |
1654 | EndThem() | |
1655 | elseif input == "ds" then | |
1656 | MurderThem() | |
1657 | else | |
1658 | if input == "ww" then | |
1659 | ExecuteThem() | |
1660 | else | |
1661 | end | |
1662 | end | |
1663 | input = "" | |
1664 | letterd = 0 | |
1665 | ltoim = 0 | |
1666 | elseif key == "w" or key == "a" or key == "s" or key == "d" then | |
1667 | input = input .. key | |
1668 | print(input) | |
1669 | letterd = letterd + 1 | |
1670 | ltoim = ltoim + 10 | |
1671 | if letterd > 5 then | |
1672 | input = "" | |
1673 | letterd = 0 | |
1674 | ltoim = 0 | |
1675 | end | |
1676 | elseif key == "m" then | |
1677 | if Music.IsPlaying == true then | |
1678 | Music:Stop() | |
1679 | elseif Music.IsPlaying == false then | |
1680 | Music:Play() | |
1681 | end | |
1682 | end | |
1683 | end | |
1684 | end | |
1685 | combo = 0 | |
1686 | if Mouse then | |
1687 | Mouse.KeyDown:connect(onKeyDown) | |
1688 | end | |
1689 | walking = false | |
1690 | toim = 0 | |
1691 | while true do | |
1692 | wait() | |
1693 | toim = toim + 0.1 | |
1694 | ltoim = ltoim - 1 | |
1695 | if 1 > ltoim then | |
1696 | input = "" | |
1697 | end | |
1698 | chara.Humanoid.MaxHealth = math.huge | |
1699 | chara.Humanoid.Health = math.huge | |
1700 | if atkd == true then | |
1701 | TC.C0 = TCF | |
1702 | HC.C0 = HCF | |
1703 | RW.C0 = RWF | |
1704 | LW.C0 = LWF | |
1705 | atkd = false | |
1706 | end | |
1707 | torvel = (chara.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
1708 | if 1 > torvel and walking == true and del == false and atkd == false then | |
1709 | for i = 0, 1, 0.5 do | |
1710 | wait(0.001) | |
1711 | if del == false then | |
1712 | TC.C0 = clerp(TCF * CFrame.fromEulerAnglesXYZ(math.rad(5), 0, 0), ITCF, i) | |
1713 | HC.C0 = clerp(HCF * CFrame.fromEulerAnglesXYZ(math.rad(5), 0, 0), IHCF, i) | |
1714 | RW.C0 = IRWF | |
1715 | LW.C0 = ILWF | |
1716 | end | |
1717 | end | |
1718 | walking = false | |
1719 | else | |
1720 | if 1 < torvel and walking == false and del == false and atkd == false then | |
1721 | for i = 0, 1, 0.5 do | |
1722 | wait(0.001) | |
1723 | if del == false then | |
1724 | TC.C0 = clerp(ITCF, TCF * CFrame.fromEulerAnglesXYZ(math.rad(5), 0, 0), i) | |
1725 | HC.C0 = clerp(IHCF, HCF * CFrame.fromEulerAnglesXYZ(math.rad(5), 0, 0), i) | |
1726 | RW.C0 = IRWF | |
1727 | LW.C0 = ILWF | |
1728 | end | |
1729 | end | |
1730 | walking = true | |
1731 | else | |
1732 | end | |
1733 | end | |
1734 | imgl.Rotation = imgl.Rotation + 3 | |
1735 | if targetted ~= nil then | |
1736 | crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
1737 | crosshair.Enabled = true | |
1738 | elseif targetted == nil then | |
1739 | crosshair.Adornee = nil | |
1740 | crosshair.Enabled = false | |
1741 | end | |
1742 | end |