View difference between Paste ID: dgdMrf2e and FWbG0NwV
SHOW: | | - or go back to the newest paste.
1
-- RBX.Lua LocalScript | Hackerman | xDarkScripter | Edit By Skips2267, triggerednolie.
2
3
--https://github.com/Mokiros/roblox-FE-compatibility
4-
local Players = game:GetService("Players")
4+
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,game,owner = owner,game
6
local RealPlayer = Player
7
do
8
	print("FE Compatibility code by Mokiros")
9
	local rp = RealPlayer
10
	script.Parent = rp.Character
11
	
12
	--RemoteEvent for communicating
13
	local Event = Instance.new("RemoteEvent")
14
	Event.Name = "UserInput_Event"
15
16
	--Fake event to make stuff like Mouse.KeyDown work
17
	local function fakeEvent()
18
		local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
19
		t.connect = t.Connect
20
		return t
21
	end
22
23
	--Creating fake input objects with fake variables
24
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
25
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
26
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
27
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
28
	end}
29
	--Merged 2 functions into one by checking amount of arguments
30
	CAS.UnbindAction = CAS.BindAction
31
32
	--This function will trigger the events that have been :Connect()'ed
33
	local function te(self,ev,...)
34
		local t = m[ev]
35
		if t and t._fakeEvent then
36
			for _,f in pairs(t.Functions) do
37
				f(...)
38
			end
39
		end
40
	end
41
	m.TrigEvent = te
42
	UIS.TrigEvent = te
43
44
	Event.OnServerEvent:Connect(function(plr,io)
45
	    if plr~=rp then return end
46
		m.Target = io.Target
47
		m.Hit = io.Hit
48
		if not io.isMouse then
49
			local b = io.UserInputState == Enum.UserInputState.Begin
50
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
51
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
52
			end
53
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
54
				return m:TrigEvent(b and "Button2Down" or "Button2Up")
55
			end
56
			for _,t in pairs(CAS.Actions) do
57
				for _,k in pairs(t.Keys) do
58
					if k==io.KeyCode then
59
						t.Function(t.Name,io.UserInputState,io)
60
					end
61
				end
62
			end
63
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
64
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
65
	    end
66
	end)
67
	Event.Parent = NLS([==[
68
	local Player = game:GetService("Players").LocalPlayer
69
	local Event = script:WaitForChild("UserInput_Event")
70
71
	local Mouse = Player:GetMouse()
72
	local UIS = game:GetService("UserInputService")
73
	local input = function(io,a)
74
		if a then return end
75
		--Since InputObject is a client-side instance, we create and pass table instead
76
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
77
	end
78
	UIS.InputBegan:Connect(input)
79
	UIS.InputEnded:Connect(input)
80
81
	local h,t
82
	--Give the server mouse data 30 times every second, but only if the values changed
83
	--If player is not moving their mouse, client won't fire events
84
	while wait(1/30) do
85
		if h~=Mouse.Hit or t~=Mouse.Target then
86
			h,t=Mouse.Hit,Mouse.Target
87
			Event:FireServer({isMouse=true,Target=t,Hit=h})
88
		end
89
	end]==],Player.Character)
90
91
	----Sandboxed game object that allows the usage of client-side methods and services
92
	--Real game object
93
	local _rg = game
94
95
	--Metatable for fake service
96
	local fsmt = {
97
		__index = function(self,k)
98
			local s = rawget(self,"_RealService")
99
			if s then
100
				return typeof(s[k])=="function"
101
				and function(_,...)return s[k](s,...)end or s[k]
102
			end
103
		end,
104
		__newindex = function(self,k,v)
105
			local s = rawget(self,"_RealService")
106
			if s then s[k]=v end
107
		end
108
	}
109
	local function FakeService(t,RealService)
110
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
111
		return setmetatable(t,fsmt)
112
	end
113
114
	--Fake game object
