View difference between Paste ID: 3LnczDs2 and ndUxENXT
SHOW: | | - or go back to the newest paste.
1
-- This script has been converted to FE by iPxter
2
3
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,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8-
local Player = Players.LocalPlayer
8+
	script.Parent = Player.Character
9
10-
local Mouse = Player:GetMouse()
10+
	--RemoteEvent for communicating
11
	local Event = Instance.new("RemoteEvent")
12
	Event.Name = "UserInput_Event"
13
14
	--Fake event to make stuff like Mouse.KeyDown work
15
	local function fakeEvent()
16
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
17
		t.connect = t.Connect
18
		return t
19
	end
20
21
	--Creating fake input objects with fake variables
22
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
23
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
24
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
25
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
26
	end}
27
	--Merged 2 functions into one by checking amount of arguments
28
	CAS.UnbindAction = CAS.BindAction
29
30
	--This function will trigger the events that have been :Connect()'ed
31
	local function te(self,ev,...)
32
		local t = m[ev]
33
		if t and t._fakeEvent and t.Function then
34
			t.Function(...)
35
		end
36
	end
37
	m.TrigEvent = te
38
	UIS.TrigEvent = te
39
40
	Event.OnServerEvent:Connect(function(plr,io)
41
	    if plr~=Player then return end
42
		if io.isMouse then
43
			m.Target = io.Target
44
			m.Hit = io.Hit
45
		else
46
			local b = io.UserInputState == Enum.UserInputState.Begin
47
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
48
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
49
			end
50
			for _,t in pairs(CAS.Actions) do
51
				for _,k in pairs(t.Keys) do
52
					if k==io.KeyCode then
53
						t.Function(t.Name,io.UserInputState,io)
54
					end
55
				end
56
			end
57
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59
	    end
60
	end)
61
	Event.Parent = NLS([==[
62
	local Player = game:GetService("Players").LocalPlayer
63
	local Event = script:WaitForChild("UserInput_Event")
64
65
	local UIS = game:GetService("UserInputService")
66
	local input = function(io,a)
67
		if a then return end
68
		--Since InputObject is a client-side instance, we create and pass table instead
69
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
70
	end
71
	UIS.InputBegan:Connect(input)
72
	UIS.InputEnded:Connect(input)
73
74
	local Mouse = Player:GetMouse()
75
	local h,t
76
	--Give the server mouse data 30 times every second, but only if the values changed
77
	--If player is not moving their mouse, client won't fire events
78
	while wait(1/30) do
79
		if h~=Mouse.Hit or t~=Mouse.Target then
80
			h,t=Mouse.Hit,Mouse.Target
81
			Event:FireServer({isMouse=true,Target=t,Hit=h})
82
		end
83
	end]==],Player.Character)
