View difference between Paste ID: NahRu0eC and vgLCaKwq
SHOW: | | - or go back to the newest paste.
1
--void Script bbuilder fe script converter V2
2
3
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
4
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
5
local RealPlayer = Player
6
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
7
8
9
10
--[[ by iliketrainsornot ]]--
11
12
warn("w h y")
13
print("this cancer is made by iliketrainsornot")
14
plr = game:GetService("Players").LocalPlayer
15
char = plr.Character
16
Instance.new("ForceField",char).Visible = false
17
hed = char.Head
18
torso = char.Torso
19
mouse = plr:GetMouse()
20
rarm = char["Right Arm"]
21
larm = char["Left Arm"]
22
rleg = char["Right Leg"]
23
lleg = char["Left Leg"]
24
rarm.Transparency = 1
25
larm.Transparency = 1
26
lleg.Transparency = 1
27
rleg.Transparency = 1
28
torso.Transparency = 1
29
activ = false
30
sound = false
31
Create = LoadLibrary("RbxUtility").Create
32
char.Animate:Destroy()
33
hum = char:FindFirstChildOfClass("Humanoid")
34
hum.Animator:Destroy()
35
hum.MaxHealth = math.huge
36
hum.Health = math.huge
37
hum.Name = "despacito"
38
hum.JumpPower = 125
39
hum.WalkSpeed = 65
40
for _,c in pairs(char:GetChildren()) do
41
	if (c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "ShirtGraphic") and c.Name ~= "Cloth" then
42
		c:Remove()
43
	end 
44
end
45
hed:FindFirstChildOfClass("SpecialMesh").MeshId = "http://www.roblox.com/asset/?id=1047997"
46
hed:FindFirstChildOfClass("SpecialMesh").TextureId = "http://www.roblox.com/asset/?id=1047998"
47
hed.face:Destroy()
48
hed:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(2.5, 2.5, 2.5)
49
hed:FindFirstChildOfClass("SpecialMesh").Offset = Vector3.new(0,1.8,0)
50
redhead = Instance.new("Part",torso)
51
redhead.Size = torso.Size
52
redhead.Transparency = 0
53
weld = Instance.new("Weld",redhead)
54
weld.Part0 = redhead
55
weld.Part1 = torso
56
weld.C0 = CFrame.Angles(math.rad(-180), math.rad(-90), math.rad(0))
57
redhead1 = Instance.new("SpecialMesh",redhead)
58
redhead1.MeshId = hed:FindFirstChildOfClass("SpecialMesh").MeshId
59
redhead1.Scale = Vector3.new(2.85,2.85,2.85)
60
redhead1.TextureId = "http://www.roblox.com/asset/?id=1047998"
61
redhead.CanCollide = false
62
redhead1.Offset = Vector3.new(0,0.3,0)
63
redhead1.VertexColor = Vector3.new(255,0,0)
64
redhead = Instance.new("Part",rleg)
65
redhead.Size = rleg.Size
66
weld = Instance.new("Weld",redhead)
67
weld.Part0 = redhead
68
weld.Part1 = torso
69
weld.C0 = CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
70
redhead1 = Instance.new("SpecialMesh",redhead)
71
redhead1.MeshId = "rbxassetid://696339842"
72
redhead1.Scale = Vector3.new(1.3, 1.6, 0.8)
73
redhead.CanCollide = false
74
redhead1.Offset = Vector3.new(0, 0, -2.1)
75
redhead1.VertexColor = Vector3.new(0,0,0)
76
redhead2 = Instance.new("Decal", redhead)
77
redhead2.Color3 = Color3.fromRGB(0,0,0)
78
redhead2.Texture = "rbxassetid://696339520"
79
despacitotext = Instance.new("Part",hed)
80
despacitotext.Name = "despacito"
81
despacitotext.Size = Vector3.new(6.5,3,5.5)
82
despacitotext.Transparency = 1
83
despacitotext.CanCollide = false
84
weld = Instance.new("Weld",redhead)
85
weld.Part0 = despacitotext
86
weld.Part1 = hed
87
surfacegui = Instance.new("SurfaceGui",despacitotext)
88
text = Instance.new("TextLabel",surfacegui)
89
text.Size = UDim2.new(1,0,1,0)
90
text.TextSize = 150
91
text.Font = Enum.Font.Legacy
92
text.BackgroundTransparency = 1
93
surfacegui.AlwaysOnTop = true
94
text.TextStrokeColor3 = Color3.fromRGB(255,0,0)
95
text.TextStrokeTransparency = 0
96
text.TextColor3 = Color3.fromRGB(0,0,0)
97
text.Text = "despacito"
98
despacito = Instance.new("Sound",char)
99
despacito.SoundId = "rbxassetid://1345639272"
100
despacito.Volume = 10
101
despacito.EmitterSize = 100
102
despacito:Play()
103
despacito.Name = "despacito"
104
local seffect = Instance.new("ReverbSoundEffect",despacito)
105
char.ChildRemoved:connect(function(h)
106
if h == despacito then
107
	despacito = Instance.new("Sound",char)
108
despacito.SoundId = "rbxassetid://1345639272"
109
despacito.Volume = 10
110
despacito.EmitterSize = 100
111
despacito:Play()
112
despacito.Name = "despacito"
113
despacito.TimePosition = despacito.TimePosition
114
local seffect = Instance.new("ReverbSoundEffect",despacito)
115
end
116
end)
117
function RemoveOutlines(part)
118
	part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
