View difference between Paste ID: fzLXa5yq and Hshi2Zti
SHOW: | | - or go back to the newest paste.
1-
-- // OH MY FUCKING GOD WHAT'S WITH THIS SCRIPT NAME
1+
if game:GetService("RunService"):IsClient() then error("hi motherfucking skid its h/") end
2-
-- // WHY COULDN'T PAST ME JUST CALLED IT "TRIP"
2+
3-
-- // IT'S JUST A RAGDOLL SCRIPT THAT PLAYS SONGS
3+
4-
-- // DERPZ WHY THE FUCK WOULD YOU MAKE A VIDEO OUT OF THIS
4+
5
	print("| FE Compatibility by pizzacruster | Made & Scripted by MasterPiece9876 |")
6-
-----[]---------[]---------[]------
6+
7-
---tripp ripp dipp blame heckles---
7+
8-
-----------------------------------
8+
9-
--------------by chun--------------
9+
10-
-----------------------------------
10+
11-
---credits to rufus for original---
11+
12-
--[[]]-----[[]]-----[[]]-----[[]]--
12+
13-
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
13+
14
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
15
		t.connect = t.Connect
16
		return t
17-
	print("FE Compatibility code by Mokiros")
17+
18
19
	--Creating fake input objects with fake variables
20
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
21
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
22
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
23
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
24
	end}
25
	--Merged 2 functions into one by checking amount of arguments
26
	CAS.UnbindAction = CAS.BindAction
27
28
	--This function will trigger the events that have been :Connect()'ed
29
	local function te(self,ev,...)
30
		local t = m[ev]
31
		if t and t._fakeEvent and t.Function then
32
			t.Function(...)
33
		end
34
	end
35
	m.TrigEvent = te
36
	UIS.TrigEvent = te
