ShadeblastHere

tripp

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