84
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
85
end
86
87
-- RBX.Lua LocalScript | Hackerman | xDarkScripter
88
89
90
local Players = game:GetService("Players")
91
local UserInputService = game:GetService("UserInputService")
92
local RunService = game:GetService("RunService")
93
94
local Player = owner
95
local Camera = workspace.CurrentCamera
96
97
local Character = Player.Character
98
local Torso = Character.Torso
99
100
local Typing = false
101
local TypingSub = 1
102
local TypingSub2 = 1
103
104
local Neck = Torso.Neck
105
106
Neck.C1 = CFrame.new(0, -0.5, 0)
107
108
local RightArm = Character["Right Arm"]
109
local LeftArm = Character["Left Arm"]
110
111
local RightShoulder = Instance.new("Weld", Torso)
112
RightShoulder.Part0 = Torso
113
RightShoulder.Part1 = RightArm
114
115
local LeftShoulder = Instance.new("Weld", Torso)
116
LeftShoulder.Part0 = Torso
117
LeftShoulder.Part1 = LeftArm
118
119
RightShoulder.C1 = CFrame.new(-0.5, 0.5, 0)
120
LeftShoulder.C1 = CFrame.new(0.5, 0.5, 0)
121
122
123
local Code = [[
124
	-- I failed at stealing my mommy's credit card!
125
	
126
	Server Proxy Connection Initializing...
127
	
128
	USERNAME: dantdmbestfan69
129
	PASSWORD: *******************
130
	
131
	
132
	ROBLOX Server Database Connecting...
133
	
134
	
135
	local Proxy = Server:GetProxyData(1011101)
136
	local Tracker = {}
137
	
138
	__INIT__ setmetatable(getmetatable(Proxy), {
139
		__metatable = {};
140
		__call = function(Self, ...)
141
			Proxy:GetArgumentData(Proxy.Key, select(...))
142
		end;
143
	})
144
	
145
	Proxy:TransferData("Lifetime_OBC_Charged",
146
		"ACC_"..__VERSION.."_"..Proxy:GetAccount()
147
	{
148
		__newindex = function(Self, Key, Value)
149
			Tracker[Key] = Value
150
			rawset(Self, Key, Value)
151
		end
152
	})
153
	
154
	Proxy:GetTransferredData().breakAssymetricEncryption(
155
		"NEW_Public_Key", true, 101, false
156
	)
157
	
158
	
159
	ROBLOX Server Log:
160
		> Lifetime OBC Transferred to dantdmbestfan69_*******************
161
	
162
	
163
	
164
	
165
]]
166
167
168
local Argument = [[
169
	you> hey              
170
	...
171
	bob> hey                      
172
	...
173
	bob> btw you're gay              
174
	...
175
	you> What the fuck did you just fucking say about me, you little bitch? I’ll have you know I graduated top of my class in the Navy Seals,
176
	and I’ve been involved in numerous secret raids on Al-Quaeda, and I have over 300 confirmed kills. I am trained in gorilla warfare and
177
	I’m the top sniper in the entire US armed forces. You are nothing to me but just another target. I will wipe you the fuck out with precision
178
	the likes of which has never been seen before on this Earth, mark my fucking words. You think you can get away with saying that shit to me
179
	over the Internet? Think again, fucker. As we speak I am contacting my secret network of spies across the USA and your IP is being traced
180
	right now so you better prepare for the storm, maggot. The storm that wipes out the pathetic little thing you call your life. You’re fucking
181
	dead, kid. I can be anywhere, anytime, and I can kill you in over seven hundred ways, and that’s just with my bare hands. Not only am I
182
	extensively trained in unarmed combat, but I have access to the entire arsenal of the United States Marine Corps and I will use it to its
183
	full extent to wipe your miserable ass off the face of the continent, you little shit. If only you could have known what unholy retribution
184
	your little “clever” comment was about to bring down upon you, maybe you would have held your fucking tongue. But you couldn’t, you didn’t,
185
	and now you’re paying the price, you goddamn idiot. I will shit fury all over you and you will drown in it. You’re fucking dead, kiddo.
186
]]
187
188
189
190
game.Lighting.GlobalShadows = false
191
game.Lighting.Brightness = 0.25
192
193
194
local function Smooth(Part)
195
	Part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
196
	Part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
197
	Part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
198
	Part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
199
	Part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
200
	Part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
201
end
202
203
204
local function SetLine(Line, Alpha, Beta)
205
	local dx = Alpha.Position.X.Scale - Beta.Position.X.Scale
206
	local dy = Alpha.Position.Y.Scale - Beta.Position.Y.Scale
207
	local Magnitude = math.sqrt(dx^2 + dy^2)
208
	
209
	Line.Size = UDim2.new(Magnitude, 0, 0, 8)
210
	Line.Position = Alpha.Position:Lerp(Beta.Position, 0.5)
211
	Line.Rotation = math.deg(math.atan2(dy, dx))
