SHOW:
|
|
- or go back to the newest paste.
1 | The Real king is in here some where in list of scripts look for it to get the power. | |
2 | -- x10Shield -- | |
3 | local me = game:GetService("Players").LocalPlayer | |
4 | local ShieldSize = 5 | |
5 | local canCollide = false | |
6 | local isLocked = false | |
7 | local defaultTransparency = 1 | |
8 | local whitelist = {"", "", "", ""} | |
9 | ||
10 | local scriptBreak = false | |
11 | local followPart = me.Character.HumanoidRootPart | |
12 | local actualList = {} | |
13 | local playerList = {} | |
14 | table.insert(playerList, me) | |
15 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
16 | for _,wplay in pairs(whitelist) do | |
17 | if v.Name:lower() == wplay:lower() then | |
18 | table.insert(playerList, v) | |
19 | end | |
20 | end | |
21 | end | |
22 | ||
23 | local MainLocation = me.Character.Torso | |
24 | ||
25 | function createShield() | |
26 | pcall(function() | |
27 | pcall(function() | |
28 | for i,v in pairs(MainLocation:GetChildren()) do | |
29 | if v.Name == "weinershield" then | |
30 | v:Destroy() | |
31 | end | |
32 | end | |
33 | end) | |
34 | local mod = Instance.new("Model", MainLocation) | |
35 | mod.Name = "weinershield" | |
36 | local p1 = Instance.new("Part", mod) | |
37 | p1.Name = "front" | |
38 | p1.Size = Vector3.new(ShieldSize,ShieldSize,1) | |
39 | p1.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2)) | |
40 | local b = Instance.new("BlockMesh", p1) | |
41 | b.Scale = Vector3.new(1, 1, 0) | |
42 | local p2 = Instance.new("Part", mod) | |
43 | p2.Name = "back" | |
44 | p2.Size = Vector3.new(ShieldSize,ShieldSize,1) | |
45 | p2.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2)) | |
46 | local b = Instance.new("BlockMesh", p2) | |
47 | b.Scale = Vector3.new(1, 1, 0) | |
48 | local p3 = Instance.new("Part", mod) | |
49 | p3.Name = "left" | |
50 | p3.Size = Vector3.new(1,ShieldSize,ShieldSize) | |
51 | p3.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z) | |
52 | local b = Instance.new("BlockMesh", p3) | |
53 | b.Scale = Vector3.new(0, 1, 1) | |
54 | local p4 = Instance.new("Part", mod) | |
55 | p4.Name = "right" | |
56 | p4.Size = Vector3.new(1,ShieldSize,ShieldSize) | |
57 | p4.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z) | |
58 | local b = Instance.new("BlockMesh", p4) | |
59 | b.Scale = Vector3.new(0, 1, 1) | |
60 | local p5 = Instance.new("Part", mod) | |
61 | p5.Name = "top" | |
62 | p5.Size = Vector3.new(ShieldSize,1,ShieldSize) | |
63 | p5.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z) | |
64 | local b = Instance.new("BlockMesh", p5) | |
65 | b.Scale = Vector3.new(1, 0, 1) | |
66 | local p6 = Instance.new("Part", mod) | |
67 | p6.Name = "bottom" | |
68 | p6.Size = Vector3.new(ShieldSize,1,ShieldSize) | |
69 | p6.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z) | |
70 | local b = Instance.new("BlockMesh", p6) | |
71 | b.Scale = Vector3.new(1, 0, 1) | |
72 | for i,v in pairs(mod:GetChildren()) do | |
73 | v.Anchored = true | |
74 | v.Transparency = defaultTransparency | |
75 | v.Material = "Neon" | |
76 | v.TopSurface = "Smooth" | |
77 | v.BottomSurface = "Smooth" | |
78 | v.CanCollide = canCollide | |
79 | end | |
80 | mod.ChildRemoved:connect(function(a) | |
81 | game:GetService("RunService").Stepped:wait() | |
82 | if a.ClassName == "Part" then | |
83 | createShield() | |
84 | end | |
85 | end) | |
86 | end) | |
87 | end | |
88 | ||
89 | function updateShield() | |
90 | pcall(function() | |
91 | char = me.Character | |
92 | for i,v in pairs(MainLocation:findFirstChild("weinershield"):GetChildren()) do | |
93 | v.Anchored = true | |
94 | v.Transparency = defaultTransparency | |
95 | v.Material = "Neon" | |
96 | v.TopSurface = "Smooth" | |
97 | v.BottomSurface = "Smooth" | |
98 | v.CanCollide = canCollide | |
99 | end | |
100 | MainLocation:findFirstChild("weinershield").front.Size = Vector3.new(ShieldSize,ShieldSize,1) | |
101 | MainLocation:findFirstChild("weinershield").front.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2)) | |
102 | MainLocation:findFirstChild("weinershield").back.Size = Vector3.new(ShieldSize,ShieldSize,1) | |
103 | MainLocation:findFirstChild("weinershield").back.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2)) | |
104 | MainLocation:findFirstChild("weinershield").left.Size = Vector3.new(1,ShieldSize,ShieldSize) | |
105 | MainLocation:findFirstChild("weinershield").left.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z) | |
106 | MainLocation:findFirstChild("weinershield").right.Size = Vector3.new(1,ShieldSize,ShieldSize) | |
107 | MainLocation:findFirstChild("weinershield").right.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z) | |
108 | MainLocation:findFirstChild("weinershield").top.Size = Vector3.new(ShieldSize,1,ShieldSize) | |
109 | MainLocation:findFirstChild("weinershield").top.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z) | |
110 | MainLocation:findFirstChild("weinershield").bottom.Size = Vector3.new(ShieldSize,1,ShieldSize) | |
111 | MainLocation:findFirstChild("weinershield").bottom.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z) | |
112 | end) | |
113 | end | |
114 | ||
115 | ||
116 | local function CreateRegion3FromLocAndSize(Position, Size) | |
117 | local SizeOffset = Size/2 | |
118 | local Point1 = Position - SizeOffset | |
119 | local Point2 = Position + SizeOffset | |
120 | return Region3.new(Point1, Point2) | |
121 | end | |
122 | ||
123 | createShield() | |
124 | game:GetService("RunService").Heartbeat:connect(function() | |
125 | if not scriptBreak then | |
126 | local me = game:GetService("Players").LocalPlayer | |
127 | local char = workspace:findFirstChild(me.Name) | |
128 | actualList = {} | |
129 | for i,v in pairs(playerList) do | |
130 | pcall(function() | |
131 | table.insert(actualList, workspace:findFirstChild(v.Name)) | |
132 | end) | |
133 | end | |
134 | if MainLocation:findFirstChild("weinershield") ~= nil then | |
135 | updateShield() | |
136 | else | |
137 | createShield() | |
138 | end | |
139 | pcall(function() | |
140 | local Region = CreateRegion3FromLocAndSize(followPart.Position, Vector3.new(ShieldSize+1,ShieldSize+1,ShieldSize+1)) | |
141 | for _,Part in pairs(workspace:FindPartsInRegion3WithIgnoreList(Region,actualList,math.huge)) do | |
142 | if Part.Name ~= "Base" and not Part:isDescendantOf(MainLocation:findFirstChild("weinershield")) then | |
143 | Part:Destroy() | |
144 | end | |
145 | end | |
146 | end) | |
147 | pcall(function() | |
148 | for i,v in pairs(actualList) do | |
149 | if v:findFirstChild("Humanoid") ~= nil then | |
150 | v.Humanoid.MaxHealth = math.huge | |
151 | v.Humanoid.Health = math.huge | |
152 | else | |
153 | Instance.new("Humanoid", v) | |
154 | end | |
155 | end | |
156 | end) | |
157 | end | |
158 | end) | |
159 | p = game.Players.LocalPlayer | |
160 | char = p.Character | |
161 | local char = p.Character | |
162 | torso = char.Torso | |
163 | neck = char.Torso.Neck | |
164 | hum = char.Humanoid | |
165 | Player = game:GetService("Players").LocalPlayer | |
166 | Character = Player.Character | |
167 | tors = Character.Torso | |
168 | root = Character.HumanoidRootPart | |
169 | lleg = Character["Left Leg"] | |
170 | hed = Character.Head | |
171 | rleg = Character["Right Leg"] | |
172 | rarm = Character["Right Arm"] | |
173 | larm = Character["Left Arm"] | |
174 | ||
175 | ypcall(function() | |
176 | for i,v in pairs(Character:children()) do | |
177 | if v:IsA("Hat") then | |
178 | v:Destroy() | |
179 | end | |
180 | end | |
181 | for i,v in pairs(Character:children()) do | |
182 | if v:IsA("Accessory") then | |
183 | v:Destroy() | |
184 | end | |
185 | end | |
186 | for i,v in pairs(Character:children()) do | |
187 | if v:IsA("Hair") then | |
188 | v:Destroy() | |
189 | end | |
190 | end | |
191 | end) | |
192 | ||
193 | CV="Hot pink" | |
194 | ||
195 | local txt = Instance.new("BillboardGui", char) | |
196 | txt.Adornee = char .Head | |
197 | txt.Name = "_status" | |
198 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
199 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
200 | local text = Instance.new("TextLabel", txt) | |
201 | - | text.FontSize = "Size24" |
201 | + | |
202 | text.FontSize = "Size100" | |
203 | text.TextScaled = true | |
204 | text.TextTransparency = 0 | |
205 | text.BackgroundTransparency = 1 | |
206 | text.TextTransparency = 0 | |
207 | text.TextStrokeTransparency = 0 | |
208 | text.Font = "Highway" | |
209 | text.TextStrokeColor3 = BrickColor.new("Really black").Color | |
210 | ||
211 | v=Instance.new("Part") | |
212 | v.Name = "ColorBrick" | |
213 | v.Parent=p.Character | |
214 | v.FormFactor="Symmetric" | |
215 | v.Anchored=true | |
216 | v.CanCollide=false | |
217 | v.BottomSurface="Smooth" | |
218 | v.TopSurface="Smooth" | |
219 | v.Size=Vector3.new(10,5,3) | |
220 | v.Transparency=1 | |
221 | v.CFrame=char.Torso.CFrame | |
222 | v.BrickColor=BrickColor.new(CV) | |
223 | v.Transparency=1 | |
224 | text.TextColor3 = BrickColor.new("white").Color | |
225 | - | text.Text = "The UnTouchable man" |
225 | + | |
226 | text.Text = "The KING is not here he is still reseting look thrrought my script list" | |
227 | ||
228 | hed.face.Texture = "http://www.roblox.com/asset/?id=0" | |
229 | hed.Transparency = 1 | |
230 | rleg.Transparency = 1 | |
231 | rarm.Transparency = 1 | |
232 | larm.Transparency = 1 | |
233 | lleg.Transparency = 1 | |
234 | tors.Transparency = 1 | |
235 | ||
236 | Player = game:GetService("Players").LocalPlayer | |
237 | Character = Player.Character | |
238 | rarm = Character["Right Arm"] | |
239 | larm = Character["Left Arm"] | |
240 | vt = Vector3.new | |
241 | bc = BrickColor.new | |
242 | wit = bc("Deep orange").Color | |
243 | ||
244 | local prth = Instance.new("Part",Character) | |
245 | prth.Size = vt(1.25,1.25,1.25) | |
246 | prth.CanCollide = false | |
247 | prth.Material = "Neon" | |
248 | prth.Transparency = 0.2 | |
249 | prth.BrickColor = bc("black") | |
250 | local wldh = Instance.new("Weld",Character) | |
251 | wldh.Part0 = hed | |
252 | wldh.Part1 = prth | |
253 | ||
254 | local prtrm = Instance.new("Part",Character) | |
255 | prtrm.Size = vt(2.1,2.1,1.1) | |
256 | prtrm.CanCollide = false | |
257 | prtrm.Transparency = 0.2 | |
258 | prtrm.Material = "Neon" | |
259 | prtrm.BrickColor = bc("black") | |
260 | local wldm = Instance.new("Weld",Character) | |
261 | wldm.Part0 = root | |
262 | wldm.Part1 = prtrm | |
263 | ||
264 | local prtr = Instance.new("Part",Character) | |
265 | prtr.Size = vt(1.1,2.1,1.1) | |
266 | prtr.CanCollide = false | |
267 | prtr.Transparency = 0.5 | |
268 | prtr.Material = "Neon" | |
269 | prtr.BrickColor = bc("black") | |
270 | local prtrl = Instance.new("Part",Character) | |
271 | prtrl.Size = vt(1.1,2.1,1.1) | |
272 | prtrl.CanCollide = false | |
273 | prtrl.Transparency = 0.2 | |
274 | prtrl.Material = "Neon" | |
275 | prtrl.BrickColor = bc("black") | |
276 | local eff = Instance.new("ParticleEmitter",prtr) | |
277 | eff.LightEmission = 1 | |
278 | eff.Texture = "rbxassetid://284205403" | |
279 | eff.Color = ColorSequence.new(wit) | |
280 | eff.Size = NumberSequence.new(0.5,1) | |
281 | eff.Acceleration = vt(0,25,0) | |
282 | eff.Speed = NumberRange.new(-5) | |
283 | eff.LockedToPart = false | |
284 | eff.Transparency = NumberSequence.new(0.95) | |
285 | eff.Lifetime = NumberRange.new(0.5) | |
286 | eff.Rate = 100000 | |
287 | eff.VelocitySpread = 25 | |
288 | local wld = Instance.new("Weld",Character) | |
289 | wld.Part0 = rarm | |
290 | wld.Part1 = prtr | |
291 | local wldl = Instance.new("Weld",Character) | |
292 | wldl.Part0 = rleg | |
293 | wldl.Part1 = prtrl | |
294 | ||
295 | local prtr2 = Instance.new("Part",Character) | |
296 | prtr2.Size = vt(1.1,2.1,1.1) | |
297 | prtr2.CanCollide = false | |
298 | prtr2.Transparency = 0.1 | |
299 | prtr2.Material = "Neon" | |
300 | prtr2.BrickColor = bc("black") | |
301 | local prtrl2 = Instance.new("Part",Character) | |
302 | prtrl2.Size = vt(1.1,2.1,1.1) | |
303 | prtrl2.CanCollide = false | |
304 | prtrl2.Transparency = 0.1 | |
305 | prtrl2.Material = "Neon" | |
306 | prtrl2.BrickColor = bc("black") | |
307 | local eff2 = Instance.new("ParticleEmitter",prtr2) | |
308 | eff2.LightEmission = 1 | |
309 | eff2.Texture = "rbxassetid://284205403" | |
310 | eff2.Color = ColorSequence.new(wit) | |
311 | eff2.Size = NumberSequence.new(0.5,1) | |
312 | eff2.Acceleration = vt(0,25,0) | |
313 | eff2.Speed = NumberRange.new(-5) | |
314 | eff2.LockedToPart = false | |
315 | eff2.Transparency = NumberSequence.new(0.95) | |
316 | eff2.Lifetime = NumberRange.new(0.5) | |
317 | eff2.Rate = 100000 | |
318 | eff2.VelocitySpread = 25 | |
319 | local wld2 = Instance.new("Weld",Character) | |
320 | wld2.Part0 = larm | |
321 | wld2.Part1 = prtr2 | |
322 | local wldl2 = Instance.new("Weld",Character) | |
323 | wldl2.Part0 = lleg | |
324 | wldl2.Part1 = prtrl2 | |
325 | ||
326 | local mouse = game.Players.LocalPlayer:GetMouse() | |
327 | tors = game.Players.LocalPlayer.Character.Torso | |
328 | vt = Vector3.new | |
329 | bc = BrickColor.new | |
330 | ||
331 | local Effect = Instance.new("Part",game.Lighting) | |
332 | Effect.BrickColor = bc("Deep orange") | |
333 | Effect.Transparency = 1 | |
334 | Effect.Anchored = true | |
335 | Effect.CanCollide = false | |
336 | Effect.Material = "Neon" | |
337 | Effect.Shape = "Ball" | |
338 | Effect.Size = vt(5,5,5) | |
339 | local fire1 = Instance.new("Fire",Effect) | |
340 | fire1.Name = "Fire" | |
341 | fire1.Heat = 0 | |
342 | fire1.Size = 30 | |
343 | fire1.SecondaryColor = bc("Really black").Color | |
344 | fire1.Color = bc("Deep orange").Color | |
345 | local fire2 = Instance.new("Fire",Effect) | |
346 | fire2.Name = "Fire2" | |
347 | fire2.Heat = 0 | |
348 | fire2.Size = 25 | |
349 | fire2.SecondaryColor = bc("Really black").Color | |
350 | fire2.Color = bc("Neon orange").Color | |
351 | ||
352 | function Explode(rad,par) | |
353 | local expart = Instance.new("Part",script.Parent) | |
354 | local expart2 = Instance.new("Part",script.Parent) | |
355 | local snd = Instance.new("Sound",expart) | |
356 | snd.SoundId = "rbxassetid://258057783" | |
357 | snd.Volume = 2.5 | |
358 | local partMesh = Instance.new("SpecialMesh",expart) | |
359 | partMesh.MeshType = "Sphere" | |
360 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
361 | partMesh2.MeshType = "Sphere" | |
362 | local expld = Instance.new("Explosion", script.Parent) | |
363 | expld.BlastRadius = rad | |
364 | expld.Position = par.Position | |
365 | partMesh.Scale = vt(rad,rad,rad) | |
366 | expart.Size = vt(1,1,1)*1.5 | |
367 | expart.Transparency = 0.5 | |
368 | expart.Anchored = true | |
369 | expart.Material = "Neon" | |
370 | expart.BrickColor = bc("Deep orange") | |
371 | expart.CFrame = par.CFrame | |
372 | partMesh2.Scale = vt(rad,rad,rad) | |
373 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
374 | expart2.Transparency = 0.5 | |
375 | expart2.Anchored = true | |
376 | expart2.Material = "Neon" | |
377 | expart2.BrickColor = bc("Bright orange") | |
378 | expart2.CFrame = par.CFrame | |
379 | snd:Play() | |
380 | for i = 0, 100 do | |
381 | expart.Transparency = expart.Transparency + 0.005 | |
382 | partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25) | |
383 | expart.CFrame = expart.CFrame | |
384 | expart2.Transparency = expart.Transparency + 0.005 | |
385 | partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25) | |
386 | expart2.CFrame = expart.CFrame | |
387 | wait(0) | |
388 | end | |
389 | snd.Parent = nil | |
390 | expart.Parent = nil | |
391 | expart2.Parent = nil | |
392 | expld.Parent = nil | |
393 | end | |
394 | ||
395 | function Explode2(rad,par) | |
396 | local expart = Instance.new("Part",script.Parent) | |
397 | local expart2 = Instance.new("Part",script.Parent) | |
398 | local snd = Instance.new("Sound",expart) | |
399 | snd.SoundId = "rbxassetid://165969964" | |
400 | snd.Volume = 3 | |
401 | local partMesh = Instance.new("SpecialMesh",expart) | |
402 | partMesh.MeshType = "Sphere" | |
403 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
404 | partMesh2.MeshType = "Sphere" | |
405 | local expld = Instance.new("Explosion", script.Parent) | |
406 | expld.BlastRadius = rad | |
407 | expld.Position = par.Position | |
408 | partMesh.Scale = vt(rad,rad,rad) | |
409 | expart.Size = vt(1,1,1)*1.5 | |
410 | expart.Transparency = 0.5 | |
411 | expart.Anchored = true | |
412 | expart.Material = "Neon" | |
413 | expart.BrickColor = bc("Deep orange") | |
414 | expart.CFrame = par.CFrame | |
415 | partMesh2.Scale = vt(rad,rad,rad) | |
416 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
417 | expart2.Transparency = 0.5 | |
418 | expart2.Anchored = true | |
419 | expart2.Material = "Neon" | |
420 | expart2.BrickColor = bc("Bright orange") | |
421 | expart2.CFrame = par.CFrame | |
422 | snd:Play() | |
423 | for i = 0, 100 do | |
424 | expart.Transparency = expart.Transparency + 0.005 | |
425 | partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25) | |
426 | expart.CFrame = expart.CFrame | |
427 | expart2.Transparency = expart.Transparency + 0.005 | |
428 | partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25) | |
429 | expart2.CFrame = expart.CFrame | |
430 | wait(0) | |
431 | end | |
432 | snd.Parent = nil | |
433 | expart.Parent = nil | |
434 | expart2.Parent = nil | |
435 | expld.Parent = nil | |
436 | end | |
437 | ||
438 | mouse.KeyDown:connect(function(k) | |
439 | ||
440 | k = k:lower() | |
441 | if k == "q" then | |
442 | local spart = Effect:Clone() | |
443 | spart.Parent = game.Players.LocalPlayer.Character | |
444 | spart.Transparency = 0 | |
445 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*5 | |
446 | wait() | |
447 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*15 | |
448 | wait() | |
449 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*25 | |
450 | wait() | |
451 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*35 | |
452 | wait() | |
453 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*45 | |
454 | wait() | |
455 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*55 | |
456 | wait() | |
457 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*65 | |
458 | wait() | |
459 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*75 | |
460 | wait() | |
461 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*85 | |
462 | wait() | |
463 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*95 | |
464 | wait() | |
465 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*105 | |
466 | spart.Transparency = 1 | |
467 | spart.Fire2:Destroy() | |
468 | spart.Fire:Destroy() | |
469 | Explode(25,spart) | |
470 | spart:Destroy() | |
471 | end | |
472 | if k == "e" then | |
473 | local spart = Effect:Clone() | |
474 | spart.Parent = game.Players.LocalPlayer.Character | |
475 | spart.Transparency = 0 | |
476 | spart.Anchored = false | |
477 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*0 | |
478 | spart.Position = spart.Position + vt(0,100,0) | |
479 | spart.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*150 | |
480 | wait(1) | |
481 | spart.Transparency = 1 | |
482 | spart.Fire2:Destroy() | |
483 | spart.Fire:Destroy() | |
484 | Explode2(75,spart) | |
485 | spart:Destroy() | |
486 | end | |
487 | if k == "r" then | |
488 | local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character) | |
489 | game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*275 | |
490 | wait(0.75) | |
491 | game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*-165 | |
492 | Explode(30,game.Players.LocalPlayer.Character.Torso) | |
493 | wait(0.5) | |
494 | ff:Destroy() | |
495 | end | |
496 | if k == "f" then | |
497 | local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character) | |
498 | for i = 0, 10 do | |
499 | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,10,0) | |
500 | wait(0) | |
501 | end | |
502 | for i = 0, 5 do | |
503 | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,1,0) | |
504 | wait(0) | |
505 | end | |
506 | game.Players.LocalPlayer.Character.Torso.Anchored = true | |
507 | wait(1.5) | |
508 | game.Players.LocalPlayer.Character.Torso.Anchored = false | |
509 | for i = 0, 10 do | |
510 | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,-1,0) | |
511 | wait(0) | |
512 | end | |
513 | wait(0.25) | |
514 | Explode2(62.5,game.Players.LocalPlayer.Character.Torso) | |
515 | wait(0.5) | |
516 | ff:Destroy() | |
517 | end | |
518 | end) | |
519 | ||
520 | local ContentProvider = game:GetService("ContentProvider") | |
521 | ||
522 | local function LoadAssets(AssetList) | |
523 | -- Takes an asset list and preloads it. Will not wait for them to load. | |
524 | ||
525 | for _, AssetId in pairs(AssetList) do | |
526 | ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId) | |
527 | end | |
528 | end | |
529 | ||
530 | LoadAssets({11442510,30956707}) | |
531 | local Gibs = game.Workspace | |
532 | ||
533 | function Kill(Character) | |
534 | Character.Humanoid.Health = 0 | |
535 | local poo = Instance.new("IntValue",Character) | |
536 | poo.Name = "haha nope" | |
537 | local svch = Character | |
538 | local hum = Character:findFirstChild("Humanoid") | |
539 | Character.Archivable = true | |
540 | local chrclone = Character:clone() | |
541 | Character.Archivable = false | |
542 | ||
543 | local ch = chrclone:GetChildren() | |
544 | local i | |
545 | for i = 1,#ch do | |
546 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then | |
547 | ch[i]:remove() | |
548 | end | |
549 | end | |
550 | local function Scan(ch) | |
551 | local e | |
552 | for e = 1,#ch do | |
553 | Scan(ch[e]:GetChildren()) | |
554 | if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then | |
555 | ch[e]:remove() | |
556 | end | |
557 | end | |
558 | end | |
559 | Scan(chrclone:GetChildren()) | |
560 | ||
561 | local hum2 = chrclone:findFirstChild("Humanoid") | |
562 | ||
563 | ||
564 | if hum2 ~= nil then | |
565 | hum2.Name = "Humanoid2" | |
566 | hum2.PlatformStand = true | |
567 | hum2.Sit = true | |
568 | hum2.MaxHealth = 0 | |
569 | hum2.Health = 0 | |
570 | end | |
571 | ||
572 | local ch = Character:GetChildren() | |
573 | local i | |
574 | for i = 1,#ch do | |
575 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
576 | ch[i]:remove() | |
577 | end | |
578 | end | |
579 | ||
580 | wait(0.2) | |
581 | ||
582 | local ch = Character:GetChildren() | |
583 | local i | |
584 | for i = 1,#ch do | |
585 | if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
586 | ch[i]:remove() | |
587 | end | |
588 | end | |
589 | Character = chrclone | |
590 | local Torso = Character.Torso | |
591 | local movevector = Vector3.new() | |
592 | ||
593 | if Torso then | |
594 | local Head = Character:FindFirstChild("Head") | |
595 | local Limb = Character:FindFirstChild("Right Arm") | |
596 | if Limb then | |
597 | ||
598 | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) | |
599 | local Joint = Instance.new("Glue") | |
600 | Joint.Name = "RightShoulder" | |
601 | Joint.Part0 = Torso | |
602 | Joint.Part1 = Limb | |
603 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
604 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
605 | Joint.Parent = Torso | |
606 | ||
607 | local B = Instance.new("Part") | |
608 | B.TopSurface = 0 | |
609 | B.BottomSurface = 0 | |
610 | B.formFactor = "Symmetric" | |
611 | B.Size = Vector3.new(1, 1, 1) | |
612 | B.Transparency = 1 | |
613 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
614 | B.Parent = Character | |
615 | local W = Instance.new("Weld") | |
616 | W.Part0 = Limb | |
617 | W.Part1 = B | |
618 | W.C0 = CFrame.new(0, -0.5, 0) | |
619 | W.Parent = Limb | |
620 | ||
621 | end | |
622 | local Limb = Character:FindFirstChild("Left Arm") | |
623 | if Limb then | |
624 | ||
625 | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) | |
626 | local Joint = Instance.new("Glue") | |
627 | Joint.Name = "LeftShoulder" | |
628 | Joint.Part0 = Torso | |
629 | Joint.Part1 = Limb | |
630 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
631 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
632 | Joint.Parent = Torso | |
633 | ||
634 | local B = Instance.new("Part") | |
635 | B.TopSurface = 0 | |
636 | B.BottomSurface = 0 | |
637 | B.formFactor = "Symmetric" | |
638 | B.Size = Vector3.new(1, 1, 1) | |
639 | B.Transparency = 1 | |
640 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
641 | B.Parent = Character | |
642 | local W = Instance.new("Weld") | |
643 | W.Part0 = Limb | |
644 | W.Part1 = B | |
645 | W.C0 = CFrame.new(0, -0.5, 0) | |
646 | W.Parent = Limb | |
647 | ||
648 | end | |
649 | local Limb = Character:FindFirstChild("Right Leg") | |
650 | if Limb then | |
651 | ||
652 | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) | |
653 | local Joint = Instance.new("Glue") | |
654 | Joint.Name = "RightHip" | |
655 | Joint.Part0 = Torso | |
656 | Joint.Part1 = Limb | |
657 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
658 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
659 | Joint.Parent = Torso | |
660 | ||
661 | local B = Instance.new("Part") | |
662 | B.TopSurface = 0 | |
663 | B.BottomSurface = 0 | |
664 | B.formFactor = "Symmetric" | |
665 | B.Size = Vector3.new(1, 1, 1) | |
666 | B.Transparency = 1 | |
667 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
668 | B.Parent = Character | |
669 | local W = Instance.new("Weld") | |
670 | W.Part0 = Limb | |
671 | W.Part1 = B | |
672 | W.C0 = CFrame.new(0, -0.5, 0) | |
673 | W.Parent = Limb | |
674 | ||
675 | end | |
676 | local Limb = Character:FindFirstChild("Left Leg") | |
677 | if Limb then | |
678 | ||
679 | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) | |
680 | local Joint = Instance.new("Glue") | |
681 | Joint.Name = "LeftHip" | |
682 | Joint.Part0 = Torso | |
683 | Joint.Part1 = Limb | |
684 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
685 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
686 | Joint.Parent = Torso | |
687 | ||
688 | local B = Instance.new("Part") | |
689 | B.TopSurface = 0 | |
690 | B.BottomSurface = 0 | |
691 | B.formFactor = "Symmetric" | |
692 | B.Size = Vector3.new(1, 1, 1) | |
693 | B.Transparency = 1 | |
694 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
695 | B.Parent = Character | |
696 | local W = Instance.new("Weld") | |
697 | W.Part0 = Limb | |
698 | W.Part1 = B | |
699 | W.C0 = CFrame.new(0, -0.5, 0) | |
700 | W.Parent = Limb | |
701 | ||
702 | end | |
703 | --[ | |
704 | local Bar = Instance.new("Part") | |
705 | Bar.TopSurface = 0 | |
706 | Bar.BottomSurface = 0 | |
707 | Bar.formFactor = "Symmetric" | |
708 | Bar.Size = Vector3.new(1, 1, 1) | |
709 | Bar.Transparency = 1 | |
710 | Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0) | |
711 | Bar.Parent = Character | |
712 | local Weld = Instance.new("Weld") | |
713 | Weld.Part0 = Torso | |
714 | Weld.Part1 = Bar | |
715 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
716 | Weld.Parent = Torso | |
717 | --]] | |
718 | end | |
719 | Character.Parent = Gibs | |
720 | game.Debris:AddItem(Character, 12) | |
721 | if movevector ~= Vector3.new() then | |
722 | for i = 1,10 do | |
723 | wait() | |
724 | Torso.Velocity = Vector3.new(0,0,-100) | |
725 | Head.Velocity = movevector * 200 | |
726 | end | |
727 | end | |
728 | local duh = Torso | |
729 | ee = Instance.new("Part") | |
730 | ee.Anchored = false | |
731 | ee.CanCollide = false | |
732 | ee.Parent = duh | |
733 | ee.Transparency =1 | |
734 | ee.Size = Vector3.new(0.15, 0.15, 0.15) | |
735 | wee = Instance.new("Weld") | |
736 | wee.Parent = duh | |
737 | wee.Part0 = duh | |
738 | wee.Part1 = ee | |
739 | wee.C0 = CFrame.new(0, 1, 0) | |
740 | ge = Instance.new('ParticleEmitter') | |
741 | ge.Parent = ee | |
742 | ge.Texture = "rbxassetid://29712167" | |
743 | ge.Size = NumberSequence.new(0.2,0.05) | |
744 | ge.Acceleration = Vector3.new(0, -20, 0) | |
745 | ge.Rate = 100000 | |
746 | ge.Speed = NumberRange.new(7,8) | |
747 | ge.Lifetime = NumberRange.new(3,4) | |
748 | ge.VelocitySpread = 10 | |
749 | ge.VelocityInheritance = 0.3 | |
750 | ea = Instance.new("Part") | |
751 | ea.Anchored = false | |
752 | ea.CanCollide = false | |
753 | ea.Parent = Character.Head | |
754 | ea.Transparency =1 | |
755 | ea.Size = Vector3.new(0.15, 0.15, 0.15) | |
756 | wea = Instance.new("Weld") | |
757 | wea.Parent = Character.Head | |
758 | wea.Part0 = Character.Head | |
759 | wea.Part1 = ea | |
760 | wea.C0 = CFrame.new(0, -0.7, 0) | |
761 | ga = Instance.new('ParticleEmitter') | |
762 | ga.Parent = ea | |
763 | ga.Texture = "rbxassetid://29712167" | |
764 | ga.Size = NumberSequence.new(0.2,0.05) | |
765 | ga.Acceleration = Vector3.new(0, -20, 0) | |
766 | ga.Rate = 100000 | |
767 | ga.Speed = NumberRange.new(7,8) | |
768 | ga.Lifetime = NumberRange.new(3,4) | |
769 | ga.VelocitySpread = 10 | |
770 | ga.VelocityInheritance = 0.3 | |
771 | ga.EmissionDirection = Enum.NormalId.Bottom | |
772 | end | |
773 | ||
774 | local plr = game.Players.LocalPlayer | |
775 | local chr = plr.Character | |
776 | local mouse = plr:GetMouse() | |
777 | local intro = coroutine.wrap(function() | |
778 | local gui = Instance.new('ScreenGui',plr.PlayerGui) | |
779 | gui.Name = "Intro" | |
780 | local fr = Instance.new('Frame',gui) | |
781 | fr.Size = UDim2.new(0.4,0,0,0) | |
782 | fr.Position = UDim2.new(0.3,0,-0.1,0) | |
783 | fr.BorderColor3 = Color3.fromRGB(198, 45, 45) | |
784 | fr.BorderSizePixel = 5 | |
785 | fr.BackgroundColor3 = Color3.fromRGB(38, 38, 38) | |
786 | local title = Instance.new('TextLabel',fr) | |
787 | title.Size = UDim2.new(1,0,0.4,0) | |
788 | title.Position = UDim2.new(0,0,0.1,0) | |
789 | title.BackgroundTransparency = 1 | |
790 | title.TextColor3 = Color3.fromRGB(198, 45, 45) | |
791 | title.TextScaled = true | |
792 | title.Text = 'Deadpool Script' | |
793 | local desc = Instance.new('TextLabel',fr) | |
794 | desc.Size = UDim2.new(1,0,0.5,0) | |
795 | desc.Position = UDim2.new(0,0,0.5,0) | |
796 | desc.BackgroundTransparency = 1 | |
797 | desc.TextColor3 = Color3.fromRGB(198, 45, 45) | |
798 | desc.TextScaled = true | |
799 | desc.Text = '' | |
800 | wait(1) | |
801 | fr:TweenSize(UDim2.new(0.4,0,0.5,0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,2) | |
802 | wait(2) | |
803 | local str = 'Hotkey to equip katana is N. Use Z to stab and X to slice heads off. Created by mustardfoot.' | |
804 | local leng = string.len(str) | |
805 | for i = 1,leng do | |
806 | desc.Text = string.sub(str,1,i) | |
807 | wait() | |
808 | end | |
809 | wait(2) | |
810 | fr:TweenSize(UDim2.new(0.4,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,0.8) | |
811 | wait(2) | |
812 | gui:Destroy() | |
813 | end) | |
814 | intro() | |
815 | ||
816 | ||
817 | wait(2) | |
818 | local tors = chr.Torso | |
819 | chr.Head.Transparency = 1 | |
820 | for i,v in pairs(chr:GetChildren()) do | |
821 | if v.ClassName == "CharacterMesh" then | |
822 | v:Destroy() | |
823 | end | |
824 | end | |
825 | local humroot = chr.HumanoidRootPart:Clone() | |
826 | local torsclone = tors:Clone() | |
827 | local anim = chr.Animate:Clone() | |
828 | local hum = chr.Humanoid:Clone() | |
829 | local head = chr.Head:Clone() | |
830 | local neck = chr.Torso.Neck:Clone() | |
831 | local rightarm = chr["Right Arm"]:Clone() | |
832 | local leftarm = chr["Left Arm"]:Clone() | |
833 | local leftleg = chr["Left Leg"]:Clone() | |
834 | local rightleg = chr["Right Leg"]:Clone() | |
835 | local rightshoulder = tors["Right Shoulder"]:Clone() | |
836 | local leftshoulder = tors["Left Shoulder"]:Clone() | |
837 | local righthip = tors["Right Hip"]:Clone() | |
838 | local lefthip = tors["Left Hip"]:Clone() | |
839 | local shirt = nil | |
840 | local pants = nil | |
841 | local hats = {} | |
842 | local lastpos = CFrame.new(0,0,0) | |
843 | local on = true | |
844 | local doing = false | |
845 | local stabbing = false | |
846 | local slicing = false | |
847 | local toolz = Instance.new('Tool',plr.Backpack) | |
848 | toolz.Name = "Katana" | |
849 | toolz.RequiresHandle = false | |
850 | toolz.CanBeDropped = false | |
851 | local partz = Instance.new('Part',toolz) | |
852 | partz.Size = Vector3.new(0.2,0.2,3) | |
853 | partz.CanCollide = false | |
854 | local meshz = Instance.new('SpecialMesh',partz) | |
855 | meshz.MeshId = 'rbxassetid://11442510' | |
856 | meshz.TextureId = 'rbxassetid://30956707' | |
857 | meshz.VertexColor = Vector3.new(0,0,0) | |
858 | ||
859 | toolz.Equipped:connect(function(mouse) | |
860 | if chr:FindFirstChild('Right Arm') then | |
861 | local weld = Instance.new('Weld',partz) | |
862 | weld.Part0 = partz | |
863 | weld.Part1 = chr["Right Arm"] | |
864 | weld.C0 = CFrame.new(0.9,0,-1.25)*CFrame.Angles(math.pi,0,-math.pi/2) | |
865 | end | |
866 | mouse.KeyDown:connect(function(key) | |
867 | if doing == false then | |
868 | if key == 'z' then | |
869 | if chr:FindFirstChild('Right Arm') and chr:FindFirstChild('Torso') then | |
870 | doing = true | |
871 | local weld = Instance.new('Weld',chr["Right Arm"]) | |
872 | weld.Part0 = chr["Right Arm"] | |
873 | weld.Part1 = chr.Torso | |
874 | weld.C0 = CFrame.new(-1.5,0,0) | |
875 | for i=1,25 do | |
876 | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,1,0.9)*CFrame.Angles(math.pi/2.5,0,-math.pi/2.5),i/25) | |
877 | wait() | |
878 | end | |
879 | wait() | |
880 | stabbing = true | |
881 | for i=1,10 do | |
882 | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0.8,0)*CFrame.Angles(-math.pi/4,0,-math.pi/6),i/10) | |
883 | wait() | |
884 | end | |
885 | wait() | |
886 | for i=1,25 do | |
887 | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i/25) | |
888 | wait() | |
889 | end | |
890 | chr["Right Arm"]:Destroy() | |
891 | doing = false | |
892 | stabbing = false | |
893 | end | |
894 | elseif key == 'x' then | |
895 | if chr:FindFirstChild('Right Arm') and chr:FindFirstChild('Torso') then | |
896 | doing = true | |
897 | local weld = Instance.new('Weld',chr["Right Arm"]) | |
898 | weld.Part0 = chr["Right Arm"] | |
899 | weld.Part1 = chr.Torso | |
900 | weld.C0 = CFrame.new(-1.5,0,0) | |
901 | for i=1,25 do | |
902 | weld.C0 = weld.C0:lerp(CFrame.new(-0.5,0.7,-0.5)*CFrame.Angles(math.pi/8,math.pi/1,math.pi/1.5),i/25) | |
903 | wait() | |
904 | end | |
905 | wait() | |
906 | slicing = true | |
907 | for i=1,5 do | |
908 | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0.8,0)*CFrame.Angles(-math.pi/8,0,-math.pi/4),i/5) | |
909 | wait() | |
910 | end | |
911 | wait() | |
912 | for i=1,12.5 do | |
913 | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i/12.5) | |
914 | wait() | |
915 | end | |
916 | chr["Right Arm"]:Destroy() | |
917 | doing = false | |
918 | slicing = false | |
919 | end | |
920 | end | |
921 | end | |
922 | end) | |
923 | end) | |
924 | ||
925 | partz.Touched:connect(function(hit) | |
926 | if hit.Parent:FindFirstChild('Humanoid') and stabbing and hit.Parent ~= chr then | |
927 | hit.Parent.Humanoid.Health = 0 | |
928 | elseif hit.Parent:FindFirstChild('heck') == nil and slicing then | |
929 | local he = Instance.new('IntValue',hit.Parent) | |
930 | he.Name = "heck" | |
931 | Kill(hit.Parent) | |
932 | end | |
933 | end) | |
934 | ||
935 | toolz.Unequipped:connect(function(mouse) | |
936 | if partz:FindFirstChildOfClass('Weld') then | |
937 | partz:FindFirstChildOfClass('Weld'):Destroy() | |
938 | end | |
939 | end) | |
940 | toolz.AncestryChanged:connect(function(child, parent) | |
941 | if parent ~= chr and parent ~= plr.Backpack then | |
942 | wait() | |
943 | toolz.Parent = plr.Backpack | |
944 | end | |
945 | end) | |
946 | ||
947 | mouse.KeyDown:connect(function(key) | |
948 | if key == "n" then | |
949 | wait() | |
950 | toolz:Equip() | |
951 | end | |
952 | end) | |
953 | if chr:FindFirstChildOfClass('Shirt') then | |
954 | shirt = chr:FindFirstChildOfClass('Shirt'):Clone() | |
955 | end | |
956 | if chr:FindFirstChildOfClass('Pants') then | |
957 | pants = chr:FindFirstChildOfClass('Pants'):Clone() | |
958 | end | |
959 | for i,v in pairs(chr:GetChildren()) do | |
960 | if v.ClassName == "Accessory" then | |
961 | table.insert(hats,v:Clone()) | |
962 | end | |
963 | end | |
964 | local rootjoint = chr.HumanoidRootPart.RootJoint:Clone() | |
965 | chr.Humanoid:Destroy() | |
966 | local gui = Instance.new('ScreenGui') | |
967 | gui.Parent = game.Players.LocalPlayer.PlayerGui | |
968 | gui.Name = "Deadpool" | |
969 | gui.ResetOnSpawn = false | |
970 | local frame = Instance.new('Frame',gui) | |
971 | frame.Size = UDim2.new(0.2,0,0.2,0) | |
972 | frame.Position = UDim2.new(0,0,0.9,0) | |
973 | frame.BackgroundColor3 = Color3.fromRGB(38, 38, 38) | |
974 | frame.BorderSizePixel = 4 | |
975 | frame.BorderColor3 = Color3.fromRGB(198, 45, 45) | |
976 | frame.Active = true | |
977 | frame.Draggable = true | |
978 | local txt = Instance.new('TextLabel',frame) | |
979 | txt.Text = "Deadpool Gui" | |
980 | txt.TextColor3 = Color3.fromRGB(198, 45, 45) | |
981 | txt.Size = UDim2.new(1,0,0.3,0) | |
982 | txt.TextScaled = true | |
983 | txt.BackgroundTransparency = 1 | |
984 | local but = Instance.new('TextButton',frame) | |
985 | but.Text = "Toggle Suit" | |
986 | but.TextColor3 = Color3.fromRGB(38, 38, 38) | |
987 | but.Size = UDim2.new(0.7,0,0.3,0) | |
988 | but.Position = UDim2.new(0.15,0,0.5,0) | |
989 | but.BorderSizePixel = 0 | |
990 | but.TextScaled = true | |
991 | but.BackgroundColor3 = Color3.fromRGB(198, 45, 45) | |
992 | but.MouseButton1Down:connect(function() | |
993 | on = not on | |
994 | end) | |
995 | game:GetService('RunService').Stepped:connect(function() | |
996 | if chr.Parent == nil then | |
997 | chr.RobloxLocked = false | |
998 | chr.Parent = game.Workspace | |
999 | end | |
1000 | if chr:FindFirstChildOfClass('Humanoid') == nil then | |
1001 | hum:Clone().Parent = chr | |
1002 | chr.Animate:Destroy() | |
1003 | anim:Clone().Parent = chr | |
1004 | end | |
1005 | if chr:FindFirstChild('HumanoidRootPart') == nil then | |
1006 | humroot:Clone().Parent = chr | |
1007 | humroot.CFrame = lastpos | |
1008 | chr.Humanoid:Destroy() | |
1009 | hum:Clone().Parent = chr | |
1010 | chr.Animate:Destroy() | |
1011 | anim:Clone().Parent = chr | |
1012 | chr.HumanoidRootPart.RootJoint:Destroy() | |
1013 | end | |
1014 | if chr:FindFirstChild('Torso') == nil then | |
1015 | chr.Humanoid:Destroy() | |
1016 | local tor = tors:Clone() | |
1017 | tor.Parent = chr | |
1018 | hum:Clone().Parent = chr | |
1019 | chr.Animate:Destroy() | |
1020 | anim:Clone().Parent = chr | |
1021 | end | |
1022 | if chr.HumanoidRootPart:FindFirstChild('RootJoint') == nil then | |
1023 | local rtj = rootjoint:Clone() | |
1024 | rtj.Parent = chr.HumanoidRootPart | |
1025 | rtj.Part0 = chr.HumanoidRootPart | |
1026 | rtj.Part1 = chr.Torso | |
1027 | end | |
1028 | if chr:FindFirstChild('Head') == nil then | |
1029 | chr.Humanoid:Destroy() | |
1030 | head:Clone().Parent = chr | |
1031 | hum:Clone().Parent = chr | |
1032 | chr.Animate:Destroy() | |
1033 | anim:Clone().Parent = chr | |
1034 | end | |
1035 | if chr.Torso:FindFirstChild('Neck') == nil then | |
1036 | chr.Humanoid:Destroy() | |
1037 | local hec = neck:Clone() | |
1038 | hec.Parent = chr.Torso | |
1039 | hec.Part0 = chr.Torso | |
1040 | hec.Part1 = chr.Head | |
1041 | hum:Clone().Parent = chr | |
1042 | chr.Animate:Destroy() | |
1043 | anim:Clone().Parent = chr | |
1044 | end | |
1045 | if chr:FindFirstChild('Right Leg') == nil then | |
1046 | rightleg:Clone().Parent = chr | |
1047 | local fi = righthip:Clone() | |
1048 | fi.Parent = chr.Torso | |
1049 | fi.Part0 = chr.Torso | |
1050 | fi.Part1 = chr["Right Leg"] | |
1051 | end | |
1052 | if chr:FindFirstChild('Right Arm') == nil then | |
1053 | rightarm:Clone().Parent = chr | |
1054 | local fi = rightshoulder:Clone() | |
1055 | fi.Parent = chr.Torso | |
1056 | fi.Part0 = chr.Torso | |
1057 | fi.Part1 = chr["Right Arm"] | |
1058 | end | |
1059 | if chr:FindFirstChild('Left Leg') == nil then | |
1060 | leftleg:Clone().Parent = chr | |
1061 | local fi = lefthip:Clone() | |
1062 | fi.Parent = chr.Torso | |
1063 | fi.Part0 = chr.Torso | |
1064 | fi.Part1 = chr["Left Leg"] | |
1065 | end | |
1066 | if chr:FindFirstChild('Left Arm') == nil then | |
1067 | leftarm:Clone().Parent = chr | |
1068 | local fi = leftshoulder:Clone() | |
1069 | fi.Parent = chr.Torso | |
1070 | fi.Part0 = chr.Torso | |
1071 | fi.Part1 = chr["Left Arm"] | |
1072 | end | |
1073 | for i,v in pairs(chr:GetChildren()) do | |
1074 | if v.Name == "Mask" or v.ClassName == "Accessory" or v.ClassName == "Shirt" or v.ClassName == "Pants" or v.Name == "KatanaHolder" then | |
1075 | v:Destroy() | |
1076 | end | |
1077 | end | |
1078 | chr.Humanoid.Health = chr.Humanoid.MaxHealth | |
1079 | if partz:FindFirstChild('Weld') == nil and toolz.Parent == chr then | |
1080 | local weld = Instance.new('Weld',partz) | |
1081 | weld.Part0 = partz | |
1082 | weld.Part1 = chr["Right Arm"] | |
1083 | weld.C0 = CFrame.new(0.9,0,-1.25)*CFrame.Angles(math.pi,0,-math.pi/2) | |
1084 | end | |
1085 | lastpos = chr.HumanoidRootPart.CFrame | |
1086 | local kat = Instance.new('Part',chr) | |
1087 | kat.Size = Vector3.new(0.4,3,0.2) | |
1088 | kat.Name = "KatanaHolder" | |
1089 | kat.Material = Enum.Material.SmoothPlastic | |
1090 | kat.BrickColor = BrickColor.new('Really black') | |
1091 | kat.CanCollide = false | |
1092 | local we = Instance.new('Weld',kat) | |
1093 | we.Part0 = kat | |
1094 | we.Part1 = chr.Torso | |
1095 | we.C0 = CFrame.new(0,0,-0.5)*CFrame.Angles(0,0,0.5) | |
1096 | if on == true then | |
1097 | local shirt = Instance.new('Shirt',chr) | |
1098 | shirt.ShirtTemplate = 'rbxassetid://379545459' | |
1099 | local pants = Instance.new('Pants',chr) | |
1100 | pants.PantsTemplate = 'rbxassetid://379545671' | |
1101 | local mask = Instance.new('Part',chr) | |
1102 | mask.Name = "Mask" | |
1103 | mask.Size = Vector3.new(2,1,1) | |
1104 | mask.BrickColor = BrickColor.new('Bright red') | |
1105 | local mesh = Instance.new('SpecialMesh',mask) | |
1106 | mesh.Scale = Vector3.new(1.3,1.3,1.3) | |
1107 | local weld = Instance.new('Weld',mask) | |
1108 | weld.Part0 = mask | |
1109 | weld.Part1 = chr.Head | |
1110 | local eyesurround = Instance.new('Part',mask) | |
1111 | eyesurround.BrickColor = BrickColor.new('Really black') | |
1112 | eyesurround.Size = Vector3.new(0.3,0.5,0.2) | |
1113 | local mesh2 = Instance.new('SpecialMesh',eyesurround) | |
1114 | mesh2.MeshType = Enum.MeshType.Sphere | |
1115 | mesh2.Scale = Vector3.new(1,1,0.5) | |
1116 | local weld2 = Instance.new('Weld',eyesurround) | |
1117 | weld2.Part0 = eyesurround | |
1118 | weld2.Part1 = mask | |
1119 | weld2.C0 = CFrame.new(0.1,-0.22,0.58)*CFrame.Angles(0,0,-0.2) | |
1120 | local eyesurround2 = Instance.new('Part',mask) | |
1121 | eyesurround2.BrickColor = BrickColor.new('Really black') | |
1122 | eyesurround2.Size = Vector3.new(0.3,0.5,0.2) | |
1123 | local mesh3 = Instance.new('SpecialMesh',eyesurround2) | |
1124 | mesh3.MeshType = Enum.MeshType.Sphere | |
1125 | mesh3.Scale = Vector3.new(1,1,0.5) | |
1126 | local weld3 = Instance.new('Weld',eyesurround2) | |
1127 | weld3.Part0 = eyesurround2 | |
1128 | weld3.Part1 = mask | |
1129 | weld3.C0 = CFrame.new(-0.1,-0.22,0.58)*CFrame.Angles(0,0,0.2) | |
1130 | local eye = Instance.new('Part',mask) | |
1131 | eye.BrickColor = BrickColor.new('Institutional white') | |
1132 | eye.Size = Vector3.new(0.2,0.2,0.2) | |
1133 | local mesh4 = Instance.new('SpecialMesh',eye) | |
1134 | mesh4.MeshType = Enum.MeshType.Sphere | |
1135 | mesh4.Scale = Vector3.new(1,1,0.5) | |
1136 | local weld4 = Instance.new('Weld',eye) | |
1137 | weld4.Part0 = eye | |
1138 | weld4.Part1 = mask | |
1139 | weld4.C0 = CFrame.new(0.1,-0.22,0.59)*CFrame.Angles(0,0,-0.2) | |
1140 | local eye2 = Instance.new('Part',mask) | |
1141 | eye2.BrickColor = BrickColor.new('Institutional white') | |
1142 | eye2.Size = Vector3.new(0.2,0.2,0.2) | |
1143 | local mesh5 = Instance.new('SpecialMesh',eye2) | |
1144 | mesh5.MeshType = Enum.MeshType.Sphere | |
1145 | mesh5.Scale = Vector3.new(1,1,0.5) | |
1146 | local weld5 = Instance.new('Weld',eye2) | |
1147 | weld5.Part0 = eye2 | |
1148 | weld5.Part1 = mask | |
1149 | weld5.C0 = CFrame.new(-0.1,-0.22,0.59)*CFrame.Angles(0,0,0.2) | |
1150 | else | |
1151 | chr.Head.Transparency = 0 | |
1152 | if shirt ~= nil then | |
1153 | shirt:Clone().Parent = chr | |
1154 | end | |
1155 | if pants ~= nil then | |
1156 | pants:Clone().Parent = chr | |
1157 | end | |
1158 | for i,v in pairs(hats) do | |
1159 | v:Clone().Parent = chr | |
1160 | end | |
1161 | end | |
1162 | end) | |
1163 | ||
1164 | local p = game.Players.LocalPlayer | |
1165 | local char = p.Character | |
1166 | local hed = char.Head | |
1167 | local LocalPlayer = p | |
1168 | ||
1169 | local Player = game.Players.localPlayer | |
1170 | local Character = p.Character | |
1171 | local LeftArm2 = Character["Left Arm"] | |
1172 | local RightArm2 = Character["Right Arm"] | |
1173 | local LeftLeg2 = Character["Left Leg"] | |
1174 | local RightLeg2 = Character["Right Leg"] | |
1175 | local Head2 = Character.Head | |
1176 | local Torso2 = Character.Torso | |
1177 | ||
1178 | --created by SoldierJoao | |
1179 | --Credits to metabee for the knives edit | |
1180 | ||
1181 | mse = Player:GetMouse() | |
1182 | ||
1183 | sound = Instance.new("Sound", Character) | |
1184 | sound.SoundId = "rbxassetid://242076158" | |
1185 | sound.Volume = 2.5 | |
1186 | sound2 = Instance.new("Sound", Character) | |
1187 | sound2.SoundId = "rbxassetid://242076158" | |
1188 | sound2.Volume = 2.5 | |
1189 | sound3 = Instance.new("Sound", Character) | |
1190 | sound3.SoundId = "rbxassetid://242076158" | |
1191 | sound3.Volume = 1.8 | |
1192 | sound4 = Instance.new("Sound", Character) | |
1193 | sound4.SoundId = "rbxassetid://242076158" | |
1194 | sound4.Volume = 2 | |
1195 | TSTheme = Instance.new("Sound", Character) | |
1196 | TSTheme.SoundId = "rbxassetid://242076158" | |
1197 | TSTheme.Volume = 2 | |
1198 | canworld = true | |
1199 | mse.KeyDown:connect(function(key) | |
1200 | key = key:lower() | |
1201 | if key == "t" then | |
1202 | if canworld == false then return end | |
1203 | if canworld then | |
1204 | canworld = false | |
1205 | sound3:Play() | |
1206 | wait(2) | |
1207 | sound:Play() | |
1208 | sound4:Play() | |
1209 | TSTheme:Play() | |
1210 | ||
1211 | local function spawnpart() | |
1212 | sphere = Instance.new("Part") | |
1213 | --game.Debris:AddItem(sphere,3) | |
1214 | local sm = Instance.new("SpecialMesh", sphere) | |
1215 | sm.MeshType = "Sphere" | |
1216 | sphere.Transparency = 0.5 | |
1217 | sphere.Anchored = true | |
1218 | sphere.CanCollide = false | |
1219 | sphere.Material = "Neon" | |
1220 | sphere.BrickColor = BrickColor.new("Black") | |
1221 | end | |
1222 | ||
1223 | local function weld(lol) | |
1224 | local weld = Instance.new("Weld", Player.Character.Torso) | |
1225 | weld.Part0 = Player.Character.Torso | |
1226 | weld.Part1 = lol | |
1227 | weld.C0 = Player.Character.Torso.CFrame:inverse() | |
1228 | weld.C1 = lol.CFrame:inverse() | |
1229 | end | |
1230 | wait() | |
1231 | spawnpart() | |
1232 | for i, v in pairs(game.Players:GetChildren()) do | |
1233 | t = v.Character:FindFirstChild("Torso") | |
1234 | if t then | |
1235 | t.Anchored = true | |
1236 | Player.Character:FindFirstChild("Torso").Anchored = false | |
1237 | end | |
1238 | RA = v.Character:FindFirstChild("Right Arm") | |
1239 | if RA then | |
1240 | RA.Anchored = true | |
1241 | Player.Character:FindFirstChild("Right Arm").Anchored = false | |
1242 | end | |
1243 | LA = v.Character:FindFirstChild("Left Arm") | |
1244 | if LA then | |
1245 | LA.Anchored = true | |
1246 | Player.Character:FindFirstChild("Left Arm").Anchored = false | |
1247 | end | |
1248 | RL = v.Character:FindFirstChild("Right Leg") | |
1249 | if RL then | |
1250 | RL.Anchored = true | |
1251 | Player.Character:FindFirstChild("Right Leg").Anchored = false | |
1252 | end | |
1253 | LL = v.Character:FindFirstChild("Left Leg") | |
1254 | if LL then | |
1255 | LL.Anchored = true | |
1256 | Player.Character:FindFirstChild("Left Leg").Anchored = false | |
1257 | end | |
1258 | end | |
1259 | weld(sphere) | |
1260 | cce = Instance.new("ColorCorrectionEffect", game.Lighting) | |
1261 | cce.Saturation = -5 | |
1262 | --game.Debris:AddItem(cce, 5) | |
1263 | sphere.Parent = Character.Torso | |
1264 | for i = 1,3 do | |
1265 | sphere.Size = sphere.Size + Vector3.new(50,50,50) | |
1266 | wait() | |
1267 | end | |
1268 | wait() | |
1269 | sphere:Destroy() | |
1270 | BeeSpeed = 0 | |
1271 | cce.Saturation = -0.1 | |
1272 | wait(0.3) | |
1273 | cce.Saturation = -0.2 | |
1274 | wait(0.3) | |
1275 | cce.Saturation = -0.3 | |
1276 | wait(0.2) | |
1277 | cce.Saturation = -1.5 | |
1278 | wait() | |
1279 | end | |
1280 | end | |
1281 | end | |
1282 | ) | |
1283 | ||
1284 | ||
1285 | mse.KeyDown:connect(function(key) | |
1286 | key = key:lower() | |
1287 | if key == "y" then | |
1288 | canworld = true | |
1289 | sound2:Play() | |
1290 | wait() | |
1291 | BeeSpeed = 1 | |
1292 | cce.Saturation = -1.3 | |
1293 | wait(0.5) | |
1294 | BeeSpeed = 1.2 | |
1295 | cce.Saturation = -0.5 | |
1296 | wait(0.5) | |
1297 | BeeSpeed = 1.4 | |
1298 | cce.Saturation = -0.4 | |
1299 | wait(0.3) | |
1300 | BeeSpeed = 1.5 | |
1301 | cce.Saturation = -0.2 | |
1302 | wait(0.2) | |
1303 | cce.Saturation = 0 | |
1304 | ||
1305 | for i, v in pairs(game.Players:GetChildren()) do | |
1306 | t = v.Character:FindFirstChild("Torso") | |
1307 | if t then | |
1308 | t.Anchored = false | |
1309 | end | |
1310 | RA = v.Character:FindFirstChild("Right Arm") | |
1311 | if RA then | |
1312 | RA.Anchored = false | |
1313 | end | |
1314 | LA = v.Character:FindFirstChild("Left Arm") | |
1315 | if LA then | |
1316 | LA.Anchored = false | |
1317 | end | |
1318 | RL = v.Character:FindFirstChild("Right Leg") | |
1319 | if RL then | |
1320 | RL.Anchored = false | |
1321 | end | |
1322 | LL = v.Character:FindFirstChild("Left Leg") | |
1323 | if LL then | |
1324 | LL.Anchored = false | |
1325 | end | |
1326 | end | |
1327 | BeeSpeed = 100 | |
1328 | TSTheme:Stop() | |
1329 | end | |
1330 | end) |