119
end
120
CFuncs = {
121
	Part = {
122
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
123
			local Part = Create("Part")({
124
				Parent = Parent,
125
				Reflectance = Reflectance,
126
				Transparency = Transparency,
127
				CanCollide = false,
128
				Locked = true,
129
				BrickColor = BrickColor.new(tostring(BColor)),
130
				Name = Name,
131
				Size = Size,
132
				Material = Material
133
			})
134
			RemoveOutlines(Part)
135
			if Size == Vector3.new() then
136
				Part.Size = Vector3.new(0.2, 0.2, 0.2)
137
			else
138
				Part.Size = Size
139
			end
140
			return Part
141
		end
142
	},
143
	Mesh = {
144
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
145
			local Msh = Create(Mesh)({
146
				Parent = Part,
147
				Offset = OffSet,
148
				Scale = Scale
149
			})
150
			if Mesh == "SpecialMesh" then
151
				Msh.MeshType = MeshType
152
				Msh.MeshId = MeshId
153
			end
154
			return Msh
155
		end
156
	},
157
	Weld = {
158
		Create = function(Parent, Part0, Part1, C0, C1)
159
			local Weld = Create("Weld")({
160
				Parent = Parent,
161
				Part0 = Part0,
162
				Part1 = Part1,
163
				C0 = C0,
164
				C1 = C1
165
			})
166
			return Weld
167
		end
168
	},
169
	Sound = {
170
		Create = function(id, par, vol, pit)
171
			local Sound = Create("Sound")({
172
				Volume = vol,
173
				Pitch = pit or 1,
174
				SoundId = "rbxassetid://" .. id,
175
				Parent = par or workspace
176
			})
177
			Sound:play()
178
			return Sound
179
		end
180
	},
181
	Decal = {
182
		Create = function(Color, Texture, Transparency, Name, Parent)
183
			local Decal = Create("Decal")({
184
				Color3 = Color,
185
				Texture = "rbxassetid://" .. Texture,
186
				Transparency = Transparency,
187
				Name = Name,
188
				Parent = Parent
189
			})
190
			return Decal
191
		end
192
	},
193
	BillboardGui = {
194
		Create = function(Parent, Image, Position, Size)
195
			local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
196
			BillPar.CFrame = CFrame.new(Position)
197
			local Bill = Create("BillboardGui")({
198
				Parent = BillPar,
199
				Adornee = BillPar,
200
				Size = UDim2.new(1, 0, 1, 0),
201
				SizeOffset = Vector2.new(Size, Size)
202
			})
203
			local d = Create("ImageLabel", Bill)({
204
				Parent = Bill,
205
				BackgroundTransparency = 1,
206
				Size = UDim2.new(1, 0, 1, 0),
207
				Image = "rbxassetid://" .. Image
208
			})
209
			return BillPar
210
		end
211
	},
212
	ParticleEmitter = {
213
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
214
			local Particle = Create("ParticleEmitter")({
215
				Parent = Parent,
216
				Color = ColorSequence.new(Color1, Color2),
217
				LightEmission = LightEmission,
218
				Size = Size,
219
				Texture = Texture,
220
				Transparency = Transparency,
221
				ZOffset = ZOffset,
222
				Acceleration = Accel,
223
				Drag = Drag,
224
				LockedToPart = LockedToPart,
225
				VelocityInheritance = VelocityInheritance,
226
				EmissionDirection = EmissionDirection,
227
				Enabled = Enabled,
228
				Lifetime = LifeTime,
229
				Rate = Rate,
230
				Rotation = Rotation,
231
				RotSpeed = RotSpeed,
232
				Speed = Speed,
233
				VelocitySpread = VelocitySpread
234
			})
235
			return Particle
236
		end
237
	},
238
	CreateTemplate = {}
239
}
240
function text(Pos, Text, Time, Color)
241
	local Rate = 0.03333333333333333