37
38
	Event.OnServerEvent:Connect(function(plr,io)
39
	    if plr~=Player then return end
40
		m.Target = io.Target
41
		m.Hit = io.Hit
42
		if not io.isMouse then
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 Mouse = Player:GetMouse()
63
	local UIS = game:GetService("UserInputService")
64
	local input = function(io,a)
65
		if a then return end
66
		--Since InputObject is a client-side instance, we create and pass table instead
67
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
68
	end
69
	UIS.InputBegan:Connect(input)
70
	UIS.InputEnded:Connect(input)
71
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
	local _rg = game
82
	local function FakeService(t,RealService)
83
		t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
84
		return setmetatable(t,{
85
			__index = function(self,k)
86
				local s = rawget(self,"_RealService")
87
				if s then return s[k] end
88
			end,
89
			__newindex = function(self,k,v)
90
				local s = rawget(self,"_RealService")
91
				if s then s[k]=v end
92
			end,
93
		})
94
	end
95
	local g = FakeService({
96
		GetService = function(self,s)
97
			return self[s]
98
		end,
99
		Players = FakeService({
100
			LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
101
		},"Players"),
102
		UserInputService = FakeService(UIS,"UserInputService"),
103
		ContextActionService = FakeService(CAS,"ContextActionService"),
104
		RunService = FakeService({RenderStepped=game:GetService("RunService").Heartbeat},"RunService")
105
	},game)
106
	rawset(g.Players,"localPlayer",g.Players.LocalPlayer) 
107
	getmetatable(g).__index=function(self,s)
108
		return _rg:GetService(s) or typeof(_rg[s])=="function"
109
		and function(_,...)return _rg[s](_rg,...)end or _rg[s]
110
	end
111
	game = g
112
	owner = g.Players.LocalPlayer
113
end
114
warn[[u can trip in this script
115
made by masterpiece9876
116
have fun lol
117
press button to continue!
118
119
-by the way hi skid]]
120
ply = game:GetService("Players").LocalPlayer
121
chr = ply.Character
122
tors = chr.Torso
123
songs={ 
124
    1248405065,
125
    152833989,
126-
warn[[trip
126+
127-
made by mastershadowenderman/chun
127+
128
    203626421,
129
    418669540,
130
    190475759,
131-
-by the way it was "leaked" by someone called derpz, and he called trip rare. wow.-]]
131+
132
    {910355112,1.2}, 
133
    271588868,
134
    1016907020,
135
    532665591,
136
    474589531,
137
	845375455,
138
	1263164996,
139
	155973042,
140
	283591759,
141
	1063142561,
142
	426760325,
143
	383237778,
144
	1081581415,
145
	169143768,
146
	488472970,
147
	130783719,
148
	150794704,
149
	1121799023,
150
	997599367,
151
	915288747,
152
	514350248,
153
	785989388,
154
	206910323,
155
	1567969322,
156
	1645482497,
157
	585748628,
158
	1285760020,
159
	382403699,
160
	241560895,
161
	{974451759,1.2},
162
	338049378,
163
	1441359561,
164
	981952417,
165
	521014607,
166
	1131624146,
167
	1031279861,
168
	156989725,
169
	1608398085,
170
	547100042,
171
}
172
173
screams={
174
	513492655,
175
	527970724,
176
	535528169,
177
	1278710301,
178
	1278709078,
179
	572979823,
180
	571879674,
181
	12222242,
182
	1311150759,
183
	656222908,
184
	1006723227,
185
	165487479,
186
	525166232,
187
	1093589689,
188
	1238804383,
189
}
190
191
song=Instance.new("Sound",workspace)
192
scream=Instance.new("Sound",workspace)
193
Player = game:GetService'Players'.localPlayer
194
chara = Player.Character
195
Head = chara.Head
196
197
function playRandomSong()
198
    local song_id=songs[math.floor(math.random(1,#songs))]
199
    if(type(song_id)=="number")then song.SoundId="rbxassetid://"..tostring(song_id)end
200
    if(type(song_id)=="table")then song.SoundId="rbxassetid://"..tostring(song_id[1]) song.PlaybackSpeed=song_id[2] end
201
    song:Play()
202
end
203
204
function playRandomScream()
205
	local scream_id=screams[math.floor(math.random(1,#screams))]
206
	if(type(scream_id)=="number")then scream.SoundId="rbxassetid://"..tostring(scream_id)end
207
	if(type(scream_id)=="table")then scream.SoundId="rbxassetid://"..tostring(scream_id[1]) scream.PlaybackSpeed=scream_id[2] end
208
	scream:Play()
209
end
210
211
function sandbox(var,func)
212
	local env = getfenv(func)
213
	local newenv = setmetatable({},{
214
		__index = function(self,k)
215
			if k=="script" then
216
				return var
217
			else
218
				return env[k]
219
			end
220
		end,
221
	})
222
	setfenv(func,newenv)
223
	return func
224
end
225
cors = {}
226
mas = Instance.new("Model",game:GetService("Lighting"))
227
for i,v in pairs(mas:GetChildren()) do
228
	v.Parent = game:GetService("Players").LocalPlayer.Character
229
	pcall(function() v:MakeJoints() end)
230
end
231
mas:Destroy()
232
for i,v in pairs(cors) do
233
	spawn(function()
234
		pcall(v)
235
	end)
236
end
237
-- Objects
238
239
ScreenGui = Instance.new("ScreenGui")
240
TextButton = Instance.new("TextButton")
241
242
-- Properties
243
244
ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
245
246
TextButton.Parent = ScreenGui
247
TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
248
TextButton.Position = UDim2.new(0.318378747, 0, 0.816154361, 0)
249
TextButton.Size = UDim2.new(0, 496, 0, 135)
250
TextButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
251
TextButton.Font = Enum.Font.Cartoon
252
TextButton.FontSize = Enum.FontSize.Size14
253
TextButton.Text = "trip"
254
TextButton.TextColor3 = Color3.new(0.454902, 0, 0)
255
TextButton.TextScaled = true
256
TextButton.TextSize = 14
257
TextButton.TextWrapped = true
258
function trip()
259
	ScreenGui:destroy()
260
	--[[local oof = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
261
	oof.Volume = 10
262
	oof.SoundId = "rbxassetid://12222242"
263
	wait(0.2)
264
	oof:Play()]]-- NO LONGER IN USE, RANDOM SCREAMS ADDED
265-
TextButton.Text = "tripp"
265+
266
        if game.Players.LocalPlayer.Character:findFirstChild("Torso") then
267
            game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 10
268
            for i,v in pairs(game.Players.LocalPlayer.Character.Torso:GetChildren()) do
269
                if v.ClassName == "Motor6D" then
270
                    if v.Name == "Neck" then
271
                       
272
                    else
273
                        v:destroy()
274
                    end
275
                end
276
            end
277
        end
278
        if game.Players.LocalPlayer.Character:findFirstChild("Right Arm") then
279
            local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
280
            attachment.Position = Vector3.new(1, 1, 0)
281
            local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
282
            ball.Attachment0 = game.Players.LocalPlayer.Character["Right Arm"].RightShoulderAttachment
283
            ball.Attachment1 = attachment
284
            local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
285
            collidepartofleftleg.Name = "Bone"
286
            collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
287
            collidepartofleftleg.Transparency = 1
288
            collidepartofleftleg:BreakJoints()
289
            local weeld = Instance.new("Weld", collidepartofleftleg)
290
            weeld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
291
            weeld.Part1 = collidepartofleftleg
292
            weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
293
        end
294
        if game.Players.LocalPlayer.Character:findFirstChild("Left Arm") then
295
            local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
296
            attachment.Position = Vector3.new(-1, 1, 0)
297
            local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
298
            ball.Attachment0 = attachment
299
            ball.Attachment1 = game.Players.LocalPlayer.Character["Left Arm"].LeftShoulderAttachment
300
            local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
301
            collidepartofleftleg.Name = "Bone"
302
            collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
303
            collidepartofleftleg.Transparency = 1
304
            collidepartofleftleg:BreakJoints()
305
            local weeld = Instance.new("Weld", collidepartofleftleg)
306
            weeld.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
307
            weeld.Part1 = collidepartofleftleg
308
            weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
309
        end
310
        if game.Players.LocalPlayer.Character:findFirstChild("Right Leg") then
311
            local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
312
            attachment.Position = Vector3.new(0.5, -1, 0)
313
            local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
314
            ball.Attachment0 = game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment
315
            ball.Attachment1 = attachment
316
            game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
317
            local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
318
            collidepartofleftleg.Name = "Bone"
319
            collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
320
            collidepartofleftleg.Transparency = 1
321
            collidepartofleftleg:BreakJoints()
322
            local weeld = Instance.new("Weld", collidepartofleftleg)
323
            weeld.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
324
            weeld.Part1 = collidepartofleftleg
325
            weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
326
        end
327
        if game.Players.LocalPlayer.Character:findFirstChild("Left Leg") then
328
            local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
329
            attachment.Position = Vector3.new(-0.5, -1, 0)
330
            local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
331
            ball.Attachment0 = game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment
332
            ball.Attachment1 = attachment
333
            game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
334
            local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
335
            collidepartofleftleg.Name = "Bone"
336
            collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
337
            collidepartofleftleg.Transparency = 1
338
            collidepartofleftleg:BreakJoints()
339
            local weeld = Instance.new("Weld", collidepartofleftleg)
340
            weeld.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
341
            weeld.Part1 = collidepartofleftleg
342
            weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
343
        end
344
        if game.Players.LocalPlayer.Character:findFirstChild("Head") then
345
            local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Head)
346
				attachment.Position = Vector3.new(0, -0.5, 0)
347
				attachment.Name = "lol"
348
				attachment.Visible = false
349
				game.Players.LocalPlayer.Character.Torso.NeckAttachment.Visible = false
350
				game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position = game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
351
				local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
352
	            ball.Attachment0 = game.Players.LocalPlayer.Character.Torso.NeckAttachment
353
	            ball.Attachment1 = attachment
354
				ball.LimitsEnabled = true
355
				ball.TwistLimitsEnabled = true
356
				ball.UpperAngle = 90
357
				ball.Restitution = 0.5
358
				ball.TwistUpperAngle = 180
359
				ball.TwistLowerAngle = -180
360
	            local  collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
361
	            collidepartofleftleg.Name = "Bone"
362
	            collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
363
	            collidepartofleftleg.Transparency = 1
364
	            collidepartofleftleg:BreakJoints()
365
	            local weeld = Instance.new("Weld", collidepartofleftleg)
366
	            weeld.Part0 = collidepartofleftleg
367
	            weeld.Part1 = game.Players.LocalPlayer.Character["Head"]
368
				if game.Players.LocalPlayer.Character.Torso:findFirstChild("Neck") then
369
					game.Players.LocalPlayer.Character.Torso.Neck:destroy()
370
				end
371
				if game.Players.LocalPlayer.Character.Head:findFirstChild("face") then
372
					game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=163713156"
373
				end
374
        end
375
		game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Dead, false)
376
		game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health = 0.1
377
		game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = 0
378
		game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid").JumpPower = 0
379
		playRandomScream()
380
		scream.Volume = 5
381
		scream.Parent = tors
382
		playRandomSong()
383
		song.Looped = true
384
		song.Volume = 5
385
		song.Parent = tors
386
		while true do
387
			game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid").Health = 0.1
388
			game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
389
			wait()
390
		end
391
end
392
TextButton.MouseButton1Click:connect(trip)