Advertisement
TinkerElsa44

Mighty Jimmy

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