SHOW:
|
|
- or go back to the newest paste.
1 | -- Old time-bomb by supersonicfan111 | |
2 | ||
3 | - | local PLAYER="supersonicfan111" -- Replace supersonicfan111 with your name |
3 | + | local PLAYER="Supr14" -- Replace supersonicfan111 with your name |
4 | ||
5 | local bombsource=[[local p = script.Parent | |
6 | for i = 1, 3 do | |
7 | wait(1) | |
8 | print('tick') | |
9 | p.BrickColor=BrickColor.new('Really red') | |
10 | wait(1) | |
11 | p.BrickColor=BrickColor.new('Really black') | |
12 | print('tock') | |
13 | end | |
14 | for i = 1, 5 do | |
15 | p.BrickColor=BrickColor.new('Really red') | |
16 | print('tick') | |
17 | wait(.5) | |
18 | p.BrickColor=BrickColor.new('Really black') | |
19 | wait(.5) | |
20 | print('tock') | |
21 | end | |
22 | for i = 1, 5 do | |
23 | p.BrickColor=BrickColor.new('Really red') | |
24 | print('tick') | |
25 | wait(.2) | |
26 | p.BrickColor=BrickColor.new('Really black') | |
27 | wait(.2) | |
28 | print('tock') | |
29 | end | |
30 | for i = 1, 10 do | |
31 | p.BrickColor=BrickColor.new('Really red') | |
32 | print('tick') | |
33 | wait() | |
34 | p.BrickColor=BrickColor.new('Really black') | |
35 | wait() | |
36 | print('tock') | |
37 | end | |
38 | wait(.2) | |
39 | Instance.new("Explosion", workspace).Position=p.Position | |
40 | p:destroy'' | |
41 | ]] | |
42 | ||
43 | M=game:service'Players'[PLAYER] | |
44 | M.Chatted:connect(function(msg) | |
45 | if msg == 'bomb' then | |
46 | local p=Instance.new('Part', workspace) | |
47 | p.BrickColor=BrickColor.new('Really black') | |
48 | p.Shape='Ball' | |
49 | p.TopSurface=0 | |
50 | p.BottomSurface=0 | |
51 | p.Name = 'Bomb!' | |
52 | p.CFrame=M.Character.Head.CFrame*CFrame.new(0, 1, 0) | |
53 | print'created a bomb' | |
54 | --if game.CreatorId == 5111623 then | |
55 | newScript(bombsource, p) | |
56 | --else | |
57 | --print'cannot detonate bomb! (404 FUNCTION)' | |
58 | --end | |
59 | end | |
60 | end) |