View difference between Paste ID: vg9eQLSG and 6Z88N16w
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
5+
local Player,plr,Mouse,mouse,UserInputService,ContextActionService = owner
6
do
7
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
8
	script.Parent = Player.Character
9
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-
85+
86-
-[[ by iliketrainsornot ]]--
86+
--[[ by iliketrainsornot ]]--
87
88
warn("w h y")
89
print("this cancer is made by iliketrainsornot")
90-
plr = game:GetService("Players").Exodrus227
90+
plr = game:GetService("Players").Upscale1 -- Put Username Here!
91
char = plr.Character
92
Instance.new("ForceField",char).Visible = false
93
hed = char.Head
94
rarm = char["Right Arm"]
95
larm = char["Left Arm"]
96
rleg = char["Right Leg"]
97
lleg = char["Left Leg"]
98
torso = char["Torso"]
99
rarm.Transparency = 1
100
larm.Transparency = 1
101
lleg.Transparency = 1
102
rleg.Transparency = 1
103-
activ = false
103+
104
active = false
105
sound = false
106
Create = LoadLibrary("RbxUtility").Create
107
char.Animate:Destroy()
108
hum = char:FindFirstChildOfClass("Humanoid")
109
hum.Animator:Destroy()
110
hum.MaxHealth = math.huge
111
hum.Health = math.huge
112
hum.Name = "despacito"
113
hum.JumpPower = 125
114
hum.WalkSpeed = 65
115
for _,c in pairs(char:GetChildren()) do
116
	if (c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "ShirtGraphic") and c.Name ~= "Cloth" then
117
		c:Remove()
118
	end 
