View difference between Paste ID: sKhzXLnH and Esg6VDDJ
SHOW: | | - or go back to the newest paste.
1-
--{{{    slenercat5's    }}}---
1+
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3-
Player=game.Players.LocalPlayer
3+
do
4
	print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
5
	script.Parent = Player.Character
6
7
	--RemoteEvent for communicating
8
	local Event = Instance.new("RemoteEvent")
9
	Event.Name = "UserInput_Event"
10
11
	--Fake event to make stuff like Mouse.KeyDown work
12
	local function fakeEvent()
13
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
14
		t.connect = t.Connect
15
		return t
16
	end
17
18
	--Creating fake input objects with fake variables
19
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
20
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
21
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
22
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
23
	end}
24
	--Merged 2 functions into one by checking amount of arguments
25
	CAS.UnbindAction = CAS.BindAction
26
27
	--This function will trigger the events that have been :Connect()'ed
28
	local function te(self,ev,...)
29
		local t = m[ev]
30
		if t and t._fakeEvent and t.Function then
31
			t.Function(...)
32
		end
33
	end
34
	m.TrigEvent = te
35
	UIS.TrigEvent = te
36
37
	Event.OnServerEvent:Connect(function(plr,io)
38
	    if plr~=Player then return end
39
		if io.isMouse then
40
			m.Target = io.Target
41
			m.Hit = io.Hit
42
		else
43
			local b = io.UserInputState == Enum.UserInputState.Begin
44
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
45
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
46
			end
47
			for _,t in pairs(CAS.Actions) do
48
				for _,k in pairs(t.Keys) do
49
					if k==io.KeyCode then
50
						t.Function(t.Name,io.UserInputState,io)
51
					end
52
				end
53
			end
54
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
55
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
56
	    end
57
	end)
58
	Event.Parent = NLS([==[
59
	local Player = game:GetService("Players").LocalPlayer
60
	local Event = script:WaitForChild("UserInput_Event")
61
62
	local UIS = game:GetService("UserInputService")
63
	local input = function(io,a)
64
		if a then return end
65
		--Since InputObject is a client-side instance, we create and pass table instead
66
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
67
	end
68
	UIS.InputBegan:Connect(input)
69
	UIS.InputEnded:Connect(input)
70
71
	local Mouse = Player:GetMouse()
72
	local h,t
73
	--Give the server mouse data 30 times every second, but only if the values changed
74
	--If player is not moving their mouse, client won't fire events
75
	while wait(1/30) do
76
		if h~=Mouse.Hit or t~=Mouse.Target then
77
			h,t=Mouse.Hit,Mouse.Target
78
			Event:FireServer({isMouse=true,Target=t,Hit=h})
79
		end
80
	end]==],Player.Character)
81
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
82
end
83
84
-{{{    slenercat5's    }}}---
85
--{      Beat drop script      }--
86
Player=owner
87
Character=Player.Character
88
Head=Character:waitForChild('Head')
89
Torso=Character:waitForChild('Torso')
90
RootPart=Character:waitForChild('HumanoidRootPart')
91
Character.Health:remove()
92
Character.Humanoid.MaxHealth=0
93
Humanoid=Character.Humanoid
94
Humanoid.Name='F'..math.random(0,1).. math.random(0,1) .. 'F' .. math.random(0,1)
95
ff=Instance.new('ForceField',Character)ff.Visible=false
96
function rpg()-- remove player gravity
97
Character.Animate.Parent=nil
98
for _,v in pairs (Torso:GetChildren()) do
99
if v:IsA('Motor6D') then
100
	v:remove()
101
end
102
end	
103
104
local svch = Character
105
	local hum = Character:findFirstChild("Humanoid")
106
	Character.Archivable = true
107
	local chrclone = Character:clone()
108
	Character.Archivable = false
109
110
	local ch = chrclone:GetChildren()
111
	local i
112
	for i = 1,#ch do
113
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
114
			ch[i]:remove()
115
		end
116
	end
117
	local function Scan(ch)
118
		local e
119
		for e = 1,#ch do
120
			Scan(ch[e]:GetChildren())
121
			if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
122
				ch[e]:remove()
123
			end
124
		end
125
	end
126
	Scan(chrclone:GetChildren())
127
128
	local hum2 = chrclone:findFirstChild("Humanoid")
129
130
131
	if hum2 ~= nil then
132
		hum2.Name = "Humanoid2"
133
		hum2.PlatformStand = true
134
		hum2.Sit = true 
135
		hum2.MaxHealth = 0
136
		hum2.Health = 0
137
	end
138
139
	local ch = Character:GetChildren()
140
	local i
141
	for i = 1,#ch do
142
		if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
143
			ch[i]:remove()
144
		end
145
	end
146
147
148
149
	local ch = Character:GetChildren()
150
	local i
151
	local Torso = Character.Torso
152
	local movevector = Vector3.new()
153
154
		local Head = Character:FindFirstChild("Head")
155
		if Head then
156
			local Neck = Instance.new("Weld")
157
			Neck.Name = "Neck"
158
			Neck.Part0 = Torso
159
			Neck.Part1 = Head
160
			Neck.C0 = CFrame.new(0, 1.5, 0)
161
			Neck.C1 = CFrame.new()
162
			Neck.Parent = Torso
163
		end
164
		local Limb = Character:FindFirstChild("Right Arm")
165
		if Limb then
166
167
			Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
168
			local Joint = Instance.new("Glue")
169
			Joint.Name = "RightShoulder"
170
			Joint.Part0 = Torso
171
			Joint.Part1 = Limb
172
			Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
173
			Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
174
			Joint.Parent = Torso
175
176
			local B = Instance.new("Part")
177
			B.TopSurface = 0
178
			B.BottomSurface = 0
179
			B.formFactor = "Symmetric"
180
			B.Size = Vector3.new(1, 1, 1)
181
			B.Transparency = 1
182
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
183
			B.Parent = Character
184
			local W = Instance.new("Weld")
185
			W.Part0 = Limb
186
			W.Part1 = B
187
			W.C0 = CFrame.new(0, -0.5, 0)
188
			W.Parent = Limb
189
190
		end
191
		local Limb = Character:FindFirstChild("Left Arm")
192
		if Limb then
193
194
			Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
195
			local Joint = Instance.new("Glue")
196
			Joint.Name = "LeftShoulder"
197
			Joint.Part0 = Torso
198
			Joint.Part1 = Limb
199
			Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
200
			Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
201
			Joint.Parent = Torso
202
203
			local B = Instance.new("Part")
204
			B.TopSurface = 0
205
			B.BottomSurface = 0
206
			B.formFactor = "Symmetric"
207
			B.Size = Vector3.new(1, 1, 1)
208
			B.Transparency = 1
209
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
210
			B.Parent = Character
211
			local W = Instance.new("Weld")
212
			W.Part0 = Limb
213
			W.Part1 = B
214
			W.C0 = CFrame.new(0, -0.5, 0)
215
			W.Parent = Limb
216
217
		end
218
		local Limb = Character:FindFirstChild("Right Leg")
219
		if Limb then
220
221
			Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
222
			local Joint = Instance.new("Glue")
223
			Joint.Name = "RightHip"
224
			Joint.Part0 = Torso
225
			Joint.Part1 = Limb
226
			Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
227
			Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
228
			Joint.Parent = Torso
229
230
			local B = Instance.new("Part")
231
			B.TopSurface = 0
232
			B.BottomSurface = 0
233
			B.formFactor = "Symmetric"
234
			B.Size = Vector3.new(1, 1, 1)
235
			B.Transparency = 1
236
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
237
			B.Parent = Character
238
			local W = Instance.new("Weld")
239
			W.Part0 = Limb
240
			W.Part1 = B
241
			W.C0 = CFrame.new(0, -0.5, 0)
242
			W.Parent = Limb
243
244
		end
245
Humanoid.WalkSpeed=250 -- flight speed
246
247
		local Limb = Character:FindFirstChild("Left Leg")
248
		if Limb then
249
250
			Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
251
			local Joint = Instance.new("Glue")
252
			Joint.Name = "LeftHip"
253
			Joint.Part0 = Torso
254
			Joint.Part1 = Limb
255
			Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
256
			Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
257
			Joint.Parent = Torso
258
259-
Ms=Player:GetMouse()
259+
260
			B.TopSurface = 0
261
			B.BottomSurface = 0
262
			B.formFactor = "Symmetric"
263
			B.Size = Vector3.new(1, 1, 1)
264
			B.Transparency = 1
265
			B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
266
			B.Parent = Character
267
			local W = Instance.new("Weld")
268
			W.Part0 = Limb
269
			W.Part1 = B
270
			W.C0 = CFrame.new(0, -0.5, 0)
271
			W.Parent = Limb
272
273
		end
274
		--[
275
		local Bar = Instance.new("Part")
276
		Bar.TopSurface = 0
277
		Bar.BottomSurface = 0
278
		Bar.formFactor = "Symmetric"
279
		Bar.Size = Vector3.new(1, 1, 1)
280
		Bar.Transparency = 1
281
		Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
282
		Bar.Parent = Character
283
		local Weld = Instance.new("Weld")
284
		Weld.Part0 = Torso
285
		Weld.Part1 = Bar
286
		Weld.C0 = CFrame.new(0, 0.5, 0)
287
		Weld.Parent = Torso
288
		--]]-- ripped that from a random script. Ball sockt joints were not working ^^^
289
		Humanoid.AutoRotate=false-- so you cant spazz out bruh
290
		RootPart.RootJoint:remove()
291
		
292
		B=Instance.new('BallSocketConstraint',Torso)
293
		At1=Instance.new('Attachment',Torso)
294
		At2=Instance.new('Attachment',RootPart)
295
		B.Attachment1=At1
296
		B.Attachment0=At2
297
		for _,v in pairs(Character:GetChildren()) do
298
			if v.Name=='Part' then
299
				local keypoints = {}
300
 
301
for i = 0,1,0.1 do
302
	local color = Color3.fromHSV(i,1,1)
303
	local keypoint = ColorSequenceKeypoint.new(i,color)
304
	table.insert(keypoints,keypoint)
305-
TEHSONG=Instance.new('Sound',Torso) TEHSONG.SoundId='rbxassetid://1260234844' TEHSONG.Volume=2 TEHSONG.PlaybackSpeed=1
305+
306
At1=Instance.new('Attachment',v)
307
At1.CFrame=CFrame.new(0,0,0)
308
At2=Instance.new('Attachment',v)
309
At2.CFrame=CFrame.new(0,-1,0)
310
local particle = Instance.new("Trail",v)
311
particle.Color = ColorSequence.new(keypoints)
312
table.insert(attaches,particle)
313
particle.Lifetime=1
314
particle.Attachment0=At1
315
particle.Attachment1=At2
316
particle.Texture='http://www.roblox.com/asset/?id=967852042'
317
			end
318
if v:IsA('Part') then
319
g=Instance.new('BodyForce',v)
320
g.force = Vector3.new(0, game.Workspace.Gravity, 0)*Vector3.new(0,v:GetMass(),0)
321
elseif v:IsA('Accessory') and v:findFirstChild('Handle')~=nil  then
322
g=Instance.new('BodyForce',v.Handle)
323
g.force = Vector3.new(0, game.Workspace.Gravity, 0)*Vector3.new(0,v.Handle:GetMass(),0)	
324
end
325
end
326
end
327
attaches={
328
	
329
}
330
	Character.Parent = workspace
331
332
	--game.Debris:AddItem(Character, 12)
333
	
334
	--[[if movevector ~= Vector3.new() then
335
		for i = 1,10 do
336
			wait()
337
			Torso.Velocity = movevector * 30
338
		end
339
	end]]--
340
341
	e,q=false
342
Ms.KeyDown:connect(function(k)
343
	if floating then
344
		if k=='f' then
345
		for _,v in pairs(attaches) do
346
			if v.Enabled==true then
347
			v.Enabled=false
348
			else v.Enabled=true
349
			end
350
		end
351
		end
352
	if k=='q' then
353
		q=true
354
		while q do
355
			wait()
356
		RootPart.Velocity=Vector3.new(0,-100,0)
357
		end
358
	elseif k=='e' then
359
		e=true
360
		while e do
361
			wait()
362
		RootPart.Velocity=Vector3.new(0,100,0)
363
		end	
364
	end
365
	end
366
end)
367
warn"-{    slenercat5's   }-"
368
warn'-{{{flamingo script}}}-'
369
warn'-{{  E is to raise  }}-'
370
warn'-{{  Q is to lower  }}-'
371
warn'{F is to toggle trails}'
372
Ms.KeyUp:connect(function(k)
373
	print(k)
374
	if k=='q' then
375
		q=false
376
		
377
	elseif k=='e' then
378
		e=false
379
	end
380
end)
381
local keypoints = {}
382
 
383
light={
384
	
385
}
386
387
TEHSONG=Instance.new('Sound',Torso) TEHSONG.SoundId='rbxassetid://1608398085' TEHSONG.Volume=2 TEHSONG.PlaybackSpeed=1
388
TEHSONG:Play()
389
Light=Instance.new('SurfaceLight',Torso)
390
Light.Face='Top'
391
Light2=Instance.new('SurfaceLight',Torso)
392
Light2.Face='Front'
393
Light3=Instance.new('SurfaceLight',Torso)
394
Light3.Face='Back'
395
Light4=Instance.new('SurfaceLight',Torso)
396
Light4.Face='Right'
397
Light5=Instance.new('SurfaceLight',Torso)
398
Light5.Face='Left'
399
table.insert(light,Light)
400
table.insert(light,Light2)
401
table.insert(light,Light3)
402
table.insert(light,Light4)
403
table.insert(light,Light5)
404
405
--Converted with ttyyuu12345's model to script plugin v4
406
function sandbox(var,func)
407
	local env = getfenv(func)
408
	local newenv = setmetatable({},{
409
		__index = function(self,k)
410
			if k=="script" then
411
				return var
412
			else
413
				return env[k]
414
			end
415
		end,
416
	})
417
	setfenv(func,newenv)
418
	return func
419
end
420
421
422
floating=false
423
while 1 do
424
	for _,v in pairs(attaches) do
425
	v.LightEmission=TEHSONG.PlaybackLoudness/150
426
	end
427
	Humanoid.Name='F'..math.random(0,1).. math.random(0,1) .. 'F' .. math.random(0,1)
428
	if not floating then
429
		for _,v in pairs(light) do
430
	v.Color=Color3.new(1,1,1)
431
	end
432
433
	else
434
		for _,v in pairs(light) do
435
		v.Range=TEHSONG.PlaybackLoudness
436
		v.Color=Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
437
		end
438
	end
439
	if floating then
440
	workspace.CurrentCamera.FieldOfView=80+TEHSONG.PlaybackLoudness/150
441
		end
442
	if TEHSONG.TimePosition>11 then-- beat drop
443
		if not floating then
444
			rpg()
445
			floating=true
446
			print(floating)
447
		end
448
	end
449
	wait()
450
end