SHOW:
|
|
- or go back to the newest paste.
1 | print("[All credit to those who have created this, some guy leaked.]") | |
2 | print("LEAKED BY MR STEAL YO BORK @ BORK GANG [Fixed by RBLXCheeez]") | |
3 | local Gui2 = Instance.new('ScreenGui', game.CoreGui) | |
4 | Gui2.Name = "REKT BY BORK GANG LOLOLOL" | |
5 | local version = "big borks" | |
6 | local function createframe(bkgc3,bkgtrans,borderc3, bordersize, name, parent, pos, rot, size, visible, zindex) | |
7 | local newframe = Instance.new("Frame") | |
8 | newframe.BackgroundColor3 = bkgc3 | |
9 | newframe.BackgroundTransparency = bkgtrans | |
10 | newframe.BorderColor3 = borderc3 | |
11 | newframe.BorderSizePixel = bordersize | |
12 | newframe.Name = name | |
13 | newframe.Parent = parent | |
14 | newframe.Position = pos | |
15 | newframe.Rotation = rot | |
16 | newframe.Size = size | |
17 | newframe.Visible = visible | |
18 | newframe.ZIndex = zindex | |
19 | return newframe | |
20 | end | |
21 | ||
22 | local function createlabel(bkgc3,bkgtrans,borderc3, bordersize, name, parent, pos, rot, size, visible, zindex, font, fontsize, text, textc3, textscaled, textstrokec3, textstroketrans, texttrans, textwrapped, xalign, yalign) | |
23 | local newlabel = Instance.new("TextLabel") | |
24 | newlabel.BackgroundColor3 = bkgc3 | |
25 | newlabel.BackgroundTransparency = bkgtrans | |
26 | newlabel.BorderColor3 = borderc3 | |
27 | newlabel.BorderSizePixel = bordersize | |
28 | newlabel.Name = name | |
29 | newlabel.Parent = parent | |
30 | newlabel.Position = pos | |
31 | newlabel.Rotation = rot | |
32 | newlabel.Size = size | |
33 | newlabel.Visible = visible | |
34 | newlabel.ZIndex = zindex | |
35 | newlabel.Font = font | |
36 | newlabel.FontSize = fontsize | |
37 | newlabel.Text = text | |
38 | newlabel.TextColor3 = textc3 | |
39 | newlabel.TextScaled = textscaled | |
40 | newlabel.TextStrokeColor3 = textstrokec3 | |
41 | newlabel.TextStrokeTransparency = textstroketrans | |
42 | newlabel.TextTransparency = texttrans | |
43 | newlabel.TextWrapped = textwrapped | |
44 | newlabel.TextXAlignment = xalign | |
45 | newlabel.TextYAlignment = yalign | |
46 | return newlabel | |
47 | end | |
48 | ||
49 | local function createbutton(autocolor, bkgc3,bkgtrans,borderc3, bordersize, name, parent, pos, rot, size, visible, zindex, font, fontsize, text, textc3, textscaled, textstrokec3, textstroketrans, texttrans, textwrapped, xalign, yalign) | |
50 | local newbutton = Instance.new("TextButton") | |
51 | newbutton.AutoButtonColor = autocolor | |
52 | newbutton.BackgroundColor3 = bkgc3 | |
53 | newbutton.BackgroundTransparency = bkgtrans | |
54 | newbutton.BorderColor3 = borderc3 | |
55 | newbutton.BorderSizePixel = bordersize | |
56 | newbutton.Name = name | |
57 | newbutton.Parent = parent | |
58 | newbutton.Position = pos | |
59 | newbutton.Rotation = rot | |
60 | newbutton.Size = size | |
61 | newbutton.Visible = visible | |
62 | newbutton.ZIndex = zindex | |
63 | newbutton.Font = font | |
64 | newbutton.FontSize = fontsize | |
65 | newbutton.Text = text | |
66 | newbutton.TextColor3 = textc3 | |
67 | newbutton.TextScaled = textscaled | |
68 | newbutton.TextStrokeColor3 = textstrokec3 | |
69 | newbutton.TextStrokeTransparency = textstroketrans | |
70 | newbutton.TextTransparency = texttrans | |
71 | newbutton.TextWrapped = textwrapped | |
72 | newbutton.TextXAlignment = xalign | |
73 | newbutton.TextYAlignment = yalign | |
74 | return newbutton | |
75 | end | |
76 | ||
77 | local function createtextbox(bkgc3,bkgtrans,borderc3, bordersize, clrtext, multiline, name, parent, pos, rot, size, visible, zindex, font, fontsize, text, textc3, textscaled, textstrokec3, textstroketrans, texttrans, textwrapped, xalign, yalign) | |
78 | local newbox = Instance.new("TextBox") | |
79 | newbox.BackgroundColor3 = bkgc3 | |
80 | newbox.BackgroundTransparency = bkgtrans | |
81 | newbox.BorderColor3 = borderc3 | |
82 | newbox.BorderSizePixel = bordersize | |
83 | newbox.ClearTextOnFocus = clrtext | |
84 | newbox.MultiLine = multiline | |
85 | newbox.Name = name | |
86 | newbox.Parent = parent | |
87 | newbox.Position = pos | |
88 | newbox.Rotation = rot | |
89 | newbox.Size = size | |
90 | newbox.Visible = visible | |
91 | newbox.ZIndex = zindex | |
92 | newbox.Font = font | |
93 | newbox.FontSize = fontsize | |
94 | newbox.Text = text | |
95 | newbox.TextColor3 = textc3 | |
96 | newbox.TextScaled = textscaled | |
97 | newbox.TextStrokeColor3 = textstrokec3 | |
98 | newbox.TextStrokeTransparency = textstroketrans | |
99 | newbox.TextTransparency = texttrans | |
100 | newbox.TextWrapped = textwrapped | |
101 | newbox.TextXAlignment = xalign | |
102 | newbox.TextYAlignment = yalign | |
103 | return newbox | |
104 | end | |
105 | ||
106 | local function createimagelabel(bkgc3,bkgtrans,borderc3, bordersize, name, parent, pos, rot, size, visible, zindex, image, imagetrans) | |
107 | local newimage = Instance.new("ImageLabel") | |
108 | newimage.BackgroundColor3 = bkgc3 | |
109 | newimage.BackgroundTransparency = bkgtrans | |
110 | newimage.BorderColor3 = borderc3 | |
111 | newimage.BorderSizePixel = bordersize | |
112 | newimage.Name = name | |
113 | newimage.Parent = parent | |
114 | newimage.Position = pos | |
115 | newimage.Rotation = rot | |
116 | newimage.Size = size | |
117 | newimage.Visible = visible | |
118 | newimage.ZIndex = zindex | |
119 | newimage.Image = "rbxassetid://"..image | |
120 | newimage.ImageTransparency = imagetrans | |
121 | return newimage | |
122 | end | |
123 | local IntroFrames = createframe(Color3.new(43/255, 43/255, 43/255),0,Color3.new(27/255,42/255,53/255),0,"IntroFrames",Gui2,UDim2.new(0,-330,0,0),0,UDim2.new(0,300,1,0),true,1) | |
124 | createframe(Color3.new(43/255, 43/255, 43/255),0,Color3.new(0,0,0),0,"bar",IntroFrames,UDim2.new(1,0,0,0),0,UDim2.new(0,30,0,90),true,1) | |
125 | createimagelabel(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"Slant",IntroFrames,UDim2.new(1,0,0,90),90,UDim2.new(0,30,0,30),true,1,474172996,0) | |
126 | createlabel(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"Creator",IntroFrames,UDim2.new(0,80,1,-40),0,UDim2.new(0,140,0,30),true,1,Enum.Font.Code,Enum.FontSize.Size14,"MR STEAL YO BORK @ BORK GANG",Color3.new(0/255, 174/255, 255/255), false,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center) | |
127 | createlabel(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"CreatorLabel",IntroFrames,UDim2.new(0,80,1,-70),0,UDim2.new(0,140,0,30),true,1,Enum.Font.Code,Enum.FontSize.Size18,"LEAKED BY:",Color3.new(0/255, 174/255, 255/255), false,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center) | |
128 | createlabel(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"Desc",IntroFrames,UDim2.new(0,0,0,120),0,UDim2.new(1,0,0,90),true,1,Enum.Font.SourceSansLight,Enum.FontSize.Size14,"fuck the streets",Color3.new(0, 216, 18), true,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center) | |
129 | createlabel(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"SubTitle",IntroFrames,UDim2.new(0.5,-150,0,70),0,UDim2.new(0,300,0,40),true,1,Enum.Font.SourceSansBold,Enum.FontSize.Size32,"",Color3.new(27/255,42/255,53/255), false,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center) | |
130 | createlabel(Color3.new(1,1,1),1,Color3.new(0,0,0),0,"Title",IntroFrames,UDim2.new(0.5,-105,0,20),0,UDim2.new(0,210,0,60),true,1,Enum.Font.SourceSansBold,Enum.FontSize.Size32,"THE STREETS SCRIPT LEAK",Color3.new(0/255, 174/255, 255/255), false,Color3.new(0,0,0),1,0,true,Enum.TextXAlignment.Center,Enum.TextYAlignment.Center) | |
131 | ||
132 | IntroFrames:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true) | |
133 | local weee = game.Workspace | |
134 | Instance.new("Sound", weee) | |
135 | wait(0.01) | |
136 | weee.Sound.Name = "borkgangLOLXD" | |
137 | wait(0.03) | |
138 | weee.borkgangLOLXD.SoundId = "rbxassetid://632546" | |
139 | weee.borkgangLOLXD.Volume = 1 | |
140 | wait (0.02) | |
141 | weee.borkgangLOLXD:Play() | |
142 | wait(3) | |
143 | IntroFrames:TweenPosition(UDim2.new(0,-330,0,0),Enum.EasingDirection.In,Enum.EasingStyle.Quart,0.5,true) | |
144 | wait(3) | |
145 | Gui2:Destroy() | |
146 | ||
147 | repeat wait() until | |
148 | game.Players.LocalPlayer ~= nil | |
149 | ||
150 | local player = game.Players.LocalPlayer | |
151 | local mouse = player:GetMouse() | |
152 | local context = game:GetService("ContextActionService") | |
153 | local teleported = false | |
154 | local cartp = false | |
155 | local door = false | |
156 | local sound = false | |
157 | local decal = false | |
158 | local spray = false | |
159 | ||
160 | player.CharacterAdded:connect(function() | |
161 | Speed() | |
162 | end) | |
163 | ||
164 | function Gui() | |
165 | if game.CoreGui:FindFirstChild("Music") == nil then | |
166 | local s = Instance.new("ScreenGui", game.CoreGui) | |
167 | s.Name = "Music" | |
168 | local b = Instance.new("TextBox", s) | |
169 | b.Size = UDim2.new(0.07, 0, 0.03, 0) | |
170 | b.Position = UDim2.new(0.905, 0, 0.96, 0) | |
171 | b.BackgroundColor3 = Color3.new(0, 0, 0) | |
172 | b.BackgroundTransparency = 0.5 | |
173 | b.Text = "Enter ID Here" | |
174 | b.TextColor3 = Color3.new(1, 1, 1) | |
175 | b.Font = "Code" | |
176 | b.FontSize = "Size14" | |
177 | b.BorderSizePixel = 0 | |
178 | local t = Instance.new("TextButton", s) | |
179 | t.Size = UDim2.new(0.02, 0, 0.03, 0) | |
180 | t.Position = UDim2.new(0.975, 0, 0.96, 0) | |
181 | t.BackgroundColor3 = Color3.new(0, 0, 0) | |
182 | t.BackgroundTransparency = 0.5 | |
183 | t.Text = "Play" | |
184 | t.TextColor3 = Color3.new(1, 1, 1) | |
185 | t.Font = "Code" | |
186 | t.FontSize = "Size14" | |
187 | t.BorderSizePixel = 0 | |
188 | t.MouseButton1Click:connect(function() | |
189 | if player.Character:FindFirstChild("BoomBox") ~= nil then | |
190 | player.Character.BoomBox.Remote:FireServer("PlaySong", b.Text) | |
191 | else | |
192 | b.Text = "Equip Radio" | |
193 | end | |
194 | end) | |
195 | local b1LOLEMOJI = Instance.new("TextLabel", s) | |
196 | b1LOLEMOJI.Size = UDim2.new(0.07, 0, 0.03, 0) | |
197 | b1LOLEMOJI.Position = UDim2.new(0.105, 0, 0.8975, 0) | |
198 | b1LOLEMOJI.BackgroundColor3 = Color3.new(0, 0, 0) | |
199 | b1LOLEMOJI.BackgroundTransparency = 1 | |
200 | b1LOLEMOJI.Text = "Edited by RBLXCheeez" | |
201 | b1LOLEMOJI.TextColor3 = Color3.new(255, 159, 5) | |
202 | b1LOLEMOJI.Font = "Code" | |
203 | b1LOLEMOJI.FontSize = "Size18" | |
204 | b1LOLEMOJI.BorderSizePixel = 0 | |
205 | b2 = Instance.new("TextBox", s) | |
206 | b2.Size = UDim2.new(0.07, 0, 0.03, 0) | |
207 | b2.Position = UDim2.new(0.905, 0, 0.925, 0) | |
208 | b2.BackgroundColor3 = Color3.new(0, 0, 0) | |
209 | b2.BackgroundTransparency = 0.5 | |
210 | b2.Text = "Enter ID Here" | |
211 | b2.TextColor3 = Color3.new(1, 1, 1) | |
212 | b2.Font = "Code" | |
213 | b2.FontSize = "Size14" | |
214 | b2.BorderSizePixel = 0 | |
215 | local b3 = Instance.new("Frame", s) | |
216 | b3.Size = b2.Size | |
217 | b3.Position = b2.Position | |
218 | b3.BackgroundTransparency = 1 | |
219 | local preview = Instance.new("ImageLabel", s) | |
220 | preview.Size = UDim2.new(0.06, 0, 0.11, 0) | |
221 | preview.Position = UDim2.new(0.47, 0, 0.45, 0) | |
222 | preview.BackgroundTransparency = 0.5 | |
223 | preview.BackgroundColor3 = Color3.new(0, 0, 0) | |
224 | preview.BorderSizePixel = 0 | |
225 | preview.Visible = false | |
226 | b2.Changed:connect(function() | |
227 | if b2.Text ~= nil and b2.Text:match("%d+") then | |
228 | preview.Image = "http://www.roblox.com/asset/?id="..b2.Text:match("%d+") - 1 | |
229 | else | |
230 | preview.Image = nil | |
231 | end | |
232 | end) | |
233 | b2.MouseEnter:connect(function() | |
234 | preview.Visible = true | |
235 | end) | |
236 | b2.MouseMoved:connect(function() | |
237 | preview.Position = UDim2.new(0, mouse.X - 120, 0, mouse.Y - 115) | |
238 | end) | |
239 | b2.MouseLeave:connect(function() | |
240 | preview.Visible = false | |
241 | end) | |
242 | b3.MouseLeave:connect(function() | |
243 | preview.Visible = false | |
244 | end) | |
245 | t2 = Instance.new("TextBox", s) | |
246 | t2.Size = UDim2.new(0.02, 0, 0.03, 0) | |
247 | t2.Position = UDim2.new(0.975, 0, 0.925, 0) | |
248 | t2.BackgroundColor3 = Color3.new(0, 0, 0) | |
249 | t2.BackgroundTransparency = 0.5 | |
250 | t2.Text = "Size" | |
251 | t2.TextColor3 = Color3.new(1, 1, 1) | |
252 | t2.Font = "Code" | |
253 | t2.FontSize = "Size14" | |
254 | t2.BorderSizePixel = 0 | |
255 | local d = Instance.new("TextButton", s) | |
256 | d.Size = UDim2.new(0.0425, 0, 0.02, 0) | |
257 | d.Position = UDim2.new(0.905, 0, 0.8975, 0) | |
258 | d.Text = "Steal Decal" | |
259 | d.Font = "Code" | |
260 | d.FontSize = "Size14" | |
261 | d.BackgroundColor3 = Color3.new(0, 0, 0) | |
262 | d.TextColor3 = Color3.new(1, 1, 1) | |
263 | d.BackgroundTransparency = 0.5 | |
264 | d.BorderColor3 = Color3.new(0.7, 0, 0) | |
265 | d.MouseButton1Click:connect(function() | |
266 | if door == false and sound == false and decal == false then | |
267 | decal = true | |
268 | context:BindAction("Decal", Decal, false, Enum.UserInputType.MouseButton1) | |
269 | d.BorderColor3 = Color3.new(0, 0.7, 0) | |
270 | else | |
271 | decal = false | |
272 | context:UnbindAction("Decal") | |
273 | d.BorderColor3 = Color3.new(0.7, 0, 0) | |
274 | end | |
275 | end) | |
276 | local so = Instance.new("TextButton", s) | |
277 | so.Size = UDim2.new(0.0425, 0, 0.02, 0) | |
278 | so.Position = UDim2.new(0.952, 0, 0.8975, 0) | |
279 | so.Text = "Steal Sound" | |
280 | so.Font = "Code" | |
281 | so.FontSize = "Size14" | |
282 | so.BackgroundColor3 = Color3.new(0, 0, 0) | |
283 | so.TextColor3 = Color3.new(1, 1, 1) | |
284 | so.BackgroundTransparency = 0.5 | |
285 | so.BorderColor3 = Color3.new(0.7, 0, 0) | |
286 | so.MouseButton1Click:connect(function() | |
287 | if door == false and sound == false and decal == false then | |
288 | sound = true | |
289 | context:BindAction("Sound", Sound, false, Enum.UserInputType.MouseButton1) | |
290 | so.BorderColor3 = Color3.new(0, 0.7, 0) | |
291 | else | |
292 | sound = false | |
293 | context:UnbindAction("Sound") | |
294 | so.BorderColor3 = Color3.new(0.7, 0, 0) | |
295 | end | |
296 | end) | |
297 | local d2 = Instance.new("TextButton", s) | |
298 | d2.Size = UDim2.new(0.0425, 0, 0.02, 0) | |
299 | d2.Position = UDim2.new(0.952, 0, 0.87, 0) | |
300 | d2.Text = "Open Door" | |
301 | d2.Font = "Code" | |
302 | d2.FontSize = "Size14" | |
303 | d2.BackgroundColor3 = Color3.new(0, 0, 0) | |
304 | d2.TextColor3 = Color3.new(1, 1, 1) | |
305 | d2.BackgroundTransparency = 0.5 | |
306 | d2.BorderColor3 = Color3.new(0.7, 0, 0) | |
307 | d2.MouseButton1Click:connect(function() | |
308 | if door == false and sound == false and decal == false then | |
309 | door = true | |
310 | context:BindAction("Open", Open, false, Enum.UserInputType.MouseButton1) | |
311 | d2.BorderColor3 = Color3.new(0, 0.7, 0) | |
312 | else | |
313 | door = false | |
314 | context:UnbindAction("Open") | |
315 | d2.BorderColor3 = Color3.new(0.7, 0, 0) | |
316 | end | |
317 | end) | |
318 | end | |
319 | end | |
320 | ||
321 | function Speed() | |
322 | ||
323 | player.Backpack:WaitForChild("Punch").Info.Cooldown.Value = 0.01 | |
324 | player.Backpack.Punch.Info.AnimSpeed.Value = 5 | |
325 | player.Backpack:WaitForChild("Knife").Info.Cooldown.Value = 0.01 | |
326 | player.Backpack.Knife.Info.AnimSpeed.Value = 5 | |
327 | if game:GetService("MarketplaceService"):PlayerOwnsAsset(player, 503266657) then | |
328 | player.Backpack:WaitForChild("Pipe").Info.Cooldown.Value = 0.01 | |
329 | player.Backpack.Pipe.Info.AnimSpeed.Value = 5 | |
330 | end | |
331 | player.Backpack.ChildAdded:connect(function(child) | |
332 | if child.Name == "Bat" or child.Name == "Bottle" then | |
333 | child:WaitForChild("Info").Cooldown.Value = 0.01 | |
334 | child.Info.AnimSpeed.Value = 5 | |
335 | end | |
336 | end) | |
337 | ||
338 | if game:GetService("MarketplaceService"):PlayerOwnsAsset(player, 529140430) then | |
339 | player.Backpack:FindFirstChild("Spray").Equipped:connect(function() | |
340 | context:BindAction("Spray", Spray, false, Enum.UserInputType.MouseButton1) | |
341 | end) | |
342 | player.Backpack:FindFirstChild("Spray").Unequipped:connect(function() | |
343 | context:UnbindAction("Spray") | |
344 | end) | |
345 | end | |
346 | player.Backpack.ServerTraits.Stam.Changed:connect(function() | |
347 | player.Backpack.ServerTraits.Stam.Value = 100 | |
348 | end) | |
349 | --if game:GetService("MarketplaceService"):PlayerOwnsAsset(player, 469767880) then | |
350 | Gui() | |
351 | player.PlayerGui.ChildAdded:connect(function(child) | |
352 | if child.Name == "ChooseSongGui" or child.Name == "SprayGui" then | |
353 | child:Destroy() | |
354 | end | |
355 | end) | |
356 | --end | |
357 | player.Character.Humanoid.Seated:connect(function(sitting, seat) | |
358 | if sitting and seat.Name == "Drive" then | |
359 | player.PlayerGui.LocalScript.Disabled = true | |
360 | elseif sitting == false and player.PlayerGui.LocalScript.Disabled == true then | |
361 | player.PlayerGui.LocalScript.Disabled = false | |
362 | end | |
363 | end) | |
364 | end | |
365 | ||
366 | function Items(actionName, inputState, inputObject) | |
367 | for Num, Obj in pairs(game.Workspace:GetChildren()) do | |
368 | if Obj.Name == "RandomSpawner" then | |
369 | Obj.CanCollide = false | |
370 | wait() | |
371 | Obj.CFrame = player.Character.Torso.CFrame | |
372 | end | |
373 | end | |
374 | end | |
375 | ||
376 | function Friends(actionName, inputState, inputObject) | |
377 | for Num, Obj in pairs(game.Players:GetPlayers()) do | |
378 | if Obj:IsFriendsWith(player.UserId) and not teleported and Obj ~= player then | |
379 | player.Character:MoveTo(Obj.Character.Torso.Position) | |
380 | teleported = true | |
381 | end | |
382 | teleported = false | |
383 | end | |
384 | end | |
385 | ||
386 | function Car(actionName, inputState, inputObject) | |
387 | for Num, Obj in pairs(game.Workspace:GetChildren()) do | |
388 | if Obj.Name == "Car" and Obj:FindFirstChild("Drive").Occupant == nil and cartp == false then | |
389 | cartp = true | |
390 | Obj:MoveTo(player.Character.Torso.Position + player.Character.Torso.CFrame.lookVector * 15) | |
391 | Obj:MakeJoints() | |
392 | end | |
393 | end | |
394 | cartp = false | |
395 | end | |
396 | ||
397 | function Door(actionName, inputState, inputObject) | |
398 | if inputState == Enum.UserInputState.Begin then | |
399 | context:BindAction("Lock", Lock, false, Enum.UserInputType.MouseButton1) | |
400 | else | |
401 | context:UnbindAction("Lock") | |
402 | end | |
403 | end | |
404 | ||
405 | function Lock(actionName, inputState, inputObject) | |
406 | if inputState == Enum.UserInputState.End then | |
407 | if mouse.Target.Parent.Name == "Door" and mouse.Target.Name ~= "Lock" and mouse.Target.Name ~= "Click" then | |
408 | local door = mouse.Target.Parent | |
409 | door:FindFirstChild("Lock").ClickDetector.RemoteEvent:FireServer() | |
410 | elseif mouse.Target.Parent.Parent.Name == "Door" then | |
411 | local door = mouse.Target.Parent.Parent | |
412 | door:FindFirstChild("Lock").ClickDetector.RemoteEvent:FireServer() | |
413 | end | |
414 | end | |
415 | end | |
416 | ||
417 | function Open(actionName, inputState, inputObject) | |
418 | if inputState == Enum.UserInputState.End then | |
419 | if mouse.Target.Parent.Name == "Door" and mouse.Target.Name ~= "Lock" and mouse.Target.Name ~= "Click" then | |
420 | local door = mouse.Target.Parent | |
421 | door:FindFirstChild("Click").ClickDetector.RemoteEvent:FireServer() | |
422 | elseif mouse.Target.Parent.Parent.Name == "Door" then | |
423 | local door = mouse.Target.Parent.Parent | |
424 | door:FindFirstChild("Click").ClickDetector.RemoteEvent:FireServer() | |
425 | end | |
426 | end | |
427 | end | |
428 | ||
429 | function Steal(actionName, inputState, inputObject) | |
430 | if inputState == Enum.UserInputState.Begin then | |
431 | context:BindAction("Sound", Sound, false, Enum.UserInputType.MouseButton1) | |
432 | context:BindAction("Decal", Decal, false, Enum.UserInputType.MouseButton2) | |
433 | else | |
434 | context:UnbindAction("Sound") | |
435 | context:UnbindAction("Decal") | |
436 | end | |
437 | end | |
438 | ||
439 | function Sound(actionName, inputState, inputObject) | |
440 | if inputState == Enum.UserInputState.End then | |
441 | if mouse.Target.Parent:FindFirstChild("BoomBox") and mouse.Target.Parent.BoomBox.Handle.Sound.SoundId ~= nil then | |
442 | local sound = mouse.Target.Parent.BoomBox | |
443 | print("Sound: "..sound.Handle.Sound.SoundId:match("%d+")) | |
444 | elseif mouse.Target.Parent.Parent:FindFirstChild("BoomBox") and mouse.Target.Parent.Parent.BoomBox.Handle.Sound.SoundId ~= nil then | |
445 | local sound = mouse.Target.Parent.Parent.BoomBox | |
446 | print("Sound: "..sound.Handle.Sound.SoundId:match("%d+")) | |
447 | end | |
448 | end | |
449 | end | |
450 | ||
451 | function Decal(actionName, inputState, inputObject) | |
452 | if inputState == Enum.UserInputState.End then | |
453 | if mouse.Target.Name:find("Spray") and mouse.Target:FindFirstChild("Decal") ~= nil then | |
454 | print("Decal: "..mouse.Target.Decal.Texture:match("%d+")) | |
455 | end | |
456 | end | |
457 | end | |
458 | ||
459 | function Spray(actionName, inputState, inputObject) | |
460 | if inputState == Enum.UserInputState.End then | |
461 | if mouse.Target ~= nil and player.Character:FindFirstChild("Spray") ~= nil then | |
462 | player.Character.Spray.SprayIt:FireServer("http://www.roblox.com/asset/?id=", b2.Text, mouse.TargetSurface, t2.Text, mouse.Target, mouse.Hit) | |
463 | end | |
464 | end | |
465 | end | |
466 | ||
467 | for Num, Obj in pairs(game.Workspace:GetChildren()) do | |
468 | if Obj.Name == "Car" and Obj:FindFirstChild("Drive") ~= nil then | |
469 | Obj.Drive.MaxSpeed = 500 | |
470 | Obj.Drive.Torque = 60 | |
471 | end | |
472 | end | |
473 | ||
474 | context:BindAction("Items", Items, false, Enum.KeyCode.P) | |
475 | context:BindAction("Car", Car, false, Enum.KeyCode.K) | |
476 | context:BindAction("Door", Door, false, Enum.KeyCode.LeftControl) | |
477 | ||
478 | Speed() | |
479 | Gui() | |
480 | ||
481 | print("The streets have loaded, thanks for using this edit!") | |
482 | ||
483 | print("Fixed for you noobs without loadstring or getobjects!") |