SHOW:
|
|
- or go back to the newest paste.
1 | --game City Life | |
2 | --enjoy | |
3 | - | local Me = game:GetService("Players").LocalPlayer --You cannot use this on someone else. srry |
3 | + | local Me = game:GetService("Players").andreiek --You cannot use this on someone else. srry |
4 | local Char = Me.Character | |
5 | local Torso = Char.Torso | |
6 | local TickWait = 1 | |
7 | local Color = "Medium stone gray" | |
8 | local Dead = false | |
9 | ||
10 | local Tool = Instance.new("HopperBin", Me.Backpack) | |
11 | Tool.Name = "Bomb Vest" | |
12 | ||
13 | local Position = Vector3.new(0,100,0) | |
14 | function NewPart(Parent) | |
15 | local Part = Instance.new("Part", Parent) | |
16 | Part.CanCollide = false | |
17 | Part.FormFactor = "Custom" | |
18 | Part.Position = Position | |
19 | Part.TopSurface = "Smooth" | |
20 | Part.BottomSurface = "Smooth" | |
21 | Part.BrickColor = BrickColor.new(Color) | |
22 | Position = Position + Vector3.new(0,Part.Size.Y + 10,0) | |
23 | return Part | |
24 | end | |
25 | ||
26 | local Model = Char:FindFirstChild("Bomb") | |
27 | if Model then Model:Destroy() end | |
28 | ||
29 | Model = Instance.new("Model", Char) | |
30 | Model.Name = "Bomb" | |
31 | ||
32 | local Belt = NewPart(Model) | |
33 | Belt.Size = Vector3.new(2.2,0.5,1.2) | |
34 | local Weld = Instance.new("Weld", Belt) | |
35 | Weld.Part0 = Belt | |
36 | Weld.Part1 = Torso | |
37 | Weld.C0 = CFrame.new(0,1.1,0) | |
38 | local Light = Instance.new("PointLight", Belt) | |
39 | Light.Range = 15 | |
40 | Light.Brightness = 5 | |
41 | Light.Color = Color3.new(1,0,0) | |
42 | local Beep = Instance.new("Sound", Belt) | |
43 | Beep.SoundId = "http://www.roblox.com/asset/?id=188588790" | |
44 | local ExplodeSound = Instance.new("Sound", Belt) | |
45 | ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 --144507765 | |
46 | ExplodeSound.Pitch = 2.8 | |
47 | ExplodeSound.Volume = 3 | |
48 | ||
49 | local Back = NewPart(Model) | |
50 | Back.Size = Vector3.new(1.5,1.5,0.5) | |
51 | local Weld = Instance.new("Weld", Back) | |
52 | Weld.Part0 = Back | |
53 | Weld.Part1 = Torso | |
54 | Weld.C0 = CFrame.new(0,0.1,-0.75) | |
55 | ||
56 | local StrapLeft = NewPart(Model) | |
57 | StrapLeft.Size = Vector3.new(0.2,0.5,1.6) | |
58 | local Weld = Instance.new("Weld", StrapLeft) | |
59 | Weld.Part0 = StrapLeft | |
60 | Weld.Part1 = Torso | |
61 | Weld.C0 = CFrame.new(0.65,-0.9,-0.2) | |
62 | ||
63 | local BuckleLeft = NewPart(Model) | |
64 | BuckleLeft.Size = Vector3.new(0.2,1.5,0.2) | |
65 | local Weld = Instance.new("Weld", BuckleLeft) | |
66 | Weld.Part0 = BuckleLeft | |
67 | Weld.Part1 = Torso | |
68 | Weld.C0 = CFrame.new(0.65,0.1,0.5) | |
69 | ||
70 | local StrapRight = NewPart(Model) | |
71 | StrapRight.Size = Vector3.new(0.2,0.5,1.6) | |
72 | local Weld = Instance.new("Weld", StrapRight) | |
73 | Weld.Part0 = StrapRight | |
74 | Weld.Part1 = Torso | |
75 | Weld.C0 = CFrame.new(-0.65,-0.9,-0.2) | |
76 | ||
77 | local BuckleRight = NewPart(Model) | |
78 | BuckleRight.Size = Vector3.new(0.2,1.5,0.2) | |
79 | local Weld = Instance.new("Weld", BuckleRight) | |
80 | Weld.Part0 = BuckleRight | |
81 | Weld.Part1 = Torso | |
82 | Weld.C0 = CFrame.new(-0.65,0.1,0.5) | |
83 | ||
84 | Tool.Selected:connect(function(Mouse) | |
85 | TickWait = 0.3 | |
86 | Mouse.Icon = "http://www.roblox.com/asset/?id=9109985" | |
87 | ||
88 | Mouse.Button1Down:connect(function() | |
89 | if Dead == false then | |
90 | Dead = true | |
91 | ExplodeSound:Play() | |
92 | wait(1.4) | |
93 | game:GetService'ReplicatedStorage'.ITEM_PURCHASE:InvokeServer('meme', '8', '1527622') | |
94 | lp = game:GetService'Players'.LocalPlayer | |
95 | hat = lp.Character:WaitForChild'meme' | |
96 | hat.Handle.Transparency=1 | |
97 | hat.Handle.Mesh:Remove() | |
98 | end | |
99 | end) | |
100 | end) | |
101 | ||
102 | Tool.Deselected:connect(function() | |
103 | TickWait = 1 | |
104 | end) | |
105 | ||
106 | coroutine.wrap(function() | |
107 | repeat | |
108 | wait(TickWait) | |
109 | Light.Enabled = not Light.Enabled | |
110 | Beep:Play() | |
111 | until Dead == true | |
112 | end)() | |
113 | local grabknife = h | |
114 | function kill(plrtokill) | |
115 | --boom-- | |
116 | assets = {540034631, 178993946, 461493477, 110288809} | |
117 | me = game:GetService'Players'.LocalPlayer.Character:FindFirstChildOfClass'Humanoid' | |
118 | for i,v in pairs(me.Parent:GetChildren()) do | |
119 | if v:IsA'Accoutrement' then v.Parent = nil end | |
120 | end | |
121 | for i,v in pairs(assets) do | |
122 | game:GetService'ReplicatedStorage'.ITEM_PURCHASE:InvokeServer('xdd', tostring(game:GetService'MarketplaceService':GetProductInfo(v).AssetTypeId), v) | |
123 | end | |
124 | game:GetService'ReplicatedStorage'.ITEM_PURCHASE:InvokeServer('boom', '8', '1527622') | |
125 | game.Players.LocalPlayer.Character.boom.BootScript.Parent=workspace[plrtokill] | |
126 | print(workspace[plrtokill] .. " has been killed") | |
127 | ||
128 | end | |
129 | ||
130 | game:GetService'RunService'.Stepped:wait() | |
131 | grabknife.Parent = plr.Character | |
132 | for i = 1,3 do | |
133 | local lol = lp:FindFirstChildOfClass'Backpack':FindFirstChildOfClass'HopperBin' | |
134 | if lol:FindFirstChild'LocalScript' then lol:Destroy() end | |
135 | end |