212
end
213
214
215
local Keyboard = Instance.new("Part")
216
Keyboard.BrickColor = BrickColor.new("Really black")
217
Keyboard.Material = Enum.Material.Neon
218
Keyboard.Transparency = 0.1
219
Keyboard.Size = Vector3.new(5, 0, 2)
220
Keyboard.CanCollide = false
221
Keyboard.Locked = true
222
223
Smooth(Keyboard)
224
225
local KeyboardWeld = Instance.new("Weld")
226
KeyboardWeld.Part0 = Torso
227
KeyboardWeld.Part1 = Keyboard
228
KeyboardWeld.C0 = CFrame.new(0, 0.2, -2) * CFrame.Angles(0.3, 0, 0)
229
230
KeyboardWeld.Parent = Keyboard
231
Keyboard.Parent = Character
232
233
234
local Light = Instance.new("PointLight")
235
Light.Brightness = 1.5
236
Light.Range = 12
237
Light.Parent = Keyboard
238
239
240
local Screen = Instance.new("Part")
241
Screen.BrickColor = BrickColor.new("Really black")
242
Screen.Material = Enum.Material.Neon
243
Screen.Transparency = 0.3
244
Screen.Size = Vector3.new(6, 4, 0)
245
Screen.CanCollide = false
246
Screen.Locked = true
247
248
Smooth(Screen)
249
250
local ScreenWeld = Instance.new("Weld")
251
ScreenWeld.Part0 = Torso
252
ScreenWeld.Part1 = Screen
253
ScreenWeld.C0 = CFrame.new(0, 3.5, -4.5) * CFrame.Angles(0.1, 0, 0)
254
255
local Gui = Instance.new("SurfaceGui")
256
Gui.Face = "Back"
257
Gui.Adornee = Screen
258
Gui.Parent = Screen
259
260
local Text = Instance.new("TextBox")
261
Text.BackgroundTransparency = 1
262
Text.Position = UDim2.new(0, 0, 0, 0)
263
Text.Size = UDim2.new(1, 0, 1, 0)
264
Text.TextColor3 = Color3.new(1, 1, 1)
265
Text.Font = Enum.Font.Code
266
Text.Active = false
267
Text.MultiLine = true
268
Text.TextWrapped = true
269
Text.FontSize = Enum.FontSize.Size32
270
Text.TextXAlignment = Enum.TextXAlignment.Left
271
Text.TextYAlignment = Enum.TextYAlignment.Top
272
Text.Text = ""
273
274
Text.Parent = Gui
275
276
ScreenWeld.Parent = Screen
277
Screen.Parent = Character
278
279
280
281
local Screen2 = Instance.new("Part")
282
Screen2.BrickColor = BrickColor.new("Really black")
283
Screen2.Material = Enum.Material.Neon
284
Screen2.Transparency = 0.3
285
Screen2.Size = Vector3.new(6, 4, 0)
286
Screen2.CanCollide = false
287
Screen2.Locked = true
288
289
Smooth(Screen2)
290
291
local Screen2Weld = Instance.new("Weld")
292
Screen2Weld.Part0 = Torso
293
Screen2Weld.Part1 = Screen2
294
Screen2Weld.C0 = CFrame.new(5.4, 3.4, -1.5) * CFrame.Angles(0.1, -0.9, 0)
295
296
local Gui2 = Instance.new("SurfaceGui")
297
Gui2.Face = "Back"
298
Gui2.Adornee = Screen2
299
Gui2.Parent = Screen2
300
301
local Text2 = Instance.new("TextBox")
302
Text2.BackgroundTransparency = 1
303
Text2.Position = UDim2.new(0, 0, 0, 0)
304
Text2.Size = UDim2.new(1, 0, 1, 0)
305
Text2.TextColor3 = Color3.new(0, 1, 0)
306
Text2.Font = Enum.Font.Code
307
Text2.Active = false
308
Text2.MultiLine = true
309
Text2.TextWrapped = true
310
Text2.FontSize = Enum.FontSize.Size32
311
Text2.TextXAlignment = Enum.TextXAlignment.Left
312
Text2.TextYAlignment = Enum.TextYAlignment.Top
313
Text2.Text = ""
314
315
Text2.Parent = Gui2
316
317
local ImageKey = Instance.new("ImageLabel")
318
ImageKey.BackgroundTransparency = 1
319
ImageKey.Size = UDim2.new(0.2, 0, 0.2, 0)
320
ImageKey.Position = UDim2.new(0.4, 0, 0.4, 0)
321
ImageKey.Image = "http://www.roblox.com/asset/?id=697224414"
322
ImageKey.ImageTransparency = 1
323
ImageKey.Parent = Gui2
324
325
Screen2Weld.Parent = Screen2
326
Screen2.Parent = Character
327
328
329
330
local Screen3 = Instance.new("Part")
331
Screen3.BrickColor = BrickColor.new("Really black")
332
Screen3.Material = Enum.Material.Neon
333
Screen3.Transparency = 0.3
334
Screen3.Size = Vector3.new(6, 4, 0)
335
Screen3.CanCollide = false
336
Screen3.Locked = true
337
338
Smooth(Screen3)
339
340
local Screen3Weld = Instance.new("Weld")
341
Screen3Weld.Part0 = Torso
342
Screen3Weld.Part1 = Screen3
343
Screen3Weld.C0 = CFrame.new(-5.4, 3.4, -1.5) * CFrame.Angles(0.1, 0.9, 0)
344
345
local Gui3 = Instance.new("SurfaceGui")
346
Gui3.Face = "Back"
347
Gui3.Adornee = Screen3
348
Gui3.Parent = Screen3
349
350
local Map = Instance.new("ImageLabel")
351
Map.BackgroundTransparency = 1
352
Map.Position = UDim2.new(0, 0, 0, 0)
353
Map.Size = UDim2.new(1, 0, 1, 0)
354
Map.Image = "http://www.roblox.com/asset/?id=121661614"
355
356
Map.Parent = Gui3
357
358
Screen3Weld.Parent = Screen3
359
Screen3.Parent = Character
360
361
local Points = {}
362
local Lines = {}
363
364
for i = 1, 10 do
365
	if i > 1 then