242
	local Pos = Pos or Vector3.new(0, 0, 0)
243
	local Text = Text or ""
244
	local Time = Time or 2
245
	local Color = Color or Color3.new(1, 0, 1)
246
	local EffectPart = CFuncs.Part.Create(hed, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
247
	EffectPart.Anchored = true
248
	local BillboardGui = Create("BillboardGui")({
249
		Size = UDim2.new(3, 0, 3, 0),
250
		Adornee = EffectPart,
251
		Parent = EffectPart
252
	})
253
	local TextLabel = Create("TextLabel")({
254
		BackgroundTransparency = 1,
255
		Size = UDim2.new(1, 0, 1, 0),
256
		TextSize = 55,
257
		Text = Text,
258
		Font = Enum.Font.Cartoon,
259
		TextColor3 = Color3.fromRGB(255,255,255),
260
		TextScaled = false,
261
		Parent = BillboardGui
262
	})
263
	game.Debris:AddItem(EffectPart, Time)
264
	EffectPart.Parent = game:GetService("Workspace")
265
	delay(0, function()
266
		local Frames = Time / Rate
267
		for Frame = 1, Frames do
268
			wait(Rate)
269
			local Percent = Frame / Frames
270
			EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
271
			TextLabel.TextTransparency = Percent
272
		end
273
		if EffectPart and EffectPart.Parent then
274
			EffectPart:Destroy()
275
		end
276
	end)
277
end
278
ArtificialHB = Instance.new("BindableEvent", script)
279
ArtificialHB.Name = "ArtificialHB"
280
281
script:WaitForChild("ArtificialHB")
282
Frame_Speed = 1 / 60
283
frame = Frame_Speed
284
tf = 0
285
allowframeloss = false
286
tossremainder = false
287
lastframe = tick()
288
script.ArtificialHB:Fire()
289
290
game:GetService("RunService").Heartbeat:connect(function(s, p)
291
	tf = tf + s
292
	if tf >= frame then
293
		if allowframeloss then
294
			script.ArtificialHB:Fire()
295
			lastframe = tick()
296
		else
297
			for i = 1, math.floor(tf / frame) do
298
				script.ArtificialHB:Fire()
299
			end
300
		lastframe = tick()
301
		end
302
		if tossremainder then
303
			tf = 0
304
		else
305
			tf = tf - frame * math.floor(tf / frame)
306
		end
307
	end
308
end)
309
310
function CreateSound(ID, PARENT, VOLUME, PITCH)
311
	--coroutine.resume(coroutine.create(function()
312
		local NEWSOUND = Instance.new("Sound", PARENT)
313
		NEWSOUND.Volume = VOLUME
314
		NEWSOUND.Pitch = PITCH
315
		NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
316
		NEWSOUND:play()
317
		game:GetService("Debris"):AddItem(NEWSOUND, 100)
318
		return NEWSOUND
319
	--end))
320
end
321
function Swait(NUMBER)
322
	if NUMBER == 0 or NUMBER == nil then
323
		ArtificialHB.Event:wait()
324
	else
325
		for i = 1, NUMBER do
326
			ArtificialHB.Event:wait()
327
		end
328
	end
329
end
330
function itstimetostop()
331
	sound = true
332
	local snd = Instance.new("Sound",char)
333
	snd.SoundId = "rbxassetid://358468903"
334
	snd.Volume = 10
335
	snd.TimePosition = 0.25
336
	snd.EmitterSize = 350
337
	snd:Play()
338
	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))
339
	wait(2)
340
	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))
341
	wait(2.6)
342
	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))
343
	sound = false
344
end
345
function youbetterstop()
346
	sound = true
347
	local snd = Instance.new("Sound",char)
348
	snd.SoundId = "rbxassetid://1246891273"
349
	snd.Volume = 10
