View difference between Paste ID: f0VK50KX and whd8jESh
SHOW: | | - or go back to the newest paste.
1-
-- This script has been converted to FE by iPxter
1+
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
4+
5-
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
5+
6-
do
6+
7-
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
7+
8-
	script.Parent = Player.Character
8+
9
local Camera = workspace.CurrentCamera
10-
	--RemoteEvent for communicating
10+
11-
	local Event = Instance.new("RemoteEvent")
11+
12-
	Event.Name = "UserInput_Event"
12+
13
14-
	--Fake event to make stuff like Mouse.KeyDown work
14+
15-
	local function fakeEvent()
15+
16-
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
16+
17-
		t.connect = t.Connect
17+
18-
		return t
18+
19
20
Neck.C1 = CFrame.new(0, -0.5, 0)
21-
	--Creating fake input objects with fake variables
21+
22-
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
22+
23-
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
23+
24-
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
24+
25-
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
25+
26-
	end}
26+
27-
	--Merged 2 functions into one by checking amount of arguments
27+
28-
	CAS.UnbindAction = CAS.BindAction
28+
29
local LeftShoulder = Instance.new("Weld", Torso)
30-
	--This function will trigger the events that have been :Connect()'ed
30+
31-
	local function te(self,ev,...)
31+
32-
		local t = m[ev]
32+
33-
		if t and t._fakeEvent and t.Function then
33+
34-
			t.Function(...)
34+
35
36
37-
	m.TrigEvent = te
37+
38-
	UIS.TrigEvent = te
38+
39
	
40-
	Event.OnServerEvent:Connect(function(plr,io)
40+
41-
	    if plr~=Player then return end
41+
42-
		if io.isMouse then
42+
43-
			m.Target = io.Target
43+
44-
			m.Hit = io.Hit
44+
45-
		else
45+
46-
			local b = io.UserInputState == Enum.UserInputState.Begin
46+
47-
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
47+
48-
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
48+
49
	local Proxy = Server:GetMemeData(1011101)
50-
			for _,t in pairs(CAS.Actions) do
50+
51-
				for _,k in pairs(t.Keys) do
51+
52-
					if k==io.KeyCode then
52+
53-
						t.Function(t.Name,io.UserInputState,io)
53+
54-
					end
54+
55
			Proxy:GetArgumentData(MEME.Key, select(...))
56
		end;
57-
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
57+
58-
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
58+
59-
	    end
59+
60-
	end)
60+
61-
	Event.Parent = NLS([==[
61+
62-
	local Player = game:GetService("Players").LocalPlayer
62+
63-
	local Event = script:WaitForChild("UserInput_Event")
63+
64
			rawset(Self, Key, Value)
65-
	local UIS = game:GetService("UserInputService")
65+
66-
	local input = function(io,a)
66+
67-
		if a then return end
67+
68-
		--Since InputObject is a client-side instance, we create and pass table instead
68+
69-
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
69+
70
	)
71-
	UIS.InputBegan:Connect(input)
71+
72-
	UIS.InputEnded:Connect(input)
72+
73
	ROBLOX Server Log:
74-
	local Mouse = Player:GetMouse()
74+
75-
	local h,t
75+
76-
	--Give the server mouse data 30 times every second, but only if the values changed
76+
77-
	--If player is not moving their mouse, client won't fire events
77+
78-
	while wait(1/30) do
78+
79-
		if h~=Mouse.Hit or t~=Mouse.Target then
79+
80-
			h,t=Mouse.Hit,Mouse.Target
80+
81-
			Event:FireServer({isMouse=true,Target=t,Hit=h})
81+
82
		Message<WHY SONIC WHY SONIC WHY SONIC!!!
83-
	end]==],Player.Character)
83+
84-
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
84+
85
		
86
	
87
	
88
	
89
	
