SHOW:
|
|
- or go back to the newest paste.
1 | se = Instance.new("Part") | |
2 | se.Parent = game.Workspace | |
3 | - | se.Position = Vector3.new(-100, 0, -100) |
3 | + | se.Position = Vector3.new(-256, -5, -256) |
4 | - | se.Size = Vector3.new(25,4,25) |
4 | + | se.Size = Vector3.new(25, 5, 25) |
5 | se.CanCollide = false | |
6 | se.Anchored = true | |
7 | ||
8 | for I=1,25 do | |
9 | for l=1,25 do | |
10 | se.Position = se.Position + Vector3.new(0,0,25) | |
11 | p = se:Clone() | |
12 | p.BrickColor = BrickColor.new("Bright green") | |
13 | p.Material = ("Grass") | |
14 | p.CanCollide = false | |
15 | - | p.Parent = game.Workspace.Camera |
15 | + | p.Parent = game.Workspace |
16 | p.Anchored = true | |
17 | - | r = math.random(-1.1,1.1) |
17 | + | r = math.random(-1,1) |
18 | p.Position = p.Position + Vector3.new(0, r, 0) | |
19 | - | p.Size = Vector3.new(25,4,25) |
19 | + | p.Size = Vector3.new(25, 5 ,25) |
20 | p.CanCollide = true | |
21 | r2 = math.random(1,50) | |
22 | if r2 == (1) then | |
23 | spawn = Instance.new("SpawnLocation") | |
24 | - | game.Workspace.Base:Remove() |
24 | + | spawn.Position = p.Position + Vector3.new(0,1,0) |
25 | spawn.Size = Vector3.new(4,1,4) | |
26 | spawndecal = Instance.new("Decal") | |
27 | spawndecal.Texture = ("rbxasset://textures/SpawnLocation.png") | |
28 | spawndecal.Face = ("Top") | |
29 | spawndecal.Parent = spawn | |
30 | spawn.Parent = game.Workspace.Camera | |
31 | end | |
32 | r3 = math.random(1,10) | |
33 | if r3 == (1) then | |
34 | tree1 = Instance.new("Part") | |
35 | tree2 = Instance.new("Part") | |
36 | tree1.Anchored = true | |
37 | tree2.Anchored = true | |
38 | tree1.Parent = game.Workspace | |
39 | tree2.Parent = game.Workspace | |
40 | tree1.CanCollide = false | |
41 | tree1.Size = Vector3.new(2,12,2) | |
42 | tree2.Size = Vector3.new(8,8,8) | |
43 | tree1.Position = p.Position + Vector3.new(0, 7, 0) | |
44 | tree2.CanCollide = false | |
45 | tree2.Position = tree1.Position + Vector3.new(0, 7, 0) | |
46 | tree2.Shape = ("Ball") | |
47 | tree1.CanCollide = true | |
48 | tree1.BrickColor = BrickColor.new("Dirt brown") | |
49 | tree2.BrickColor = BrickColor.new("Bright green") | |
50 | tree1.TopSurface = ("Smooth") | |
51 | tree1.BottomSurface = ("Smooth") | |
52 | tree2.TopSurface = ("Smooth") | |
53 | tree2.BottomSurface = ("Smooth") | |
54 | end | |
55 | end | |
56 | se.Position = se.Position + Vector3.new(25,0,-625) | |
57 | wait(0.01) | |
58 | end | |
59 | ||
60 | local player = game.Players.LocalPlayer | |
61 | player.Chatted:connect(function(message) | |
62 | if message == ("cleart") then | |
63 | game.Workspace.Camera:ClearAllChildren() | |
64 | end | |
65 | end) | |
66 | ||
67 | while true do | |
68 | game.Workspace.Base.CanCollide = false | |
69 | game.Workspace.Base.Transparency = 1 | |
70 | wait(0.1) | |
71 | end |