View difference between Paste ID: SNFyFSVA and RqPdMpFF
SHOW: | | - or go back to the newest paste.
1
game.Workspace.Events.ItemPurchase:InvokeServer(0,"cgz",0)
2
3-
getglobal game
3+
getglobal=game
4-
getfield -1 Workspace
4+
get=field = -1 Workspace
5-
getfield -1 Events
5+
get=field = -1 Events
6-
getfield -1 ItemPurchase
6+
get=field = -1 ItemPurchase
7-
getfield -1 InvokeServer
7+
get=field = -1 InvokeServer
8-
pushvalue -2
8+
push=value = -2
9-
pushnumber 0
9+
push=number = 0
10-
pushstring cgz
10+
push=string = cgz
11-
pushnumber 0
11+
push=number = 0
12-
pcall 4 1 0
12+
p=call = 4 1 0
13
14-
aea - Glass Table (Blue)
14+
aea = Glass Table (Blue)
15-
afz - Medium Wooden Table
15+
afz = Medium Wooden Table
16-
aga - Large Glass Table (Blue)
16+
aga = Large Glass Table (Blue)
17-
ahm - Chinese Clothed Table (White)
17+
ahm = Chinese Clothed Table (White)
18-
aim - Square Clothed Table (White)
18+
aim = Square Clothed Table (White)
19-
aja - Large Wood Table
19+
aja = Large Wood Table
20-
aka - Modern Chair (Blue)
20+
aka = Modern Chair (Blue)
21-
akk - Modern Chair (Black)
21+
akk = Modern Chair (Black)
22-
akm - Modern Chair (White)
22+
akm = Modern Chair (White)
23-
avz - Basic Table
23+
avz = Basic Table
24-
caa - Low quality Counter
24+
caa = Low quality Counter
25-
cba - Average Counter
25+
cba = Average Counter
26-
cca - High quality Counter
26+
cca = High quality Counter
27-
cda - Best quality Counter
27+
cda = Best quality Counter
28-
cez - Milkshake Bar
28+
cez = Milkshake Bar
29-
cfz - Hit Drinks Bar
29+
cfz = Hit Drinks Bar
30-
daz - Catzario Statue
30+
daz = Catzario Statue
31-
dbz - Mightty Statue
31+
dbz = Mightty Statue
32-
dcz - Ultraw Statue
32+
dcz = Ultraw Statue
33-
ddz - DerpyMcDerpell Statue
33+
ddz = DerpyMcDerpell Statue
34-
dez - AtomixKing Statue
34+
dez = AtomixKing Statue
35-
dfz - Kindoodle Statue
35+
dfz = Kindoodle Statue
36-
dgz - Twenty-One Pilots (Premium Radio)
36+
dgz = Twenty-One Pilots (Premium Radio)
37-
dhz - Spanish (Premium Radio)
37+
dhz = Spanish (Premium Radio)
38-
djz - Rap (Premium Radio)
38+
djz = Rap (Premium Radio)
39-
diz - Cyaim Statue
39+
diz = Cyaim Statue
40-
dkz - Blocksky Statue
40+
dkz = Blocksky Statue
41-
dlz - Tiki Smoothie Bar
41+
dlz = Tiki Smoothie Bar
42-
gbw - Welcome Chalkboard (Sand)
42+
gbw = Welcome Chalkboard (Sand)
43-
gjz - Reeds
43+
gjz = Reeds
44-
gpk - Tall Lamp (Black)
44+
gpk = Tall Lamp (Black)
45-
gpm - Tall Lamp (White)
45+
gpm = Tall Lamp (White)
46-
grz - Food Signs
46+
grz = Food Signs
47-
gsz - Boat
47+
gsz = Boat
48-
maz - Electronic Radio
48+
maz = Electronic Radio
49-
mbz - Jazz Radio
49+
mbz = Jazz Radio
50-
mcz - Cheerful Radio
50+
mcz = Cheerful Radio
51-
mdz - Electronic Dance DJ Table
51+
mdz = Electronic Dance DJ Table
52-
raz - Japanese Arch
52+
raz = Japanese Arch
53-
rbz - Italian Arch
53+
rbz = Italian Arch
54-
rez - Golden Arch
54+
rez = Golden Arch
55-
w2z - TV
55+
w2z = TV
56-
w4z - Modern Shelf
56+
w4z = Modern Shelf
57-
woz - Blocksky Painting
57+
woz = Blocksky Painting
58-
cgz - Barbecue
58+
cgz = Barbecue
59
60
--For lua script executor
61
local factory
62
for _,tycoon in pairs(game.Workspace.Tycoons:GetChildren()) do
63
if tycoon.Factory.Player.Value == game.Players.LocalPlayer then
64
factory = tycoon.Factory
65
end
66
end
67
68
local lastCounter
69
factory.PlacedItems.Finished.ChildAdded:Connect(function(obj)
70
if obj.Name == "Counter5" then
71
lastCounter = obj
72
end
73
end)
74
75
while true do
76
game.Workspace.Events.ItemPurchase:InvokeServer(0,"cgz",0) 
77
game.Workspace.Events.Building.PlaceObject:InvokeServer({Workspace.Furniture.Counter5,false,Vector3.new(0,-10,0),90,"cgz"})
78
factory.RestaurantHandler.RemoveFurniture:InvokeServer(lastCounter,3)
79
end