115
	local g = {
116
		GetService = function(self,s)
117
			return rawget(self,s) or _rg:GetService(s)
118
		end,
119
		Players = FakeService({
120
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
121
		},"Players"),
122
		UserInputService = FakeService(UIS,"UserInputService"),
123
		ContextActionService = FakeService(CAS,"ContextActionService"),
124
		RunService = FakeService({
125
			_btrs = {},
126
			RenderStepped = _rg:GetService("RunService").Heartbeat,
127
			BindToRenderStep = function(self,name,_,fun)
128
				self._btrs[name] = self.Heartbeat:Connect(fun)
129
			end,
130
			UnbindFromRenderStep = function(self,name)
131
				self._btrs[name]:Disconnect()
132
			end,
133
		},"RunService")
134
	}
135
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
136
	g.service = g.GetService
137
	FakeService(g,game)
138
	--Changing owner to fake player object to support owner:GetMouse()
139
	game,owner = g,g.Players.LocalPlayer
140
end
141
local Players = owner
142
local UserInputService = game:GetService("UserInputService")
143
local RunService = game:GetService("RunService")
144
145
local Player = Players.LocalPlayer
146
local Camera = workspace.CurrentCamera
147
local Mouse = Player:GetMouse()
148
149
local Character = Player.Character
150
local Torso = Character.Torso
151
152
local Typing = false
153
local TypingSub = 1
154
local TypingSub2 = 1
155
156
local Neck = Torso.Neck
157
158
Neck.C1 = CFrame.new(0, -0.5, 0)
159
160
local RightArm = Character["Right Arm"]
161
local LeftArm = Character["Left Arm"]
162
163
local RightShoulder = Instance.new("Weld", Torso)
164
RightShoulder.Part0 = Torso
165
RightShoulder.Part1 = RightArm
166
167
local LeftShoulder = Instance.new("Weld", Torso)
168
LeftShoulder.Part0 = Torso
169
LeftShoulder.Part1 = LeftArm
170
171
RightShoulder.C1 = CFrame.new(-0.5, 0.5, 0)
172
LeftShoulder.C1 = CFrame.new(0.5, 0.5, 0)
173
174
175
local Code = [[
176
	-- I failed at downloading ssf2
177
	
178
	Server Proxy Connection Initializing...
179
	
180
	USERNAME: Zneakyblox
181
	PASSWORD: ???
182
	
183
	
184
	ROBLOX Server Database Connecting...
185
	
186
	
187
	local Proxy = Server:GetMemeData(1011101)
188
	local Tracker = {}
189
	
190
	__INIT__ setmetatable(getmetatable(Meme), {
191
		__metatable = {};
192
		__call = function(Self, ...)
193
			Proxy:GetArgumentData(MEME.Key, select(...))
194
		end;
195
	})
196
	
197
	Proxy:TransferData("Lifetime_OBC_Charged",
198
		"ACCVERSION_89_MEME:GetAccount()
199
	{
200
		__newindex = function(Self, Key, Value)
201
			Tracker[Key] = Value
202
			rawset(Self, Key, Value)
203
		end
204
	})
205
	
206
	Proxy:GetTransferredData().breakAssymetricEncryption(
207
		"NEW_MEME_KEY", true, 102, false
208
	)
209
	
210
	
211
	ROBLOX Server Log:
212
		> 420 Robux Transferred to Snoop Dog???
213
		
214
		Spicy Memes
215
		
216
		ERROR<Tried to Give 69000 Robux to Dumbassbird1, Failed To Give 69000 Robux , deleting Sammy>
217
		Deleting Sammyclassicsonicfan..50%
218
		Deleting Sammyclassicsonicfan..100%
219
		Successfully deleted Sammyclassicsonicfan.
220
		Message<WHY SONIC WHY SONIC WHY SONIC!!!
221
   NASA FOUND
222
		<div role="log" aria-live="assertive" aria-relevant="additions" class="ui-helper-hidden-accessible"></div>
223
		
224
	
225
	
226
	
227
	
228
]]
229
230
231
local Argument = [[
232
	           
233
	You> 11000011001101                    
234
235
	You> 00110000011110             
236
237
	You> 1100011
238
239
	You> 000111100
240
	
241
	You> End(Server)
242
243
	Server> Server ended.
244
	
245
	Discord> Joining VoidSB Discord..
246
247
	Server> Joined VoidSB Discord!
248
	
249
	You > afk 99 years
250
	
251
	Server> You got banned for 9999 years because of afk for 99 years!
252
	           
253
	You> 11000011001101                    
254
255
	You> 00110000011110             
256
257
	You> 1100011
258
259
	You> 000111100
260
	
261
	You> Delete(VoidSB)
262
263
	Server> Server deleted.
264
265
	Discord> Finding Dark Eccentric Party..
266
	Discord> Founded Dark's Party!
267
268
	Google> Searching NASA
269
	Google> Success!
270
   IP : 15.90.138.102
271
   Money : 139.1B
272
  Phone : 202-555-0179
273
	
274
	You> Damn, NASA got some money.
275
	
276
	You> GET NASA MONEY
277
278
	You> =GETTING NASA MONEY=
279
280
	NEWS> we heard that nasa got no money
281
282
	You> Now it's time for ROBLOX
283
284
	You>  <div class="navbar navbar-default navbar-static-top"
285
286
	You> This should be happening now.
287
288
   ROBLOX> Roblox is currently under going maintence.. We'll be back up soon!
289
290
	You> I'm going to hack minecraft now.
291
292
	You> <li class="item item-fandom" data-flag=""destroy:="
293
294
	Notch> Peoples are getting premium accounts out of no where!
295
	
296
	You> =Uses w33b hacks=
297
	
298
	You> I added a new version of minecraft
299
300
	You> 1337.666
301
302
	Update : "Added Premium Mode"
303
]]
304
305
306
307
game.Lighting.GlobalShadows = false
308
game.Lighting.Brightness = 0.25
309
310
311
local function Smooth(Part)
312
	Part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