119
end
120
hed:FindFirstChildOfClass("SpecialMesh").MeshId = "http://www.roblox.com/asset/?id=1047997"
121
hed:FindFirstChildOfClass("SpecialMesh").TextureId = "http://www.roblox.com/asset/?id=1047998"
122
hed.face:Destroy()
123
hed:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(2.5, 2.5, 2.5)
124
hed:FindFirstChildOfClass("SpecialMesh").Offset = Vector3.new(0,1.8,0)
125
redhead = Instance.new("Part",torso)
126
redhead.Size = torso.Size
127
redhead.Transparency = 0
128
weld = Instance.new("Weld",redhead)
129
weld.Part0 = redhead
130
weld.Part1 = torso
131
weld.C0 = CFrame.Angles(math.rad(-180), math.rad(-90), math.rad(0))
132
redhead1 = Instance.new("SpecialMesh",redhead)
133
redhead1.MeshId = hed:FindFirstChildOfClass("SpecialMesh").MeshId
134
redhead1.Scale = Vector3.new(2.85,2.85,2.85)
135
redhead1.TextureId = "http://www.roblox.com/asset/?id=1047998"
136
redhead.CanCollide = false
137
redhead1.Offset = Vector3.new(0,0.3,0)
138
redhead1.VertexColor = Vector3.new(255,0,0)
139
redhead = Instance.new("Part",rleg)
140
redhead.Size = rleg.Size
141
weld = Instance.new("Weld",redhead)
142
weld.Part0 = redhead
143
weld.Part1 = torso
144
weld.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
145
redhead1 = Instance.new("SpecialMesh",redhead)
146
redhead1.MeshId = "rbxassetid://696339842"
147
redhead1.Scale = Vector3.new(1.3, 1.6, 0.8)
148
redhead.CanCollide = false
149
redhead1.Offset = Vector3.new(0, 0, -2.1)
150
redhead1.VertexColor = Vector3.new(0,0,0)
151
redhead2 = Instance.new("Decal", redhead)
152
redhead2.Color3 = Color3.fromRGB(0,0,0)
153
redhead2.Texture = "rbxassetid://696339520"
154
despacitotext = Instance.new("Part",hed)
155
despacitotext.Name = "despacito"
156
despacitotext.Size = Vector3.new(6.5,3,5.5)
157
despacitotext.Transparency = 1
158
despacitotext.CanCollide = false
159
weld = Instance.new("Weld",redhead)
160
weld.Part0 = despacitotext
161
weld.Part1 = hed
162
surfacegui = Instance.new("SurfaceGui",despacitotext)
163
text = Instance.new("TextLabel",surfacegui)
164
text.Size = UDim2.new(1,0,1,0)
165
text.TextSize = 150
166
text.Font = Enum.Font.Legacy
167
text.BackgroundTransparency = 1
168
surfacegui.AlwaysOnTop = true
169
text.TextStrokeColor3 = Color3.fromRGB(255,0,0)
170
text.TextStrokeTransparency = 0
171
text.TextColor3 = Color3.fromRGB(0,0,0)
172
text.Text = "despacito"
173
despacito = Instance.new("Sound",char)
174
despacito.SoundId = "rbxassetid://1345639272"
175
despacito.Volume = 10
176
despacito.EmitterSize = 100
177
despacito:Play()
178
despacito.Name = "despacito"
179
local seffect = Instance.new("ReverbSoundEffect",despacito)
180
char.ChildRemoved:connect(function(h)
181
if h == despacito then
182
	despacito = Instance.new("Sound",char)
183
despacito.SoundId = "rbxassetid://1345639272"
184
despacito.Volume = 10
185
despacito.EmitterSize = 100
186
despacito:Play()
187
despacito.Name = "despacito"
188
despacito.TimePosition = despacito.TimePosition
189
local seffect = Instance.new("ReverbSoundEffect",despacito)
190
end
191
end)
192
function RemoveOutlines(part)
193
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
194
end
195
CFuncs = {
196
	Part = {
197
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
198
			local Part = Create("Part")({
199
				Parent = Parent,
200
				Reflectance = Reflectance,
201
				Transparency = Transparency,
202
				CanCollide = false,
203
				Locked = true,
204
				BrickColor = BrickColor.new(tostring(BColor)),
205
				Name = Name,
206
				Size = Size,
207
				Material = Material
208
			})
209
			RemoveOutlines(Part)
210
			if Size == Vector3.new() then
211
				Part.Size = Vector3.new(0.2, 0.2, 0.2)
212
			else
213
				Part.Size = Size
214
			end
215
			return Part
216
		end
217
	},
218
	Mesh = {
219
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
220
			local Msh = Create(Mesh)({
221
				Parent = Part,
222
				Offset = OffSet,
223
				Scale = Scale
224
			})
225
			if Mesh == "SpecialMesh" then
226
				Msh.MeshType = MeshType
227
				Msh.MeshId = MeshId
228
			end
229
			return Msh
230
		end
231
	},
232
	Weld = {
233
		Create = function(Parent, Part0, Part1, C0, C1)
234
			local Weld = Create("Weld")({
235
				Parent = Parent,
236
				Part0 = Part0,
237
				Part1 = Part1,
238
				C0 = C0,
239
				C1 = C1
240
			})
241
			return Weld
242
		end
243
	},
244
	Sound = {
245
		Create = function(id, par, vol, pit)
246
			local Sound = Create("Sound")({
247
				Volume = vol,
248
				Pitch = pit or 1,
249
				SoundId = "rbxassetid://" .. id,
250
				Parent = par or workspace
251
			})
252
			Sound:play()
253
			return Sound
254
		end
255
	},
256
	Decal = {
257
		Create = function(Color, Texture, Transparency, Name, Parent)
258
			local Decal = Create("Decal")({
259
				Color3 = Color,
260
				Texture = "rbxassetid://" .. Texture,
261
				Transparency = Transparency,
262
				Name = Name,
263
				Parent = Parent
264
			})
265
			return Decal
266
		end
267
	},
268
	BillboardGui = {
269
		Create = function(Parent, Image, Position, Size)
270
			local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
271
			BillPar.CFrame = CFrame.new(Position)
272
			local Bill = Create("BillboardGui")({
273
				Parent = BillPar,
274
				Adornee = BillPar,
275
				Size = UDim2.new(1, 0, 1, 0),
276
				SizeOffset = Vector2.new(Size, Size)
277
			})
278
			local d = Create("ImageLabel", Bill)({
279
				Parent = Bill,
280
				BackgroundTransparency = 1,
281
				Size = UDim2.new(1, 0, 1, 0),
282
				Image = "rbxassetid://" .. Image
283
			})
284
			return BillPar
285
		end
286
	},
287
	ParticleEmitter = {
288
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
289
			local Particle = Create("ParticleEmitter")({
290
				Parent = Parent,
291
				Color = ColorSequence.new(Color1, Color2),
292
				LightEmission = LightEmission,
293
				Size = Size,
294
				Texture = Texture,
295
				Transparency = Transparency,
296
				ZOffset = ZOffset,
297
				Acceleration = Accel,
298
				Drag = Drag,
299
				LockedToPart = LockedToPart,
300
				VelocityInheritance = VelocityInheritance,
301
				EmissionDirection = EmissionDirection,
302
				Enabled = Enabled,
303
				Lifetime = LifeTime,
304
				Rate = Rate,
305
				Rotation = Rotation,
306
				RotSpeed = RotSpeed,
307
				Speed = Speed,
308
				VelocitySpread = VelocitySpread
309
			})
310
			return Particle
311
		end
312
	},
313
	CreateTemplate = {}
314
}
315
function text(Pos, Text, Time, Color)
316
	local Rate = 0.03333333333333333
