View difference between Paste ID: fdrtbrve and AzwHNkSa
SHOW: | | - or go back to the newest paste.
1-
--Trailer Script by dms xd
1+
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,game,owner = owner,game
4
local RealPlayer = Player
5
do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end --Trailer Script by dms xd
6
DoorColor = "Cocoa" --door colorxd
7
TrailerColor = "Maroon" --General Trailer Color
8
CouchColor = "Smoky grey"
9
FridgeOvenColor = "Medium stone grey"
10
FridgeOvenColor2 = "Really black"
11
12
13
P1 = Instance.new("Part")
14
P1.Size = Vector3.new(0.31, 2.98, 2)
15
P1.Parent = game.Workspace
16
P1.Anchored = true
17
P1.CanCollide = true
18
P1.TopSurface = "SmoothNoOutlines"
19
P1.BottomSurface = "SmoothNoOutlines"
20
P1.FrontSurface = "SmoothNoOutlines"
21
P1.LeftSurface = "SmoothNoOutlines"
22
P1.RightSurface = "SmoothNoOutlines"
23
P1.BrickColor = BrickColor.new("Really black")
24
P1.Position = Vector3.new(21.505, 1.49, -13.77) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,3,0)
25
P2 = Instance.new("Part")
26
P2.Parent = game.Workspace
27
P2.Position = Vector3.new(6.28, 3.51, -13.19) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,3,0)
28
P2.Anchored = true
29
P2.CanCollide = true
30
P2.TopSurface = "SmoothNoOutlines"
31
P2.BottomSurface = "SmoothNoOutlines"
32
P2.FrontSurface = "SmoothNoOutlines"
33
P2.LeftSurface = "SmoothNoOutlines"
34
P2.RightSurface = "SmoothNoOutlines"
35
P2.BrickColor = BrickColor.new("Black")
36
P2.Size = Vector3.new(31.34, 1, 12.88)
37
P3 = Instance.new("Part")
38
P3.Size = Vector3.new(4, 3, 3.2)
39
P3.Parent = game.Workspace
40
P3.Anchored = true
41
P3.CanCollide = true
42
P3.TopSurface = "SmoothNoOutlines"
43
P3.BottomSurface = "SmoothNoOutlines"
44
P3.FrontSurface = "SmoothNoOutlines"
45
P3.LeftSurface = "SmoothNoOutlines"
46
P3.RightSurface = "SmoothNoOutlines"
47
P3.BrickColor = BrickColor.new("Really black")
48
P3.Shape = "Cylinder"
49
P3.Rotation = Vector3.new(0,-90,0)
50
P3.Position = Vector3.new(-3, 1.51, -8.8) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,3,0)
51
P4 = Instance.new("Part")
52
P4.Size = Vector3.new(4, 3, 3.2)
53
P4.Parent = game.Workspace
54
P4.Anchored = true
55
P4.CanCollide = true
56
P4.TopSurface = "SmoothNoOutlines"
57
P4.BottomSurface = "SmoothNoOutlines"
58
P4.FrontSurface = "SmoothNoOutlines"
59
P4.LeftSurface = "SmoothNoOutlines"
60
P4.RightSurface = "SmoothNoOutlines"
61
P4.BrickColor = BrickColor.new("Really black")
62
P4.Shape = "Cylinder"
63
P4.Rotation = Vector3.new(0,-90,0)
64
P4.Position = Vector3.new(-3, 1.51, -17.6) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,3,0)
65
P5 = Instance.new("Part")
66
P5.Size = Vector3.new(0.75, 9.5, 12.88)
67
P5.Parent = game.Workspace
68
P5.Anchored = true
69
P5.CanCollide = true
70
P5.TopSurface = "SmoothNoOutlines"
71
P5.BottomSurface = "SmoothNoOutlines"
72
P5.FrontSurface = "SmoothNoOutlines"
73
P5.LeftSurface = "SmoothNoOutlines"
74
P5.RightSurface = "SmoothNoOutlines"
75
P5.BrickColor = BrickColor.new(TrailerColor)
76
P5.Rotation = Vector3.new(0,0,0)
77
P5.Position = Vector3.new(21.575, 8.7, -13.19) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,3,0)
78
P6 = Instance.new("Part")
79
P6.Size = Vector3.new(2.73, 9.38, 0.61)
80
P6.Parent = game.Workspace
81
P6.Anchored = true
82
P6.CanCollide = true
83
P6.TopSurface = "SmoothNoOutlines"
84
P6.BottomSurface = "SmoothNoOutlines"
85
P6.FrontSurface = "SmoothNoOutlines"
86
P6.LeftSurface = "SmoothNoOutlines"
87
P6.RightSurface = "SmoothNoOutlines"
88
P6.BrickColor = BrickColor.new(TrailerColor)
89
P6.Rotation = Vector3.new(0,0,0)
90
P6.Position = Vector3.new(19.83, 8.7, -7.055) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,3,0)
91
P7 = Instance.new("Part")
92
P7.Size = Vector3.new(21, 9.38, 0.61)
93
P7.Parent = game.Workspace
94
P7.Anchored = true
95
P7.CanCollide = true
96
P7.TopSurface = "SmoothNoOutlines"
97
P7.BottomSurface = "SmoothNoOutlines"
98
P7.FrontSurface = "SmoothNoOutlines"
99
P7.LeftSurface = "SmoothNoOutlines"
100
P7.RightSurface = "SmoothNoOutlines"
101
P7.BrickColor = BrickColor.new(TrailerColor)
102
P7.Rotation = Vector3.new(0,0,0)
103
P7.Position = Vector3.new(1.93, 8.7, -7.055) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
104
P8 = Instance.new("Part")
105
P8.Size = Vector3.new(0.75, 9.38, 12.88)
106
P8.Parent = game.Workspace
107
P8.Anchored = true
108
P8.CanCollide = true
109
P8.TopSurface = "SmoothNoOutlines"
110
P8.BottomSurface = "SmoothNoOutlines"
111
P8.FrontSurface = "SmoothNoOutlines"
112
P8.LeftSurface = "SmoothNoOutlines"
113
P8.RightSurface = "SmoothNoOutlines"
114
P8.BrickColor = BrickColor.new(TrailerColor)
115
P8.Rotation = Vector3.new(0,0,0)
116
P8.Position = Vector3.new(-9.015, 8.7, -13.19) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
117
P9 = Instance.new("Part")
118
P9.Size = Vector3.new(29.63, 9.38, 0.61)
119
P9.Parent = game.Workspace
120
P9.Anchored = true
121
P9.CanCollide = true
122
P9.TopSurface = "SmoothNoOutlines"
123
P9.BottomSurface = "SmoothNoOutlines"
124
P9.FrontSurface = "SmoothNoOutlines"
125
P9.LeftSurface = "SmoothNoOutlines"
126
P9.RightSurface = "SmoothNoOutlines"
127
P9.BrickColor = BrickColor.new(TrailerColor)
128
P9.Rotation = Vector3.new(0,0,0)
129
P9.Position = Vector3.new(6.245, 8.7, -19.285) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
130
P10 = Instance.new("Part")
131
P10.Size = Vector3.new(31.34, 1, 12.88)
132
P10.Parent = game.Workspace
133
P10.Anchored = true
134
P10.CanCollide = true
135
P10.TopSurface = "SmoothNoOutlines"
136
P10.BottomSurface = "SmoothNoOutlines"
137
P10.FrontSurface = "SmoothNoOutlines"
138
P10.LeftSurface = "SmoothNoOutlines"
139
P10.RightSurface = "SmoothNoOutlines"
140
P10.BrickColor = BrickColor.new("Black")
141
P10.Rotation = Vector3.new(0,0,0)
142
P10.Position = Vector3.new(6.28, 13.89, -13.19) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.97,0)
143
P11 = Instance.new("Part")
144
P11.Size = Vector3.new(14.78, 3.65, 12.88)
145
P11.Parent = game.Workspace
146
P11.Anchored = true
147
P11.CanCollide = true
148
P11.TopSurface = "SmoothNoOutlines"
149
P11.BottomSurface = "SmoothNoOutlines"
150
P11.FrontSurface = "SmoothNoOutlines"
151
P11.LeftSurface = "SmoothNoOutlines"
152
P11.RightSurface = "SmoothNoOutlines"
153
P11.BrickColor = BrickColor.new(TrailerColor)
154
P11.Rotation = Vector3.new(0,0,0)
155
P11.Position = Vector3.new(-2, 16.215, -13.19) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.97,0)
156
P12 = Instance.new("Part")
157
P12.Size = Vector3.new(5.87, 9.38, 0.61)
158
P12.Parent = game.Workspace
159
P12.Anchored = true
160
P12.CanCollide = false
161
P12.TopSurface = "SmoothNoOutlines"
162
P12.BottomSurface = "SmoothNoOutlines"
163
P12.FrontSurface = "SmoothNoOutlines"
164
P12.LeftSurface = "SmoothNoOutlines"
165
P12.RightSurface = "SmoothNoOutlines"
166
P12.BrickColor = BrickColor.new(DoorColor)
167
P12.Rotation = Vector3.new(0,0,0)
168
P12.Position = Vector3.new(15.44, 8.7, -7.055) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
169
C1 = Instance.new("Part")
170
C1.Size = Vector3.new(11.09, 1.84, 3.05)
171
C1.Parent = game.Workspace
172
C1.Anchored = true
173
C1.CanCollide = true
174
C1.TopSurface = "SmoothNoOutlines"
175
C1.BottomSurface = "SmoothNoOutlines"
176
C1.FrontSurface = "SmoothNoOutlines"
177
C1.LeftSurface = "SmoothNoOutlines"
178
C1.RightSurface = "SmoothNoOutlines"
179
C1.BrickColor = BrickColor.new(CouchColor)
180
C1.Rotation = Vector3.new(0,0,0)
181
C1.Position = Vector3.new(13.755, 4.93, -17.075) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
182
C2 = Instance.new("Part")
183
C2.Size = Vector3.new(9.48, 3.66, 0.65)
184
C2.Parent = game.Workspace
185
C2.Anchored = true
186
C2.CanCollide = true
187
C2.TopSurface = "SmoothNoOutlines"
188
C2.BottomSurface = "SmoothNoOutlines"
189
C2.FrontSurface = "SmoothNoOutlines"
190
C2.LeftSurface = "SmoothNoOutlines"
191
C2.RightSurface = "SmoothNoOutlines"
192
C2.BrickColor = BrickColor.new(CouchColor)
193
C2.Rotation = Vector3.new(0,0,0)
194
C2.Position = Vector3.new(13.74, 7.68, -18.275) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
195
C3 = Instance.new("Part")
196
C3.Size = Vector3.new(0.78, 1.84, 2.93)
197
C3.Parent = game.Workspace
198
C3.Anchored = true
199
C3.CanCollide = true
200
C3.TopSurface = "SmoothNoOutlines"
201
C3.BottomSurface = "SmoothNoOutlines"
202
C3.FrontSurface = "SmoothNoOutlines"
203
C3.LeftSurface = "SmoothNoOutlines"
204
C3.RightSurface = "SmoothNoOutlines"
205
C3.BrickColor = BrickColor.new(CouchColor)
206
C3.Rotation = Vector3.new(0,0,0)
207
C3.Position = Vector3.new(8.6, 6.77, -17) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
208
C4 = Instance.new("Part")
209
C4.Size = Vector3.new(0.78, 1.84, 2.77)
210
C4.Parent = game.Workspace
211
C4.Anchored = true
212
C4.CanCollide = true
213
C4.TopSurface = "SmoothNoOutlines"
214
C4.BottomSurface = "SmoothNoOutlines"
215
C4.FrontSurface = "SmoothNoOutlines"
216
C4.LeftSurface = "SmoothNoOutlines"
217
C4.RightSurface = "SmoothNoOutlines"
218
C4.BrickColor = BrickColor.new(CouchColor)
219
C4.Rotation = Vector3.new(0,0,0)
220
C4.Position = Vector3.new(18.9, 6.77, -17.1) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
221
C5 = Instance.new("Seat")
222
C5.Size = Vector3.new(4, 0.2, 1.7)
223
C5.Parent = game.Workspace
224
C5.Anchored = true
225
C5.CanCollide = true
226
C5.Transparency = 1
227
C5.TopSurface = "SmoothNoOutlines"
228
C5.BottomSurface = "SmoothNoOutlines"
229
C5.FrontSurface = "SmoothNoOutlines"
230
C5.LeftSurface = "SmoothNoOutlines"
231
C5.RightSurface = "SmoothNoOutlines"
232
C5.BrickColor = BrickColor.new(CouchColor)
233
C5.Rotation = Vector3.new(-180, 0, -180)
234
C5.Position = Vector3.new(11.2, 5.95, -16.65) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
235
C6 = Instance.new("Seat")
236
C6.Size = Vector3.new(4, 0.2, 1.7)
237
C6.Parent = game.Workspace
238
C6.Anchored = true
239
C6.CanCollide = true
240
C6.Transparency = 1
241
C6.TopSurface = "SmoothNoOutlines"
242
C6.BottomSurface = "SmoothNoOutlines"
243
C6.FrontSurface = "SmoothNoOutlines"
244
C6.LeftSurface = "SmoothNoOutlines"
245
C6.RightSurface = "SmoothNoOutlines"
246
C6.BrickColor = BrickColor.new(CouchColor)
247
C6.Rotation = Vector3.new(-180, 0, -180)
248
C6.Position = Vector3.new(16.16, 5.95, -16.65) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
249
F1 = Instance.new("Part")
250
F1.Size = Vector3.new(3.45, 8.16, 3.5)
251
F1.Parent = game.Workspace
252
F1.Anchored = true
253
F1.CanCollide = true
254
F1.TopSurface = "SmoothNoOutlines"
255
F1.BottomSurface = "SmoothNoOutlines"
256
F1.FrontSurface = "SmoothNoOutlines"
257
F1.LeftSurface = "SmoothNoOutlines"
258
F1.RightSurface = "SmoothNoOutlines"
259
F1.BrickColor = BrickColor.new(FridgeOvenColor)
260
F1.Position = Vector3.new(-6.244, 8.09, -9.51) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
261
F2 = Instance.new("Part")
262
F2.Size = Vector3.new(0.2, 2.42, 0.2)
263
F2.Parent = game.Workspace
264
F2.Anchored = true
265
F2.CanCollide = true
266
F2.TopSurface = "SmoothNoOutlines"
267
F2.BottomSurface = "SmoothNoOutlines"
268
F2.FrontSurface = "SmoothNoOutlines"
269
F2.LeftSurface = "SmoothNoOutlines"
270
F2.RightSurface = "SmoothNoOutlines"
271
F2.BrickColor = BrickColor.new(FridgeOvenColor2)
272
F2.Position = Vector3.new(-4.34, 5.73, -10.8) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
273
F3 = Instance.new("Part")
274
F3.Size = Vector3.new(0.2, 4.2, 0.2)
275
F3.Parent = game.Workspace
276
F3.Anchored = true
277
F3.CanCollide = true
278
F3.TopSurface = "SmoothNoOutlines"
279
F3.BottomSurface = "SmoothNoOutlines"
280
F3.FrontSurface = "SmoothNoOutlines"
281
F3.LeftSurface = "SmoothNoOutlines"
282
F3.RightSurface = "SmoothNoOutlines"
283
F3.BrickColor = BrickColor.new(FridgeOvenColor2)
284
F3.Position = Vector3.new(-4.35, 9.74, -10.8) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
285
O1 = Instance.new("Part")
286
O1.Size = Vector3.new(4.2, 3.52, 4.94)
287
O1.Parent = game.Workspace
288
O1.Anchored = true
289
O1.CanCollide = true
290
O1.TopSurface = "SmoothNoOutlines"
291
O1.BottomSurface = "SmoothNoOutlines"
292
O1.FrontSurface = "SmoothNoOutlines"
293
O1.LeftSurface = "SmoothNoOutlines"
294
O1.RightSurface = "SmoothNoOutlines"
295
O1.BrickColor = BrickColor.new(FridgeOvenColor)
296
O1.Position = Vector3.new(-6.35, 5.77, -14.98) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
297
O2 = Instance.new("Part")
298
O2.Size = Vector3.new(1.15, 2.61, 4.94)
299
O2.Parent = game.Workspace
300
O2.Anchored = true
301
O2.CanCollide = true
302
O2.TopSurface = "SmoothNoOutlines"
303
O2.BottomSurface = "SmoothNoOutlines"
304
O2.FrontSurface = "SmoothNoOutlines"
305
O2.LeftSurface = "SmoothNoOutlines"
306
O2.RightSurface = "SmoothNoOutlines"
307
O2.BrickColor = BrickColor.new(FridgeOvenColor)
308
O2.Position = Vector3.new(-7.875, 8.835, -14.96) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
309
O3 = Instance.new("Part")
310
O3.Size = Vector3.new(0.2, 1.16, 2.23)
311
O3.Parent = game.Workspace
312
O3.Anchored = true
313
O3.CanCollide = true
314
O3.TopSurface = "SmoothNoOutlines"
315
O3.BottomSurface = "SmoothNoOutlines"
316
O3.FrontSurface = "SmoothNoOutlines"
317
O3.LeftSurface = "SmoothNoOutlines"
318
O3.RightSurface = "SmoothNoOutlines"
319
O3.BrickColor = BrickColor.new(FridgeOvenColor2)
320
O3.Position = Vector3.new(-7.16, 9.42, -14.965) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
321
CR1 = Instance.new("Part")
322
CR1.Size = Vector3.new(8.54, 3.52, 2.45)
323
CR1.Parent = game.Workspace
324
CR1.Anchored = true
325
CR1.CanCollide = true
326
CR1.TopSurface = "SmoothNoOutlines"
327
CR1.BottomSurface = "SmoothNoOutlines"
328
CR1.FrontSurface = "SmoothNoOutlines"
329
CR1.LeftSurface = "SmoothNoOutlines"
330
CR1.RightSurface = "SmoothNoOutlines"
331
CR1.BrickColor = BrickColor.new(FridgeOvenColor)
332
CR1.Position = Vector3.new(2.15, 5.77, -17.335) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)
333
CR2 = Instance.new("Part")
334
CR2.Size = Vector3.new(8.54, 0.2, 2.66)
335
CR2.Parent = game.Workspace
336
CR2.Anchored = true
337
CR2.CanCollide = true
338
CR2.TopSurface = "SmoothNoOutlines"
339
CR2.BottomSurface = "SmoothNoOutlines"
340
CR2.FrontSurface = "SmoothNoOutlines"
341
CR2.LeftSurface = "SmoothNoOutlines"
342
CR2.RightSurface = "SmoothNoOutlines"
343
CR2.BrickColor = BrickColor.new(FridgeOvenColor2)
344
CR2.Position = Vector3.new(2.15, 7.63, -17.335) + game.Players.LocalPlayer.Character.Torso.Position - Vector3.new(0,2.98,0)