350
	snd.TimePosition = 1.2
351
	snd:Play()
352
	snd.EmitterSize = 100
353
	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))
354
	wait(5.2)
355
	sound = false
356
end
357
function ecksdee()
358
	sound = true
359
	local snd = Instance.new("Sound",char)
360
	snd.SoundId = "rbxassetid://1486343908"
361
	snd.Volume = 10
362
	snd:Play()
363
	snd.EmitterSize = 150
364
	text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "ecks", 1, Color3.fromRGB(255,255,255))
365
	wait(0.95)
366
	text(hed.CFrame * CFrame.new(0, 0, hed.Size.Y / 2).p + Vector3.new(0, 6, 0), "dee", 1, Color3.fromRGB(255,255,255))
367
	sound = false
368
end
369
function lukatthisdude()
370
	sound = true
371
	local snd = Instance.new("Sound",char)
372
	snd.SoundId = "rbxassetid://525498255"
373
	snd.Volume = 10
374
	snd:Play()
375
	snd.EmitterSize = 300
376
	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))
377
	wait(27)
378
	sound = false
379
end
380
function stopdespacito()
381
	if despacito.Playing == true then
382
		despacito:Pause()
383
	elseif despacito.Playing == false then
384
		despacito:Play()
385
	end
386
end
387
function bruh()
388
	sound = true
389
	local snd = Instance.new("Sound",char)
390
	snd.SoundId = "rbxassetid://170040190"
391
	snd.Volume = 10
392
	snd:Play()
393
	snd.EmitterSize = 150
394
	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))
395
	wait(1.7)
396
	sound = false
397
end
398
SHIELD = false
399
function shield()
400
	IT = Instance.new
401
	VT = Vector3.new
402
	RootPart = char.HumanoidRootPart
403
	CF = CFrame.new
404
	if SHIELD == false then
405
		SHIELD = true
406
		warn("YO TENGO")
407
		coroutine.resume(coroutine.create(function()
408
			local yotengo = IT("Part",char)
409
			yotengo.Size = VT(20,30,0)
410
			yotengo.CFrame = RootPart.CFrame * CF(0,3,-7)
411
			yotengo.Anchored = true
412
			local mesh = IT("SpecialMesh",yotengo)
413
			mesh.MeshType = "FileMesh"
414
			mesh.MeshId = "http://www.roblox.com/asset/?id=15158180"
415
			mesh.TextureId = "http://www.roblox.com/asset/?id=15158167"
416
			mesh.Scale = VT(3,3,3)
417
			CreateSound("1236609502", yotengo, 50, 1)
418
			local woosh = yotengo.Touched:Connect(function(hit)
419
				if hit.Parent.ClassName == "Model" then
420
					hit.Parent:BreakJoints()
421
					CreateSound("978878312", hit, 2, 1)
422
				elseif hit.ClassName == "Part" and hit.Anchored == false then
423
					hit:remove()
424
				end
425
			end)
426
			woosh:disconnect()
427
			CreateSound("1236609502", yotengo, 50, 1)
428
			yotengo.Anchored = false
429
			local bv = Instance.new("BodyVelocity") 
430
			bv.maxForce = Vector3.new(4e9, 4e9, 4e9)
431
			bv.velocity = RootPart.CFrame.lookVector*300
432
			bv.Parent = yotengo
433
			bv.Name = "speedy"
434
			local paw = yotengo.Touched:Connect(function(hit)
435
				if hit.Parent.ClassName == "Model" then
436
					yotengo:remove()
437
					hit.Parent:BreakJoints()
438
					wait(0.1)
439
					hit.Parent:ClearAllChildren()
440
				end
441
			end) 
442
		end))
443
	elseif SHIELD == true then
444
		SHIELD = false
445
	end
446
end
447
mouse.KeyDown:connect(function(k)
448
	if k == "z" and sound == false then
449
		itstimetostop()
450
	elseif k == "x" and sound == false then
451
		youbetterstop()
452
	elseif k == "c" and sound == false then
453
		ecksdee()
454
	elseif k == "v" and sound == false then
455
		lukatthisdude()
456
	elseif k == "b" then
457
		stopdespacito()
458
	elseif k == "n" and sound == false then
459
		bruh()
460
	elseif k == "q" and sound == true then
461
		print("sounds delay resetted!")
462
		sound = false
463
	elseif k == "f" then
464
		shield()
465
	end
466
end)