317
	local Pos = Pos or Vector3.new(0, 0, 0)
318
	local Text = Text or ""
319
	local Time = Time or 2
320
	local Color = Color or Color3.new(1, 0, 1)
321
	local EffectPart = CFuncs.Part.Create(hed, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
322
	EffectPart.Anchored = true
323
	local BillboardGui = Create("BillboardGui")({
324
		Size = UDim2.new(3, 0, 3, 0),
325
		Adornee = EffectPart,
326
		Parent = EffectPart
327
	})
328
	local TextLabel = Create("TextLabel")({
329
		BackgroundTransparency = 1,
330
		Size = UDim2.new(1, 0, 1, 0),
331
		TextSize = 55,
332
		Text = Text,
333
		Font = Enum.Font.Cartoon,
334
		TextColor3 = Color3.fromRGB(255,255,255),
335
		TextScaled = false,
336
		Parent = BillboardGui
337
	})
338
	game.Debris:AddItem(EffectPart, Time)
339
	EffectPart.Parent = game:GetService("Workspace")
340
	delay(0, function()
341
		local Frames = Time / Rate
342
		for Frame = 1, Frames do
343
			wait(Rate)
344
			local Percent = Frame / Frames
345
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
346
			TextLabel.TextTransparency = Percent
347
		end
348
		if EffectPart and EffectPart.Parent then
349
			EffectPart:Destroy()
350
		end
351
	end)
352
end
353
ArtificialHB = Instance.new("BindableEvent", script)
354
ArtificialHB.Name = "ArtificialHB"
355
356
script:WaitForChild("ArtificialHB")
357
Frame_Speed = 1 / 60
358
frame = Frame_Speed
359
tf = 0
360
allowframeloss = false
361
tossremainder = false
362
lastframe = tick()
363
script.ArtificialHB:Fire()
364
365
game:GetService("RunService").Heartbeat:connect(function(s, p)
366
	tf = tf + s
367
	if tf >= frame then
368
		if allowframeloss then
369
			script.ArtificialHB:Fire()
370
			lastframe = tick()
371
		else
372
			for i = 1, math.floor(tf / frame) do
373
				script.ArtificialHB:Fire()
374
			end
375
		lastframe = tick()
376
		end
377
		if tossremainder then
378
			tf = 0
379
		else
380
			tf = tf - frame * math.floor(tf / frame)
381
		end
382
	end
383
end)
384
385
function CreateSound(ID, PARENT, VOLUME, PITCH)
386
	--coroutine.resume(coroutine.create(function()
387
		local NEWSOUND = Instance.new("Sound", PARENT)
388
		NEWSOUND.Volume = VOLUME
389
		NEWSOUND.Pitch = PITCH
390
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
391
		NEWSOUND:play()
392
		game:GetService("Debris"):AddItem(NEWSOUND, 100)
393
		return NEWSOUND
394
	--end))
395
end
396
function Swait(NUMBER)
397
	if NUMBER == 0 or NUMBER == nil then
398
		ArtificialHB.Event:wait()
399
	else
400
		for i = 1, NUMBER do
401
			ArtificialHB.Event:wait()
402
		end
403
	end
404
end
405
function itstimetostop()
406
	sound = true
407
	local snd = Instance.new("Sound",char)
408
	snd.SoundId = "rbxassetid://358468903"
409
	snd.Volume = 10
410
	snd.TimePosition = 0.25
411
	snd.EmitterSize = 350
412
	snd:Play()
413
	text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ITS TIME TO STOP", 2, Color3.fromRGB(255,255,255))
414
	wait(2)
415
	text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ITS TIME TO STOP OKAY", 2, Color3.fromRGB(255,255,255))
416
	wait(2.6)
417
	text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "NO MORE", 2, Color3.fromRGB(255,255,255))
418
	sound = false
419
end
420
function youbetterstop()
421
	sound = true
422
	local snd = Instance.new("Sound",char)
423
	snd.SoundId = "rbxassetid://1246891273"
424
	snd.Volume = 10