90
]]
91
92
93
local Argument = [[
94
	           
95
	You> 11000011001101                    
96
97
	You> 00110000011110             
98
99
	You> 1100011
100
101
	You> 000111100
102
	
103
	You> End(Server)
104
105
	Server> Server ended.
106
	
107
	Discord> Joining VoidSB Discord..
108
109
	Server> Joined VoidSB Discord!
110
	
111
	You > afk 99 years
112
	
113
	Server> You got banned for 9999 years because of afk for 99 years!
114
	           
115
	You> 11000011001101                    
116
117
	You> 00110000011110             
118
119
	You> 1100011
120
121
	You> 000111100
122
	
123
	You> Delete(VoidSB)
124
125
	Server> Server deleted.
126
127
	Discord> Finding Dark Eccentric Party..
128
	Discord> Founded Dark's Party!
129
130
	Google> Searching NASA
131
	Google> Success!
132
   IP : 15.90.138.102
133
   Money : 139.1B
134
  Phone : 202-555-0179
135
	
136
	You> Damn, NASA got some money.
137
	
138
	You> GET NASA MONEY
139
140
	You> =GETTING NASA MONEY=
141
142
	NEWS> we heard that nasa got no money
143
144
	You> Now it's time for ROBLOX
145
146
	You>  <div class="navbar navbar-default navbar-static-top"
147
148
	You> This should be happening now.
149
150
   ROBLOX> Roblox is currently under going maintence.. We'll be back up soon!
151
152
	You> I'm going to hack minecraft now.
153
154
	You> <li class="item item-fandom" data-flag=""destroy:="
155
156
	Notch> Peoples are getting premium accounts out of no where!
157
	
158
	You> =Uses w33b hacks=
159
	
160
	You> I added a new version of minecraft
161
162
	You> 1337.666
163
164
	Update : "Added Premium Mode"
165
]]
166
167
168
169
game.Lighting.GlobalShadows = false
170
game.Lighting.Brightness = 0.25
171
172
173
local function Smooth(Part)
174
	Part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
175
	Part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
176
	Part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
177
	Part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
178
	Part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
179
	Part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
180
end
181
182
183
local function SetLine(Line, Alpha, Beta)
184
	local dx = Alpha.Position.X.Scale - Beta.Position.X.Scale
185
	local dy = Alpha.Position.Y.Scale - Beta.Position.Y.Scale
186
	local Magnitude = math.sqrt(dx^2 + dy^2)
187
	
188
	Line.Size = UDim2.new(Magnitude, 0, 0, 8)
189
	Line.Position = Alpha.Position:Lerp(Beta.Position, 0.5)
190
	Line.Rotation = math.deg(math.atan2(dy, dx))