366
		local Line = Instance.new("Frame")
367
		Line.BorderSizePixel = 0
368
		Line.BackgroundColor3 = Color3.new(0.8, 0, 0)
369
		Line.AnchorPoint = Vector2.new(0.5, 0.5)
370
		Line.Parent = Gui3
371
		
372
		Lines[i] = Line
373
	end
374
	
375
	local Point = Instance.new("Frame")
376
	Point.BorderSizePixel = 0
377
	Point.BackgroundColor3 = Color3.new(1, 0, 0)
378
	Point.Size = UDim2.new(0, 40, 0, 40)
379
	Point.Position = UDim2.new(math.random(), 0, math.random(), 0)
380
	Point.AnchorPoint = Vector2.new(0.5, 0.5)
381
	Point.Parent = Gui3
382
	
383
	Points[i] = {Point = Point, Position = Point.Position}
384
end
385
386
387
388
389
UserInputService.InputBegan:Connect(function(Input, Processed)
390
	if Processed then return end
391
	
392
	if Input.UserInputType == Enum.UserInputType.Keyboard then
393
		local KeyCode = Input.KeyCode
394
		
395
		if KeyCode == Enum.KeyCode.E then
396
			Typing = not Typing
397
		end
398
	end
399
end)
400
401
402
403
RunService.Heartbeat:Connect(function()
404
	local Sine = math.sin(tick() * 8) / 8
405
	
406
	for Key, Value in next, Points do
407
		Value.Point.Size = UDim2.new(0, 25 + Sine * 40, 0, 25 + Sine * 40)
408
		Value.Point.Position = Value.Point.Position:Lerp(Value.Position, 0.1)
409
		
410
		if Key > 1 then
411
			SetLine(Lines[Key], Value.Point, Points[1].Point)
412
		end
413
	end
414
	
415
	if math.random(100) == 1 then
416
		for _, Value in next, Points do
417
			Value.Position = UDim2.new(math.random(), 0, math.random(), 0)
418
		end
419
	end
420
	
421
	ImageKey.ImageTransparency = math.abs(math.sin(tick()))
422
	
423
	if Typing then
424
		if math.random(5) == 1 then
425
			local PressSound = Instance.new("Sound")
426
			PressSound.SoundId = "rbxassetid://265970978"
427
			PressSound.Pitch = 0.5 + math.random() / 5
428
			PressSound.Volume = 3
429
			PressSound.Parent = Keyboard
430
			PressSound:Play()
431
			
432
			game:GetService("Debris"):AddItem(PressSound, 1 / 2)
433
		end
434
		
435
		Neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(-0.2 + Sine / 4, (math.random() - 0.5) / 2, 0)
436
		
437
		RightShoulder.C0 = CFrame.new(1, 0.6 + math.random() / 4, -math.random() * 0.7)
438
			* CFrame.Angles(1.5 + Sine * math.random(), -Sine / 4, -(0.5 + 2 * Sine * math.random()))
439
		
440
		LeftShoulder.C0 = CFrame.new(-1, 0.6 + math.random() / 4, -math.random() * 0.7)
441
			* CFrame.Angles(1.5 - Sine * math.random(), Sine / 4, 0.5 + 2 * Sine * math.random())
442
		
443
		if math.random(2) == 1 then
444
			if TypingSub < #Argument then
445
				TypingSub = TypingSub + 1
446
				Text.Text = Text.Text..Argument:sub(TypingSub, TypingSub)
447
				
448
				local nl = Text.Text:find("\n")
449
				
450
				if nl and #Text.Text > 400 then
451
					Text.Text = Text.Text:sub(nl + 1)
452
				end
453
				
454
			else
455
				TypingSub = 1
456
			end
457
		end
458
		
459
		if math.random(3) == 1 then
460
			if TypingSub2 < #Code then
461
				TypingSub2 = TypingSub2 + 1
462
				Text2.Text = Text2.Text..Code:sub(TypingSub2, TypingSub2)
463
				
464
				local nl = Text2.Text:find("\n")
465
				
466
				if nl and #Text2.Text > 400 then
467
					Text2.Text = Text2.Text:sub(nl + 1)
468
				end
469
				
470
			else
471
				TypingSub2 = 1
472
			end
473
		end
474
		
475
	else
476
		Neck.C0 = CFrame.new(0, 1, 0)
477
		
478
		RightShoulder.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(1.5, 0, 0)
479
		LeftShoulder.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(1.5, 0, 0)
480
	end
481
end)