425
	snd.TimePosition = 1.2
426
	snd:Play()
427
	snd.EmitterSize = 100
428
	text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "youbetterstop.mp3", 5.2, Color3.fromRGB(255,255,255))
429
	wait(5.2)
430
	sound = false
431
end
432
function ecksdee()
433
	sound = true
434
	local snd = Instance.new("Sound",char)
435
	snd.SoundId = "rbxassetid://1486343908"
436
	snd.Volume = 10
437
	snd:Play()
438
	snd.EmitterSize = 150
439
	text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ecks", 1, Color3.fromRGB(255,255,255))
440
	wait(0.95)
441
	text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "dee", 1, Color3.fromRGB(255,255,255))
442
	sound = false
443
end
444
function lukatthisdude()
445
	sound = true
446
	local snd = Instance.new("Sound",char)
447
	snd.SoundId = "rbxassetid://525498255"
448
	snd.Volume = 10
449
	snd:Play()
450
	snd.EmitterSize = 300
451
	text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "lookatthisdude.mp3", 27, Color3.fromRGB(255,255,255))
452
	wait(27)
453
	sound = false
454
end
455
function stopdespacito()
456
	if despacito.Playing == true then
457
		despacito:Pause()
458
	elseif despacito.Playing == false then
459
		despacito:Play()
460
	end
461
end
462
function bruh()
463
	sound = true
464
	local snd = Instance.new("Sound",char)
465
	snd.SoundId = "rbxassetid://170040190"
466
	snd.Volume = 10
467
	snd:Play()
468
	snd.EmitterSize = 150
469
	text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "bRUH", 1.7, Color3.fromRGB(255,255,255))
470
	wait(1.7)
471
	sound = false
472
end
473
SHIELD = false
474
function shield()
475
	IT = Instance.new
476
	VT = Vector3.new
477
	RootPart = char.HumanoidRootPart
478
	CF = CFrame.new
479
	if SHIELD == false then
480
		SHIELD = true
481
		warn("YO TENGO")
482
		coroutine.resume(coroutine.create(function()
483
			local yotengo = IT("Part",char)
484
			yotengo.Size = VT(20,30,0)
485
			yotengo.CFrame = RootPart.CFrame * CF(0,3,-7)
486
			yotengo.Anchored = true
487
			local mesh = IT("SpecialMesh",yotengo)
488
			mesh.MeshType = "FileMesh"
489
			mesh.MeshId = "http://www.roblox.com/asset/?id=15158180"
490
			mesh.TextureId = "http://www.roblox.com/asset/?id=15158167"
491
			mesh.Scale = VT(3,3,3)
492
			CreateSound("1236609502", yotengo, 50, 1)
493
			local woosh = yotengo.Touched:Connect(function(hit)
494
				if hit.Parent.ClassName == "Model" then
495
					hit.Parent:BreakJoints()
496
					CreateSound("978878312", hit, 2, 1)
497
				elseif hit.ClassName == "Part" and hit.Anchored == false then
498
					hit:remove()
499
				end
500
			end)
501
			woosh:disconnect()
502
			CreateSound("1236609502", yotengo, 50, 1)
503
			yotengo.Anchored = false
504
			local bv = Instance.new("BodyVelocity") 
505
			bv.maxForce = Vector3.new(4e9, 4e9, 4e9)
506
			bv.velocity = RootPart.CFrame.lookVector*300
507
			bv.Parent = yotengo
508
			bv.Name = "speedy"
509
			local paw = yotengo.Touched:Connect(function(hit)
510
				if hit.Parent.ClassName == "Model" then
511
					yotengo:remove()
512
					hit.Parent:BreakJoints()
513
					wait(0.1)
514
					hit.Parent:ClearAllChildren()
515
				end
516
			end) 
517
		end))
518
	elseif SHIELD == true then
519
		SHIELD = false
520
	end
521
end
522
mouse.KeyDown:connect(function(k)
523
	if k == "z" and sound == false then
524
		itstimetostop()
525
	elseif k == "x" and sound == false then
526
		youbetterstop()
527
	elseif k == "c" and sound == false then
528
		ecksdee()
529
	elseif k == "v" and sound == false then
530
		lukatthisdude()
531
	elseif k == "b" then
532
		stopdespacito()
533
	elseif k == "n" and sound == false then
534
		bruh()
535
	elseif k == "q" and sound == true then
536
		print("sounds delay resetted!")
537
		sound = false
538
	elseif k == "f" then
539
		shield()
540
	end
541
end)