191
end
192
193
194
local Keyboard = Instance.new("Part")
195
Keyboard.BrickColor = BrickColor.new("Lsvender")
196
Keyboard.Material = Enum.Material.Neon
197
Keyboard.Transparency = 0.6
198
Keyboard.Size = Vector3.new(5, 0, 2)
199
Keyboard.CanCollide = false
200
Keyboard.Locked = true
201
202
Smooth(Keyboard)
203
204
local KeyboardWeld = Instance.new("Weld")
205
KeyboardWeld.Part0 = Torso
206
KeyboardWeld.Part1 = Keyboard
207
KeyboardWeld.C0 = CFrame.new(0, 0.2, -2) * CFrame.Angles(0.3, 0, 0)
208
209
KeyboardWeld.Parent = Keyboard
210
Keyboard.Parent = Character
211
212
213
local Light = Instance.new("PointLight")
214
Light.Brightness = 1.5
215
Light.Range = 12
216
Light.Parent = Keyboard
217
218
219
local Screen = Instance.new("Part")
220
Screen.BrickColor = BrickColor.new("Really black")
221
Screen.Material = Enum.Material.Neon
222
Screen.Transparency = 0.6
223
Screen.Size = Vector3.new(6, 4, 0)
224
Screen.CanCollide = false
225
Screen.Locked = true
226
227
Smooth(Screen)
228
229
local ScreenWeld = Instance.new("Weld")
230
ScreenWeld.Part0 = Torso
231
ScreenWeld.Part1 = Screen
232
ScreenWeld.C0 = CFrame.new(0, 3.5, -4.5) * CFrame.Angles(0.1, 0, 0)
233
234
local animeh = Instance.new("Part")
235
animeh.BrickColor = BrickColor.new("Really black")
236
animeh.Material = Enum.Material.Neon
237
animeh.Transparency = 0.6
238
animeh.Size = Vector3.new(6, 4, 0)
239
animeh.CanCollide = false
240
animeh.Locked = true
241
242
local dekal = Instance.new("Decal",animeh)
243
dekal.Texture = "http://www.roblox.com/asset/?id=626650325"
244
dekal.Transparency = 0.15
245
dekal.Face = "Back"
246
247
Smooth(animeh)
248
249
local animehw = Instance.new("Weld")
250
animehw.Part0 = Torso
251
animehw.Part1 = animeh
252
animehw.C0 = CFrame.new(0, 8, -4) * CFrame.Angles(.5,0,0)
253
254
animehw.Parent = animeh
255
animeh.Parent = Character
256
257
local Gui = Instance.new("SurfaceGui")
258
Gui.Face = "Back"
259
Gui.Adornee = Screen
260
Gui.Parent = Screen
261
262
local Text = Instance.new("TextBox")
263
Text.BackgroundTransparency = 1
264
Text.Position = UDim2.new(0, 0, 0, 0)
265
Text.Size = UDim2.new(1, 0, 1, 0)
266
Text.TextColor3 = Color3.new(1, 1, 1)
267
Text.Font = Enum.Font.Code
268
Text.Active = false
269
Text.MultiLine = true
270
Text.TextWrapped = true
271
Text.FontSize = Enum.FontSize.Size32
272
Text.TextXAlignment = Enum.TextXAlignment.Left
273
Text.TextYAlignment = Enum.TextYAlignment.Top
274
Text.Text = ""
275
276
Text.Parent = Gui
277
278
ScreenWeld.Parent = Screen
279
Screen.Parent = Character
280
281
282
283
local Screen2 = Instance.new("Part")
284
Screen2.BrickColor = BrickColor.new("Really black")
285
Screen2.Material = Enum.Material.Neon
286
Screen2.Transparency = 0.6
287
Screen2.Size = Vector3.new(6, 4, 0)
288
Screen2.CanCollide = false
289
Screen2.Locked = true
290
291
Smooth(Screen2)
292
293
local Screen2Weld = Instance.new("Weld")
294
Screen2Weld.Part0 = Torso
295
Screen2Weld.Part1 = Screen2
296
Screen2Weld.C0 = CFrame.new(5.4, 3.4, -1.5) * CFrame.Angles(0.1, -0.9, 0)
297
298
local Gui2 = Instance.new("SurfaceGui")
299
Gui2.Face = "Back"
300
Gui2.Adornee = Screen2
301
Gui2.Parent = Screen2
302
303
local Text2 = Instance.new("TextBox")
304
Text2.BackgroundTransparency = 1
305
Text2.Position = UDim2.new(0, 0, 0, 0)
306
Text2.Size = UDim2.new(1, 0, 1, 0)
307
Text2.TextColor3 = Color3.new(0, 1, 0)
308
Text2.Font = Enum.Font.Code
309
Text2.Active = false
310
Text2.MultiLine = true
311
Text2.TextWrapped = true
312
Text2.FontSize = Enum.FontSize.Size32
313
Text2.TextXAlignment = Enum.TextXAlignment.Left
314
Text2.TextYAlignment = Enum.TextYAlignment.Top
315
Text2.Text = ""
316
317
Text2.Parent = Gui2
318
319
local ImageKey = Instance.new("ImageLabel")
320
ImageKey.BackgroundTransparency = 1
321
ImageKey.Size = UDim2.new(0.2, 0, 0.2, 0)
322
ImageKey.Position = UDim2.new(0.4, 0, 0.4, 0)
323
ImageKey.Image = "http://www.roblox.com/asset/?id=0"
324
ImageKey.ImageTransparency = 1
325
ImageKey.Parent = Gui2
326
327
Screen2Weld.Parent = Screen2
328
Screen2.Parent = Character
329
330
331
332
local Screen3 = Instance.new("Part")
333
Screen3.BrickColor = BrickColor.new("Really black")
334
Screen3.Material = Enum.Material.Neon
335
Screen3.Transparency = 0.6
336
Screen3.Size = Vector3.new(6, 4, 0)
337
Screen3.CanCollide = false
338
Screen3.Locked = true
339
340
local dekal = Instance.new("Decal",Screen3)
341
dekal.Texture = "http://www.roblox.com/asset/?id=0"
342
dekal.Transparency = 0.15
343
dekal.Face = "Back"
344
345
Smooth(Screen3)
346
347
local Screen3Weld = Instance.new("Weld")
348
Screen3Weld.Part0 = Torso
349
Screen3Weld.Part1 = Screen3
350
Screen3Weld.C0 = CFrame.new(-5.4, 3.4, -1.5) * CFrame.Angles(0.1, 0.9, 0)
351
352
local Gui3 = Instance.new("SurfaceGui")
353
Gui3.Face = "Back"
354
Gui3.Adornee = Screen3
355
Gui3.Parent = Screen3
356
357
local Map = Instance.new("ImageLabel")
358
Map.BackgroundTransparency = 1
359
Map.Position = UDim2.new(0, 0, 0, 0)
360
Map.Size = UDim2.new(1, 0, 1, 0)
361
Map.Image = "http://www.roblox.com/asset/?id=121661614"
362
363
Map.Parent = Gui3
364
365
Screen3Weld.Parent = Screen3
366
Screen3.Parent = Character
367
368
UserInputService.InputBegan:Connect(function(Input, Processed)
369
	if Processed then return end
370
	
371
	if Input.UserInputType == Enum.UserInputType.Keyboard then
372
		local KeyCode = Input.KeyCode
373
		
374
		if KeyCode == Enum.KeyCode.E then
375
			Typing = not Typing
376
		end
377
	end
378
end)
379
380
381
382
RunService.Heartbeat:Connect(function()
383
	local Sine = math.sin(tick() * 8) / 8
384
	
385
	ImageKey.ImageTransparency = math.abs(math.sin(tick()))
386
	
387
	if Typing then
388
		if math.random(5) == 1 then
389
			local PressSound = Instance.new("Sound")
390
			PressSound.SoundId = "rbxassetid://265970978"
391
			PressSound.Pitch = 0.5 + math.random() / 5
392
			PressSound.Volume = 3
393
			PressSound.Parent = Keyboard
394
			PressSound:Play()
395
			
396
			game:GetService("Debris"):AddItem(PressSound, 1 / 2)
397
		end
398
		
399
		Neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(-0.2 + Sine / 4, (math.random() - 0.5) / 2, 0)
400
		
401
		RightShoulder.C0 = CFrame.new(1, 0.6 + math.random() / 4, -math.random() * 0.7)
402
			* CFrame.Angles(1.5 + Sine * math.random(), -Sine / 4, -(0.5 + 2 * Sine * math.random()))
403
		
404
		LeftShoulder.C0 = CFrame.new(-1, 0.6 + math.random() / 4, -math.random() * 0.7)
405
			* CFrame.Angles(1.5 - Sine * math.random(), Sine / 4, 0.5 + 2 * Sine * math.random())
406
		
407
		if math.random(2) == 1 then
408
			if TypingSub < #Argument then
409
				TypingSub = TypingSub + 1
410
				Text.Text = Text.Text..Argument:sub(TypingSub, TypingSub)
411
				
412
				local nl = Text.Text:find("\n")
413
				
414
				if nl and #Text.Text > 400 then
415
					Text.Text = Text.Text:sub(nl + 1)
416
				end
417
				
418
			else
419
				TypingSub = 1
420
			end
421
		end
422
		
423
		if math.random(3) == 1 then
424
			if TypingSub2 < #Code then
425
				TypingSub2 = TypingSub2 + 1
426
				Text2.Text = Text2.Text..Code:sub(TypingSub2, TypingSub2)
427
				
428
				local nl = Text2.Text:find("\n")
429
				
430
				if nl and #Text2.Text > 400 then
431
					Text2.Text = Text2.Text:sub(nl + 1)
432
				end
433
				
434
			else
435
				TypingSub2 = 1
436
			end
437
		end
438
		
439
	else
440
		Neck.C0 = CFrame.new(0, 1, 0)
441
		
442
		RightShoulder.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(1.5, 0, 0)
443
		LeftShoulder.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(1.5, 0, 0)
444
	end
445
end)