313
	Part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
314
	Part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
315
	Part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
316
	Part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
317
	Part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
318
end
319
320
321
local function SetLine(Line, Alpha, Beta)
322
	local dx = Alpha.Position.X.Scale - Beta.Position.X.Scale
323
	local dy = Alpha.Position.Y.Scale - Beta.Position.Y.Scale
324
	local Magnitude = math.sqrt(dx^2 + dy^2)
325
	
326
	Line.Size = UDim2.new(Magnitude, 0, 0, 8)
327
	Line.Position = Alpha.Position:Lerp(Beta.Position, 0.5)
328
	Line.Rotation = math.deg(math.atan2(dy, dx))
329
end
330
331
332
local Keyboard = Instance.new("Part")
333
Keyboard.BrickColor = BrickColor.new("Lsvender")
334
Keyboard.Material = Enum.Material.Neon
335
Keyboard.Transparency = 0.6
336
Keyboard.Size = Vector3.new(5, 0, 2)
337
Keyboard.CanCollide = false
338
Keyboard.Locked = true
339
340
Smooth(Keyboard)
341
342
local KeyboardWeld = Instance.new("Weld")
343
KeyboardWeld.Part0 = Torso
344
KeyboardWeld.Part1 = Keyboard
345
KeyboardWeld.C0 = CFrame.new(0, 0.2, -2) * CFrame.Angles(0.3, 0, 0)
346
347
KeyboardWeld.Parent = Keyboard
348
Keyboard.Parent = Character
349
350
351
local Light = Instance.new("PointLight")
352
Light.Brightness = 1.5
353
Light.Range = 12
354
Light.Parent = Keyboard
355
356
357
local Screen = Instance.new("Part")
358
Screen.BrickColor = BrickColor.new("Really black")
359
Screen.Material = Enum.Material.Neon
360
Screen.Transparency = 0.6
361
Screen.Size = Vector3.new(6, 4, 0)
362
Screen.CanCollide = false
363
Screen.Locked = true
364
365
Smooth(Screen)
366
367
local ScreenWeld = Instance.new("Weld")
368
ScreenWeld.Part0 = Torso
369
ScreenWeld.Part1 = Screen
370
ScreenWeld.C0 = CFrame.new(0, 3.5, -4.5) * CFrame.Angles(0.1, 0, 0)
371
372
local animeh = Instance.new("Part")
373
animeh.BrickColor = BrickColor.new("Really black")
374
animeh.Material = Enum.Material.Neon
375
animeh.Transparency = 0.6
376
animeh.Size = Vector3.new(6, 4, 0)
377
animeh.CanCollide = false
378
animeh.Locked = true
379
380
local dekal = Instance.new("Decal",animeh)
381
dekal.Texture = "http://www.roblox.com/asset/?id=626650325"
382
dekal.Transparency = 0.15
383
dekal.Face = "Back"
384
385
Smooth(animeh)
386
387
local animehw = Instance.new("Weld")
388
animehw.Part0 = Torso
389
animehw.Part1 = animeh
390
animehw.C0 = CFrame.new(0, 8, -4) * CFrame.Angles(.5,0,0)
391
392
animehw.Parent = animeh
393
animeh.Parent = Character
394
395
local Gui = Instance.new("SurfaceGui")
396
Gui.Face = "Back"
397
Gui.Adornee = Screen
398
Gui.Parent = Screen
399
400
local Text = Instance.new("TextBox")
401
Text.BackgroundTransparency = 1
402
Text.Position = UDim2.new(0, 0, 0, 0)
403
Text.Size = UDim2.new(1, 0, 1, 0)
404
Text.TextColor3 = Color3.new(1, 1, 1)
405
Text.Font = Enum.Font.Code
406
Text.Active = false
407
Text.MultiLine = true
408
Text.TextWrapped = true
409
Text.FontSize = Enum.FontSize.Size32
410
Text.TextXAlignment = Enum.TextXAlignment.Left
411
Text.TextYAlignment = Enum.TextYAlignment.Top
412
Text.Text = ""
413
414
Text.Parent = Gui
415
416
ScreenWeld.Parent = Screen
417
Screen.Parent = Character
418
419
420
421
local Screen2 = Instance.new("Part")
422
Screen2.BrickColor = BrickColor.new("Really black")
423
Screen2.Material = Enum.Material.Neon
424
Screen2.Transparency = 0.6
425
Screen2.Size = Vector3.new(6, 4, 0)
426
Screen2.CanCollide = false
427
Screen2.Locked = true
428
429
Smooth(Screen2)
430
431
local Screen2Weld = Instance.new("Weld")
432
Screen2Weld.Part0 = Torso
433
Screen2Weld.Part1 = Screen2
434
Screen2Weld.C0 = CFrame.new(5.4, 3.4, -1.5) * CFrame.Angles(0.1, -0.9, 0)
435
436
local Gui2 = Instance.new("SurfaceGui")
437
Gui2.Face = "Back"
438
Gui2.Adornee = Screen2
439
Gui2.Parent = Screen2
440
441
local Text2 = Instance.new("TextBox")
442
Text2.BackgroundTransparency = 1
443
Text2.Position = UDim2.new(0, 0, 0, 0)
444
Text2.Size = UDim2.new(1, 0, 1, 0)
445
Text2.TextColor3 = Color3.new(0, 1, 0)
446
Text2.Font = Enum.Font.Code
447
Text2.Active = false
448
Text2.MultiLine = true
449
Text2.TextWrapped = true
450
Text2.FontSize = Enum.FontSize.Size32
451
Text2.TextXAlignment = Enum.TextXAlignment.Left
452
Text2.TextYAlignment = Enum.TextYAlignment.Top
453
Text2.Text = ""
454
455
Text2.Parent = Gui2
456
457
local ImageKey = Instance.new("ImageLabel")
458
ImageKey.BackgroundTransparency = 1
459
ImageKey.Size = UDim2.new(0.2, 0, 0.2, 0)
460
ImageKey.Position = UDim2.new(0.4, 0, 0.4, 0)
461
ImageKey.Image = "http://www.roblox.com/asset/?id=0"
462
ImageKey.ImageTransparency = 1
463
ImageKey.Parent = Gui2
464
465
Screen2Weld.Parent = Screen2
466
Screen2.Parent = Character
467
468
469
470
local Screen3 = Instance.new("Part")
471
Screen3.BrickColor = BrickColor.new("Really black")
472
Screen3.Material = Enum.Material.Neon
473
Screen3.Transparency = 0.6
474
Screen3.Size = Vector3.new(6, 4, 0)
475
Screen3.CanCollide = false
476
Screen3.Locked = true
477
478
local dekal = Instance.new("Decal",Screen3)
479
dekal.Texture = "http://www.roblox.com/asset/?id=0"
480
dekal.Transparency = 0.15
481
dekal.Face = "Back"
482
483
Smooth(Screen3)
484
485
local Screen3Weld = Instance.new("Weld")
486
Screen3Weld.Part0 = Torso
487
Screen3Weld.Part1 = Screen3
488
Screen3Weld.C0 = CFrame.new(-5.4, 3.4, -1.5) * CFrame.Angles(0.1, 0.9, 0)
489
490
local Gui3 = Instance.new("SurfaceGui")
491
Gui3.Face = "Back"
492
Gui3.Adornee = Screen3
493
Gui3.Parent = Screen3
494
495
local Map = Instance.new("ImageLabel")
496
Map.BackgroundTransparency = 1
497
Map.Position = UDim2.new(0, 0, 0, 0)
498
Map.Size = UDim2.new(1, 0, 1, 0)
499
Map.Image = "http://www.roblox.com/asset/?id=121661614"
500
501
Map.Parent = Gui3
502
503
Screen3Weld.Parent = Screen3
504
Screen3.Parent = Character
505
506
UserInputService.InputBegan:Connect(function(Input, Processed)
507
	if Processed then return end
508
	
509
	if Input.UserInputType == Enum.UserInputType.Keyboard then
510
		local KeyCode = Input.KeyCode
511
		
512
		if KeyCode == Enum.KeyCode.E then
513
			Typing = not Typing
514
		end
515
	end
516
end)
517
518
519
520
RunService.Heartbeat:Connect(function()
521
	local Sine = math.sin(tick() * 8) / 8
522
	
523
	ImageKey.ImageTransparency = math.abs(math.sin(tick()))
524
	
525
	if Typing then
526
		if math.random(5) == 1 then
527
			local PressSound = Instance.new("Sound")
528
			PressSound.SoundId = "rbxassetid://265970978"
529
			PressSound.Pitch = 0.5 + math.random() / 5
530
			PressSound.Volume = 3
531
			PressSound.Parent = Keyboard
532
			PressSound:Play()
533
			
534
			game:GetService("Debris"):AddItem(PressSound, 1 / 2)
535
		end
536
		
537
		Neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(-0.2 + Sine / 4, (math.random() - 0.5) / 2, 0)
538
		
539
		RightShoulder.C0 = CFrame.new(1, 0.6 + math.random() / 4, -math.random() * 0.7)
540
			* CFrame.Angles(1.5 + Sine * math.random(), -Sine / 4, -(0.5 + 2 * Sine * math.random()))
541
		
542
		LeftShoulder.C0 = CFrame.new(-1, 0.6 + math.random() / 4, -math.random() * 0.7)
543
			* CFrame.Angles(1.5 - Sine * math.random(), Sine / 4, 0.5 + 2 * Sine * math.random())
544
		
545
		if math.random(2) == 1 then
546
			if TypingSub < #Argument then
547
				TypingSub = TypingSub + 1
548
				Text.Text = Text.Text..Argument:sub(TypingSub, TypingSub)
549
				
550
				local nl = Text.Text:find("\n")
551
				
552
				if nl and #Text.Text > 400 then
553
					Text.Text = Text.Text:sub(nl + 1)
554
				end
555
				
556
			else
557
				TypingSub = 1
558
			end
559
		end
560
		
561
		if math.random(3) == 1 then
562
			if TypingSub2 < #Code then
563
				TypingSub2 = TypingSub2 + 1
564
				Text2.Text = Text2.Text..Code:sub(TypingSub2, TypingSub2)
565
				
566
				local nl = Text2.Text:find("\n")
567
				
568
				if nl and #Text2.Text > 400 then
569
					Text2.Text = Text2.Text:sub(nl + 1)
570
				end
571
				
572
			else
573
				TypingSub2 = 1
574
			end
575
		end
576
		
577
	else
578
		Neck.C0 = CFrame.new(0, 1, 0)
579
		
580
		RightShoulder.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(1.5, 0, 0)
581
		LeftShoulder.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(1.5, 0, 0)
582
	end
583
end)