SHOW:
|
|
- or go back to the newest paste.
1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
2 | if game:GetService("RunService"):IsClient() then error("Your fucking script is assholic use h/ dumbass") end | |
3 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
4 | local RealPlayer = Player | |
5 | do print("Execute the c00l Kidd stuff")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 | |
6 | math.randomseed(tick()) | |
7 | local player = game.Players.LocalPlayer | |
8 | local rekt = {} | |
9 | local paralyzed = false | |
10 | local curpoint = nil | |
11 | local curpart = nil | |
12 | local finishnum = 1 | |
13 | local zombiemode = false | |
14 | local zombies = {} | |
15 | local lastgui = nil | |
16 | local mouse = player:GetMouse() | |
17 | ||
18 | function getplr(char) | |
19 | local plr = nil | |
20 | for i,v in pairs(game.Players:GetChildren()) do | |
21 | if v.Character == char then | |
22 | plr = v | |
23 | end | |
24 | end | |
25 | return plr | |
26 | end | |
27 | ||
28 | function bleed(frick) | |
29 | while frick.Parent ~= nil do | |
30 | local reeee = coroutine.wrap(function() | |
31 | local thing = Instance.new('Part',game.Workspace) | |
32 | thing.Size = Vector3.new(0.2,0.2,0.2) | |
33 | thing.CFrame = frick.CFrame | |
34 | thing.Shape = Enum.PartType.Ball | |
35 | thing.CFrame = frick.CFrame | |
36 | thing.Transparency = 1 | |
37 | thing.BrickColor = BrickColor.new('Maroon') | |
38 | thing.Material = Enum.Material.SmoothPlastic | |
39 | thing.Name = "Blood" | |
40 | thing.CanCollide =false | |
41 | local rawrxd = Instance.new('BodyForce',thing) | |
42 | rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0) | |
43 | local coru = coroutine.wrap(function() | |
44 | wait(0.01) | |
45 | rawrxd:Destroy() | |
46 | end) | |
47 | coru() | |
48 | local ree = Instance.new('ParticleEmitter',thing) | |
49 | ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(100,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(100,0,0))}) | |
50 | ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)}) | |
51 | ree.Texture = 'rbxassetid://867743272' | |
52 | ree.Lifetime = NumberRange.new(0.4) | |
53 | ree.Rate = 50 | |
54 | ree.LockedToPart = true | |
55 | ree.Speed = NumberRange.new(0, 2) | |
56 | ||
57 | thing.Touched:connect(function(tou) | |
58 | if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= player.Character and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" then | |
59 | local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z) | |
60 | thing:Destroy() | |
61 | if tou.Name == "BloodPuddle" then | |
62 | local reee = tou.CFrame | |
63 | if tou.Transparency > -0.2 then | |
64 | tou.Transparency = tou.Transparency -0.1 | |
65 | end | |
66 | if tou.Size.X < 10 then | |
67 | tou.Size = tou.Size+Vector3.new(0.1,0,0.1) | |
68 | tou.CFrame = reee | |
69 | end | |
70 | else | |
71 | local bloodlol = Instance.new('Part',workspace) | |
72 | bloodlol.Size=Vector3.new(1,0.2,1) | |
73 | bloodlol.Name = "BloodPuddle" | |
74 | bloodlol.Anchored = true | |
75 | bloodlol.CanCollide = false | |
76 | bloodlol.Material = Enum.Material.SmoothPlastic | |
77 | bloodlol.BrickColor = BrickColor.new('Maroon') | |
78 | local cyl = Instance.new('CylinderMesh',bloodlol) | |
79 | cyl.Scale = Vector3.new(1,0.1,1) | |
80 | bloodlol.CFrame = CFrame.new(pos) | |
81 | local coru=coroutine.wrap(function() | |
82 | while bloodlol.Parent ~= nil do | |
83 | if bloodlol.Transparency < 1 then | |
84 | bloodlol.Transparency = bloodlol.Transparency+0.05 | |
85 | else | |
86 | bloodlol:Destroy() | |
87 | end | |
88 | wait(0.1) | |
89 | end | |
90 | end) | |
91 | coru() | |
92 | end | |
93 | end | |
94 | end) | |
95 | local coru = coroutine.wrap(function() | |
96 | wait(1) | |
97 | thing:Destroy() | |
98 | end) | |
99 | coru() | |
100 | end) | |
101 | reeee() | |
102 | wait() | |
103 | end | |
104 | end | |
105 | ||
106 | function killz(playa,hitz,kneef,explode,pool,head,charred,override) | |
107 | local soundy = false | |
108 | local heyy = hitz | |
109 | if hitz == "Right Arm" then | |
110 | local Limb = playa:FindFirstChild("Right Arm") | |
111 | local ters = playa:FindFirstChild('Torso') | |
112 | if Limb and ters then | |
113 | if ters:FindFirstChild('Right Shoulder') then ters["Right Shoulder"]:Destroy() end | |
114 | for i,v in pairs(Limb:GetChildren()) do | |
115 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
116 | v:Destroy() | |
117 | end | |
118 | end | |
119 | Limb.CFrame = ters.CFrame * CFrame.new(1.5, 0, 0) | |
120 | local Joint = Instance.new("Rotate") | |
121 | Joint.Name = "RightShoulder" | |
122 | Joint.Part0 = ters | |
123 | Joint.Part1 = Limb | |
124 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
125 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
126 | Joint.Parent = ters | |
127 | if charred and zombiemode == false then | |
128 | Limb.BrickColor = BrickColor.new('Black') | |
129 | local fire = Instance.new('Fire',Limb) | |
130 | fire.Heat = 5 | |
131 | fire.Size = 5 | |
132 | game:GetService('Debris'):AddItem(fire,2) | |
133 | local coru=coroutine.wrap(function() | |
134 | wait(2) | |
135 | for i,v in pairs(Limb:GetChildren()) do | |
136 | if v:IsA('ParticleEmitter') then | |
137 | v:Destroy() | |
138 | end | |
139 | end | |
140 | end) | |
141 | coru() | |
142 | end | |
143 | local B = Instance.new("Part") | |
144 | B.TopSurface = 0 | |
145 | B.BottomSurface = 0 | |
146 | B.formFactor = "Symmetric" | |
147 | B.Size = Vector3.new(1, 1, 1) | |
148 | B.Transparency = 1 | |
149 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
150 | B.Parent = playa | |
151 | local W = Instance.new("Weld") | |
152 | W.Part0 = Limb | |
153 | W.Part1 = B | |
154 | W.C0 = CFrame.new(0, -0.5, 0) | |
155 | W.Parent = Limb | |
156 | if kneef then | |
157 | local coru = coroutine.wrap(function() | |
158 | local uno = Instance.new('Part',workspace) | |
159 | local dos = Instance.new('Part',workspace) | |
160 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
161 | dos.CFrame = kneef["big ass knife"].CFrame | |
162 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
163 | weld.Part0 = playa:FindFirstChild(hitz) | |
164 | weld.Part1 = kneef["big ass knife"] | |
165 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
166 | uno:Destroy() | |
167 | dos:Destroy() | |
168 | playa:FindFirstChild(hitz).Anchored = false | |
169 | for i, v in pairs(kneef:GetChildren()) do | |
170 | if v:IsA('BasePart') then | |
171 | v.Anchored = false | |
172 | end | |
173 | end | |
174 | if zombiemode == false or override then | |
175 | wait() | |
176 | end | |
177 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
178 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
179 | end | |
180 | local bleedpart = Instance.new("Part", kneef) | |
181 | bleedpart.CanCollide = false | |
182 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
183 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
184 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
185 | bleedpart.Transparency = 1 | |
186 | ||
187 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
188 | bleedpartweld.Part0 = kneef["big ass knife"] | |
189 | bleedpartweld.Part1 = bleedpart | |
190 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
191 | local coru = coroutine.wrap(function() | |
192 | bleed(bleedpart) | |
193 | end) | |
194 | coru() | |
195 | game:GetService('Debris'):AddItem(bleedpart,2) | |
196 | end) | |
197 | coru() | |
198 | end | |
199 | end | |
200 | elseif hitz == "Left Arm" then | |
201 | local Limb = playa:FindFirstChild("Left Arm") | |
202 | local ters = playa:FindFirstChild('Torso') | |
203 | if Limb and ters then | |
204 | if ters:FindFirstChild('Left Shoulder') then ters["Left Shoulder"]:Destroy() end | |
205 | for i,v in pairs(Limb:GetChildren()) do | |
206 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
207 | v:Destroy() | |
208 | end | |
209 | end | |
210 | Limb.CFrame = ters.CFrame * CFrame.new(-1.5, 0, 0) | |
211 | local Joint = Instance.new("Rotate") | |
212 | Joint.Name = "LeftShoulder" | |
213 | Joint.Part0 = ters | |
214 | Joint.Part1 = Limb | |
215 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
216 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
217 | Joint.Parent = ters | |
218 | if charred and zombiemode == false then | |
219 | Limb.BrickColor = BrickColor.new('Black') | |
220 | local fire = Instance.new('Fire',Limb) | |
221 | fire.Heat = 5 | |
222 | fire.Size = 5 | |
223 | game:GetService('Debris'):AddItem(fire,2) | |
224 | local coru=coroutine.wrap(function() | |
225 | wait(2) | |
226 | for i,v in pairs(Limb:GetChildren()) do | |
227 | if v:IsA('ParticleEmitter') then | |
228 | v:Destroy() | |
229 | end | |
230 | end | |
231 | end) | |
232 | coru() | |
233 | end | |
234 | ||
235 | local B = Instance.new("Part") | |
236 | B.TopSurface = 0 | |
237 | B.BottomSurface = 0 | |
238 | B.formFactor = "Symmetric" | |
239 | B.Size = Vector3.new(1, 1, 1) | |
240 | B.CanCollide = true | |
241 | B.Transparency = 1 | |
242 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
243 | B.Parent = playa | |
244 | local W = Instance.new("Weld") | |
245 | W.Part0 = ters | |
246 | W.Part1 = B | |
247 | W.C0 = CFrame.new(0, -0.5, 0) | |
248 | W.Parent = Limb | |
249 | if kneef then | |
250 | local coru = coroutine.wrap(function() | |
251 | local uno = Instance.new('Part',workspace) | |
252 | local dos = Instance.new('Part',workspace) | |
253 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
254 | dos.CFrame = kneef["big ass knife"].CFrame | |
255 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
256 | weld.Part0 = playa:FindFirstChild(hitz) | |
257 | weld.Part1 = kneef["big ass knife"] | |
258 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
259 | uno:Destroy() | |
260 | dos:Destroy() | |
261 | playa:FindFirstChild(hitz).Anchored = false | |
262 | for i, v in pairs(kneef:GetChildren()) do | |
263 | if v:IsA('BasePart') then | |
264 | v.Anchored = false | |
265 | end | |
266 | end | |
267 | if zombiemode == false or override then | |
268 | wait() | |
269 | end | |
270 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
271 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
272 | end | |
273 | local bleedpart = Instance.new("Part", kneef) | |
274 | bleedpart.CanCollide = false | |
275 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
276 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
277 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
278 | bleedpart.Transparency = 1 | |
279 | ||
280 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
281 | bleedpartweld.Part0 = kneef["big ass knife"] | |
282 | bleedpartweld.Part1 = bleedpart | |
283 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
284 | local coru = coroutine.wrap(function() | |
285 | bleed(bleedpart) | |
286 | end) | |
287 | coru() | |
288 | game:GetService('Debris'):AddItem(bleedpart,2) | |
289 | end) | |
290 | coru() | |
291 | end | |
292 | end | |
293 | elseif hitz == "Right Leg" then | |
294 | local Limb = playa:FindFirstChild("Right Leg") | |
295 | local ters = playa:FindFirstChild('Torso') | |
296 | if Limb and ters then | |
297 | if ters:FindFirstChild('Right Hip') then ters["Right Hip"]:Destroy() end | |
298 | for i,v in pairs(Limb:GetChildren()) do | |
299 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
300 | v:Destroy() | |
301 | end | |
302 | end | |
303 | Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0) | |
304 | local Joint = Instance.new("Rotate") | |
305 | Joint.Name = "Right Hip" | |
306 | Joint.Part0 = ters | |
307 | Joint.Part1 = Limb | |
308 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
309 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
310 | Joint.Parent = ters | |
311 | if charred and zombiemode == false then | |
312 | Limb.BrickColor = BrickColor.new('Black') | |
313 | local fire = Instance.new('Fire',Limb) | |
314 | fire.Heat = 5 | |
315 | fire.Size = 5 | |
316 | game:GetService('Debris'):AddItem(fire,2) | |
317 | local coru=coroutine.wrap(function() | |
318 | wait(2) | |
319 | for i,v in pairs(Limb:GetChildren()) do | |
320 | if v:IsA('ParticleEmitter') then | |
321 | v:Destroy() | |
322 | end | |
323 | end | |
324 | end) | |
325 | coru() | |
326 | end | |
327 | local B = Instance.new("Part") | |
328 | B.TopSurface = 0 | |
329 | B.BottomSurface = 0 | |
330 | B.formFactor = "Symmetric" | |
331 | B.Size = Vector3.new(1, 1, 1) | |
332 | B.Transparency = 1 | |
333 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
334 | B.Parent = playa | |
335 | local W = Instance.new("Weld") | |
336 | W.Part0 = Limb | |
337 | W.Part1 = B | |
338 | W.C0 = CFrame.new(0, -0.5, 0) | |
339 | W.Parent = Limb | |
340 | if kneef then | |
341 | local coru = coroutine.wrap(function() | |
342 | local uno = Instance.new('Part',workspace) | |
343 | local dos = Instance.new('Part',workspace) | |
344 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
345 | dos.CFrame = kneef["big ass knife"].CFrame | |
346 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
347 | weld.Part0 = playa:FindFirstChild(hitz) | |
348 | weld.Part1 = kneef["big ass knife"] | |
349 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
350 | uno:Destroy() | |
351 | dos:Destroy() | |
352 | playa:FindFirstChild(hitz).Anchored = false | |
353 | for i, v in pairs(kneef:GetChildren()) do | |
354 | if v:IsA('BasePart') then | |
355 | v.Anchored = false | |
356 | end | |
357 | end | |
358 | if zombiemode == false or override then | |
359 | wait() | |
360 | end | |
361 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
362 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
363 | end | |
364 | local bleedpart = Instance.new("Part", kneef) | |
365 | bleedpart.CanCollide = false | |
366 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
367 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
368 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
369 | bleedpart.Transparency = 1 | |
370 | ||
371 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
372 | bleedpartweld.Part0 = kneef["big ass knife"] | |
373 | bleedpartweld.Part1 = bleedpart | |
374 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
375 | local coru = coroutine.wrap(function() | |
376 | bleed(bleedpart) | |
377 | end) | |
378 | coru() | |
379 | game:GetService('Debris'):AddItem(bleedpart,2) | |
380 | end) | |
381 | coru() | |
382 | end | |
383 | if playa then | |
384 | table.insert(rekt,playa) | |
385 | end | |
386 | end | |
387 | elseif hitz == "Left Leg" then | |
388 | local Limb = playa:FindFirstChild("Left Leg") | |
389 | local ters = playa:FindFirstChild('Torso') | |
390 | if Limb and ters then | |
391 | if ters:FindFirstChild('Left Hip') then ters["Left Hip"]:Destroy() end | |
392 | for i,v in pairs(Limb:GetChildren()) do | |
393 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
394 | v:Destroy() | |
395 | end | |
396 | end | |
397 | Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0) | |
398 | Limb.CFrame = ters.CFrame * CFrame.new(-0.5, -2, 0) | |
399 | local Joint = Instance.new("Rotate") | |
400 | Joint.Name = "LeftHip" | |
401 | Joint.Part0 = ters | |
402 | Joint.Part1 = Limb | |
403 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
404 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
405 | Joint.Parent = ters | |
406 | if charred and zombiemode == false then | |
407 | Limb.BrickColor = BrickColor.new('Black') | |
408 | local fire = Instance.new('Fire',Limb) | |
409 | fire.Heat = 5 | |
410 | fire.Size = 5 | |
411 | game:GetService('Debris'):AddItem(fire,2) | |
412 | local coru=coroutine.wrap(function() | |
413 | wait(2) | |
414 | for i,v in pairs(Limb:GetChildren()) do | |
415 | if v:IsA('ParticleEmitter') then | |
416 | v:Destroy() | |
417 | end | |
418 | end | |
419 | end) | |
420 | coru() | |
421 | end | |
422 | ||
423 | local B = Instance.new("Part") | |
424 | B.TopSurface = 0 | |
425 | B.BottomSurface = 0 | |
426 | B.formFactor = "Symmetric" | |
427 | B.Size = Vector3.new(1, 1, 1) | |
428 | B.Transparency = 1 | |
429 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
430 | B.Parent = playa | |
431 | local W = Instance.new("Weld") | |
432 | W.Part0 = Limb | |
433 | W.Part1 = B | |
434 | W.C0 = CFrame.new(0, -0.5, 0) | |
435 | W.Parent = Limb | |
436 | Limb.CanCollide = false | |
437 | if kneef then | |
438 | local coru = coroutine.wrap(function() | |
439 | local uno = Instance.new('Part',workspace) | |
440 | local dos = Instance.new('Part',workspace) | |
441 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
442 | dos.CFrame = kneef["big ass knife"].CFrame | |
443 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
444 | weld.Part0 = playa:FindFirstChild(hitz) | |
445 | weld.Part1 = kneef["big ass knife"] | |
446 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
447 | uno:Destroy() | |
448 | dos:Destroy() | |
449 | playa:FindFirstChild(hitz).Anchored = false | |
450 | for i, v in pairs(kneef:GetChildren()) do | |
451 | if v:IsA('BasePart') then | |
452 | v.Anchored = false | |
453 | end | |
454 | end | |
455 | if zombiemode == false or override then | |
456 | wait() | |
457 | end | |
458 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
459 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
460 | end | |
461 | local bleedpart = Instance.new("Part", kneef) | |
462 | bleedpart.CanCollide = false | |
463 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
464 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
465 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
466 | bleedpart.Transparency = 1 | |
467 | ||
468 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
469 | bleedpartweld.Part0 = kneef["big ass knife"] | |
470 | bleedpartweld.Part1 = bleedpart | |
471 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
472 | local coru = coroutine.wrap(function() | |
473 | bleed(bleedpart) | |
474 | end) | |
475 | coru() | |
476 | game:GetService('Debris'):AddItem(bleedpart,2) | |
477 | end) | |
478 | coru() | |
479 | end | |
480 | if playa then | |
481 | table.insert(rekt,playa) | |
482 | end | |
483 | end | |
484 | elseif playa then | |
485 | if finishnum ~= 1 then | |
486 | local coru=coroutine.wrap(function() | |
487 | player.Character.Head.Psycho.Playing = true | |
488 | wait(3) | |
489 | player.Character.Head.Psycho.Playing = false | |
490 | end) | |
491 | coru() | |
492 | end | |
493 | local playa2 = playa | |
494 | playa.Archivable = true | |
495 | local playa = playa:Clone() | |
496 | playa.Archivable = false | |
497 | playa2:Destroy() | |
498 | playa.Parent = workspace | |
499 | local Gibs = game.Workspace | |
500 | local Torso = playa.Torso | |
501 | local Head = playa:FindFirstChild("Head") | |
502 | local function Scan(ch) | |
503 | local e | |
504 | for e = 1,#ch do | |
505 | Scan(ch[e]:GetChildren()) | |
506 | if (ch[e].ClassName == "Weld" and ch[e]:FindFirstChild('Part1') and ch[e].Part1.Name ~= 'Projectile') or ch[e].ClassName == "Motor6D" or ch[e].ClassName == "Rotate" or (ch[e]:IsA('BasePart') and ch[e].Size == Vector3.new(1, 1, 1)) then | |
507 | ch[e]:remove() | |
508 | end | |
509 | end | |
510 | end | |
511 | Scan(playa:GetChildren()) | |
512 | if playa:FindFirstChild('HumanoidRootPart') and (zombiemode == false or override) then | |
513 | playa:FindFirstChild('HumanoidRootPart'):Destroy() | |
514 | end | |
515 | local hum2 = playa:FindFirstChildOfClass("Humanoid") | |
516 | if zombiemode == true and override == false then | |
517 | soundy = true | |
518 | end | |
519 | if string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie" then | |
520 | override = true | |
521 | end | |
522 | if hum2 ~= nil then | |
523 | hum2.Name = "Humanoid2" | |
524 | hum2.Health = 0 | |
525 | if zombiemode == false or override == true then | |
526 | table.insert(rekt,hum2.Parent) | |
527 | else | |
528 | local gyro = Instance.new('BodyGyro',Torso) | |
529 | hum2.PlatformStand = false | |
530 | for i,v in pairs(hum2.Parent.Torso:GetChildren()) do | |
531 | if v:IsA('BodyGyro') then v:Destroy() end | |
532 | end | |
533 | if playa:FindFirstChild('HumanoidRootPart') then | |
534 | hum2.Parent.HumanoidRootPart.CFrame = hum2.Parent.Torso.CFrame | |
535 | local weldcrucial = Instance.new('Weld',hum2.Parent.HumanoidRootPart) | |
536 | weldcrucial.Part0 = hum2.Parent.HumanoidRootPart | |
537 | weldcrucial.Part1 = hum2.Parent.Torso | |
538 | end | |
539 | end | |
540 | end | |
541 | local ch = playa:GetChildren() | |
542 | local i | |
543 | for i = 1,#ch do | |
544 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
545 | ch[i]:remove() | |
546 | end | |
547 | end | |
548 | ||
549 | if Head then | |
550 | local Neck = Instance.new("Weld") | |
551 | Neck.Name = "Neck" | |
552 | Neck.Part0 = Torso | |
553 | Neck.Part1 = Head | |
554 | if pool then | |
555 | local part = Instance.new('Part',Torso) | |
556 | part.Position = Vector3.new(0,10,0) | |
557 | part.Size = Vector3.new(0.2,0.2,0.2) | |
558 | part.Transparency = 1 | |
559 | part.CanCollide = false | |
560 | local we = Instance.new('Weld',Torso) | |
561 | we.Part0 = Torso | |
562 | we.Part1 = part | |
563 | we.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
564 | local coru=coroutine.wrap(function() | |
565 | bleed(part) | |
566 | end) | |
567 | coru() | |
568 | end | |
569 | if head == false or head == nil then | |
570 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
571 | else | |
572 | Neck.C0 = CFrame.new(0, 1.5, 0.2)*CFrame.Angles(0.5, 0.25, 0.25) | |
573 | local bleedpart = Instance.new("Part", Torso) | |
574 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
575 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
576 | bleedpart.CanCollide = false | |
577 | bleedpart.Position = Head.Position + Vector3.new(0, 1, 0) | |
578 | bleedpart.Transparency = 1 | |
579 | ||
580 | local bleedpartweld = Instance.new("Weld", Torso) | |
581 | bleedpartweld.Part0 = Torso | |
582 | bleedpartweld.Part1 = bleedpart | |
583 | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) | |
584 | local coru = coroutine.wrap(function() | |
585 | bleed(bleedpart) | |
586 | end) | |
587 | coru() | |
588 | end | |
589 | Neck.C1 = CFrame.new() | |
590 | Neck.Parent = Torso | |
591 | end | |
592 | local Limb = playa:FindFirstChild("Right Arm") | |
593 | if Limb then | |
594 | ||
595 | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) | |
596 | local Joint = Instance.new("Rotate") | |
597 | Joint.Name = "RightShoulder" | |
598 | Joint.Part0 = Torso | |
599 | Joint.Part1 = Limb | |
600 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
601 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
602 | Joint.Parent = Torso | |
603 | ||
604 | local B = Instance.new("Part") | |
605 | B.TopSurface = 0 | |
606 | B.BottomSurface = 0 | |
607 | B.formFactor = "Symmetric" | |
608 | B.Size = Vector3.new(1, 1, 1) | |
609 | B.Transparency = 1 | |
610 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
611 | B.Parent = playa | |
612 | local W = Instance.new("Weld") | |
613 | W.Part0 = Limb | |
614 | W.Part1 = B | |
615 | W.C0 = CFrame.new(0, -0.5, 0) | |
616 | W.Parent = Limb | |
617 | end | |
618 | local Limb = playa:FindFirstChild("Left Arm") | |
619 | if Limb then | |
620 | ||
621 | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) | |
622 | local Joint = Instance.new("Rotate") | |
623 | Joint.Name = "LeftShoulder" | |
624 | Joint.Part0 = Torso | |
625 | Joint.Part1 = Limb | |
626 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
627 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
628 | Joint.Parent = Torso | |
629 | ||
630 | local B = Instance.new("Part") | |
631 | B.TopSurface = 0 | |
632 | B.BottomSurface = 0 | |
633 | B.formFactor = "Symmetric" | |
634 | B.Size = Vector3.new(1, 1, 1) | |
635 | B.Transparency = 1 | |
636 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
637 | B.Parent = playa | |
638 | local W = Instance.new("Weld") | |
639 | W.Part0 = Limb | |
640 | W.Part1 = B | |
641 | W.C0 = CFrame.new(0, -0.5, 0) | |
642 | W.Parent = Limb | |
643 | end | |
644 | local Limb = playa:FindFirstChild("Right Leg") | |
645 | if Limb then | |
646 | Limb.CanCollide = false | |
647 | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) | |
648 | local Joint = Instance.new("Rotate") | |
649 | Joint.Name = "RightHip" | |
650 | Joint.Part0 = Torso | |
651 | Joint.Part1 = Limb | |
652 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
653 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
654 | Joint.Parent = Torso | |
655 | ||
656 | local B = Instance.new("Part") | |
657 | B.TopSurface = 0 | |
658 | B.BottomSurface = 0 | |
659 | B.formFactor = "Symmetric" | |
660 | B.Size = Vector3.new(1, 1, 1) | |
661 | B.Transparency = 1 | |
662 | B.CanCollide = true | |
663 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
664 | B.Parent = playa | |
665 | local W = Instance.new("Weld") | |
666 | W.Part0 = Limb | |
667 | W.Part1 = B | |
668 | W.C0 = CFrame.new(0, -0.5, 0) | |
669 | W.Parent = Limb | |
670 | end | |
671 | local Limb = playa:FindFirstChild("Left Leg") | |
672 | if Limb then | |
673 | Limb.CanCollide = false | |
674 | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) | |
675 | local Joint = Instance.new("Rotate") | |
676 | Joint.Name = "LeftHip" | |
677 | Joint.Part0 = Torso | |
678 | Joint.Part1 = Limb | |
679 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
680 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
681 | Joint.Parent = Torso | |
682 | ||
683 | local B = Instance.new("Part") | |
684 | B.TopSurface = 0 | |
685 | B.BottomSurface = 0 | |
686 | if zombiemode == false or override then | |
687 | B.CanCollide = true | |
688 | end | |
689 | B.formFactor = "Symmetric" | |
690 | B.Size = Vector3.new(1, 1, 1) | |
691 | B.Transparency = 1 | |
692 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
693 | B.Parent = playa | |
694 | local W = Instance.new("Weld") | |
695 | W.Part0 = Limb | |
696 | W.Part1 = B | |
697 | W.C0 = CFrame.new(0, -0.5, 0) | |
698 | W.Parent = Limb | |
699 | end | |
700 | --[[ | |
701 | local Bar = Instance.new("Part") | |
702 | Bar.TopSurface = 0 | |
703 | Bar.BottomSurface = 0 | |
704 | Bar.formFactor = "Symmetric" | |
705 | Bar.Size = Vector3.new(1, 1, 1) | |
706 | Bar.Transparency = 1 | |
707 | Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0) | |
708 | Bar.Parent = playa | |
709 | local Weld = Instance.new("Weld") | |
710 | Weld.Part0 = Torso | |
711 | Weld.Part1 = Bar | |
712 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
713 | Weld.Parent = Torso | |
714 | --]] | |
715 | playa.Parent = Gibs | |
716 | if kneef and explode == nil then | |
717 | local coru = coroutine.wrap(function() | |
718 | if playa:FindFirstChild(hitz) then | |
719 | local uno = Instance.new('Part',workspace) | |
720 | local dos = Instance.new('Part',workspace) | |
721 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
722 | dos.CFrame = kneef["big ass knife"].CFrame | |
723 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
724 | weld.Part0 = playa:FindFirstChild(hitz) | |
725 | weld.Part1 = kneef["big ass knife"] | |
726 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
727 | uno:Destroy() | |
728 | dos:Destroy() | |
729 | playa:FindFirstChild(hitz).Anchored = false | |
730 | for i, v in pairs(kneef:GetChildren()) do | |
731 | if v:IsA('BasePart') then | |
732 | v.Anchored = false | |
733 | end | |
734 | end | |
735 | if explode == nil or explode == false then | |
736 | local bleedpart = Instance.new("Part", kneef) | |
737 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
738 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
739 | bleedpart.CanCollide = false | |
740 | bleedpart.Position = Head.Position + Vector3.new(0, 1, 0) | |
741 | bleedpart.Transparency = 1 | |
742 | ||
743 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
744 | bleedpartweld.Part0 = kneef["big ass knife"] | |
745 | bleedpartweld.Part1 = bleedpart | |
746 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
747 | local coru = coroutine.wrap(function() | |
748 | bleed(bleedpart) | |
749 | end) | |
750 | coru() | |
751 | end | |
752 | end | |
753 | if zombiemode == false or override then | |
754 | wait() | |
755 | end | |
756 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
757 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
758 | end | |
759 | end) | |
760 | coru() | |
761 | end | |
762 | if explode then | |
763 | local movevector = CFrame.new(explode.Position,Torso.Position).lookVector | |
764 | local repulse = Instance.new('BodyForce',Torso) | |
765 | repulse.Force = movevector*10000 + Vector3.new(0,5000,0) | |
766 | game.Debris:AddItem(repulse,0.05) | |
767 | end | |
768 | if charred and zombiemode == false then | |
769 | for i,v in pairs(playa:GetChildren()) do | |
770 | if v:IsA('BasePart') then | |
771 | v.BrickColor = BrickColor.Black() | |
772 | local fire = Instance.new('Fire',v) | |
773 | fire.Size = 5 | |
774 | fire.Heat = 5 | |
775 | elseif v:IsA('Accessory') then | |
776 | for a,c in pairs(v:GetChildren()) do | |
777 | if c:IsA('BasePart') then | |
778 | c.BrickColor = BrickColor.Black() | |
779 | local fire = Instance.new('Fire',v) | |
780 | fire.Size = 5 | |
781 | fire.Heat = 5 | |
782 | for o,p in pairs(c:GetChildren()) do | |
783 | if p:IsA("SpecialMesh") then | |
784 | p.TextureId = "" | |
785 | end | |
786 | end | |
787 | end | |
788 | end | |
789 | end | |
790 | end | |
791 | end | |
792 | if soundy then | |
793 | local sound = Instance.new('Sound',Head) | |
794 | sound.SoundId = 'rbxassetid://903640857' | |
795 | sound.Volume = 1 | |
796 | sound:Play() | |
797 | sound.Ended:connect(function() | |
798 | sound:Destroy() | |
799 | local ambient = Instance.new('Sound',Head) | |
800 | ambient.Volume = 0.25 | |
801 | ambient.Looped = true | |
802 | ambient.SoundId = 'rbxassetid://903641031' | |
803 | ambient:Play() | |
804 | end) | |
805 | end | |
806 | if override then | |
807 | if (string.len(hum2.Parent.Name) < 9 or string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie") and zombiemode == true and #zombies < 10 then | |
808 | local coru = coroutine.wrap(function() | |
809 | wait(4.5) | |
810 | hum2.Parent.Name = hum2.Parent.Name.."'s Zombie" | |
811 | hum2.HipHeight = 0.2 | |
812 | wait(0.5) | |
813 | killz(hum2.Parent,"Head",nil,nil,false,false,false,false) | |
814 | end) | |
815 | coru() | |
816 | else | |
817 | game:GetService('Debris'):AddItem(playa, 12) | |
818 | end | |
819 | else | |
820 | hum2.Health = 0 | |
821 | table.insert(zombies,playa) | |
822 | local attack = Instance.new('Sound',Head) | |
823 | attack.SoundId = 'rbxassetid://903641424' | |
824 | attack.Volume = 2 | |
825 | for i,v in pairs(playa:GetChildren()) do | |
826 | if v:IsA('BasePart') and v:FindFirstChildOfClass('TouchTransmitter') == nil then | |
827 | v.Touched:connect(function(hit) | |
828 | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') then | |
829 | local found = false | |
830 | if hit.Parent == player.Character then | |
831 | found = true | |
832 | end | |
833 | for a,c in pairs(zombies) do | |
834 | if c == hit.Parent then | |
835 | found = true | |
836 | end | |
837 | end | |
838 | if found == false and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then | |
839 | attack:Play() | |
840 | if hit.Parent:FindFirstChildOfClass('Humanoid').Health - 2 <= 0 then | |
841 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0 | |
842 | wait() | |
843 | killz(hit.Parent,"Head") | |
844 | else | |
845 | hit.Parent:FindFirstChildOfClass('Humanoid'):TakeDamage(2) | |
846 | end | |
847 | end | |
848 | end | |
849 | end) | |
850 | end | |
851 | end | |
852 | local coru = coroutine.wrap(function() | |
853 | wait(2) | |
854 | for i,v in pairs(playa:GetChildren()) do | |
855 | if v:IsA('BasePart') then | |
856 | for a,c in pairs(v:GetChildren()) do | |
857 | if c:IsA('Fire') or c:IsA('ParticleEmitter') then | |
858 | c:Destroy() | |
859 | end | |
860 | end | |
861 | elseif v:IsA('Accessory') then | |
862 | for a,c in pairs(v:GetChildren()) do | |
863 | if c:IsA('BasePart') then | |
864 | for b,d in pairs(c:GetChildren()) do | |
865 | if d:IsA('Fire') or d:IsA('ParticleEmitter') then | |
866 | d:Destroy() | |
867 | end | |
868 | end | |
869 | end | |
870 | end | |
871 | end | |
872 | end | |
873 | end) | |
874 | coru() | |
875 | end | |
876 | end | |
877 | end | |
878 | ||
879 | mouse.KeyDown:connect(function(key) | |
880 | if key == "t" and mouse.Target then | |
881 | local hum = mouse.Target.Parent:FindFirstChildOfClass('Humanoid') | |
882 | if hum == nil then hum = mouse.Target.Parent.Parent:FindFirstChildOfClass('Humanoid') end | |
883 | if curpoint == nil then | |
884 | if hum and hum.Parent:FindFirstChild('Head') then | |
885 | curpart = hum.Parent.Head | |
886 | else | |
887 | curpart = nil | |
888 | curpoint = mouse.Hit.p | |
889 | end | |
890 | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end | |
891 | notify("ZOMBIE TARGET SET",false) | |
892 | else | |
893 | curpart = nil | |
894 | curpoint = nil | |
895 | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end | |
896 | notify("ZOMBIE TARGET REMOVED",false) | |
897 | end | |
898 | elseif key == "y" then | |
899 | for o,p in pairs(zombies) do | |
900 | local coru = coroutine.wrap(function() | |
901 | if p:FindFirstChild('Torso') then | |
902 | killz(p,"Head",nil,nil,false,false,false,true) | |
903 | else | |
904 | table.remove(zombies,o) | |
905 | end | |
906 | end) | |
907 | coru() | |
908 | wait() | |
909 | end | |
910 | for i,v in pairs(zombies) do | |
911 | table.remove(zombies,i) | |
912 | end | |
913 | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end | |
914 | notify("ZOMBIES TERMINATED",false) | |
915 | end | |
916 | end) | |
917 | ||
918 | function nub() | |
919 | repeat wait() until player.Character and player.Character:FindFirstChild('Torso') | |
920 | local me = player.Character | |
921 | local point = me.HumanoidRootPart | |
922 | local playergui = player.PlayerGui | |
923 | local rightshoulderz = me.Torso["Right Shoulder"]:Clone() | |
924 | local leftshoulderz = me.Torso["Left Shoulder"]:Clone() | |
925 | local torsojoint = me.HumanoidRootPart["RootJoint"]:Clone() | |
926 | local lefthipz = me.Torso["Left Hip"]:Clone() | |
927 | local righthipz = me.Torso["Right Hip"]:Clone() | |
928 | local mode = "kill" | |
929 | local lerpz = false | |
930 | local active = false | |
931 | local acting = false | |
932 | local hit = false | |
933 | local canClick = true | |
934 | local stabbing = false | |
935 | local grabbing = false | |
936 | local finishing = false | |
937 | local kyssing = false | |
938 | local canbackgroundmusic = true | |
939 | local cancolorfilter = true | |
940 | local spinboolean = false | |
941 | local grabbed = nil | |
942 | local doing = false | |
943 | local rightshoulder = nil | |
944 | local leftshoulder = nil | |
945 | local headweld = nil | |
946 | local knifeparts = {} | |
947 | local usable = true | |
948 | finishnum = 1 | |
949 | ||
950 | function notify(msg,forever) | |
951 | local doit = coroutine.wrap(function() | |
952 | local gui = Instance.new('ScreenGui',playergui) | |
953 | gui.Name = "Notification" | |
954 | local frame = Instance.new('Frame',gui) | |
955 | frame.Position = UDim2.new(0,0,0,0) | |
956 | frame.Size = UDim2.new(1,0,0.2,0) | |
957 | frame.BackgroundTransparency = 1 | |
958 | local txt = Instance.new('TextLabel',frame) | |
959 | txt.TextColor3 = Color3.new(255,255,255) | |
960 | txt.TextStrokeColor3 = Color3.new(0, 0, 0) | |
961 | txt.TextStrokeTransparency = 0 | |
962 | txt.BackgroundTransparency = 1 | |
963 | txt.Text = "" | |
964 | txt.Size = UDim2.new(1,0,0.3,0) | |
965 | txt.Position = UDim2.new(0,0,0.4,0) | |
966 | txt.TextScaled = true | |
967 | txt.Font = "Code" | |
968 | txt.TextXAlignment = "Center" | |
969 | local tap = Instance.new("Sound") | |
970 | tap.Parent = gui | |
971 | tap.SoundId = "rbxassetid://147982968" | |
972 | tap.TimePosition = 0.1 | |
973 | local str = msg | |
974 | local len = string.len(str) | |
975 | for i=1,len do | |
976 | txt.Text = string.sub(str,1,i) | |
977 | pitche = math.random(20, 40)/10 | |
978 | tap.PlaybackSpeed = pitche | |
979 | tap:Play() | |
980 | wait(0.01) | |
981 | end | |
982 | if forever == false then | |
983 | wait(1) | |
984 | while txt.TextTransparency < 1 do | |
985 | txt.TextTransparency = txt.TextTransparency + 0.1 | |
986 | txt.TextStrokeTransparency = txt.TextStrokeTransparency + 0.1 | |
987 | wait(0.001) | |
988 | end | |
989 | gui:Destroy() | |
990 | end | |
991 | end) | |
992 | doit() | |
993 | end | |
994 | ||
995 | wait(0.5) | |
996 | notify("PRESS [Z] TO EQUIP KNIFE || Created by mustardfoot and Tollonis",true) | |
997 | local laugh = Instance.new('Sound',me.Head) | |
998 | laugh.SoundId = 'rbxassetid://378827985' | |
999 | laugh.Name = "Psycho" | |
1000 | laugh.Volume = 5 | |
1001 | -- 1 - bitch ass knife | |
1002 | local obj1 = Instance.new("Model") | |
1003 | obj1.Name = "bitch ass knife" | |
1004 | obj1.Parent = game.Workspace | |
1005 | ||
1006 | -- 2 - Grab | |
1007 | local obj2 = Instance.new("Part") | |
1008 | obj2.CFrame = CFrame.new(Vector3.new(20.4525032, 6.14501333, -134.399979)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) | |
1009 | obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1010 | obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1011 | obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1012 | obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1013 | obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1014 | obj2.Material = Enum.Material.Concrete | |
1015 | obj2.Size = Vector3.new(1, 0.25, 0.25) | |
1016 | obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1017 | obj2.Anchored = true | |
1018 | obj2.BrickColor = BrickColor.new("Black") | |
1019 | obj2.Friction = 0.30000001192093 | |
1020 | obj2.Shape = Enum.PartType.Cylinder | |
1021 | obj2.Name = "Grab" | |
1022 | obj2.Parent = obj1 | |
1023 | ||
1024 | -- 3 - handletopcap | |
1025 | local obj3 = Instance.new("Part") | |
1026 | obj3.CFrame = CFrame.new(Vector3.new(19.9725456, 6.14502859, -134.399933)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1027 | obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1028 | obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1029 | obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1030 | obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1031 | obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1032 | obj3.Material = Enum.Material.Concrete | |
1033 | obj3.Size = Vector3.new(0.349999994, 0.349999994, 0.349999994) | |
1034 | obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1035 | obj3.Anchored = true | |
1036 | obj3.BrickColor = BrickColor.new("Black") | |
1037 | obj3.Friction = 0.30000001192093 | |
1038 | obj3.Shape = Enum.PartType.Ball | |
1039 | obj3.Name = "handletopcap" | |
1040 | obj3.Parent = obj1 | |
1041 | ||
1042 | -- 4 - handlebottomcap | |
1043 | local obj4 = Instance.new("Part") | |
1044 | obj4.CFrame = CFrame.new(Vector3.new(20.9725285, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1045 | obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1046 | obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1047 | obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1048 | obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1049 | obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1050 | obj4.Material = Enum.Material.Concrete | |
1051 | obj4.Size = Vector3.new(0.25, 0.25, 0.25) | |
1052 | obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1053 | obj4.Anchored = true | |
1054 | obj4.BrickColor = BrickColor.new("Black") | |
1055 | obj4.Friction = 0.30000001192093 | |
1056 | obj4.Shape = Enum.PartType.Ball | |
1057 | obj4.Name = "handlebottomcap" | |
1058 | obj4.Parent = obj1 | |
1059 | ||
1060 | -- 5 - handleguardmid | |
1061 | local obj5 = Instance.new("Part") | |
1062 | obj5.CFrame = CFrame.new(Vector3.new(19.9474983, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1063 | obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1064 | obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1065 | obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1066 | obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1067 | obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1068 | obj5.Material = Enum.Material.Concrete | |
1069 | obj5.Size = Vector3.new(0.349999994, 0.349999994, 0.100000001) | |
1070 | obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1071 | obj5.Anchored = true | |
1072 | obj5.BrickColor = BrickColor.new("Black") | |
1073 | obj5.Friction = 0.30000001192093 | |
1074 | obj5.Shape = Enum.PartType.Block | |
1075 | obj5.Name = "handleguardmid" | |
1076 | obj5.Parent = obj1 | |
1077 | ||
1078 | -- 6 - handleguardcap1 | |
1079 | local obj6 = Instance.new("Part") | |
1080 | obj6.CFrame = CFrame.new(Vector3.new(19.9474983, 6.32502794, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) | |
1081 | obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1082 | obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1083 | obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1084 | obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1085 | obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1086 | obj6.Material = Enum.Material.Concrete | |
1087 | obj6.Size = Vector3.new(0.100000001, 0.349999994, 0.349999994) | |
1088 | obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1089 | obj6.Anchored = true | |
1090 | obj6.BrickColor = BrickColor.new("Black") | |
1091 | obj6.Friction = 0.30000001192093 | |
1092 | obj6.Shape = Enum.PartType.Cylinder | |
1093 | obj6.Name = "handleguardcap1" | |
1094 | obj6.Parent = obj1 | |
1095 | ||
1096 | -- 7 - handleguardcap2 | |
1097 | local obj7 = Instance.new("Part") | |
1098 | obj7.CFrame = CFrame.new(Vector3.new(19.9474983, 5.97502899, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) | |
1099 | obj7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1100 | obj7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1101 | obj7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1102 | obj7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1103 | obj7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1104 | obj7.Material = Enum.Material.Concrete | |
1105 | obj7.Size = Vector3.new(0.100000009, 0.349999994, 0.349999994) | |
1106 | obj7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1107 | obj7.Anchored = true | |
1108 | obj7.BrickColor = BrickColor.new("Black") | |
1109 | obj7.Friction = 0.30000001192093 | |
1110 | obj7.Shape = Enum.PartType.Cylinder | |
1111 | obj7.Name = "handleguardcap2" | |
1112 | obj7.Parent = obj1 | |
1113 | ||
1114 | -- 8 - big ass knife | |
1115 | local obj8 = Instance.new("Part") | |
1116 | obj8.CFrame = CFrame.new(Vector3.new(18.4375095, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1117 | obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1118 | obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1119 | obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1120 | obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1121 | obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1122 | obj8.Material = Enum.Material.Metal | |
1123 | obj8.Size = Vector3.new(0.0500000007, 0.280000001, 0.839999795) | |
1124 | obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1125 | obj8.Anchored = true | |
1126 | obj8.BrickColor = BrickColor.new("Lily white") | |
1127 | obj8.Friction = 0.30000001192093 | |
1128 | obj8.Shape = Enum.PartType.Block | |
1129 | obj8.Name = "big ass knife" | |
1130 | obj8.Parent = obj1 | |
1131 | ||
1132 | -- 9 - Mesh | |
1133 | local obj9 = Instance.new("BlockMesh") | |
1134 | obj9.Scale = Vector3.new(0.5, 1, 1) | |
1135 | obj9.Parent = obj8 | |
1136 | ||
1137 | -- 10 - big ass knife | |
1138 | local obj10 = Instance.new("Part") | |
1139 | obj10.CFrame = CFrame.new(Vector3.new(19.7425137, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1140 | obj10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1141 | obj10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1142 | obj10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1143 | obj10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1144 | obj10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1145 | obj10.Material = Enum.Material.Metal | |
1146 | obj10.Size = Vector3.new(0.0500000007, 0.280000001, 0.289999962) | |
1147 | obj10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1148 | obj10.Anchored = true | |
1149 | obj10.BrickColor = BrickColor.new("Lily white") | |
1150 | obj10.Friction = 0.30000001192093 | |
1151 | obj10.Shape = Enum.PartType.Block | |
1152 | obj10.Name = "big ass knife" | |
1153 | obj10.Parent = obj1 | |
1154 | local knife = obj10 | |
1155 | ||
1156 | -- 11 - Mesh | |
1157 | local obj11 = Instance.new("BlockMesh") | |
1158 | obj11.Scale = Vector3.new(0.5, 1, 1) | |
1159 | obj11.Parent = obj10 | |
1160 | ||
1161 | -- 12 - big ass knife | |
1162 | local obj12 = Instance.new("Part") | |
1163 | obj12.CFrame = CFrame.new(Vector3.new(19.1075306, 6.08502865, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1164 | obj12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1165 | obj12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1166 | obj12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1167 | obj12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1168 | obj12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1169 | obj12.Material = Enum.Material.Metal | |
1170 | obj12.Size = Vector3.new(0.0500000007, 0.159999996, 0.979999959) | |
1171 | obj12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1172 | obj12.Anchored = true | |
1173 | obj12.BrickColor = BrickColor.new("Lily white") | |
1174 | obj12.Friction = 0.30000001192093 | |
1175 | obj12.Shape = Enum.PartType.Block | |
1176 | obj12.Name = "big ass knife" | |
1177 | obj12.Parent = obj1 | |
1178 | ||
1179 | -- 13 - Mesh | |
1180 | local obj13 = Instance.new("BlockMesh") | |
1181 | obj13.Scale = Vector3.new(0.5, 1, 1) | |
1182 | obj13.Parent = obj12 | |
1183 | ||
1184 | -- 14 - serration | |
1185 | local obj14 = Instance.new("WedgePart") | |
1186 | obj14.CFrame = CFrame.new(Vector3.new(19.4963322, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1187 | obj14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1188 | obj14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1189 | obj14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1190 | obj14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1191 | obj14.Material = Enum.Material.Metal | |
1192 | obj14.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1193 | obj14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1194 | obj14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1195 | obj14.Anchored = true | |
1196 | obj14.BrickColor = BrickColor.new("Lily white") | |
1197 | obj14.Friction = 0.30000001192093 | |
1198 | obj14.Name = "serration" | |
1199 | obj14.Parent = obj1 | |
1200 | ||
1201 | -- 15 - Mesh | |
1202 | local obj15 = Instance.new("BlockMesh") | |
1203 | obj15.Scale = Vector3.new(0.5, 1, 1) | |
1204 | obj15.Parent = obj14 | |
1205 | ||
1206 | -- 16 - serration | |
1207 | local obj16 = Instance.new("WedgePart") | |
1208 | obj16.CFrame = CFrame.new(Vector3.new(19.2763138, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1209 | obj16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1210 | obj16.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1211 | obj16.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1212 | obj16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1213 | obj16.Material = Enum.Material.Metal | |
1214 | obj16.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1215 | obj16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1216 | obj16.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1217 | obj16.Anchored = true | |
1218 | obj16.BrickColor = BrickColor.new("Lily white") | |
1219 | obj16.Friction = 0.30000001192093 | |
1220 | obj16.Name = "serration" | |
1221 | obj16.Parent = obj1 | |
1222 | ||
1223 | -- 17 - Mesh | |
1224 | local obj17 = Instance.new("BlockMesh") | |
1225 | obj17.Scale = Vector3.new(0.5, 1, 1) | |
1226 | obj17.Parent = obj16 | |
1227 | ||
1228 | -- 18 - serration | |
1229 | local obj18 = Instance.new("WedgePart") | |
1230 | obj18.CFrame = CFrame.new(Vector3.new(19.3863068, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1231 | obj18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1232 | obj18.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1233 | obj18.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1234 | obj18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1235 | obj18.Material = Enum.Material.Metal | |
1236 | obj18.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1237 | obj18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1238 | obj18.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1239 | obj18.Anchored = true | |
1240 | obj18.BrickColor = BrickColor.new("Lily white") | |
1241 | obj18.Friction = 0.30000001192093 | |
1242 | obj18.Name = "serration" | |
1243 | obj18.Parent = obj1 | |
1244 | ||
1245 | -- 19 - Mesh | |
1246 | local obj19 = Instance.new("BlockMesh") | |
1247 | obj19.Scale = Vector3.new(0.5, 1, 1) | |
1248 | obj19.Parent = obj18 | |
1249 | ||
1250 | -- 20 - serration | |
1251 | local obj20 = Instance.new("WedgePart") | |
1252 | obj20.CFrame = CFrame.new(Vector3.new(19.5963173, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1253 | obj20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1254 | obj20.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1255 | obj20.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1256 | obj20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1257 | obj20.Material = Enum.Material.Metal | |
1258 | obj20.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1259 | obj20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1260 | obj20.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1261 | obj20.Anchored = true | |
1262 | obj20.BrickColor = BrickColor.new("Lily white") | |
1263 | obj20.Friction = 0.30000001192093 | |
1264 | obj20.Name = "serration" | |
1265 | obj20.Parent = obj1 | |
1266 | ||
1267 | -- 21 - Mesh | |
1268 | local obj21 = Instance.new("BlockMesh") | |
1269 | obj21.Scale = Vector3.new(0.5, 1, 1) | |
1270 | obj21.Parent = obj20 | |
1271 | ||
1272 | -- 22 - serration | |
1273 | local obj22 = Instance.new("WedgePart") | |
1274 | obj22.CFrame = CFrame.new(Vector3.new(19.1663074, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1275 | obj22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1276 | obj22.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1277 | obj22.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1278 | obj22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1279 | obj22.Material = Enum.Material.Metal | |
1280 | obj22.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1281 | obj22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1282 | obj22.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1283 | obj22.Anchored = true | |
1284 | obj22.BrickColor = BrickColor.new("Lily white") | |
1285 | obj22.Friction = 0.30000001192093 | |
1286 | obj22.Name = "serration" | |
1287 | obj22.Parent = obj1 | |
1288 | ||
1289 | -- 23 - Mesh | |
1290 | local obj23 = Instance.new("BlockMesh") | |
1291 | obj23.Scale = Vector3.new(0.5, 1, 1) | |
1292 | obj23.Parent = obj22 | |
1293 | ||
1294 | -- 24 - serration | |
1295 | local obj24 = Instance.new("WedgePart") | |
1296 | obj24.CFrame = CFrame.new(Vector3.new(18.9663048, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1297 | obj24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1298 | obj24.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1299 | obj24.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1300 | obj24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1301 | obj24.Material = Enum.Material.Metal | |
1302 | obj24.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1303 | obj24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1304 | obj24.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1305 | obj24.Anchored = true | |
1306 | obj24.BrickColor = BrickColor.new("Lily white") | |
1307 | obj24.Friction = 0.30000001192093 | |
1308 | obj24.Name = "serration" | |
1309 | obj24.Parent = obj1 | |
1310 | ||
1311 | -- 25 - Mesh | |
1312 | local obj25 = Instance.new("BlockMesh") | |
1313 | obj25.Scale = Vector3.new(0.5, 1, 1) | |
1314 | obj25.Parent = obj24 | |
1315 | ||
1316 | -- 26 - serration | |
1317 | local obj26 = Instance.new("WedgePart") | |
1318 | obj26.CFrame = CFrame.new(Vector3.new(18.8562984, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1319 | obj26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1320 | obj26.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1321 | obj26.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1322 | obj26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1323 | obj26.Material = Enum.Material.Metal | |
1324 | obj26.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1325 | obj26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1326 | obj26.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1327 | obj26.Anchored = true | |
1328 | obj26.BrickColor = BrickColor.new("Lily white") | |
1329 | obj26.Friction = 0.30000001192093 | |
1330 | obj26.Name = "serration" | |
1331 | obj26.Parent = obj1 | |
1332 | ||
1333 | -- 27 - Mesh | |
1334 | local obj27 = Instance.new("BlockMesh") | |
1335 | obj27.Scale = Vector3.new(0.5, 1, 1) | |
1336 | obj27.Parent = obj26 | |
1337 | ||
1338 | -- 28 - serration | |
1339 | local obj28 = Instance.new("WedgePart") | |
1340 | obj28.CFrame = CFrame.new(Vector3.new(19.0663071, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1341 | obj28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1342 | obj28.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1343 | obj28.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1344 | obj28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1345 | obj28.Material = Enum.Material.Metal | |
1346 | obj28.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1347 | obj28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1348 | obj28.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1349 | obj28.Anchored = true | |
1350 | obj28.BrickColor = BrickColor.new("Lily white") | |
1351 | obj28.Friction = 0.30000001192093 | |
1352 | obj28.Name = "serration" | |
1353 | obj28.Parent = obj1 | |
1354 | ||
1355 | -- 29 - Mesh | |
1356 | local obj29 = Instance.new("BlockMesh") | |
1357 | obj29.Scale = Vector3.new(0.5, 1, 1) | |
1358 | obj29.Parent = obj28 | |
1359 | ||
1360 | -- 30 - knifetip1 | |
1361 | local obj30 = Instance.new("WedgePart") | |
1362 | obj30.CFrame = CFrame.new(Vector3.new(18.0163059, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1363 | obj30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1364 | obj30.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1365 | obj30.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1366 | obj30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1367 | obj30.Material = Enum.Material.Metal | |
1368 | obj30.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1369 | obj30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1370 | obj30.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1371 | obj30.Anchored = true | |
1372 | obj30.BrickColor = BrickColor.new("Lily white") | |
1373 | obj30.Friction = 0.30000001192093 | |
1374 | obj30.Name = "knifetip1" | |
1375 | obj30.Parent = obj1 | |
1376 | ||
1377 | -- 31 - Mesh | |
1378 | local obj31 = Instance.new("BlockMesh") | |
1379 | obj31.Scale = Vector3.new(0.5, 1, 1) | |
1380 | obj31.Parent = obj30 | |
1381 | ||
1382 | -- 32 - redstuff | |
1383 | local obj32 = Instance.new("Part") | |
1384 | obj32.CFrame = CFrame.new(Vector3.new(19.9470005, 5.9749999, -134.399994)) * CFrame.Angles(-0, 0, -0) | |
1385 | obj32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1386 | obj32.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1387 | obj32.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1388 | obj32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1389 | obj32.Material = Enum.Material.SmoothPlastic | |
1390 | obj32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1391 | obj32.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014) | |
1392 | obj32.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1393 | obj32.BrickColor = BrickColor.new("Institutional white") | |
1394 | obj32.Friction = 0.30000001192093 | |
1395 | obj32.Shape = Enum.PartType.Cylinder | |
1396 | obj32.Name = "redstuff" | |
1397 | obj32.Anchored = true | |
1398 | obj32.Parent = obj1 | |
1399 | ||
1400 | ||
1401 | -- 33 - redstuff | |
1402 | local obj33 = Instance.new("Part") | |
1403 | obj33.CFrame = CFrame.new(Vector3.new(18.9800053, 6.1400156, -134.404984)) * CFrame.Angles(-0, 0, -0) | |
1404 | obj33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1405 | obj33.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1406 | obj33.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1407 | obj33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1408 | obj33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1409 | obj33.Material = Enum.Material.SmoothPlastic | |
1410 | obj33.Size = Vector3.new(1.81999993, 0.100000001, 0.0500000007) | |
1411 | obj33.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1412 | obj33.BrickColor = BrickColor.new("Institutional white") | |
1413 | obj33.Friction = 0.30000001192093 | |
1414 | obj33.Shape = Enum.PartType.Block | |
1415 | obj33.Name = "redstuff" | |
1416 | obj33.Anchored = true | |
1417 | obj33.Parent = obj1 | |
1418 | ||
1419 | -- 34 - redstuff | |
1420 | local obj34 = Instance.new("Part") | |
1421 | obj34.CFrame = CFrame.new(Vector3.new(19.9470005, 6.32499981, -134.399994)) * CFrame.Angles(-0, 0, -0) | |
1422 | obj34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1423 | obj34.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1424 | obj34.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1425 | obj34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1426 | obj34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1427 | obj34.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014) | |
1428 | obj34.Material = Enum.Material.SmoothPlastic | |
1429 | obj34.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1430 | obj34.BrickColor = BrickColor.new("Institutional white") | |
1431 | obj34.Friction = 0.30000001192093 | |
1432 | obj34.Shape = Enum.PartType.Cylinder | |
1433 | obj34.Name = "redstuff" | |
1434 | obj34.Anchored = true | |
1435 | obj34.Parent = obj1 | |
1436 | ||
1437 | -- 35 - redstuff | |
1438 | local obj35 = Instance.new("Part") | |
1439 | obj35.CFrame = CFrame.new(Vector3.new(19.8830166, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0) | |
1440 | obj35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1441 | obj35.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1442 | obj35.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1443 | obj35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1444 | obj35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1445 | obj35.Size = Vector3.new(0.0500000007, 0.319999993, 0.319999993) | |
1446 | obj35.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1447 | obj35.BrickColor = BrickColor.new("Institutional white") | |
1448 | obj35.Friction = 0.30000001192093 | |
1449 | obj35.Shape = Enum.PartType.Cylinder | |
1450 | obj35.Material = Enum.Material.SmoothPlastic | |
1451 | obj35.Name = "redstuff" | |
1452 | obj35.Anchored = true | |
1453 | obj35.Parent = obj1 | |
1454 | ||
1455 | -- 36 - redstuff | |
1456 | local obj36 = Instance.new("Part") | |
1457 | obj36.CFrame = CFrame.new(Vector3.new(20.9430103, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0) | |
1458 | obj36.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1459 | obj36.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1460 | obj36.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1461 | obj36.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1462 | obj36.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1463 | obj36.Material = Enum.Material.SmoothPlastic | |
1464 | obj36.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999) | |
1465 | obj36.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1466 | obj36.BrickColor = BrickColor.new("Institutional white") | |
1467 | obj36.Friction = 0.30000001192093 | |
1468 | obj36.Shape = Enum.PartType.Cylinder | |
1469 | obj36.Name = "redstuff" | |
1470 | obj36.Anchored = true | |
1471 | obj36.Parent = obj1 | |
1472 | ||
1473 | -- 37 - redstuff | |
1474 | local obj37 = Instance.new("WedgePart") | |
1475 | obj37.CFrame = CFrame.new(Vector3.new(18.066288, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1476 | obj37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1477 | obj37.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1478 | obj37.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1479 | obj37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1480 | obj37.Material = Enum.Material.SmoothPlastic | |
1481 | obj37.Size = Vector3.new(0.0500000007, 0.0700000003, 0.0700000003) | |
1482 | obj37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1483 | obj37.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1484 | obj37.Anchored = true | |
1485 | obj37.BrickColor = BrickColor.new("Institutional white") | |
1486 | obj37.Friction = 0.30000001192093 | |
1487 | obj37.Name = "redstuff" | |
1488 | obj37.Anchored = true | |
1489 | obj37.Parent = obj1 | |
1490 | ||
1491 | -- 38 - redstuff | |
1492 | local obj38 = Instance.new("Part") | |
1493 | obj38.CFrame = CFrame.new(Vector3.new(20.1230125, 6.14501476, -134.399979)) * CFrame.Angles(-0, 0, -0) | |
1494 | obj38.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1495 | obj38.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1496 | obj38.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1497 | obj38.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1498 | obj38.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1499 | obj38.Material = Enum.Material.SmoothPlastic | |
1500 | obj38.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999) | |
1501 | obj38.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1502 | obj38.BrickColor = BrickColor.new("Institutional white") | |
1503 | obj38.Friction = 0.30000001192093 | |
1504 | obj38.Shape = Enum.PartType.Cylinder | |
1505 | obj38.Name = "redstuff" | |
1506 | obj38.Anchored = true | |
1507 | obj38.Parent = obj1 | |
1508 | ||
1509 | local function recurse(objnum) | |
1510 | table.insert(knifeparts,{objnum,objnum.Parent}) | |
1511 | for i,v in pairs(objnum:GetChildren()) do | |
1512 | recurse(v) | |
1513 | end | |
1514 | end | |
1515 | ||
1516 | recurse(obj1) | |
1517 | ||
1518 | local audio = Instance.new('Sound',knife) | |
1519 | audio.Volume = 2 | |
1520 | ||
1521 | local audio2 = Instance.new('Sound',knife) | |
1522 | audio2.Volume = 2 | |
1523 | ||
1524 | local holdpart = Instance.new("Part") | |
1525 | holdpart.Parent = me | |
1526 | holdpart.Size = Vector3.new(0.4, 0.4, 0.2) | |
1527 | holdpart.Position = me.Head.Position + Vector3.new(0, 1, 0) | |
1528 | holdpart.BrickColor = BrickColor.new("Burnt Sienna") | |
1529 | ||
1530 | local previous = nil | |
1531 | for i,v in pairs(obj1:GetChildren()) do | |
1532 | if v:IsA('BasePart') then | |
1533 | if previous then | |
1534 | local weld = Instance.new('Weld',v) | |
1535 | weld.Part0 = v | |
1536 | weld.Part1 = previous | |
1537 | weld.C0 = v.CFrame:inverse() * previous.CFrame | |
1538 | previous.Anchored = false | |
1539 | previous.CanCollide = false | |
1540 | local vee = v | |
1541 | weld.AncestryChanged:connect(function(mez,par) | |
1542 | wait() | |
1543 | weld.Parent = vee | |
1544 | end) | |
1545 | end | |
1546 | previous = v | |
1547 | end | |
1548 | end | |
1549 | previous.Anchored = false | |
1550 | previous.CanCollide = false | |
1551 | ||
1552 | local holdpartweld = Instance.new("Weld", me.Torso) | |
1553 | holdpartweld.Part0 = me.Torso | |
1554 | holdpartweld.Part1 = holdpart | |
1555 | holdpartweld.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1, -0.8, 0.15) | |
1556 | ||
1557 | holdpartweld.AncestryChanged:connect(function(mez,par) | |
1558 | if par ~= me.Torso then | |
1559 | wait() | |
1560 | holdpartweld.Parent = me.Torso | |
1561 | end | |
1562 | end) | |
1563 | ||
1564 | local knifeweld = Instance.new('Weld',me.Torso) | |
1565 | knifeweld.Part0 = me.Torso | |
1566 | knifeweld.Part1 = obj2 | |
1567 | knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55) | |
1568 | knifeweld.AncestryChanged:connect(function(mez,par) | |
1569 | if par ~= me.Torso then | |
1570 | wait() | |
1571 | knifeweld.Parent = me.Torso | |
1572 | end | |
1573 | end) | |
1574 | local ScreenGui = Instance.new("ScreenGui") | |
1575 | local CustomizeGui = Instance.new("Frame") | |
1576 | local Customize = Instance.new("TextLabel") | |
1577 | local ClosestColor = Instance.new("TextLabel") | |
1578 | local Line = Instance.new("TextLabel") | |
1579 | local Color = Instance.new("ImageLabel") | |
1580 | local Close = Instance.new("TextButton") | |
1581 | local RedHue = Instance.new("TextLabel") | |
1582 | local GreenHue = Instance.new("TextLabel") | |
1583 | local RedInput = Instance.new("TextBox") | |
1584 | local BlueHue = Instance.new("TextLabel") | |
1585 | local GreenInput = Instance.new("TextBox") | |
1586 | local TransInput = Instance.new("TextBox") | |
1587 | local BlueInput = Instance.new("TextBox") | |
1588 | local Message = Instance.new("TextLabel") | |
1589 | local Message2 = Instance.new("TextLabel") | |
1590 | local TrailTransparency = Instance.new("TextLabel") | |
1591 | local TrailInput = Instance.new("TextBox") | |
1592 | local MusicOption = Instance.new("TextButton") | |
1593 | local ScreenOption = Instance.new("TextButton") | |
1594 | local ScreenOptionTxt = Instance.new("TextLabel") | |
1595 | local MusicOptionTxt = Instance.new("TextLabel") | |
1596 | ||
1597 | -- Properties | |
1598 | ||
1599 | ScreenGui.Parent = playergui | |
1600 | ||
1601 | CustomizeGui.Name = "CustomizeGui" | |
1602 | CustomizeGui.Parent = ScreenGui | |
1603 | CustomizeGui.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) | |
1604 | CustomizeGui.BackgroundTransparency = 0.5 | |
1605 | CustomizeGui.BorderColor3 = Color3.new(0, 0, 0) | |
1606 | CustomizeGui.BorderSizePixel = 2 | |
1607 | CustomizeGui.Position = UDim2.new(0, 0, 0.5, 0) | |
1608 | CustomizeGui.Size = UDim2.new(0.449999988, 0, 0.449999988, 0) | |
1609 | ||
1610 | Customize.Name = "Customize" | |
1611 | Customize.Parent = CustomizeGui | |
1612 | Customize.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) | |
1613 | Customize.BackgroundTransparency = 0.75 | |
1614 | Customize.BorderSizePixel = 0 | |
1615 | Customize.Size = UDim2.new(1, 0, 0.200000003, 0) | |
1616 | Customize.FontSize = Enum.FontSize.Size28 | |
1617 | Customize.Text = "ACCENT COLOR CUSTOMIZATION" | |
1618 | Customize.TextColor3 = Color3.new(1, 1, 1) | |
1619 | Customize.TextScaled = true | |
1620 | Customize.TextSize = 25 | |
1621 | Customize.TextStrokeTransparency = 0.5 | |
1622 | Customize.TextWrapped = true | |
1623 | ||
1624 | ClosestColor.Name = "ClosestColor" | |
1625 | ClosestColor.Parent = CustomizeGui | |
1626 | ClosestColor.BackgroundColor3 = Color3.new(1, 1, 1) | |
1627 | ClosestColor.BackgroundTransparency = 1 | |
1628 | ClosestColor.Position = UDim2.new(0, 0, 0.850000024, 0) | |
1629 | ClosestColor.Size = UDim2.new(1, 0, 0.150000006, 0) | |
1630 | ClosestColor.Font = Enum.Font.SourceSansLight | |
1631 | ClosestColor.FontSize = Enum.FontSize.Size32 | |
1632 | ClosestColor.Text = "Your color is closest to Institutional White" | |
1633 | ClosestColor.TextColor3 = Color3.new(1, 1, 1) | |
1634 | ClosestColor.TextSize = 30 | |
1635 | ClosestColor.TextStrokeTransparency = 0.5 | |
1636 | ||
1637 | Line.Name = "Line" | |
1638 | Line.Parent = CustomizeGui | |
1639 | Line.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1640 | Line.BackgroundTransparency = 0.5 | |
1641 | Line.BorderColor3 = Color3.new(0, 0, 0) | |
1642 | Line.BorderSizePixel = 0 | |
1643 | Line.Position = UDim2.new(0, 0, 0.200000003, 0) | |
1644 | Line.Size = UDim2.new(1, 0, 0.0299999993, 0) | |
1645 | Line.Font = Enum.Font.SourceSans | |
1646 | Line.FontSize = Enum.FontSize.Size14 | |
1647 | Line.Text = " " | |
1648 | Line.TextSize = 14 | |
1649 | ||
1650 | Color.Name = "Color" | |
1651 | Color.Parent = CustomizeGui | |
1652 | Color.BackgroundColor3 = Color3.new(1, 1, 1) | |
1653 | Color.BorderSizePixel = 0 | |
1654 | Color.Position = UDim2.new(0.699999988, 0, 0.419999987, 0) | |
1655 | Color.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) | |
1656 | Color.SizeConstraint = Enum.SizeConstraint.RelativeYY | |
1657 | ||
1658 | MusicOption.Parent = CustomizeGui | |
1659 | MusicOption.Name = "MusicOption" | |
1660 | MusicOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
1661 | MusicOption.BorderSizePixel = 1 | |
1662 | MusicOption.Position = UDim2.new(0.01, 0, -0.12, 0) | |
1663 | MusicOption.Size = UDim2.new(0.05, 0, 0.1, 0) | |
1664 | MusicOption.Text = "" | |
1665 | MusicOption.BackgroundTransparency = 0.5 | |
1666 | ||
1667 | ScreenOption.Parent = CustomizeGui | |
1668 | ScreenOption.Name = "ScreenOption" | |
1669 | ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
1670 | ScreenOption.BorderSizePixel = 1 | |
1671 | ScreenOption.Position = UDim2.new(0.01, 0, -0.23, 0) | |
1672 | ScreenOption.Size = UDim2.new(0.05, 0, 0.1, 0) | |
1673 | ScreenOption.Text = "" | |
1674 | ScreenOption.BackgroundTransparency = 0.5 | |
1675 | ||
1676 | ScreenOptionTxt.Name = "ScreenOptionTxt" | |
1677 | ScreenOptionTxt.Parent = CustomizeGui | |
1678 | ScreenOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1) | |
1679 | ScreenOptionTxt.BackgroundTransparency = 1 | |
1680 | ScreenOptionTxt.Position = UDim2.new(0.07, 0, -0.23, 0) | |
1681 | ScreenOptionTxt.Size = UDim2.new(1, 0, 0.07, 0) | |
1682 | ScreenOptionTxt.Font = Enum.Font.SourceSans | |
1683 | ScreenOptionTxt.FontSize = Enum.FontSize.Size24 | |
1684 | ScreenOptionTxt.Text = "Psychopath Red Filter" | |
1685 | ScreenOptionTxt.TextColor3 = Color3.new(1, 1, 1) | |
1686 | ScreenOptionTxt.TextScaled = true | |
1687 | ScreenOptionTxt.TextSize = 20 | |
1688 | ScreenOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1689 | ScreenOptionTxt.TextStrokeTransparency = 0.5 | |
1690 | ScreenOptionTxt.TextWrapped = true | |
1691 | ScreenOptionTxt.TextXAlignment = "Left" | |
1692 | ||
1693 | MusicOptionTxt.Name = "MusicOptionTxt" | |
1694 | MusicOptionTxt.Parent = CustomizeGui | |
1695 | MusicOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1) | |
1696 | MusicOptionTxt.BackgroundTransparency = 1 | |
1697 | MusicOptionTxt.Position = UDim2.new(0.07, 0, -0.12, 0) | |
1698 | MusicOptionTxt.Size = UDim2.new(1, 0, 0.07, 0) | |
1699 | MusicOptionTxt.Font = Enum.Font.SourceSans | |
1700 | MusicOptionTxt.FontSize = Enum.FontSize.Size24 | |
1701 | MusicOptionTxt.Text = "Psychopath Background Music" | |
1702 | MusicOptionTxt.TextColor3 = Color3.new(1, 1, 1) | |
1703 | MusicOptionTxt.TextScaled = true | |
1704 | MusicOptionTxt.TextSize = 20 | |
1705 | MusicOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1706 | MusicOptionTxt.TextStrokeTransparency = 0.5 | |
1707 | MusicOptionTxt.TextWrapped = true | |
1708 | MusicOptionTxt.TextXAlignment = "Left" | |
1709 | ||
1710 | Close.Name = "Close" | |
1711 | Close.Parent = CustomizeGui | |
1712 | Close.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) | |
1713 | Close.BackgroundTransparency = 0.5 | |
1714 | Close.BorderColor3 = Color3.new(0, 0, 0) | |
1715 | Close.BorderSizePixel = 2 | |
1716 | Close.Position = UDim2.new(1.005, 0, 0, 0) | |
1717 | Close.Size = UDim2.new(0.100000001, 0, 0.2, 0) | |
1718 | Close.Font = Enum.Font.SourceSans | |
1719 | Close.FontSize = Enum.FontSize.Size14 | |
1720 | Close.Text = "X" | |
1721 | Close.TextColor3 = Color3.new(1, 1, 1) | |
1722 | Close.TextScaled = true | |
1723 | Close.TextSize = 14 | |
1724 | Close.TextStrokeTransparency = 0 | |
1725 | Close.TextWrapped = true | |
1726 | ||
1727 | RedHue.Name = "RedHue" | |
1728 | RedHue.Parent = CustomizeGui | |
1729 | RedHue.BackgroundColor3 = Color3.new(1, 1, 1) | |
1730 | RedHue.BackgroundTransparency = 1 | |
1731 | RedHue.Position = UDim2.new(0.100000001, 0, 0.400000006, 0) | |
1732 | RedHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
1733 | RedHue.Font = Enum.Font.SourceSans | |
1734 | RedHue.FontSize = Enum.FontSize.Size24 | |
1735 | RedHue.Text = "RED Hue Value: " | |
1736 | RedHue.TextColor3 = Color3.new(1, 1, 1) | |
1737 | RedHue.TextScaled = true | |
1738 | RedHue.TextSize = 20 | |
1739 | RedHue.TextStrokeColor3 = Color3.new(1, 0, 0) | |
1740 | RedHue.TextStrokeTransparency = 0.75 | |
1741 | RedHue.TextWrapped = true | |
1742 | ||
1743 | GreenHue.Name = "GreenHue" | |
1744 | GreenHue.Parent = CustomizeGui | |
1745 | GreenHue.BackgroundColor3 = Color3.new(1, 1, 1) | |
1746 | GreenHue.BackgroundTransparency = 1 | |
1747 | GreenHue.Position = UDim2.new(0.100000001, 0, 0.5, 0) | |
1748 | GreenHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
1749 | GreenHue.Font = Enum.Font.SourceSans | |
1750 | GreenHue.FontSize = Enum.FontSize.Size24 | |
1751 | GreenHue.Text = "GREEN Hue Value:" | |
1752 | GreenHue.TextColor3 = Color3.new(1, 1, 1) | |
1753 | GreenHue.TextScaled = true | |
1754 | GreenHue.TextSize = 20 | |
1755 | GreenHue.TextStrokeColor3 = Color3.new(0, 1, 0) | |
1756 | GreenHue.TextStrokeTransparency = 0.75 | |
1757 | GreenHue.TextWrapped = true | |
1758 | ||
1759 | RedInput.Name = "RedInput" | |
1760 | RedInput.Parent = CustomizeGui | |
1761 | RedInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1762 | RedInput.BackgroundTransparency = 0.5 | |
1763 | RedInput.BorderSizePixel = 0 | |
1764 | RedInput.Position = UDim2.new(0.419999987, 0, 0.425000007, 0) | |
1765 | RedInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
1766 | RedInput.Font = Enum.Font.SourceSans | |
1767 | RedInput.FontSize = Enum.FontSize.Size14 | |
1768 | RedInput.Text = "255" | |
1769 | RedInput.TextColor3 = Color3.new(1, 1, 1) | |
1770 | RedInput.TextSize = 14 | |
1771 | RedInput.TextStrokeTransparency = 0 | |
1772 | ||
1773 | BlueHue.Name = "BlueHue" | |
1774 | BlueHue.Parent = CustomizeGui | |
1775 | BlueHue.BackgroundColor3 = Color3.new(1, 1, 1) | |
1776 | BlueHue.BackgroundTransparency = 1 | |
1777 | BlueHue.Position = UDim2.new(0.100000001, 0, 0.600000024, 0) | |
1778 | BlueHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
1779 | BlueHue.Font = Enum.Font.SourceSans | |
1780 | BlueHue.FontSize = Enum.FontSize.Size24 | |
1781 | BlueHue.Text = "BLUE Hue Value:" | |
1782 | BlueHue.TextColor3 = Color3.new(1, 1, 1) | |
1783 | BlueHue.TextScaled = true | |
1784 | BlueHue.TextSize = 20 | |
1785 | BlueHue.TextStrokeColor3 = Color3.new(0, 0, 1) | |
1786 | BlueHue.TextStrokeTransparency = 0.75 | |
1787 | BlueHue.TextWrapped = true | |
1788 | ||
1789 | TrailTransparency.Name = "TrailTransparency" | |
1790 | TrailTransparency.Parent = CustomizeGui | |
1791 | TrailTransparency.BackgroundColor3 = Color3.new(1, 1, 1) | |
1792 | TrailTransparency.BackgroundTransparency = 1 | |
1793 | TrailTransparency.Position = UDim2.new(0.090000001, 0, 0.700000024, 0) | |
1794 | TrailTransparency.Size = UDim2.new(0.310000012, 0, 0.100000001, 0) | |
1795 | TrailTransparency.Font = Enum.Font.SourceSans | |
1796 | TrailTransparency.FontSize = Enum.FontSize.Size24 | |
1797 | TrailTransparency.Text = "Trail Transparency:" | |
1798 | TrailTransparency.TextColor3 = Color3.new(1, 1, 1) | |
1799 | TrailTransparency.TextScaled = true | |
1800 | TrailTransparency.TextSize = 20 | |
1801 | TrailTransparency.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1802 | TrailTransparency.TextWrapped = true | |
1803 | ||
1804 | GreenInput.Name = "GreenInput" | |
1805 | GreenInput.Parent = CustomizeGui | |
1806 | GreenInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1807 | GreenInput.BackgroundTransparency = 0.5 | |
1808 | GreenInput.BorderSizePixel = 0 | |
1809 | GreenInput.Position = UDim2.new(0.419999987, 0, 0.524999976, 0) | |
1810 | GreenInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
1811 | GreenInput.Font = Enum.Font.SourceSans | |
1812 | GreenInput.FontSize = Enum.FontSize.Size14 | |
1813 | GreenInput.Text = "255" | |
1814 | GreenInput.TextColor3 = Color3.new(1, 1, 1) | |
1815 | GreenInput.TextSize = 14 | |
1816 | GreenInput.TextStrokeTransparency = 0 | |
1817 | ||
1818 | TransInput.Name = "TransInput" | |
1819 | TransInput.Parent = CustomizeGui | |
1820 | TransInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1821 | TransInput.BackgroundTransparency = 0.5 | |
1822 | TransInput.BorderSizePixel = 0 | |
1823 | TransInput.Position = UDim2.new(0.419999987, 0, 0.725000024, 0) | |
1824 | TransInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
1825 | TransInput.Font = Enum.Font.SourceSans | |
1826 | TransInput.FontSize = Enum.FontSize.Size14 | |
1827 | TransInput.Text = "50" | |
1828 | TransInput.TextColor3 = Color3.new(1, 1, 1) | |
1829 | TransInput.TextSize = 14 | |
1830 | TransInput.TextStrokeTransparency = 0 | |
1831 | ||
1832 | BlueInput.Name = "BlueInput" | |
1833 | BlueInput.Parent = CustomizeGui | |
1834 | BlueInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1835 | BlueInput.BackgroundTransparency = 0.5 | |
1836 | BlueInput.BorderSizePixel = 0 | |
1837 | BlueInput.Position = UDim2.new(0.419999987, 0, 0.625, 0) | |
1838 | BlueInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
1839 | BlueInput.Font = Enum.Font.SourceSans | |
1840 | BlueInput.FontSize = Enum.FontSize.Size14 | |
1841 | BlueInput.Text = "255" | |
1842 | BlueInput.TextColor3 = Color3.new(1, 1, 1) | |
1843 | BlueInput.TextSize = 14 | |
1844 | BlueInput.TextStrokeTransparency = 0 | |
1845 | ||
1846 | Message.Name = "Message" | |
1847 | Message.Parent = CustomizeGui | |
1848 | Message.BackgroundColor3 = Color3.new(1, 1, 1) | |
1849 | Message.BackgroundTransparency = 1 | |
1850 | Message.Position = UDim2.new(0, 0, 0.2500004, 0) | |
1851 | Message.Size = UDim2.new(1, 0, 0.100000006, 0) | |
1852 | Message.Font = Enum.Font.SourceSans | |
1853 | Message.FontSize = Enum.FontSize.Size18 | |
1854 | Message.Text = "|| Inputs must be values ||" | |
1855 | Message.TextColor3 = Color3.new(1, 1, 1) | |
1856 | Message.TextScaled = true | |
1857 | Message.TextSize = 15 | |
1858 | Message.TextStrokeTransparency = 0.75 | |
1859 | Message.TextWrapped = true | |
1860 | ||
1861 | local attun = Instance.new("Attachment", knife) | |
1862 | attun.Position = Vector3.new(0, 0.1, -1.75) | |
1863 | local atdos = Instance.new("Attachment", knife) | |
1864 | atdos.Position = Vector3.new(0, -0.1, 0.5) | |
1865 | local trail = Instance.new("Trail", knife) | |
1866 | trail.LightEmission = 0.5 | |
1867 | trail.Attachment0 = attun | |
1868 | trail.Attachment1 = atdos | |
1869 | trail.Lifetime = 0.175 | |
1870 | trail.MinLength = 0 | |
1871 | trail.Enabled = false | |
1872 | ||
1873 | function updatez() | |
1874 | local rc = tonumber(RedInput.Text) | |
1875 | local gc = tonumber(GreenInput.Text) | |
1876 | local bc = tonumber(BlueInput.Text) | |
1877 | local tcupd = tonumber(TransInput.Text) | |
1878 | if rc == nil then | |
1879 | rc = 0 | |
1880 | end | |
1881 | if gc == nil then | |
1882 | gc = 0 | |
1883 | end | |
1884 | if bc == nil then | |
1885 | bc = 0 | |
1886 | end | |
1887 | if tcupd == nil then | |
1888 | tcupd = 0 | |
1889 | end | |
1890 | local tc = tcupd/100 | |
1891 | Color.BackgroundColor3 = Color3.fromRGB(rc,gc,bc) | |
1892 | ClosestColor.Text = "Your color is closest to "..tostring(BrickColor.new(Color3.fromRGB(rc,gc,bc))) | |
1893 | obj32.Color = Color3.fromRGB(rc,gc,bc) | |
1894 | obj33.Color = Color3.fromRGB(rc,gc,bc) | |
1895 | obj34.Color = Color3.fromRGB(rc,gc,bc) | |
1896 | obj35.Color = Color3.fromRGB(rc,gc,bc) | |
1897 | obj36.Color = Color3.fromRGB(rc,gc,bc) | |
1898 | obj37.Color = Color3.fromRGB(rc,gc,bc) | |
1899 | obj38.Color = Color3.fromRGB(rc,gc,bc) | |
1900 | trail.Color = ColorSequence.new(Color3.fromRGB(rc, gc, bc)) | |
1901 | trail.Transparency = NumberSequence.new(tc) | |
1902 | TrailTransparency.TextStrokeTransparency = tc | |
1903 | end | |
1904 | ||
1905 | RedInput.Changed:connect(function(val) | |
1906 | if val == "Text" and tonumber(RedInput.Text) then | |
1907 | RedInput.Text = tostring(tonumber(RedInput.Text)) | |
1908 | if tonumber(RedInput.Text) > 255 then | |
1909 | RedInput.Text = '255' | |
1910 | end | |
1911 | elseif val == "Text" then | |
1912 | RedInput.Text = "" | |
1913 | end | |
1914 | updatez() | |
1915 | end) | |
1916 | GreenInput.Changed:connect(function(val) | |
1917 | if val == "Text" and tonumber(GreenInput.Text) then | |
1918 | GreenInput.Text = tostring(tonumber(GreenInput.Text)) | |
1919 | if tonumber(GreenInput.Text) > 255 then | |
1920 | GreenInput.Text = '255' | |
1921 | end | |
1922 | elseif val == "Text" then | |
1923 | GreenInput.Text = "" | |
1924 | end | |
1925 | updatez() | |
1926 | end) | |
1927 | BlueInput.Changed:connect(function(val) | |
1928 | if val == "Text" and tonumber(BlueInput.Text) then | |
1929 | BlueInput.Text = tostring(tonumber(BlueInput.Text)) | |
1930 | if tonumber(BlueInput.Text) > 255 then | |
1931 | BlueInput.Text = '255' | |
1932 | end | |
1933 | elseif val == "Text" then | |
1934 | BlueInput.Text = "" | |
1935 | end | |
1936 | updatez() | |
1937 | end) | |
1938 | TransInput.Changed:connect(function(val) | |
1939 | if val == "Text" and tonumber(TransInput.Text) then | |
1940 | TransInput.Text = tostring(tonumber(TransInput.Text)) | |
1941 | if tonumber(TransInput.Text) > 100 then | |
1942 | TransInput.Text = '100' | |
1943 | end | |
1944 | elseif val == "Text" then | |
1945 | TransInput.Text = "" | |
1946 | end | |
1947 | updatez() | |
1948 | end) | |
1949 | ||
1950 | Close.MouseButton1Click:connect(function() | |
1951 | if lerpz == false then | |
1952 | lerpz = true | |
1953 | if Close.Text ~= "+" then | |
1954 | CustomizeGui:TweenPosition(UDim2.new(-0.45,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2)) | |
1955 | for i=1,10 do | |
1956 | Close.TextTransparency = i/10 | |
1957 | Close.TextStrokeTransparency = i/10 | |
1958 | wait(0.01) | |
1959 | end | |
1960 | Close.Text = "+" | |
1961 | for i=1,10 do | |
1962 | Close.TextTransparency = (10-i+1)/10 | |
1963 | Close.TextStrokeTransparency = (10-i+1)/10 | |
1964 | wait(0.01) | |
1965 | end | |
1966 | lerpz = false | |
1967 | else | |
1968 | CustomizeGui:TweenPosition(UDim2.new(0,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2)) | |
1969 | for i=1,10 do | |
1970 | Close.TextTransparency = i/10 | |
1971 | Close.TextStrokeTransparency = i/10 | |
1972 | wait(0.01) | |
1973 | end | |
1974 | Close.Text = "X" | |
1975 | for i=1,10 do | |
1976 | Close.TextTransparency = (10-i+1)/10 | |
1977 | Close.TextStrokeTransparency = (10-i+1)/10 | |
1978 | wait(0.01) | |
1979 | end | |
1980 | lerpz = false | |
1981 | end | |
1982 | end | |
1983 | end) | |
1984 | ||
1985 | MusicOption.MouseButton1Click:connect(function() | |
1986 | if canbackgroundmusic == true then | |
1987 | canbackgroundmusic = false | |
1988 | MusicOption.BackgroundColor3 = Color3.new(1, 0, 0) | |
1989 | else | |
1990 | canbackgroundmusic = true | |
1991 | MusicOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
1992 | end | |
1993 | end) | |
1994 | ||
1995 | ScreenOption.MouseButton1Click:connect(function() | |
1996 | if cancolorfilter == true then | |
1997 | cancolorfilter = false | |
1998 | ScreenOption.BackgroundColor3 = Color3.new(1, 0, 0) | |
1999 | else | |
2000 | cancolorfilter = true | |
2001 | ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
2002 | end | |
2003 | end) | |
2004 | ||
2005 | function equip() | |
2006 | local doit = coroutine.wrap(function() | |
2007 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then | |
2008 | acting = true | |
2009 | local arm = me["Right Arm"] | |
2010 | local arm2 = me["Left Arm"] | |
2011 | local tors = me.Torso | |
2012 | local weld = Instance.new('Weld',arm) | |
2013 | weld.Part0 = arm | |
2014 | weld.Part1 = tors | |
2015 | weld.C0 = CFrame.new(-1.5,0,0) | |
2016 | local weld2 = Instance.new("Weld", arm2) | |
2017 | weld2.Part0 = arm2 | |
2018 | weld2.Part1 = tors | |
2019 | weld2.C0 = CFrame.new(1.5, 0, 0) | |
2020 | wait(0.001) | |
2021 | for i = 0,1,0.1 do | |
2022 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
2023 | weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i) | |
2024 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i) | |
2025 | wait(0.001) | |
2026 | end | |
2027 | wait(0.15) | |
2028 | trail.Enabled = true | |
2029 | for i = 0,1,0.1 do | |
2030 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
2031 | weld.C0 = weld.C0:lerp(CFrame.new(-0.5,2,0)*CFrame.Angles(0,0,-1.55),i) | |
2032 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i) | |
2033 | wait(0.001) | |
2034 | end | |
2035 | trail.Enabled = false | |
2036 | wait(0.2) | |
2037 | for i = 0,1,0.1 do | |
2038 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
2039 | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i) | |
2040 | wait(0.001) | |
2041 | end | |
2042 | weld:Destroy() | |
2043 | weld2:Remove() | |
2044 | if tors ~= nil then | |
2045 | rightshoulderz:Clone().Parent = me.Torso | |
2046 | leftshoulderz:Clone().Parent = me.Torso | |
2047 | end | |
2048 | end | |
2049 | acting = false | |
2050 | end) | |
2051 | doit() | |
2052 | end | |
2053 | ||
2054 | function kysnigga() | |
2055 | if kyssing == true then return end | |
2056 | kyssing = true | |
2057 | acting = true | |
2058 | decearingTHING = math.random(1, 100) | |
2059 | if decearingTHING == 4 then | |
2060 | decearingEGG = Instance.new("Sound", me.Torso) | |
2061 | decearingEGG.SoundId = "rbxassetid://138084557" | |
2062 | decearingEGG.PlaybackSpeed = math.random(10, 12) / 10 | |
2063 | decearingEGG.TimePosition = 0.2 | |
2064 | decearingEGG:Play() | |
2065 | end | |
2066 | me.Humanoid.WalkSpeed = 0 | |
2067 | me.Humanoid.JumpPower = 0 | |
2068 | ||
2069 | local rightarm = Instance.new("Weld", me.Torso) | |
2070 | rightarm.Part0 = me.Torso | |
2071 | rightarm.Part1 = me["Right Arm"] | |
2072 | rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
2073 | ||
2074 | local leftarm = Instance.new("Weld", me.Torso) | |
2075 | leftarm.Part0 = me.Torso | |
2076 | leftarm.Part1 = me["Left Arm"] | |
2077 | leftarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1.5, 0, 0) | |
2078 | ||
2079 | local tors = Instance.new("Weld", me.HumanoidRootPart) | |
2080 | tors.Part0 = me.HumanoidRootPart | |
2081 | tors.Part1 = me.Torso | |
2082 | tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) | |
2083 | ||
2084 | local rightleg = Instance.new("Weld", me.Torso) | |
2085 | rightleg.Part0 = me.Torso | |
2086 | rightleg.Part1 = me["Right Leg"] | |
2087 | rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0) | |
2088 | ||
2089 | local leftleg = Instance.new("Weld", me.Torso) | |
2090 | leftleg.Part0 = me.Torso | |
2091 | leftleg.Part1 = me["Left Leg"] | |
2092 | leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0) | |
2093 | ||
2094 | for i = 0, 1, 0.03 do | |
2095 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-10), 0, 0), i) | |
2096 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i) | |
2097 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i) | |
2098 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), i) | |
2099 | wait() | |
2100 | end | |
2101 | for i = 0, 1, 0.03 do | |
2102 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(5), 0, 0), i) | |
2103 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i) | |
2104 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i) | |
2105 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(-35)), i) | |
2106 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(35)), i) | |
2107 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) | |
2108 | wait() | |
2109 | end | |
2110 | local bleedzer = Instance.new('Part',me.Torso) | |
2111 | bleedzer.CFrame = me.Torso.CFrame | |
2112 | bleedzer.Size = Vector3.new(0.1,0.1,0.1) | |
2113 | bleedzer.Transparency = 1 | |
2114 | bleedzer.CanCollide = false | |
2115 | local weld = Instance.new('Weld',bleedzer) | |
2116 | weld.Part0 = bleedzer | |
2117 | weld.Part1 = me.Torso | |
2118 | weld.C0= CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,0) | |
2119 | local woodpekker = coroutine.wrap(function() | |
2120 | bleed(bleedzer) | |
2121 | end) | |
2122 | woodpekker() | |
2123 | audio.SoundId = "rbxassetid://199977936" | |
2124 | audio.PlaybackSpeed = 1.5 | |
2125 | audio:Play() | |
2126 | audio2.SoundId = "rbxassetid://220834019" | |
2127 | audio2.PlaybackSpeed = 1 | |
2128 | audio2.TimePosition = 0.1 | |
2129 | audio2:Play() | |
2130 | for i = 0, 1, 0.1 do | |
2131 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
2132 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
2133 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
2134 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i) | |
2135 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i) | |
2136 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) | |
2137 | wait() | |
2138 | end | |
2139 | wait(1) | |
2140 | audio.SoundId = "rbxassetid://210943487" | |
2141 | audio.TimePosition = 0.2 | |
2142 | audio.PlaybackSpeed = 0.75 | |
2143 | audio:Play() | |
2144 | for i = 0, 1, 0.03 do | |
2145 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
2146 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
2147 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
2148 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i) | |
2149 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i) | |
2150 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) | |
2151 | wait() | |
2152 | end | |
2153 | for i = 0, 1, 0.03 do | |
2154 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i) | |
2155 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i) | |
2156 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i) | |
2157 | wait() | |
2158 | end | |
2159 | wait(0.24) | |
2160 | if me:FindFirstChildOfClass('Humanoid') then | |
2161 | me:FindFirstChildOfClass('Humanoid').Health = 0 | |
2162 | end | |
2163 | wait(0.01) | |
2164 | killz(me,me.Torso.Name,nil,nil,true) | |
2165 | ||
2166 | tors:Remove() | |
2167 | rightarm:Remove() | |
2168 | rightleg:Remove() | |
2169 | leftleg:Remove() | |
2170 | leftarm:Remove() | |
2171 | rightshoulderz:Clone().Parent = me.Torso | |
2172 | leftshoulderz:Clone().Parent = me.Torso | |
2173 | torsojoint:Clone().Parent = me.HumanoidRootPart | |
2174 | lefthipz:Clone().Parent = me.Torso | |
2175 | righthipz:Clone().Parent = me.Torso | |
2176 | me.Humanoid.JumpPower = 50 | |
2177 | me.Humanoid.WalkSpeed = 16 | |
2178 | acting = false | |
2179 | canClick = true | |
2180 | doing = false | |
2181 | hit = false | |
2182 | kyssing = false | |
2183 | if decearingTHING == 4 then | |
2184 | decearingEGG:Remove() | |
2185 | end | |
2186 | end | |
2187 | ||
2188 | function bleedout() | |
2189 | local doit = coroutine.wrap(function() | |
2190 | local targe = grabbed | |
2191 | local num = 0 | |
2192 | while targe and targe:FindFirstChildOfClass('Humanoid') and targe:FindFirstChildOfClass('Humanoid').Health > 0 and num < 11 do | |
2193 | if targe.Head:FindFirstChild('Died') then | |
2194 | tone = math.random(6, 12) / 10 | |
2195 | targe.Head.Died.PlaybackSpeed = tone | |
2196 | targe.Head.Died:Play() | |
2197 | else | |
2198 | local deathsound = Instance.new('Sound',targe.Head) | |
2199 | deathsound.Name = "Died" | |
2200 | deathsound.SoundId = 'rbxasset://sounds/uuhhh.mp3' | |
2201 | deathsound.Volume = 0.65 | |
2202 | deathsound.EmitterSize = 5 | |
2203 | deathsound.MaxDistance = 150 | |
2204 | tone = math.random(5, 15) / 10 | |
2205 | targe.Head.Died.PlaybackSpeed = tone | |
2206 | targe.Head.Died:Play() | |
2207 | end | |
2208 | targe:FindFirstChildOfClass('Humanoid').Health = targe:FindFirstChildOfClass('Humanoid').Health - 7 | |
2209 | num = num+1 | |
2210 | wait(0.325) | |
2211 | end | |
2212 | targe:FindFirstChildOfClass('Humanoid').Health = 0 | |
2213 | wait() | |
2214 | killz(targe,'Head',nil,nil,false,true) | |
2215 | wait(2) | |
2216 | targe:Remove() | |
2217 | end) | |
2218 | doit() | |
2219 | end | |
2220 | ||
2221 | function liedown() | |
2222 | local doit = coroutine.wrap(function() | |
2223 | local targe = grabbed | |
2224 | wait(2) | |
2225 | if targe and targe:FindFirstChildOfClass('Humanoid') then | |
2226 | targe:FindFirstChildOfClass('Humanoid').PlatformStand = false | |
2227 | end | |
2228 | end) | |
2229 | doit() | |
2230 | end | |
2231 | ||
2232 | function grab() | |
2233 | local doit = coroutine.wrap(function() | |
2234 | acting = true | |
2235 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3 | |
2236 | local arm = me["Right Arm"] | |
2237 | local tors = me.Torso | |
2238 | local arm2 = me["Left Arm"] | |
2239 | local humanroot = me.HumanoidRootPart | |
2240 | local weld2 = Instance.new('Weld',arm) | |
2241 | weld2.Part0 = arm | |
2242 | weld2.Part1 = tors | |
2243 | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
2244 | local weld3 = Instance.new('Weld',arm2) | |
2245 | weld3.Part0 = arm2 | |
2246 | weld3.Part1 = tors | |
2247 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
2248 | for i = 0,1,0.05 do | |
2249 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end | |
2250 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
2251 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.2,1.3,0)*CFrame.Angles(0,0,1.2),i) | |
2252 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), -1.55) * CFrame.new(0, 0.95, 0) | |
2253 | wait(0.01) | |
2254 | end | |
2255 | grabbing = true | |
2256 | trail.Enabled = true | |
2257 | for i = 0,1,0.10 do | |
2258 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end | |
2259 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i) | |
2260 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i) | |
2261 | wait(0.01) | |
2262 | end | |
2263 | trail.Enabled = false | |
2264 | wait(0.5) | |
2265 | grabbing = false | |
2266 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3 | |
2267 | if grabbed == nil then | |
2268 | for i = 0,1,0.1 do | |
2269 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil then return end | |
2270 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
2271 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) | |
2272 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
2273 | wait(0.001) | |
2274 | end | |
2275 | weld2:Destroy() | |
2276 | weld3:Destroy() | |
2277 | rightshoulderz:Clone().Parent = me.Torso | |
2278 | leftshoulderz:Clone().Parent = me.Torso | |
2279 | acting = false | |
2280 | canClick = true | |
2281 | end | |
2282 | end) | |
2283 | doit() | |
2284 | end | |
2285 | ||
2286 | function kill() | |
2287 | paralyzed = false | |
2288 | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then hardrelease() return end | |
2289 | targetweld = grabbed.Torso.TargetWeld | |
2290 | targetweld2 = nil | |
2291 | local reee = grabbed:FindFirstChild("Left Arm") | |
2292 | if reee and reee:FindFirstChild("Weld") then | |
2293 | targetweld2 = reee.Weld | |
2294 | end | |
2295 | for i, v in pairs(grabbed:GetChildren()) do | |
2296 | if v.Name == "Part" then | |
2297 | v.CanCollide = true | |
2298 | end | |
2299 | end | |
2300 | targetweld3pt = grabbed:FindFirstChild("Right Arm") | |
2301 | local targetrightshoulder = rightshoulder | |
2302 | local targetleftshoulder = leftshoulder | |
2303 | local targetweld3 = Instance.new("Weld", targetweld3pt) | |
2304 | targetweld3.Part0 = grabbed.Torso | |
2305 | targetweld3.Part1 = targetweld3pt | |
2306 | targetweld3.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
2307 | ||
2308 | local doit = coroutine.wrap(function() | |
2309 | local arm = me["Right Arm"] | |
2310 | local tors = grabbed.Torso | |
2311 | local arm2 = me["Left Arm"] | |
2312 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end | |
2313 | doing = true | |
2314 | local weld2 = arm:FindFirstChildOfClass('Weld') | |
2315 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
2316 | local humanroot = me.HumanoidRootPart | |
2317 | ||
2318 | for i = 0,1,0.1 do | |
2319 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2320 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.9, 0, -1.4), i) | |
2321 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 0.5, -0.5)* CFrame.Angles(-1.5, 0.4, 1.1), i) | |
2322 | wait(0.01) | |
2323 | end | |
2324 | ||
2325 | audio:Stop() | |
2326 | audio.SoundId = "rbxassetid://517040733" | |
2327 | tone = math.random(1, 3) | |
2328 | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.3 end | |
2329 | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end | |
2330 | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.2 end | |
2331 | audio:Play() | |
2332 | ||
2333 | local bleedpart = Instance.new("Part", grabbed) | |
2334 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
2335 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
2336 | bleedpart.CanCollide = false | |
2337 | bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0) | |
2338 | bleedpart.Transparency = 1 | |
2339 | ||
2340 | local bleedpartweld = Instance.new("Weld", grabbed.Torso) | |
2341 | bleedpartweld.Part0 = grabbed.Torso | |
2342 | bleedpartweld.Part1 = bleedpart | |
2343 | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) | |
2344 | local coru=coroutine.wrap(function() | |
2345 | bleed(bleedpart) | |
2346 | end) | |
2347 | coru() | |
2348 | ||
2349 | local slightthrow = Instance.new("BodyThrust", grabbed.Torso) | |
2350 | slightthrow.Force = Vector3.new(0, 0, -2500) | |
2351 | ||
2352 | local slightthrow2 = Instance.new("BodyAngularVelocity", grabbed.Torso) | |
2353 | slightthrow2.AngularVelocity = Vector3.new(0, -1000, 0) | |
2354 | slightthrow2.MaxTorque = Vector3.new(1000, 1000, 1000) | |
2355 | ||
2356 | if grabbed:FindFirstChildOfClass('Humanoid') then | |
2357 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
2358 | end | |
2359 | ||
2360 | killz(grabbed,'Left Leg') | |
2361 | killz(grabbed,'Left Arm') | |
2362 | killz(grabbed,'Right Leg') | |
2363 | killz(grabbed,'Right Arm') | |
2364 | ||
2365 | trail.Enabled = true | |
2366 | ||
2367 | for i = 0,1,0.2 do | |
2368 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2369 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 0, -1.4), i) | |
2370 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i) | |
2371 | wait(0.01) | |
2372 | end | |
2373 | ||
2374 | trail.Enabled = false | |
2375 | ||
2376 | bleedout() | |
2377 | ||
2378 | rightshoulderz:Clone().Parent = me.Torso | |
2379 | leftshoulderz:Clone().Parent = me.Torso | |
2380 | grabbed = nil | |
2381 | ||
2382 | if humanroot:FindFirstChild('Holder') then | |
2383 | humanroot.Holder:Destroy() | |
2384 | end | |
2385 | ||
2386 | wait(0.2) | |
2387 | slightthrow:Remove() | |
2388 | slightthrow2:Remove() | |
2389 | for i = 0,1,0.05 do | |
2390 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2391 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5, 0, 0)* CFrame.Angles(0, 0, 0), i) | |
2392 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5, 0, 0)* CFrame.Angles(0, 0, 0), i) | |
2393 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
2394 | wait(0.01) | |
2395 | end | |
2396 | ||
2397 | weld2:Destroy() | |
2398 | weld3:Destroy() | |
2399 | targetweld = nil | |
2400 | targetweld2 = nil | |
2401 | targetweld3 = nil | |
2402 | rightshoulderz:Clone().Parent = me.Torso | |
2403 | leftshoulderz:Clone().Parent = me.Torso | |
2404 | acting = false | |
2405 | canClick = true | |
2406 | doing = false | |
2407 | end) | |
2408 | doit() | |
2409 | end | |
2410 | ||
2411 | function finish() | |
2412 | if finishing == true then return end | |
2413 | finishing = true | |
2414 | acting = true | |
2415 | decearingTHING = math.random(1, 100) | |
2416 | if decearingTHING == 4 then | |
2417 | decearingEGG = Instance.new("Sound", me.Torso) | |
2418 | decearingEGG.SoundId = "rbxassetid://138084557" | |
2419 | decearingEGG.PlaybackSpeed = math.random(10, 12) / 10 | |
2420 | decearingEGG.TimePosition = 0.2 | |
2421 | decearingEGG:Play() | |
2422 | end | |
2423 | me.Humanoid.WalkSpeed = 0 | |
2424 | me.Humanoid.JumpPower = 0 | |
2425 | ||
2426 | local rightarm = Instance.new("Weld", me.Torso) | |
2427 | rightarm.Part0 = me.Torso | |
2428 | rightarm.Part1 = me["Right Arm"] | |
2429 | rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
2430 | ||
2431 | local tors = Instance.new("Weld", me.HumanoidRootPart) | |
2432 | tors.Part0 = me.HumanoidRootPart | |
2433 | tors.Part1 = me.Torso | |
2434 | tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) | |
2435 | ||
2436 | local rightleg = Instance.new("Weld", me.Torso) | |
2437 | rightleg.Part0 = me.Torso | |
2438 | rightleg.Part1 = me["Right Leg"] | |
2439 | rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0) | |
2440 | ||
2441 | local leftleg = Instance.new("Weld", me.Torso) | |
2442 | leftleg.Part0 = me.Torso | |
2443 | leftleg.Part1 = me["Left Leg"] | |
2444 | leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0) | |
2445 | ||
2446 | for i = 0, 1, 0.05 do | |
2447 | tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), 0, 0), i) | |
2448 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i) | |
2449 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i) | |
2450 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0) * CFrame.Angles(math.rad(179), math.rad(179), 0), i) | |
2451 | wait() | |
2452 | end | |
2453 | for i=1,finishnum do | |
2454 | local num1 = 0.5 | |
2455 | local num2 = 0.5 | |
2456 | local num3 = 0.25 | |
2457 | if finishnum ~= 1 then | |
2458 | num3 = 0 | |
2459 | end | |
2460 | trail.Enabled = true | |
2461 | for i = 0, 1, num1 do | |
2462 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-60), 0, 0), i) | |
2463 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(0), 0, 0), i) | |
2464 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(10), 0, 0), i) | |
2465 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, -1) * CFrame.Angles(math.rad(160), math.rad(150), 0), i) | |
2466 | wait() | |
2467 | end | |
2468 | wait() | |
2469 | for i = 0, 1, num2 do | |
2470 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
2471 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(-30), 0, 0), i) | |
2472 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
2473 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0.2) * CFrame.Angles(math.rad(250), math.rad(180), 0), i) | |
2474 | wait() | |
2475 | end | |
2476 | trail.Enabled = false | |
2477 | wait(num3) | |
2478 | end | |
2479 | wait() | |
2480 | for i = 0, 1, 0.05 do | |
2481 | tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i) | |
2482 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0) * CFrame.Angles(0, 0, 0), i) | |
2483 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0) * CFrame.Angles(0, 0, 0), i) | |
2484 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0), i) | |
2485 | wait() | |
2486 | end | |
2487 | tors:Remove() | |
2488 | rightarm:Remove() | |
2489 | rightleg:Remove() | |
2490 | leftleg:Remove() | |
2491 | rightshoulderz:Clone().Parent = me.Torso | |
2492 | leftshoulderz:Clone().Parent = me.Torso | |
2493 | torsojoint:Clone().Parent = me.HumanoidRootPart | |
2494 | lefthipz:Clone().Parent = me.Torso | |
2495 | righthipz:Clone().Parent = me.Torso | |
2496 | me.Humanoid.JumpPower = 50 | |
2497 | me.Humanoid.WalkSpeed = 16 | |
2498 | acting = false | |
2499 | canClick = true | |
2500 | doing = false | |
2501 | hit = false | |
2502 | finishing = false | |
2503 | if decearingTHING == 4 then | |
2504 | decearingEGG:Remove() | |
2505 | end | |
2506 | end | |
2507 | ||
2508 | function throw() | |
2509 | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end | |
2510 | paralyzed = false | |
2511 | targetweld = grabbed.Torso.TargetWeld | |
2512 | local ree = grabbed:FindFirstChild("Left Arm") | |
2513 | targetweld2 =nil | |
2514 | if ree and ree:FindFirstChild("Weld") then | |
2515 | targetweld2 = ree.Weld | |
2516 | end | |
2517 | ||
2518 | for i, v in pairs(grabbed:GetChildren()) do | |
2519 | if v.Name == "Part" then | |
2520 | v.CanCollide = true | |
2521 | end | |
2522 | end | |
2523 | ||
2524 | ||
2525 | local doit = coroutine.wrap(function() | |
2526 | local arm = me["Right Arm"] | |
2527 | local tors = grabbed.Torso | |
2528 | local arm2 = me["Left Arm"] | |
2529 | local targrightshoulder = rightshoulder | |
2530 | ||
2531 | local targleftshoulder = leftshoulder | |
2532 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end | |
2533 | doing = true | |
2534 | local weld2 = arm:FindFirstChildOfClass('Weld') | |
2535 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
2536 | local humanroot = me.HumanoidRootPart | |
2537 | ||
2538 | for i = 0,1,0.2 do | |
2539 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2540 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 1, -1.4), i) | |
2541 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i) | |
2542 | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i) | |
2543 | if targetweld2 then | |
2544 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i) | |
2545 | end | |
2546 | wait(0.01) | |
2547 | end | |
2548 | ||
2549 | audio:Stop() | |
2550 | audio.SoundId = "rbxassetid://536642316" | |
2551 | tone = math.random(1, 3) | |
2552 | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.08 end | |
2553 | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end | |
2554 | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.12 end | |
2555 | audio:Play() | |
2556 | ||
2557 | local slightthrow = Instance.new("BodyVelocity", grabbed.Torso) | |
2558 | slightthrow.Velocity = Vector3.new(0,20,0)+(me.Torso.CFrame.lookVector*20) | |
2559 | slightthrow.P = 5000 | |
2560 | slightthrow.MaxForce = Vector3.new(9000001,9000001,9000001) | |
2561 | local point = grabbed.Torso.Position | |
2562 | local aaaaaa = grabbed | |
2563 | liedown() | |
2564 | ||
2565 | rightshoulderz:Clone().Parent = me.Torso | |
2566 | leftshoulderz:Clone().Parent = me.Torso | |
2567 | grabbed = nil | |
2568 | ||
2569 | if humanroot:FindFirstChild('Holder') then | |
2570 | humanroot.Holder:Destroy() | |
2571 | end | |
2572 | local coru = coroutine.wrap(function() | |
2573 | while aaaaaa and aaaaaa:FindFirstChild('Torso') and (aaaaaa.Torso.Position-point).magnitude < 5 do wait(0.001) end | |
2574 | if aaaaaa:FindFirstChildOfClass('Humanoid') then | |
2575 | aaaaaa:FindFirstChildOfClass('Humanoid').Name = "Humanoid" | |
2576 | aaaaaa:FindFirstChildOfClass('Humanoid').JumpPower = 50 | |
2577 | aaaaaa:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 | |
2578 | end | |
2579 | slightthrow:Remove() | |
2580 | end) | |
2581 | coru() | |
2582 | ||
2583 | for i = 0,1,0.05 do | |
2584 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2585 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
2586 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) | |
2587 | wait(0.01) | |
2588 | end | |
2589 | weld2:Destroy() | |
2590 | weld3:Destroy() | |
2591 | targetweld:Remove() | |
2592 | if targetweld2 then | |
2593 | targetweld2:Remove() | |
2594 | end | |
2595 | if rightshoulder then | |
2596 | rightshoulder:Clone().Parent = tors | |
2597 | end | |
2598 | if leftshoulder then | |
2599 | leftshoulder:Clone().Parent = tors | |
2600 | end | |
2601 | headweld:Clone().Parent = tors | |
2602 | rightshoulderz:Clone().Parent = me.Torso | |
2603 | leftshoulderz:Clone().Parent = me.Torso | |
2604 | acting = false | |
2605 | canClick = true | |
2606 | doing = false | |
2607 | end) | |
2608 | doit() | |
2609 | end | |
2610 | ||
2611 | cfn,ang,mr,int=CFrame.new,CFrame.Angles,math.rad,Instance.new | |
2612 | bc=BrickColor.new | |
2613 | local minimumsize = Vector3.new(0.7,0.7,0.7) | |
2614 | local surface_between_splitted_parts = 'SmoothNoOutlines' | |
2615 | local fragmentable = workspace | |
2616 | local list = {} | |
2617 | local brickcount = 0 | |
2618 | local storage = {} | |
2619 | local fillup = 1000 | |
2620 | local maximumstorage = 2000 | |
2621 | local storage_position = Vector3.new(0,0,5000) | |
2622 | local stored_partsize = Vector3.new(1,1,1) | |
2623 | local parts_created_per_frame = 5 | |
2624 | ||
2625 | local minimumsize = Vector3.new(0.7,0.7,0.7) | |
2626 | local surface_between_splitted_parts = 'SmoothNoOutlines' | |
2627 | local fragmentable = workspace | |
2628 | local list = {} | |
2629 | local brickcount = 0 | |
2630 | local storage = {} | |
2631 | local fillup = 1000 | |
2632 | local maximumstorage = 2000 | |
2633 | local storage_position = Vector3.new(0,0,5000) | |
2634 | local stored_partsize = Vector3.new(1,1,1) | |
2635 | local parts_created_per_frame = 5 | |
2636 | ||
2637 | ||
2638 | function fragmentate(cframe,size,color,explosion_position,explosion_blastradius,backsurface,bottomsurface,frontsurface,leftsurface,rightsurface,topsurface,transparency,reflectance,material) | |
2639 | local xi = size.X >= minimumsize.X*(1+explosion_blastradius/16) and 2 or 1 | |
2640 | local yi = size.Y >= minimumsize.Y*(1+explosion_blastradius/16) and 2 or 1 | |
2641 | local zi = size.Z >= minimumsize.Z*(1+explosion_blastradius/16) and 2 or 1 | |
2642 | if xi == 1 and yi == 1 and zi == 1 or (cframe.p-explosion_position).magnitude > size.magnitude/2 + explosion_blastradius then | |
2643 | if xi == 1 and yi == 1 and zi == 1 then return end | |
2644 | if #storage > 0 then | |
2645 | local p = storage[1] | |
2646 | p.BrickColor = color | |
2647 | p.Size = size | |
2648 | p.Anchored = false | |
2649 | p.BackSurface = backsurface | |
2650 | p.BottomSurface = bottomsurface | |
2651 | p.FrontSurface = frontsurface | |
2652 | p.LeftSurface = leftsurface | |
2653 | p.RightSurface = rightsurface | |
2654 | p.TopSurface = topsurface | |
2655 | p.Transparency = transparency | |
2656 | p.CFrame = cframe | |
2657 | p.Reflectance = reflectance | |
2658 | p.Material = material | |
2659 | game:GetService('Debris'):AddItem(p,30) | |
2660 | p:BreakJoints() | |
2661 | table.remove(storage,1) | |
2662 | else | |
2663 | local p = Instance.new("Part",fragmentable) | |
2664 | p.BrickColor = color | |
2665 | p.FormFactor = "Custom" | |
2666 | p.Size = size | |
2667 | p.BackSurface = backsurface | |
2668 | p.BottomSurface = bottomsurface | |
2669 | p.FrontSurface = frontsurface | |
2670 | p.LeftSurface = leftsurface | |
2671 | p.RightSurface = rightsurface | |
2672 | p.TopSurface = topsurface | |
2673 | p.Transparency = transparency | |
2674 | p.Material = material | |
2675 | if p.Transparency>0.285 then | |
2676 | p.Anchored = false | |
2677 | else | |
2678 | p.Anchored=false | |
2679 | p.Material='Wood' | |
2680 | game:GetService('Debris'):AddItem(p,10) | |
2681 | end | |
2682 | p.CFrame = cframe | |
2683 | p.Reflectance = reflectance | |
2684 | p:BreakJoints() | |
2685 | end | |
2686 | return | |
2687 | end | |
2688 | local mody = math.random(-125,125)/1000 | |
2689 | for y = 1,yi do | |
2690 | if math.random()> 0.5 then | |
2691 | local modx = math.random(-125,125)/1000 | |
2692 | for x = 1,xi do | |
2693 | local modz = math.random(-125,125)/1000 | |
2694 | for z = 1,zi do --offset = x/xi-0.75+modx) | |
2695 | fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)), | |
2696 | Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y, | |
2697 | zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z or mustardfoot_was_here),color,explosion_position,explosion_blastradius, | |
2698 | z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface, | |
2699 | z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface, | |
2700 | y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material) | |
2701 | end | |
2702 | ||
2703 | end | |
2704 | else | |
2705 | local modz = math.random(-125,125)/1000 | |
2706 | for z = 1,zi do | |
2707 | local modx = math.random(-125,125)/1000 | |
2708 | for x = 1,xi do | |
2709 | fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)), | |
2710 | Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y, | |
2711 | zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z),color,explosion_position,explosion_blastradius, | |
2712 | z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface, | |
2713 | z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface, | |
2714 | y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material) | |
2715 | end | |
2716 | end | |
2717 | end | |
2718 | end | |
2719 | end | |
2720 | ||
2721 | function start_fragmentation(position,radius,nuh) | |
2722 | local search = Region3.new(position-Vector3.new(radius,radius,radius)*1.1,position+Vector3.new(radius,radius,radius)*1.1) | |
2723 | repeat | |
2724 | local finish = false | |
2725 | local parts = workspace:FindPartsInRegion3WithIgnoreList(search,list,100) | |
2726 | for i = 1,#parts do | |
2727 | table.insert(list,1,parts[i]) | |
2728 | end | |
2729 | finish = true | |
2730 | until #parts < 100 and finish | |
2731 | local t = tick() | |
2732 | for i = 1,#list do | |
2733 | local p = list[i] | |
2734 | if p:IsA('UnionOperation') == false and p:IsA('CornerWedgePart') == false and p:IsA('TrussPart') == false and p:IsA('WedgePart') == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<50000 and p.Transparency>0.285 and p.Name~='Base' and p.Parent:FindFirstChildOfClass('Humanoid') == nil and p.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and p:IsDescendantOf(me)==false then | |
2735 | fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material) | |
2736 | if #storage < maximumstorage and p.Shape == "Block" then | |
2737 | p.Anchored = false | |
2738 | p.FormFactor = "Custom" | |
2739 | p.Size = stored_partsize | |
2740 | p.Position = storage_position | |
2741 | table.insert(storage,1,p) | |
2742 | else | |
2743 | p:Destroy() | |
2744 | end | |
2745 | end | |
2746 | if nuh == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<53000 and p.Transparency<0.05 and p.Name~='Base' and tostring(p.Material)=='Enum.Material.Wood' and p:IsDescendantOf(me)==false then | |
2747 | fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material) | |
2748 | if #storage < maximumstorage and p.Shape == "Block" then | |
2749 | p.Anchored = false | |
2750 | p.Material='Wood' | |
2751 | p.FormFactor = "Custom" | |
2752 | p.Size = stored_partsize | |
2753 | p.Position = storage_position | |
2754 | table.insert(storage,1,p) | |
2755 | else | |
2756 | p:Destroy() | |
2757 | end | |
2758 | end | |
2759 | end | |
2760 | list = {} | |
2761 | end | |
2762 | ||
2763 | ||
2764 | function fling() | |
2765 | local doit = coroutine.wrap(function() | |
2766 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') then | |
2767 | acting = true | |
2768 | for i=1,finishnum do | |
2769 | local weld2 = Instance.new('Weld',me["Right Arm"]) | |
2770 | weld2.Part0 = me["Right Arm"] | |
2771 | weld2.Part1 = me["Torso"] | |
2772 | weld2.C0 = CFrame.new(-1.5,0,0) | |
2773 | if finishnum == 1 then | |
2774 | for i = 0,1,0.05 do | |
2775 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
2776 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
2777 | wait(0.01) | |
2778 | end | |
2779 | end | |
2780 | audio.SoundId = "rbxassetid://166083610" | |
2781 | audio.PlaybackSpeed = 1 | |
2782 | audio.TimePosition = 0.1 | |
2783 | audio:Play() | |
2784 | if finishnum == 1 then | |
2785 | for i = 0,1,0.5 do | |
2786 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
2787 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) | |
2788 | wait(0.001) | |
2789 | end | |
2790 | end | |
2791 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
2792 | local knofe = obj1:Clone() | |
2793 | for i, v in pairs(obj1:GetChildren()) do | |
2794 | if v:IsA('BasePart') then | |
2795 | v.Transparency = 1 | |
2796 | end | |
2797 | end | |
2798 | knofe.Parent = workspace | |
2799 | knofe.Name = "Projectile" | |
2800 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
2801 | knofe:FindFirstChild("Trail", true).Enabled = true | |
2802 | local heck = Instance.new('BodyVelocity',knofe.Grab) | |
2803 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 | |
2804 | local coru = coroutine.wrap(function() | |
2805 | wait(0.45) | |
2806 | if heck then | |
2807 | heck:Destroy() | |
2808 | end | |
2809 | end) | |
2810 | coru() | |
2811 | local able = true | |
2812 | knofe["big ass knife"].Touched:connect(function(hit) | |
2813 | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Transparency < 1 and knofe.Grab.CanCollide == false and hit.Parent ~= me and hit.Parent.Parent ~= me then | |
2814 | local thing = hit.Parent:FindFirstChildOfClass('Humanoid') | |
2815 | local ree = hit.Parent | |
2816 | if thing == nil then | |
2817 | ree = hit.Parent.Parent | |
2818 | end | |
2819 | if ree:FindFirstChildOfClass('Humanoid').Health > 0 then | |
2820 | knofe:FindFirstChild("Trail", true).Enabled = false | |
2821 | game:GetService('Debris'):AddItem(knofe,5) | |
2822 | tone = math.random(1, 3) | |
2823 | local sound = Instance.new('Sound',knofe.Grab) | |
2824 | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end | |
2825 | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end | |
2826 | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end | |
2827 | sound.PlaybackSpeed = 1 | |
2828 | sound:Play() | |
2829 | for i, v in pairs(knofe:GetChildren()) do | |
2830 | if v:IsA('BasePart') then | |
2831 | v.CanCollide = true | |
2832 | v.Anchored = true | |
2833 | end | |
2834 | end | |
2835 | hit.Anchored = true | |
2836 | if ree:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then | |
2837 | ree:FindFirstChildOfClass('Humanoid').Health = 0 | |
2838 | end | |
2839 | wait() | |
2840 | killz(ree,hit.Name,knofe) | |
2841 | else | |
2842 | knofe:FindFirstChild("Trail", true).Enabled = false | |
2843 | heck.Velocity = Vector3.new(0,0,0) | |
2844 | heck:Destroy() | |
2845 | game:GetService('Debris'):AddItem(knofe,5) | |
2846 | tone = math.random(1, 3) | |
2847 | local sound = Instance.new('Sound',knofe.Grab) | |
2848 | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end | |
2849 | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end | |
2850 | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end | |
2851 | sound.PlaybackSpeed = 1 | |
2852 | sound:Play() | |
2853 | for i, v in pairs(knofe:GetChildren()) do | |
2854 | if v:IsA('BasePart') then | |
2855 | v.Anchored = false | |
2856 | end | |
2857 | end | |
2858 | hit.Anchored = true | |
2859 | wait(0.001) | |
2860 | hit.Anchored = false | |
2861 | for i, v in pairs(knofe:GetChildren()) do | |
2862 | if v:IsA('BasePart') then | |
2863 | v.Anchored = false | |
2864 | end | |
2865 | end | |
2866 | if knofe then | |
2867 | local coru = coroutine.wrap(function() | |
2868 | if hit then | |
2869 | local uno = Instance.new('Part',workspace) | |
2870 | local dos = Instance.new('Part',workspace) | |
2871 | uno.CFrame = hit.CFrame | |
2872 | dos.CFrame = knofe["big ass knife"].CFrame | |
2873 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
2874 | weld.Part0 = hit | |
2875 | weld.Part1 = knofe["big ass knife"] | |
2876 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
2877 | uno:Destroy() | |
2878 | dos:Destroy() | |
2879 | end | |
2880 | end) | |
2881 | coru() | |
2882 | end | |
2883 | end | |
2884 | elseif hit.Parent and hit.Parent ~= me and hit.Parent.Parent ~= me and hit.CanCollide and knofe.Grab.CanCollide == false then | |
2885 | if hit.Transparency and (hit.Transparency<=0.285 or hit:GetMass()<=3000) then | |
2886 | knofe:FindFirstChild("Trail", true).Enabled = false | |
2887 | local sound = Instance.new('Sound',knofe.Grab) | |
2888 | sound.SoundId = 'rbxassetid://267585646' | |
2889 | sound:Play() | |
2890 | for i,v in pairs(knofe:GetChildren()) do | |
2891 | if v:IsA('BasePart') then | |
2892 | v.Anchored = true | |
2893 | end | |
2894 | end | |
2895 | wait() | |
2896 | heck.Velocity = Vector3.new(0,0,0) | |
2897 | heck:Destroy() | |
2898 | local uno = Instance.new('Part',workspace) | |
2899 | local dos = Instance.new('Part',workspace) | |
2900 | uno.CFrame = hit.CFrame | |
2901 | dos.CFrame = knofe["big ass knife"].CFrame | |
2902 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
2903 | weld.Part0 = hit | |
2904 | weld.Part1 = knofe["big ass knife"] | |
2905 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
2906 | uno:Destroy() | |
2907 | dos:Destroy() | |
2908 | for i,v in pairs(knofe:GetChildren()) do | |
2909 | if v:IsA('BasePart') then | |
2910 | v.Anchored = false | |
2911 | end | |
2912 | end | |
2913 | game:GetService('Debris'):AddItem(knofe,5) | |
2914 | for i,v in pairs(knofe:GetChildren()) do | |
2915 | if v:IsA('BasePart') then | |
2916 | v.CanCollide = true | |
2917 | end | |
2918 | end | |
2919 | end | |
2920 | if hit.Parent and hit.Transparency>0.285 and able == true and hit:GetMass()<3000 and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and (hit.Parent.Parent == nil or hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil) then | |
2921 | knofe:FindFirstChild("Trail", true).Enabled = false | |
2922 | able = false | |
2923 | local sound = Instance.new('Sound',knofe.Grab) | |
2924 | sound.SoundId = 'rbxassetid://144884907' | |
2925 | sound:Play() | |
2926 | local coru = coroutine.wrap(function() | |
2927 | start_fragmentation(knofe["big ass knife"].Position,1.25,knofe) | |
2928 | end) | |
2929 | coru() | |
2930 | end | |
2931 | end | |
2932 | end) | |
2933 | if finishnum == 1 then | |
2934 | for i= 0,1,0.1 do | |
2935 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
2936 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
2937 | wait(0.001) | |
2938 | end | |
2939 | else | |
2940 | for i= 0,1,0.5 do | |
2941 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
2942 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
2943 | wait(0.001) | |
2944 | end | |
2945 | end | |
2946 | for i,v in pairs(obj1:GetChildren()) do | |
2947 | if v:IsA('BasePart') then | |
2948 | v.Transparency = 0 | |
2949 | end | |
2950 | end | |
2951 | weld2:Destroy() | |
2952 | rightshoulderz:Clone().Parent = me.Torso | |
2953 | end | |
2954 | acting = false | |
2955 | canClick = true | |
2956 | end | |
2957 | end) | |
2958 | doit() | |
2959 | end | |
2960 | ||
2961 | function instasplode() | |
2962 | local coru = coroutine.wrap(function() | |
2963 | acting = true | |
2964 | for i=1,1 do | |
2965 | local weld2 = Instance.new('Weld',me["Right Arm"]) | |
2966 | weld2.Part0 = me["Right Arm"] | |
2967 | weld2.Part1 = me["Torso"] | |
2968 | weld2.C0 = CFrame.new(-1.5,0,0) | |
2969 | if finishnum == 1 then | |
2970 | for i = 0,1,0.05 do | |
2971 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
2972 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
2973 | wait(0.01) | |
2974 | end | |
2975 | end | |
2976 | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) | |
2977 | audio.SoundId = "rbxassetid://166083610" | |
2978 | audio.PlaybackSpeed = 1 | |
2979 | audio.TimePosition = 0.1 | |
2980 | audio:Play() | |
2981 | if finishnum == 1 then | |
2982 | for i = 0,1,0.5 do | |
2983 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
2984 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) | |
2985 | wait(0.001) | |
2986 | end | |
2987 | end | |
2988 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
2989 | local knofe = obj1:Clone() | |
2990 | for i,v in pairs(obj1:GetChildren()) do | |
2991 | if v:IsA('BasePart') then | |
2992 | v.Transparency = 1 | |
2993 | end | |
2994 | end | |
2995 | knofe.Parent = workspace | |
2996 | knofe.Name = "Projectile" | |
2997 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
2998 | knofe:FindFirstChild("Trail", true).Enabled = false | |
2999 | fireofjesUS = Instance.new("Fire", knofe.Grab) | |
3000 | local heck = Instance.new('BodyVelocity',knofe.Grab) | |
3001 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 | |
3002 | local coru = coroutine.wrap(function() | |
3003 | wait(0.45) | |
3004 | if heck then | |
3005 | heck:Destroy() | |
3006 | end | |
3007 | end) | |
3008 | coru() | |
3009 | knofe["big ass knife"].Touched:connect(function(hit) | |
3010 | if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then | |
3011 | heck.Velocity = Vector3.new(0,0,0) | |
3012 | heck:Destroy() | |
3013 | for i,v in pairs(knofe:GetChildren()) do | |
3014 | if v:IsA('BasePart') then | |
3015 | v.CanCollide = true | |
3016 | end | |
3017 | end | |
3018 | local hum = hit.Parent:FindFirstChildOfClass('Humanoid') | |
3019 | if hum == nil then | |
3020 | hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid') | |
3021 | end | |
3022 | if knofe then | |
3023 | local coru = coroutine.wrap(function() | |
3024 | if hit then | |
3025 | local uno = Instance.new('Part',workspace) | |
3026 | local dos = Instance.new('Part',workspace) | |
3027 | uno.CFrame = hit.CFrame | |
3028 | dos.CFrame = knofe["big ass knife"].CFrame | |
3029 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
3030 | weld.Part0 = hit | |
3031 | weld.Part1 = knofe["big ass knife"] | |
3032 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
3033 | uno:Destroy() | |
3034 | dos:Destroy() | |
3035 | end | |
3036 | end) | |
3037 | coru() | |
3038 | end | |
3039 | local sound = Instance.new('Sound',knofe.Grab) | |
3040 | sound.Name = "BOOM" | |
3041 | sound.EmitterSize = 25 | |
3042 | sound.SoundId = 'rbxassetid://476477344' | |
3043 | sound.Volume = 0.5 | |
3044 | sound:Play() | |
3045 | local exppart = Instance.new("Part", game.Workspace) | |
3046 | exppart.Size = Vector3.new(0.2, 0.2, 0.2) | |
3047 | exppart.Anchored = true | |
3048 | exppart.CanCollide = false | |
3049 | exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p) | |
3050 | exppart.Transparency = 1 | |
3051 | local expaccent = Instance.new("ParticleEmitter", exppart) | |
3052 | expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))}) | |
3053 | expaccent.LightEmission = 0.2 | |
3054 | expaccent.LightInfluence = 0.3 | |
3055 | expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) | |
3056 | expaccent.Acceleration = Vector3.new(0, 30, 0) | |
3057 | expaccent.Drag = 15 | |
3058 | expaccent.LockedToPart = false | |
3059 | expaccent.Lifetime = NumberRange.new(0.5, 1.5) | |
3060 | expaccent.Rate = 2000 | |
3061 | expaccent.Speed = NumberRange.new(0,0) | |
3062 | expaccent.SpreadAngle = Vector2.new(360, 360) | |
3063 | expaccent:Clone().Parent = exppart | |
3064 | expaccent:Clone().Parent = exppart | |
3065 | local exp = Instance.new('Explosion',game.Workspace) | |
3066 | exp.Position = knofe["big ass knife"].Position | |
3067 | exp.ExplosionType = Enum.ExplosionType.NoCraters | |
3068 | exp.BlastRadius = 5 | |
3069 | exp.Visible = false | |
3070 | exp.BlastPressure = 0 | |
3071 | exp.DestroyJointRadiusPercent = 0 | |
3072 | exp.Hit:connect(function(hit) | |
3073 | if hit.Parent and hit.Parent ~= me and hit.Parent.Name ~= "bitch ass knife" then | |
3074 | wait(0.001) | |
3075 | tgt = hit | |
3076 | local coru=coroutine.wrap(function(tgtt) | |
3077 | local fireofgods = Instance.new("Fire", tgtt) | |
3078 | fireofgods.Size = 0 | |
3079 | fireofgods.Heat = 0 | |
3080 | local fireofgodsaccent = expaccent:Clone() | |
3081 | fireofgodsaccent.Parent = hit | |
3082 | fireofgodsaccent.Rate = 0 | |
3083 | fireofgodsaccent.Speed = NumberRange.new(5, 50) | |
3084 | fireofgodsaccent.SpreadAngle = Vector2.new(45, 45) | |
3085 | fireofgodsaccent.Acceleration = Vector3.new(0, 20, 0) | |
3086 | ||
3087 | while fireofgods.Size < 10 do | |
3088 | fireofgods.Size = fireofgods.Size + 0.1 | |
3089 | fireofgods.Heat = fireofgods.Heat + 0.1 | |
3090 | fireofgodsaccent.Rate = fireofgodsaccent.Rate + 1 | |
3091 | wait() | |
3092 | end | |
3093 | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then | |
3094 | hit:BreakJoints() | |
3095 | elseif hit.Parent and hit.Parent:IsA('Accessory') then | |
3096 | for i,v in pairs(hit:GetChildren()) do | |
3097 | if v:IsA('SpecialMesh') then | |
3098 | v.TextureId = "" | |
3099 | end | |
3100 | end | |
3101 | end | |
3102 | hit.BrickColor = BrickColor.new("Black") | |
3103 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3104 | if v:IsA('Shirt') or v:IsA('Pants') then | |
3105 | v:Destroy() | |
3106 | end | |
3107 | end | |
3108 | ||
3109 | while fireofgods.Size > 5 do | |
3110 | fireofgods.Size = fireofgods.Size - 0.1 | |
3111 | fireofgods.Heat = fireofgods.Heat - 0.1 | |
3112 | wait() | |
3113 | end | |
3114 | fireofgods:Destroy() | |
3115 | if hit.Parent then | |
3116 | if hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then | |
3117 | local p = hit | |
3118 | fragmentate(p.CFrame,p.Size,p.BrickColor,p.Position,0.01,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material) | |
3119 | hit:Remove() | |
3120 | elseif hit.Parent:FindFirstChildOfClass('Humanoid') ~= nil then | |
3121 | print(hit.Name) | |
3122 | if hit.Name == "Torso" or hit.Name == "Head" then | |
3123 | print('ohhh YAAAA') | |
3124 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0 | |
3125 | end | |
3126 | wait() | |
3127 | killz(hit.Parent,hit.Name,nil,nil,false,false,true) | |
3128 | end | |
3129 | end | |
3130 | end) | |
3131 | coru(tgt) | |
3132 | end | |
3133 | end) | |
3134 | local explosionaccenttimeout = coroutine.wrap(function() | |
3135 | wait(0.2) | |
3136 | for i, exploodn in pairs(exppart:GetChildren()) do | |
3137 | exploodn.Enabled = false | |
3138 | end | |
3139 | wait(2) | |
3140 | for i, exploodn in pairs(exppart:GetChildren()) do | |
3141 | exploodn:Remove() | |
3142 | end | |
3143 | end) | |
3144 | explosionaccenttimeout() | |
3145 | for i,v in pairs(knofe:GetChildren()) do | |
3146 | if v:IsA('BasePart') then | |
3147 | v.Transparency = 1 | |
3148 | end | |
3149 | end | |
3150 | exp.AncestryChanged:connect(function() knofe:Destroy() end) | |
3151 | coru() | |
3152 | end | |
3153 | end) | |
3154 | if finishnum == 1 then | |
3155 | for i= 0,1,0.1 do | |
3156 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3157 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3158 | wait(0.001) | |
3159 | end | |
3160 | else | |
3161 | wait(0.1) | |
3162 | end | |
3163 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3164 | for i,v in pairs(obj1:GetChildren()) do | |
3165 | if v:IsA('BasePart') then | |
3166 | v.Transparency = 0 | |
3167 | end | |
3168 | end | |
3169 | weld2:Destroy() | |
3170 | rightshoulderz:Clone().Parent = me.Torso | |
3171 | end | |
3172 | acting = false | |
3173 | canClick = true | |
3174 | end) | |
3175 | coru() | |
3176 | end | |
3177 | ||
3178 | function fireworkit() | |
3179 | local coru = coroutine.wrap(function() | |
3180 | acting = true | |
3181 | local ree = 1 | |
3182 | if finishnum > 1 then | |
3183 | ree = 3 | |
3184 | end | |
3185 | for i=1,ree do | |
3186 | local weld2 = Instance.new('Weld',me["Right Arm"]) | |
3187 | weld2.Part0 = me["Right Arm"] | |
3188 | weld2.Part1 = me["Torso"] | |
3189 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3190 | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) | |
3191 | audio.SoundId = "rbxassetid://166083610" | |
3192 | audio.PlaybackSpeed = 1 | |
3193 | audio.TimePosition = 0.1 | |
3194 | audio:Play() | |
3195 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
3196 | local knofe = obj1:Clone() | |
3197 | for i,v in pairs(obj1:GetChildren()) do | |
3198 | if v:IsA('BasePart') then | |
3199 | v.Transparency = 1 | |
3200 | end | |
3201 | end | |
3202 | local sound = Instance.new('Sound',knofe.Grab) | |
3203 | sound.Volume = 0.25 | |
3204 | sound.EmitterSize = 200 | |
3205 | sound.MaxDistance = 300 | |
3206 | sound.SoundId = 'rbxassetid://551051176' | |
3207 | sound:Play() | |
3208 | knofe.Parent = workspace | |
3209 | knofe.Name = "Projectile" | |
3210 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
3211 | local partic = Instance.new('ParticleEmitter',knofe.Grab) | |
3212 | partic.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.4,Color3.fromRGB(255,125,0)),ColorSequenceKeypoint.new(0.8,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))}) | |
3213 | partic.LightEmission = 0.5 | |
3214 | partic.LightInfluence = 0 | |
3215 | partic.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.15)}) | |
3216 | partic.Rotation = NumberRange.new(0,90) | |
3217 | partic.SpreadAngle = Vector2.new(5,5) | |
3218 | partic.Speed = NumberRange.new(20) | |
3219 | partic.Texture = 'rbxassetid://603193846' | |
3220 | partic.EmissionDirection = Enum.NormalId.Left | |
3221 | partic.Lifetime = NumberRange.new(0.5,1) | |
3222 | partic.Rate = 100 | |
3223 | local heck = Instance.new('BodyVelocity',knofe.Grab) | |
3224 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*240 | |
3225 | local coru=coroutine.wrap(function() | |
3226 | wait(1.2) | |
3227 | sound:Destroy() | |
3228 | local sound2 = Instance.new('Sound',workspace) | |
3229 | sound2.SoundId = 'rbxassetid://138080762' | |
3230 | sound2:Play() | |
3231 | if heck then | |
3232 | heck:Destroy() | |
3233 | end | |
3234 | for i,v in pairs(knofe:GetChildren()) do | |
3235 | v.Anchored = true | |
3236 | end | |
3237 | partic.Enabled = false | |
3238 | local colorscheme = math.random(1,4) | |
3239 | --1 - red & orange | |
3240 | --2 - blue & pink | |
3241 | --3 - green & purple | |
3242 | --4 - blue, red, white | |
3243 | local colar1 = Color3.fromRGB(255,0,0) | |
3244 | local colar2 = Color3.fromRGB(255,125,0) | |
3245 | local colar3 = Color3.fromRGB(255,255,255) | |
3246 | if colorscheme == 2 then | |
3247 | colar1 = Color3.fromRGB(0,132,255) | |
3248 | colar2 = Color3.fromRGB(243,105,255) | |
3249 | elseif colorscheme == 3 then | |
3250 | colar1 = Color3.fromRGB(76,255,0) | |
3251 | colar2 = Color3.fromRGB(128,0,255) | |
3252 | elseif colorscheme == 4 then | |
3253 | colar2 = Color3.fromRGB(0,132,255) | |
3254 | end | |
3255 | local partic2 = Instance.new('ParticleEmitter',knofe.Grab) | |
3256 | partic2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar1),ColorSequenceKeypoint.new(1,colar1)}) | |
3257 | partic2.LightEmission = 0.5 | |
3258 | partic2.LightInfluence = 0 | |
3259 | partic2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.1)}) | |
3260 | partic2.Rotation = NumberRange.new(0,90) | |
3261 | partic2.SpreadAngle = Vector2.new(180,180) | |
3262 | partic2.Speed = NumberRange.new(20) | |
3263 | partic2.Texture = 'rbxassetid://603193846' | |
3264 | partic2.EmissionDirection = Enum.NormalId.Right | |
3265 | partic2.Lifetime = NumberRange.new(2,2.5) | |
3266 | partic2.Rate = 1000 | |
3267 | partic2.Drag = 1 | |
3268 | local partic3 = partic2:Clone() | |
3269 | partic3.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar2),ColorSequenceKeypoint.new(1,colar2)}) | |
3270 | partic3.Parent = knofe.Grab | |
3271 | if colorscheme == 4 then | |
3272 | local partic4 = partic2:Clone() | |
3273 | partic4.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar3),ColorSequenceKeypoint.new(1,colar3)}) | |
3274 | partic4.Parent = knofe.Grab | |
3275 | end | |
3276 | wait(1) | |
3277 | for i,v in pairs(knofe.Grab:GetChildren()) do | |
3278 | if v:IsA('ParticleEmitter') then | |
3279 | v.Enabled = false | |
3280 | end | |
3281 | end | |
3282 | sound:Destroy() | |
3283 | wait(2) | |
3284 | knofe:Destroy() | |
3285 | end) | |
3286 | coru() | |
3287 | wait(0.1) | |
3288 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3289 | for i,v in pairs(obj1:GetChildren()) do | |
3290 | if v:IsA('BasePart') then | |
3291 | v.Transparency = 0 | |
3292 | end | |
3293 | end | |
3294 | weld2:Destroy() | |
3295 | rightshoulderz:Clone().Parent = me.Torso | |
3296 | end | |
3297 | acting = false | |
3298 | canClick = true | |
3299 | end) | |
3300 | coru() | |
3301 | end | |
3302 | ||
3303 | function paralyze() | |
3304 | local coru = coroutine.wrap(function() | |
3305 | if paralyzed == true then return end | |
3306 | paralyzed = true | |
3307 | local arm = me["Right Arm"] | |
3308 | local tors = grabbed.Torso | |
3309 | local arm2 = me["Left Arm"] | |
3310 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end | |
3311 | doing = true | |
3312 | local weld2 = arm:FindFirstChildOfClass('Weld') | |
3313 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
3314 | local humanroot = me.HumanoidRootPart | |
3315 | for i = 0,1,0.075 do | |
3316 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-2, 0, -1.5), i) | |
3317 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i) | |
3318 | wait(0.01) | |
3319 | end | |
3320 | for i = 0,1,0.30 do | |
3321 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-0.75, 0, -1.75), i) | |
3322 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i) | |
3323 | wait(0.01) | |
3324 | end | |
3325 | killz(grabbed,'Left Leg') | |
3326 | killz(grabbed,'Left Arm') | |
3327 | killz(grabbed,'Right Leg') | |
3328 | killz(grabbed,'Right Arm') | |
3329 | ||
3330 | for i, v in pairs(grabbed:GetChildren()) do | |
3331 | if v.Name == "Part" then | |
3332 | v.CanCollide = false | |
3333 | end | |
3334 | end | |
3335 | ||
3336 | audio:Stop() | |
3337 | audio.SoundId = "rbxassetid://2801263" | |
3338 | tone = math.random(1, 3) | |
3339 | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0 end | |
3340 | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0 end | |
3341 | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0 end | |
3342 | audio:Play() | |
3343 | ||
3344 | local bleedpart = Instance.new("Part", grabbed) | |
3345 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
3346 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
3347 | bleedpart.CanCollide = false | |
3348 | bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0) | |
3349 | bleedpart.Transparency = 1 | |
3350 | ||
3351 | local bleedpartweld = Instance.new("Weld", grabbed.Torso) | |
3352 | bleedpartweld.Part0 = grabbed.Torso | |
3353 | bleedpartweld.Part1 = bleedpart | |
3354 | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) | |
3355 | local cuntruu=coroutine.wrap(function() | |
3356 | bleed(bleedpart) | |
3357 | end) | |
3358 | local thicc = coroutine.wrap(function() | |
3359 | wait(3) | |
3360 | bleedpart:Remove() | |
3361 | end) | |
3362 | cuntruu() | |
3363 | thicc() | |
3364 | ||
3365 | for i = 0,1,0.075 do | |
3366 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i) | |
3367 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i) | |
3368 | wait(0.01) | |
3369 | end | |
3370 | acting = true | |
3371 | canClick = true | |
3372 | doing = false | |
3373 | end) | |
3374 | coru() | |
3375 | end | |
3376 | ||
3377 | function explode() | |
3378 | local coru = coroutine.wrap(function() | |
3379 | acting = true | |
3380 | for i=1,finishnum do | |
3381 | local weld2 = Instance.new('Weld',me["Right Arm"]) | |
3382 | weld2.Part0 = me["Right Arm"] | |
3383 | weld2.Part1 = me["Torso"] | |
3384 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3385 | if finishnum == 1 then | |
3386 | for i = 0,1,0.05 do | |
3387 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3388 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
3389 | wait(0.01) | |
3390 | end | |
3391 | end | |
3392 | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) | |
3393 | audio.SoundId = "rbxassetid://166083610" | |
3394 | audio.PlaybackSpeed = 1 | |
3395 | audio.TimePosition = 0.1 | |
3396 | audio:Play() | |
3397 | if finishnum == 1 then | |
3398 | for i = 0,1,0.5 do | |
3399 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3400 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) | |
3401 | wait(0.001) | |
3402 | end | |
3403 | end | |
3404 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
3405 | local knofe = obj1:Clone() | |
3406 | for i,v in pairs(obj1:GetChildren()) do | |
3407 | if v:IsA('BasePart') then | |
3408 | v.Transparency = 1 | |
3409 | end | |
3410 | end | |
3411 | knofe.Parent = workspace | |
3412 | knofe.Name = "Projectile" | |
3413 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
3414 | knofe:FindFirstChild("Trail", true).Enabled = false | |
3415 | local heck = Instance.new('BodyVelocity',knofe.Grab) | |
3416 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 | |
3417 | local coru = coroutine.wrap(function() | |
3418 | wait(0.45) | |
3419 | if heck then | |
3420 | heck:Destroy() | |
3421 | end | |
3422 | end) | |
3423 | coru() | |
3424 | knofe["big ass knife"].Touched:connect(function(hit) | |
3425 | if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then | |
3426 | heck.Velocity = Vector3.new(0,0,0) | |
3427 | heck:Destroy() | |
3428 | for i,v in pairs(knofe:GetChildren()) do | |
3429 | if v:IsA('BasePart') then | |
3430 | v.CanCollide = true | |
3431 | end | |
3432 | end | |
3433 | local hum = hit.Parent:FindFirstChildOfClass('Humanoid') | |
3434 | if hum == nil then | |
3435 | hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid') | |
3436 | end | |
3437 | if hum then | |
3438 | tone = math.random(1, 3) | |
3439 | local sound = Instance.new('Sound',knofe.Grab) | |
3440 | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end | |
3441 | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end | |
3442 | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end | |
3443 | sound.PlaybackSpeed = 1 | |
3444 | sound:Play() | |
3445 | else | |
3446 | local sound = Instance.new('Sound',knofe.Grab) | |
3447 | sound.SoundId = 'rbxassetid://267585646' | |
3448 | sound:Play() | |
3449 | end | |
3450 | if knofe then | |
3451 | local coru = coroutine.wrap(function() | |
3452 | if hit then | |
3453 | local uno = Instance.new('Part',workspace) | |
3454 | local dos = Instance.new('Part',workspace) | |
3455 | uno.CFrame = hit.CFrame | |
3456 | dos.CFrame = knofe["big ass knife"].CFrame | |
3457 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
3458 | weld.Part0 = hit | |
3459 | weld.Part1 = knofe["big ass knife"] | |
3460 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
3461 | uno:Destroy() | |
3462 | dos:Destroy() | |
3463 | end | |
3464 | end) | |
3465 | coru() | |
3466 | end | |
3467 | local coru = coroutine.wrap(function() | |
3468 | for i=1,15,0.7 do | |
3469 | local sound = Instance.new('Sound',knofe.Grab) | |
3470 | if knofe then | |
3471 | if knofe.serration.BrickColor == BrickColor.new('Really red') then | |
3472 | for i, v in pairs(knofe:GetChildren()) do | |
3473 | if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then | |
3474 | v.BrickColor = BrickColor.new('Lily white') | |
3475 | v.Material = Enum.Material.SmoothPlastic | |
3476 | end | |
3477 | end | |
3478 | else | |
3479 | for i,v in pairs(knofe:GetChildren()) do | |
3480 | if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then | |
3481 | v.BrickColor = BrickColor.new('Really red') | |
3482 | v.Material = Enum.Material.Neon | |
3483 | sound.SoundId = 'rbxassetid://300473653' | |
3484 | sound.Volume = 0.75 | |
3485 | sound.TimePosition = 0.05 | |
3486 | sound.EmitterSize = 25 | |
3487 | sound.PlaybackSpeed = 1 | |
3488 | sound:Play() | |
3489 | end | |
3490 | end | |
3491 | end | |
3492 | wait(1/i) | |
3493 | sound:Destroy() | |
3494 | end | |
3495 | end | |
3496 | local sound = Instance.new('Sound',knofe.Grab) | |
3497 | sound.Name = "BOOM" | |
3498 | sound.EmitterSize = 25 | |
3499 | sound.SoundId = 'rbxassetid://12222084' | |
3500 | sound.TimePosition = 0.1 | |
3501 | sound.Volume = 0.5 | |
3502 | sound:Play() | |
3503 | local exppart = Instance.new("Part", game.Workspace) | |
3504 | exppart.Size = Vector3.new(0.2, 0.2, 0.2) | |
3505 | exppart.Anchored = true | |
3506 | exppart.CanCollide = false | |
3507 | exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p) | |
3508 | exppart.Transparency = 1 | |
3509 | local expaccent = Instance.new("ParticleEmitter", exppart) | |
3510 | expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))}) | |
3511 | expaccent.LightEmission = 0.2 | |
3512 | expaccent.LightInfluence = 0.3 | |
3513 | expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) | |
3514 | expaccent.Acceleration = Vector3.new(0, -8, 0) | |
3515 | expaccent.Drag = 15 | |
3516 | expaccent.LockedToPart = true | |
3517 | expaccent.Lifetime = NumberRange.new(0.5, 1.5) | |
3518 | expaccent.Rate = 2000 | |
3519 | expaccent.Speed = NumberRange.new(10, 150) | |
3520 | expaccent.SpreadAngle = Vector2.new(360, 360) | |
3521 | ||
3522 | local exp = Instance.new('Explosion',game.Workspace) | |
3523 | exp.Position = knofe["big ass knife"].Position | |
3524 | exp.ExplosionType = Enum.ExplosionType.NoCraters | |
3525 | exp.BlastRadius = 10 | |
3526 | exp.BlastPressure = 100000 | |
3527 | exp.DestroyJointRadiusPercent = 1 | |
3528 | exp.Hit:connect(function(hit) | |
3529 | if hit.Parent and hit.Parent ~= me and hit.Parent:FindFirstChildOfClass('Humanoid') then | |
3530 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then | |
3531 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0 | |
3532 | end | |
3533 | wait(0.001) | |
3534 | local coru=coroutine.wrap(function() | |
3535 | killz(hit.Parent,'Head',knofe,exp) | |
3536 | end) | |
3537 | coru() | |
3538 | elseif hit.Parent and hit.Parent ~= workspace and hit.Parent ~= me then | |
3539 | if hit.Parent.Name ~= "Projectile" then | |
3540 | hit.Parent:BreakJoints() | |
3541 | end | |
3542 | elseif hit.Parent and hit.Parent ~= me then | |
3543 | hit:BreakJoints() | |
3544 | end | |
3545 | end) | |
3546 | local explosionaccenttimeout = coroutine.wrap(function() | |
3547 | wait(0.2) | |
3548 | expaccent.Enabled = false | |
3549 | wait(2) | |
3550 | exppart:Remove() | |
3551 | end) | |
3552 | explosionaccenttimeout() | |
3553 | for i,v in pairs(knofe:GetChildren()) do | |
3554 | if v:IsA('BasePart') then | |
3555 | v.Transparency = 1 | |
3556 | end | |
3557 | end | |
3558 | exp.AncestryChanged:connect(function() knofe:Destroy() end) | |
3559 | end) | |
3560 | coru() | |
3561 | end | |
3562 | end) | |
3563 | if finishnum == 1 then | |
3564 | for i= 0,1,0.1 do | |
3565 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3566 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3567 | wait(0.001) | |
3568 | end | |
3569 | else | |
3570 | wait(0.1) | |
3571 | end | |
3572 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3573 | for i,v in pairs(obj1:GetChildren()) do | |
3574 | if v:IsA('BasePart') then | |
3575 | v.Transparency = 0 | |
3576 | end | |
3577 | end | |
3578 | weld2:Destroy() | |
3579 | rightshoulderz:Clone().Parent = me.Torso | |
3580 | end | |
3581 | acting = false | |
3582 | canClick = true | |
3583 | end) | |
3584 | coru() | |
3585 | end | |
3586 | ||
3587 | function release() | |
3588 | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end | |
3589 | targetweld = grabbed.Torso.TargetWeld | |
3590 | local ree= grabbed:FindFirstChild("Left Arm") | |
3591 | targetweld2 = nil | |
3592 | if ree and ree:FindFirstChild("Weld") then | |
3593 | targetweld2 = ree.Weld | |
3594 | end | |
3595 | for i, v in pairs(grabbed:GetChildren()) do | |
3596 | if v.Name == "Part" then | |
3597 | v.CanCollide = true | |
3598 | end | |
3599 | end | |
3600 | paralyzed = false | |
3601 | local doit = coroutine.wrap(function() | |
3602 | local arm = me["Right Arm"] | |
3603 | local tors = grabbed.Torso | |
3604 | local arm2 = me["Left Arm"] | |
3605 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end | |
3606 | doing = true | |
3607 | local weld2 = arm:FindFirstChildOfClass('Weld') | |
3608 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
3609 | local humanroot = me.HumanoidRootPart | |
3610 | ||
3611 | if grabbed:FindFirstChildOfClass('Humanoid') then | |
3612 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false | |
3613 | end | |
3614 | ||
3615 | rightshoulderz:Clone().Parent = me.Torso | |
3616 | leftshoulderz:Clone().Parent = me.Torso | |
3617 | if grabbed:FindFirstChildOfClass('Humanoid') then | |
3618 | grabbed:FindFirstChildOfClass('Humanoid').Name = "Humanoid" | |
3619 | grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 50 | |
3620 | grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 | |
3621 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false | |
3622 | end | |
3623 | grabbed = nil | |
3624 | ||
3625 | if humanroot:FindFirstChild('Holder') then | |
3626 | humanroot.Holder:Destroy() | |
3627 | end | |
3628 | ||
3629 | for i = 0,1,0.1 do | |
3630 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
3631 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3632 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) | |
3633 | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i) | |
3634 | if targetweld2 then | |
3635 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i) | |
3636 | end | |
3637 | wait(0.01) | |
3638 | end | |
3639 | ||
3640 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0.2) | |
3641 | weld2:Destroy() | |
3642 | weld3:Destroy() | |
3643 | targetweld:Remove() | |
3644 | if targetweld2 then | |
3645 | targetweld2:Remove() | |
3646 | end | |
3647 | if rightshoulder then | |
3648 | rightshoulder:Clone().Parent = tors | |
3649 | end | |
3650 | if leftshoulder then | |
3651 | leftshoulder:Clone().Parent = tors | |
3652 | end | |
3653 | headweld:Clone().Parent = tors | |
3654 | rightshoulderz:Clone().Parent = me.Torso | |
3655 | leftshoulderz:Clone().Parent = me.Torso | |
3656 | acting = false | |
3657 | canClick = true | |
3658 | doing = false | |
3659 | end) | |
3660 | doit() | |
3661 | end | |
3662 | ||
3663 | function stabwithpassion() | |
3664 | local doit = coroutine.wrap(function() | |
3665 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then | |
3666 | acting = true | |
3667 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 10 | |
3668 | local arm = me["Right Arm"] | |
3669 | local tors = me.Torso | |
3670 | local arm2 = me["Left Arm"] | |
3671 | local humanroot = me.HumanoidRootPart | |
3672 | local weld = Instance.new('Weld',tors) | |
3673 | weld.Part0 = tors | |
3674 | weld.Part1 = humanroot | |
3675 | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0) | |
3676 | local weld2 = Instance.new('Weld',arm) | |
3677 | weld2.Part0 = arm | |
3678 | weld2.Part1 = tors | |
3679 | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
3680 | local weld3 = Instance.new('Weld',arm2) | |
3681 | weld3.Part0 = arm2 | |
3682 | weld3.Part1 = tors | |
3683 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
3684 | ||
3685 | for i = 0,1,0.15 do | |
3686 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3687 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(20),0),i) | |
3688 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
3689 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(90), -1.55) * CFrame.new(0, 0.95, 0), i) | |
3690 | wait(0.01) | |
3691 | end | |
3692 | wait(0.001) | |
3693 | trail.Enabled = true | |
3694 | stabbing = true | |
3695 | audio2.SoundId = 'rbxassetid://608537390' | |
3696 | audio2:Play() | |
3697 | for i = 0,1,0.2 do | |
3698 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3699 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-45),0),i) | |
3700 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,-1)*CFrame.Angles(math.rad(-90),0,-1),i) | |
3701 | wait(0.01) | |
3702 | end | |
3703 | trail.Enabled = false | |
3704 | wait(0.1) | |
3705 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 10 | |
3706 | stabbing = false | |
3707 | wait(0.001) | |
3708 | for i = 0,1,0.075 do | |
3709 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3710 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i) | |
3711 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i) | |
3712 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i) | |
3713 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i) | |
3714 | wait(0.01) | |
3715 | end | |
3716 | weld:Destroy() | |
3717 | weld2:Destroy() | |
3718 | weld3:Destroy() | |
3719 | torsojoint:Clone().Parent = humanroot | |
3720 | rightshoulderz:Clone().Parent = me.Torso | |
3721 | leftshoulderz:Clone().Parent = me.Torso | |
3722 | canClick = true | |
3723 | hit = false | |
3724 | acting = false | |
3725 | end | |
3726 | end) | |
3727 | doit() | |
3728 | end | |
3729 | ||
3730 | function stab() | |
3731 | local doit = coroutine.wrap(function() | |
3732 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then | |
3733 | acting = true | |
3734 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3 | |
3735 | local arm = me["Right Arm"] | |
3736 | local tors = me.Torso | |
3737 | local arm2 = me["Left Arm"] | |
3738 | local humanroot = me.HumanoidRootPart | |
3739 | local weld = Instance.new('Weld',tors) | |
3740 | weld.Part0 = tors | |
3741 | weld.Part1 = humanroot | |
3742 | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0) | |
3743 | local weld2 = Instance.new('Weld',arm) | |
3744 | weld2.Part0 = arm | |
3745 | weld2.Part1 = tors | |
3746 | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
3747 | local weld3 = Instance.new('Weld',arm2) | |
3748 | weld3.Part0 = arm2 | |
3749 | weld3.Part1 = tors | |
3750 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
3751 | ||
3752 | for i = 0,1,0.1 do | |
3753 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3754 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i) | |
3755 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
3756 | wait(0.01) | |
3757 | end | |
3758 | wait(0.001) | |
3759 | trail.Enabled = true | |
3760 | stabbing = true | |
3761 | audio2.SoundId = 'rbxassetid://608537390' | |
3762 | audio2:Play() | |
3763 | for i = 0,1,0.25 do | |
3764 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3765 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,-0.3,0),i) | |
3766 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,0.5)*CFrame.Angles(-0.5,0,-0.5),i) | |
3767 | wait(0.01) | |
3768 | end | |
3769 | trail.Enabled = false | |
3770 | wait(0.1) | |
3771 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3 | |
3772 | for i = 0,1,0.25 do | |
3773 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3774 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i) | |
3775 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.6,-0.3)*CFrame.Angles(0.5,0,-0.5),i) | |
3776 | wait(0.01) | |
3777 | end | |
3778 | stabbing = false | |
3779 | wait(0.001) | |
3780 | for i = 0,1,0.05 do | |
3781 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3782 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i) | |
3783 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i) | |
3784 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i) | |
3785 | wait(0.01) | |
3786 | end | |
3787 | weld:Destroy() | |
3788 | weld2:Destroy() | |
3789 | weld3:Destroy() | |
3790 | torsojoint:Clone().Parent = humanroot | |
3791 | rightshoulderz:Clone().Parent = me.Torso | |
3792 | leftshoulderz:Clone().Parent = me.Torso | |
3793 | canClick = true | |
3794 | hit = false | |
3795 | acting = false | |
3796 | end | |
3797 | end) | |
3798 | doit() | |
3799 | end | |
3800 | function hardrelease() | |
3801 | rightshoulderz:Clone().Parent = me.Torso | |
3802 | leftshoulderz:Clone().Parent = me.Torso | |
3803 | if me:FindFirstChild('Right Arm') then | |
3804 | for i,v in pairs(me["Right Arm"]:GetChildren()) do | |
3805 | if v:IsA('Weld') then | |
3806 | v:Destroy() | |
3807 | end | |
3808 | end | |
3809 | end | |
3810 | if me:FindFirstChild('Left Arm') then | |
3811 | for i,v in pairs(me["Left Arm"]:GetChildren()) do | |
3812 | if v:IsA('Weld') then | |
3813 | v:Destroy() | |
3814 | end | |
3815 | end | |
3816 | end | |
3817 | acting = false | |
3818 | canClick = true | |
3819 | doing = false | |
3820 | grabbed = nil | |
3821 | end | |
3822 | function unequip() | |
3823 | local doit = coroutine.wrap(function() | |
3824 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then | |
3825 | acting = true | |
3826 | local arm = me["Right Arm"] | |
3827 | local arm2 = me["Left Arm"] | |
3828 | local tors = me.Torso | |
3829 | local weld = Instance.new('Weld',arm) | |
3830 | weld.Part0 = arm | |
3831 | weld.Part1 = tors | |
3832 | weld.C0 = CFrame.new(-1.5,0,0) | |
3833 | local weld2 = Instance.new("Weld", arm2) | |
3834 | weld2.Part0 = arm2 | |
3835 | weld2.Part1 = tors | |
3836 | weld2.C0 = CFrame.new(1.5, 0, 0) | |
3837 | wait(0.001) | |
3838 | trail.Enabled = true | |
3839 | for i = 0,1,0.1 do | |
3840 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
3841 | weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i) | |
3842 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i) | |
3843 | wait(0.001) | |
3844 | end | |
3845 | trail.Enabled = false | |
3846 | wait(0.25) | |
3847 | for i = 0,1,0.1 do | |
3848 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
3849 | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3850 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i) | |
3851 | wait(0.01) | |
3852 | end | |
3853 | weld:Destroy() | |
3854 | weld2:Remove() | |
3855 | if tors ~= nil then | |
3856 | rightshoulderz:Clone().Parent = me.Torso | |
3857 | leftshoulderz:Clone().Parent = me.Torso | |
3858 | end | |
3859 | acting = false | |
3860 | end | |
3861 | end) | |
3862 | doit() | |
3863 | end | |
3864 | ||
3865 | mouse.KeyDown:connect(function(key) | |
3866 | if usable == true then | |
3867 | if key == "z" then | |
3868 | if active == false and acting == false then | |
3869 | active = true | |
3870 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3871 | notify("KNIFE EQUIPPED",false) | |
3872 | audio:Stop() | |
3873 | audio.SoundId = 'rbxassetid://608618332' | |
3874 | equip() | |
3875 | wait(0.6) | |
3876 | audio:Play() | |
3877 | knifeweld.Part0 = me["Right Arm"] | |
3878 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
3879 | elseif acting == false then | |
3880 | active = false | |
3881 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3882 | audio:Stop() | |
3883 | audio.SoundId = 'rbxassetid://608538233' | |
3884 | unequip() | |
3885 | notify("KNIFE UNEQUIPPED",false) | |
3886 | wait(0.3) | |
3887 | audio:Play() | |
3888 | knifeweld.Part0 = me.Torso | |
3889 | knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55) | |
3890 | canClick = true | |
3891 | end | |
3892 | elseif key == "f" then | |
3893 | if mode == 'kill' or active == false then return end | |
3894 | mode = "kill" | |
3895 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3896 | notify("MODE || KILL || [F]",false) | |
3897 | elseif key == "e" then | |
3898 | if mode == 'throw' or active == false then return end | |
3899 | mode = "throw" | |
3900 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3901 | notify("MODE || PUSH || [E]",false) | |
3902 | elseif key == "q" then | |
3903 | if mode == 'release' or active == false then return end | |
3904 | mode = "release" | |
3905 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3906 | notify("MODE || RELEASE || [Q]",false) | |
3907 | elseif key == "x" then | |
3908 | if mode == 'stab' or active == false or acting == true then return end | |
3909 | mode = "stab" | |
3910 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3911 | notify("MODE || STAB || [X]",false) | |
3912 | elseif key == "c" then | |
3913 | if mode == 'fling' or active == false or acting == true then return end | |
3914 | mode = "fling" | |
3915 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3916 | notify("MODE || THROW || [C]",false) | |
3917 | elseif key == "b" then | |
3918 | if mode == 'instasplode' or active == false or acting == true then return end | |
3919 | mode = "instasplode" | |
3920 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3921 | notify("MODE || MOLOTOV || [B]",false) | |
3922 | elseif key == "r" then | |
3923 | if mode == 'paralyze' or active == false then return end | |
3924 | mode = "paralyze" | |
3925 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3926 | notify("MODE || PARALYZE || [R]",false) | |
3927 | elseif key == "v" then | |
3928 | if mode == 'explode' or active == false or acting == true then return end | |
3929 | mode = "explode" | |
3930 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3931 | notify("MODE || EXPLODE || [V]",false) | |
3932 | elseif key == "k" then | |
3933 | if mode == 'suicide' or active == false or acting == true then return end | |
3934 | mode = "suicide" | |
3935 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3936 | notify("MODE || SUICIDE || [K]",false) | |
3937 | elseif key == "h" then | |
3938 | if mode == 'firework' or active == false or acting == true then return end | |
3939 | mode = "firework" | |
3940 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3941 | notify("MODE || FIREWORK || [H]",false) | |
3942 | elseif key == "g" then | |
3943 | if mode == 'finish' or active == false then return end | |
3944 | mode = "finish" | |
3945 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3946 | local welp = "ON" | |
3947 | if finishnum == 1 then | |
3948 | welp = "OFF" | |
3949 | end | |
3950 | notify("MODE || FINISH || [G] || "..welp,false) | |
3951 | elseif key == "n" then | |
3952 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3953 | if zombiemode == false then | |
3954 | notify("ZOMBIE MODE ON || [N]",false) | |
3955 | zombiemode = true | |
3956 | else | |
3957 | notify("ZOMBIE MODE OFF || [N]",false) | |
3958 | zombiemode = false | |
3959 | end | |
3960 | elseif key == "m" then | |
3961 | if finishnum == 1 then | |
3962 | finishnum = 15 | |
3963 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3964 | notify("PSYCHOPATH MODE ON || [M]",false) | |
3965 | if cancolorfilter then | |
3966 | local Sp00kyGui = Instance.new("ScreenGui") | |
3967 | local ImageLabel = Instance.new("ImageLabel") | |
3968 | ||
3969 | -- Properties | |
3970 | ||
3971 | Sp00kyGui.Parent = playergui | |
3972 | Sp00kyGui.Name = "REEEEEEEE" | |
3973 | ||
3974 | ImageLabel.Parent = Sp00kyGui | |
3975 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
3976 | ImageLabel.BackgroundTransparency = 1 | |
3977 | ImageLabel.Size = UDim2.new(1, 0, 1, 0) | |
3978 | ImageLabel.Image = "rbxassetid://74443700" | |
3979 | ImageLabel.ImageColor3 = Color3.new(1, 0, 0) | |
3980 | end | |
3981 | if canbackgroundmusic == true then | |
3982 | local sound = Instance.new('Sound',playergui) | |
3983 | sound.Name = 'PSYCHOPAAAATH' | |
3984 | sound.SoundId = 'rbxassetid://220875210' | |
3985 | sound.Looped = true | |
3986 | sound.Volume = 0.5 | |
3987 | sound:Play() | |
3988 | end | |
3989 | else | |
3990 | finishnum = 1 | |
3991 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3992 | notify("PSYCHOPATH MODE OFF || [M]",false) | |
3993 | for i,v in pairs(playergui:GetChildren()) do | |
3994 | if v.Name == "REEEEEEEE" then | |
3995 | v:Destroy() | |
3996 | end | |
3997 | end | |
3998 | local thisniggarighthere = playergui:FindFirstChild('PSYCHOPAAAATH') | |
3999 | if thisniggarighthere then thisniggarighthere:Destroy() end | |
4000 | end | |
4001 | end | |
4002 | end | |
4003 | end) | |
4004 | ||
4005 | mouse.Button1Down:connect(function() | |
4006 | if active == false or usable == false then return end | |
4007 | if canClick == true and acting == false then | |
4008 | if mode == "stab" and finishnum == 1 then | |
4009 | canClick = false | |
4010 | stab() | |
4011 | elseif mode == "stab" and finishnum == 15 then | |
4012 | canClick = false | |
4013 | stabwithpassion() | |
4014 | elseif mode == "fling" then | |
4015 | canClick = false | |
4016 | fling() | |
4017 | elseif mode == "explode" then | |
4018 | canClick = false | |
4019 | explode() | |
4020 | elseif mode == "instasplode" then | |
4021 | canClick = false | |
4022 | instasplode() | |
4023 | elseif mode == "finish" then | |
4024 | canClick = false | |
4025 | finish() | |
4026 | elseif mode == "suicide" then | |
4027 | canClick = false | |
4028 | kysnigga() | |
4029 | elseif mode == "firework" then | |
4030 | canClick = false | |
4031 | fireworkit() | |
4032 | else | |
4033 | canClick = false | |
4034 | grab() | |
4035 | end | |
4036 | else | |
4037 | if grabbed ~= nil and doing == false then | |
4038 | if mode == "release" then | |
4039 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4040 | release() | |
4041 | else | |
4042 | hardrelease() | |
4043 | end | |
4044 | elseif mode == "kill" then | |
4045 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4046 | kill() | |
4047 | else | |
4048 | hardrelease() | |
4049 | end | |
4050 | elseif mode == "paralyze" then | |
4051 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4052 | paralyze() | |
4053 | else | |
4054 | hardrelease() | |
4055 | end | |
4056 | elseif mode == "throw" then | |
4057 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4058 | throw() | |
4059 | else | |
4060 | hardrelease() | |
4061 | end | |
4062 | elseif mode == "explode" then | |
4063 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4064 | throw() | |
4065 | else | |
4066 | hardrelease() | |
4067 | end | |
4068 | end | |
4069 | end | |
4070 | end | |
4071 | end) | |
4072 | ||
4073 | knife.Touched:connect(function(hitz) | |
4074 | if hitz.Parent and hitz.Parent:FindFirstChildOfClass("Humanoid") and hitz.Parent:FindFirstChild('Torso') and acting == true then | |
4075 | if mode == "stab" and stabbing == true and hit == false then | |
4076 | hit = true | |
4077 | tone = math.random(1, 3) | |
4078 | audio:Stop() | |
4079 | if tone == 1 then audio.SoundId = "rbxassetid://220833967" end | |
4080 | if tone == 2 then audio.SoundId = "rbxassetid://220833976" end | |
4081 | if tone == 3 then audio.SoundId = "rbxassetid://220834000" end | |
4082 | audio.PlaybackSpeed = 1 | |
4083 | audio:Play() | |
4084 | killz(hitz.Parent,'Left Leg') | |
4085 | killz(hitz.Parent,'Left Arm') | |
4086 | killz(hitz.Parent,'Right Leg') | |
4087 | killz(hitz.Parent,'Right Arm') | |
4088 | elseif mode == "finish" and finishing == true then | |
4089 | print('PSYCHOPATH MODE REEEEEEEEEEEEEEEE') | |
4090 | tone = math.random(1, 3) | |
4091 | audio:Stop() | |
4092 | if tone == 1 then audio.SoundId = "rbxassetid://220833967" end | |
4093 | if tone == 2 then audio.SoundId = "rbxassetid://220833976" end | |
4094 | if tone == 3 then audio.SoundId = "rbxassetid://220834000" end | |
4095 | audio.PlaybackSpeed = 1 | |
4096 | audio:Play() | |
4097 | if hit == false then | |
4098 | hitz.Parent:FindFirstChildOfClass('Humanoid').Health = 0 | |
4099 | wait() | |
4100 | killz(hitz.Parent,'Head',nil,false,true) | |
4101 | end | |
4102 | hit = true | |
4103 | elseif grabbed == nil and grabbing == true and hit == false then | |
4104 | if hitz.Parent:FindFirstChildOfClass("Humanoid").Health > 0 and hitz.Parent:FindFirstChild('Torso') and hitz.Parent.Torso:FindFirstChild('Neck') then | |
4105 | grabbed = hitz.Parent | |
4106 | local weldz = Instance.new('Weld',point) | |
4107 | weldz.Name = "Holder" | |
4108 | weldz.Part0 = point | |
4109 | weldz.Part1 = hitz.Parent.Torso | |
4110 | weldz.C0 = CFrame.new(0,0,-1.2) | |
4111 | end | |
4112 | end | |
4113 | end | |
4114 | end) | |
4115 | ||
4116 | player.CharacterAdded:connect(function() | |
4117 | usable = false | |
4118 | for i,v in pairs(playergui:GetChildren()) do | |
4119 | if v.Name == "REEEEEEEE" or v.Name == 'PSYCHOPAAAATH' then | |
4120 | v:Destroy() | |
4121 | end | |
4122 | end | |
4123 | end) | |
4124 | while usable do | |
4125 | local coru = coroutine.wrap(function() | |
4126 | for i,v in pairs(knifeparts) do | |
4127 | local function try() | |
4128 | if v[1].Parent ~= v[2] then | |
4129 | v[1].Parent = v[2] | |
4130 | end | |
4131 | end | |
4132 | pcall(try) | |
4133 | end | |
4134 | if grabbed ~= nil then | |
4135 | if grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4136 | for i,v in pairs(grabbed:GetChildren()) do | |
4137 | if v:IsA('Tool') then | |
4138 | local model = Instance.new('Model',workspace) | |
4139 | v.Parent = model | |
4140 | model:TranslateBy(Vector3.new(3,0,0)) | |
4141 | end | |
4142 | end | |
4143 | grabbed:FindFirstChildOfClass('Humanoid').Name = "Hoomanoid" | |
4144 | grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 0 | |
4145 | grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 0 | |
4146 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4147 | grabweld = grabbed.Torso:FindFirstChild("TargetWeld") | |
4148 | if grabweld ~= nil then return end | |
4149 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4150 | if grabbed.Torso:FindFirstChild('Left Shoulder') then | |
4151 | leftshoulder = grabbed.Torso["Left Shoulder"]:Clone() | |
4152 | end | |
4153 | if grabbed.Torso:FindFirstChild('Right Shoulder') then | |
4154 | rightshoulder = grabbed.Torso["Right Shoulder"]:Clone() | |
4155 | end | |
4156 | headweld = grabbed.Torso["Neck"]:Clone() | |
4157 | local targetweld = Instance.new('Weld',grabbed.Torso) | |
4158 | targetweld.Part0 = grabbed.Torso | |
4159 | targetweld.Part1 = grabbed.Head | |
4160 | targetweld.Name = "TargetWeld" | |
4161 | targetweld.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(0, 0, 0) | |
4162 | if grabbed:FindFirstChild('Left Arm') then | |
4163 | local targetweld2 = Instance.new('Weld',grabbed["Left Arm"]) | |
4164 | targetweld2.Part0 = grabbed.Torso | |
4165 | targetweld2.Part1 = grabbed["Left Arm"] | |
4166 | targetweld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
4167 | end | |
4168 | ||
4169 | for i = 0,1,0.1 do | |
4170 | if me:FindFirstChild("Left Arm") == nil or me:FindFirstChild("Torso") == nil or targetweld == nil then return end | |
4171 | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0.25, 0, 0), i) | |
4172 | if targetweld2 then | |
4173 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0.5, 0)*CFrame.Angles(0, 0, -0.55), i) | |
4174 | end | |
4175 | wait(0.001) | |
4176 | end | |
4177 | end | |
4178 | end | |
4179 | end) | |
4180 | coru() | |
4181 | wait() | |
4182 | end | |
4183 | ||
4184 | end | |
4185 | local coru=coroutine.wrap(function() | |
4186 | nub() | |
4187 | end) | |
4188 | coru() | |
4189 | ||
4190 | player.CharacterAppearanceLoaded:connect(function() | |
4191 | local coru =coroutine.wrap(function() | |
4192 | nub() | |
4193 | end) | |
4194 | coru() | |
4195 | end) | |
4196 | ||
4197 | while true do | |
4198 | local coru=coroutine.wrap(function() | |
4199 | if grabbed then | |
4200 | v:FindFirstChildOfClass('Humanoid').Jump = false | |
4201 | v:FindFirstChildOfClass('Humanoid').Sit = false | |
4202 | v:FindFirstChildOfClass('Humanoid').JumpPower = 0 | |
4203 | v:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4204 | v:FindFirstChildOfClass('Humanoid').Name = "No escape." | |
4205 | end | |
4206 | for i,v in pairs(rekt) do | |
4207 | if v and v:FindFirstChildOfClass('Humanoid') then | |
4208 | for a,c in pairs(v:GetChildren()) do | |
4209 | if c:IsA('Tool') then | |
4210 | local model = Instance.new('Model',workspace) | |
4211 | c.Parent = model | |
4212 | model:TranslateBy(Vector3.new(3,0,0)) | |
4213 | end | |
4214 | end | |
4215 | v:FindFirstChildOfClass('Humanoid').Jump = false | |
4216 | v:FindFirstChildOfClass('Humanoid').Sit = false | |
4217 | v:FindFirstChildOfClass('Humanoid').JumpPower = 0 | |
4218 | v:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4219 | v:FindFirstChildOfClass('Humanoid').Name = "No escape." | |
4220 | local thing = getplr(v) | |
4221 | if thing then | |
4222 | thing.CameraMinZoomDistance = 3 | |
4223 | end | |
4224 | else | |
4225 | local thing = getplr(v) | |
4226 | if thing then | |
4227 | thing.CameraMinZoomDistance = 0.5 | |
4228 | end | |
4229 | table.remove(rekt,i) | |
4230 | end | |
4231 | end | |
4232 | end) | |
4233 | coru() | |
4234 | local coru2 = coroutine.wrap(function() | |
4235 | if curpart then | |
4236 | curpoint = curpart.CFrame.p | |
4237 | end | |
4238 | if lastgui then | |
4239 | lastgui:Destroy() | |
4240 | lastgui = nil | |
4241 | end | |
4242 | if curpoint then | |
4243 | lastgui = Instance.new('BillboardGui',player.PlayerGui) | |
4244 | lastgui.AlwaysOnTop = true | |
4245 | lastgui.MaxDistance = 0 | |
4246 | lastgui.Size = UDim2.new(5,0,5,0) | |
4247 | if curpart == nil then | |
4248 | lastgui.Adornee = workspace | |
4249 | lastgui.StudsOffsetWorldSpace = curpoint | |
4250 | else | |
4251 | lastgui.Adornee = curpart | |
4252 | end | |
4253 | local cross = Instance.new('ImageLabel',lastgui) | |
4254 | cross.BackgroundTransparency = 1 | |
4255 | cross.Size = UDim2.new(1,0,1,0) | |
4256 | cross.Image = 'rbxassetid://316279304' | |
4257 | for i,v in pairs(zombies) do | |
4258 | if v:FindFirstChildOfClass('Humanoid') then | |
4259 | v:FindFirstChildOfClass('Humanoid').WalkToPoint = curpoint | |
4260 | end | |
4261 | end | |
4262 | else | |
4263 | for i,v in pairs(zombies) do | |
4264 | if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Head') then | |
4265 | v:FindFirstChildOfClass('Humanoid').WalkToPoint = v.Head.Position | |
4266 | end | |
4267 | end | |
4268 | end | |
4269 | end) | |
4270 | coru2() | |
4271 | wait() | |
4272 | end |