daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest Aug 18th, 2018 133 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Made by Bubbles!
  2. --Please do not steal this, be courteous. This took a while for me to make, and I'm sharing it for free
  3. --Vouch if you can, don't just take and leave :(
  4.  
  5. -- Objects
  6.  
  7. if game.CoreGui:FindFirstChild('MM2') then
  8. game.Debris:AddItem(game.CoreGui:FindFirstChild('MM2'), 0)
  9. print'Successfully deleted'
  10. wait(3)
  11. else
  12. print'Loading: Bubbles Murder Mystery 2 Gui'
  13. end
  14.  
  15.  
  16. local MM2 = Instance.new("ScreenGui")
  17. local Main = Instance.new("Frame")
  18. local Piplup = Instance.new("ImageLabel")
  19. local MadeByMe = Instance.new("TextLabel")
  20. local isOn2 = Instance.new("TextLabel")
  21. local mCheck = Instance.new("TextLabel")
  22. local mSum = Instance.new("TextLabel")
  23. local sCheck = Instance.new("TextLabel")
  24. local sSum = Instance.new("TextLabel")
  25. local Hide = Instance.new("TextButton")
  26. local Shift = Instance.new("TextLabel")
  27. local Coin = Instance.new("TextLabel")
  28. local isOn1 = Instance.new("TextLabel")
  29. local KeyBind = Instance.new("TextLabel")
  30. local isOn3 = Instance.new("TextLabel")
  31. local isOn4 = Instance.new("TextLabel")
  32. local God = Instance.new("TextLabel")
  33. local Show = Instance.new("TextButton")
  34.  
  35. -- Properties
  36.  
  37. MM2.Name = "MM2"
  38. MM2.Parent = game.CoreGui
  39. MM2.ResetOnSpawn = false
  40.  
  41. Main.Name = "Main"
  42. Main.Parent = MM2
  43. Main.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  44. Main.BorderColor3 = Color3.new(0, 0.607843, 1)
  45. Main.BorderSizePixel = 5
  46. Main.Draggable = true
  47. Main.Position = UDim2.new(0.574999988, 0, 0.349999994, 0)
  48. Main.Size = UDim2.new(0.300000012, 0, 0.550000012, 0)
  49. Main.Visible = false
  50.  
  51. Piplup.Name = "Piplup"
  52. Piplup.Parent = Main
  53. Piplup.BackgroundColor3 = Color3.new(1, 1, 1)
  54. Piplup.BorderColor3 = Color3.new(0.129412, 0.54902, 1)
  55. Piplup.BorderSizePixel = 5
  56. Piplup.Draggable = true
  57. Piplup.Position = UDim2.new(0.600000024, 0, 0, 0)
  58. Piplup.Size = UDim2.new(0.400000006, 0, 0.200000003, 0)
  59. Piplup.ZIndex = 2
  60. Piplup.Image = "rbxassetid://885684262"
  61.  
  62. MadeByMe.Name = "MadeByMe"
  63. MadeByMe.Parent = Main
  64. MadeByMe.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  65. MadeByMe.BorderColor3 = Color3.new(0, 0.607843, 1)
  66. MadeByMe.BorderSizePixel = 5
  67. MadeByMe.Draggable = true
  68. MadeByMe.Size = UDim2.new(0.600000024, 0, 0.200000003, 0)
  69. MadeByMe.ZIndex = 3
  70. MadeByMe.Font = Enum.Font.SciFi
  71. MadeByMe.FontSize = Enum.FontSize.Size24
  72. MadeByMe.Text = "Made by Bubbles"
  73. MadeByMe.TextColor3 = Color3.new(0, 0.607843, 1)
  74. MadeByMe.TextScaled = true
  75. MadeByMe.TextSize = 20
  76. MadeByMe.TextStrokeColor3 = Color3.new(0.129412, 0.54902, 1)
  77. MadeByMe.TextWrapped = true
  78.  
  79. isOn2.Name = "isOn2"
  80. isOn2.Parent = Main
  81. isOn2.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  82. isOn2.BorderColor3 = Color3.new(0, 0.607843, 1)
  83. isOn2.BorderSizePixel = 5
  84. isOn2.Position = UDim2.new(0.714999974, 0, 0.600000024, 0)
  85. isOn2.Size = UDim2.new(0.280000001, 0, 0.100000001, 0)
  86. isOn2.ZIndex = 5
  87. isOn2.Font = Enum.Font.SciFi
  88. isOn2.FontSize = Enum.FontSize.Size18
  89. isOn2.Text = "Inactive"
  90. isOn2.TextColor3 = Color3.new(1, 0, 1)
  91. isOn2.TextSize = 18
  92. isOn2.TextStrokeColor3 = Color3.new(1, 0, 1)
  93. isOn2.TextStrokeTransparency = 0.69999998807907
  94. isOn2.TextWrapped = true
  95.  
  96. mCheck.Name = "mCheck"
  97. mCheck.Parent = Main
  98. mCheck.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  99. mCheck.BorderColor3 = Color3.new(0, 0.607843, 1)
  100. mCheck.BorderSizePixel = 5
  101. mCheck.Position = UDim2.new(0, 0, 0.36500001, 0)
  102. mCheck.Size = UDim2.new(0.5, 0, 0.115000002, 0)
  103. mCheck.ZIndex = 4
  104. mCheck.Font = Enum.Font.SciFi
  105. mCheck.FontSize = Enum.FontSize.Size24
  106. mCheck.Text = "Murderer [F]"
  107. mCheck.TextColor3 = Color3.new(1, 0, 0)
  108. mCheck.TextSize = 20
  109. mCheck.TextWrapped = true
  110.  
  111. mSum.Name = "mSum"
  112. mSum.Parent = Main
  113. mSum.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  114. mSum.BorderColor3 = Color3.new(0, 0.607843, 1)
  115. mSum.BorderSizePixel = 5
  116. mSum.Position = UDim2.new(0, 0, 0.485000014, 0)
  117. mSum.Size = UDim2.new(0.5, 0, 0.100000001, 0)
  118. mSum.ZIndex = 4
  119. mSum.Font = Enum.Font.SciFi
  120. mSum.FontSize = Enum.FontSize.Size24
  121. mSum.Text = "Name"
  122. mSum.TextColor3 = Color3.new(1, 0.607843, 0)
  123. mSum.TextSize = 20
  124. mSum.TextWrapped = true
  125.  
  126. sCheck.Name = "sCheck"
  127. sCheck.Parent = Main
  128. sCheck.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  129. sCheck.BorderColor3 = Color3.new(0, 0.607843, 1)
  130. sCheck.BorderSizePixel = 5
  131. sCheck.Position = UDim2.new(0.5, 0, 0.36500001, 0)
  132. sCheck.Size = UDim2.new(0.5, 0, 0.115000002, 0)
  133. sCheck.ZIndex = 3
  134. sCheck.Font = Enum.Font.SciFi
  135. sCheck.FontSize = Enum.FontSize.Size24
  136. sCheck.Text = "Sheriff [G]"
  137. sCheck.TextColor3 = Color3.new(0, 1, 1)
  138. sCheck.TextSize = 20
  139. sCheck.TextWrapped = true
  140.  
  141. sSum.Name = "sSum"
  142. sSum.Parent = Main
  143. sSum.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  144. sSum.BorderColor3 = Color3.new(0, 0.607843, 1)
  145. sSum.BorderSizePixel = 5
  146. sSum.Position = UDim2.new(0.5, 0, 0.485000014, 0)
  147. sSum.Size = UDim2.new(0.5, 0, 0.100000001, 0)
  148. sSum.ZIndex = 3
  149. sSum.Font = Enum.Font.SciFi
  150. sSum.FontSize = Enum.FontSize.Size24
  151. sSum.Text = "Name"
  152. sSum.TextColor3 = Color3.new(0, 1, 0.607843)
  153. sSum.TextSize = 20
  154. sSum.TextWrapped = true
  155.  
  156. Hide.Name = "Hide"
  157. Hide.Parent = Main
  158. Hide.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  159. Hide.BorderColor3 = Color3.new(0, 0.607843, 1)
  160. Hide.BorderSizePixel = 5
  161. Hide.Position = UDim2.new(0, 0, 0.925000012, 0)
  162. Hide.Size = UDim2.new(1, 0, 0.075000003, 0)
  163. Hide.ZIndex = 3
  164. Hide.Font = Enum.Font.SourceSans
  165. Hide.FontSize = Enum.FontSize.Size24
  166. Hide.Text = "Hide [X]"
  167. Hide.TextColor3 = Color3.new(0.470588, 0.333333, 1)
  168. Hide.TextScaled = true
  169. Hide.TextSize = 20
  170. Hide.TextWrapped = true
  171.  
  172. Shift.Name = "Shift"
  173. Shift.Parent = Main
  174. Shift.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  175. Shift.BorderColor3 = Color3.new(0, 0.607843, 1)
  176. Shift.BorderSizePixel = 5
  177. Shift.Position = UDim2.new(0, 0, 0.600000024, 0)
  178. Shift.Size = UDim2.new(0.699999988, 0, 0.100000001, 0)
  179. Shift.ZIndex = 4
  180. Shift.Font = Enum.Font.SciFi
  181. Shift.FontSize = Enum.FontSize.Size24
  182. Shift.Text = "Run [Shift]"
  183. Shift.TextColor3 = Color3.new(1, 1, 0)
  184. Shift.TextSize = 20
  185. Shift.TextWrapped = true
  186.  
  187. Coin.Name = "Coin"
  188. Coin.Parent = Main
  189. Coin.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  190. Coin.BorderColor3 = Color3.new(0, 0.607843, 1)
  191. Coin.BorderSizePixel = 5
  192. Coin.Position = UDim2.new(0, 0, 0.215000004, 0)
  193. Coin.Size = UDim2.new(0.699999988, 0, 0.135000005, 0)
  194. Coin.ZIndex = 4
  195. Coin.Font = Enum.Font.SciFi
  196. Coin.FontSize = Enum.FontSize.Size24
  197. Coin.Text = "Coin Grabber [C]"
  198. Coin.TextColor3 = Color3.new(0, 0.333333, 1)
  199. Coin.TextSize = 20
  200. Coin.TextWrapped = true
  201.  
  202. isOn1.Name = "isOn1"
  203. isOn1.Parent = Main
  204. isOn1.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  205. isOn1.BorderColor3 = Color3.new(0, 0.607843, 1)
  206. isOn1.BorderSizePixel = 5
  207. isOn1.Position = UDim2.new(0.720000029, 0, 0.215000004, 0)
  208. isOn1.Size = UDim2.new(0.280000001, 0, 0.135000005, 0)
  209. isOn1.ZIndex = 5
  210. isOn1.Font = Enum.Font.SciFi
  211. isOn1.FontSize = Enum.FontSize.Size18
  212. isOn1.Text = "Inactive"
  213. isOn1.TextColor3 = Color3.new(1, 0, 1)
  214. isOn1.TextSize = 18
  215. isOn1.TextStrokeColor3 = Color3.new(1, 0, 1)
  216. isOn1.TextStrokeTransparency = 0.69999998807907
  217. isOn1.TextWrapped = true
  218.  
  219. KeyBind.Name = "KeyBind"
  220. KeyBind.Parent = Main
  221. KeyBind.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  222. KeyBind.BorderColor3 = Color3.new(0, 0.607843, 1)
  223. KeyBind.BorderSizePixel = 5
  224. KeyBind.Position = UDim2.new(0, 0, 0.814999998, 0)
  225. KeyBind.Size = UDim2.new(0.699999988, 0, 0.0970000029, 0)
  226. KeyBind.ZIndex = 3
  227. KeyBind.Font = Enum.Font.SciFi
  228. KeyBind.FontSize = Enum.FontSize.Size18
  229. KeyBind.Text = "Key Binds [CTRL]"
  230. KeyBind.TextColor3 = Color3.new(1, 1, 1)
  231. KeyBind.TextSize = 15
  232. KeyBind.TextWrapped = true
  233.  
  234. isOn3.Name = "isOn3"
  235. isOn3.Parent = Main
  236. isOn3.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  237. isOn3.BorderColor3 = Color3.new(0, 0.607843, 1)
  238. isOn3.BorderSizePixel = 5
  239. isOn3.Position = UDim2.new(0.714999974, 0, 0.704999983, 0)
  240. isOn3.Size = UDim2.new(0.280000001, 0, 0.100000001, 0)
  241. isOn3.ZIndex = 4
  242. isOn3.Font = Enum.Font.SciFi
  243. isOn3.FontSize = Enum.FontSize.Size18
  244. isOn3.Text = "Inactive"
  245. isOn3.TextColor3 = Color3.new(1, 0, 1)
  246. isOn3.TextSize = 18
  247. isOn3.TextStrokeColor3 = Color3.new(1, 0, 1)
  248. isOn3.TextStrokeTransparency = 0.69999998807907
  249. isOn3.TextWrapped = true
  250.  
  251. isOn4.Name = "isOn4"
  252. isOn4.Parent = Main
  253. isOn4.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  254. isOn4.BorderColor3 = Color3.new(0, 0.607843, 1)
  255. isOn4.BorderSizePixel = 5
  256. isOn4.Position = UDim2.new(0.714999974, 0, 0.814999998, 0)
  257. isOn4.Size = UDim2.new(0.280000001, 0, 0.0970000029, 0)
  258. isOn4.ZIndex = 5
  259. isOn4.Font = Enum.Font.SciFi
  260. isOn4.FontSize = Enum.FontSize.Size14
  261. isOn4.Text = "Active"
  262. isOn4.TextColor3 = Color3.new(0, 1, 0)
  263. isOn4.TextSize = 14
  264. isOn4.TextStrokeColor3 = Color3.new(0, 1, 0)
  265. isOn4.TextStrokeTransparency = 0.69999998807907
  266. isOn4.TextWrapped = true
  267.  
  268. God.Name = "God"
  269. God.Parent = Main
  270. God.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  271. God.BorderColor3 = Color3.new(0, 0.607843, 1)
  272. God.BorderSizePixel = 5
  273. God.Position = UDim2.new(0, 0, 0.704999983, 0)
  274. God.Size = UDim2.new(0.699999988, 0, 0.100000001, 0)
  275. God.ZIndex = 3
  276. God.Font = Enum.Font.SciFi
  277. God.FontSize = Enum.FontSize.Size24
  278. God.Text = "God Mode [R]"
  279. God.TextColor3 = Color3.new(0, 1, 0.0313726)
  280. God.TextSize = 20
  281. God.TextWrapped = true
  282.  
  283. Show.Name = "Show"
  284. Show.Parent = MM2
  285. Show.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  286. Show.BorderColor3 = Color3.new(0, 0.607843, 1)
  287. Show.BorderSizePixel = 5
  288. Show.Position = UDim2.new(0.574999988, 0, 0.85799998, 0)
  289. Show.Size = UDim2.new(0.300000012, 0, 0.0399999991, 0)
  290. Show.Font = Enum.Font.SourceSans
  291. Show.FontSize = Enum.FontSize.Size24
  292. Show.Text = "Show [X]"
  293. Show.TextColor3 = Color3.new(0, 0.607843, 1)
  294. Show.TextScaled = true
  295. Show.TextSize = 20
  296. Show.TextWrapped = true
  297.  
  298.  
  299. --Variables
  300. local uis = game:GetService("UserInputService")
  301. local player = game.Players.LocalPlayer
  302. local mouse = game.Players.LocalPlayer:GetMouse()
  303. local insidePlayer = game.Players:GetChildren()
  304. local mouse = game.Players.LocalPlayer:GetMouse()
  305. local coinActive = false
  306. local runActive = false
  307. local godActive = false
  308. local keyOff = false
  309. local fActive = false
  310. local gActive = false
  311.  
  312. --Functions that help and stuff
  313.  
  314. function callActive(frame)
  315. frame.TextColor3 = Color3.new(0,255,0)
  316. frame.TextStrokeColor3 = frame.TextColor3
  317. frame.Text = 'Active'
  318. end
  319.  
  320. function callInactive(frame)
  321. frame.TextColor3 = Color3.new(255,0,255)
  322. frame.TextStrokeColor3 = frame.TextColor3
  323. frame.Text = 'Inactive'
  324. end
  325.  
  326. --Hide / Show keybind [X]
  327.  
  328. Show.MouseButton1Click:connect(function()
  329. if Main.Visible == false then
  330. Main.Visible = true
  331. Show.Visible = false
  332. end
  333.  
  334. end)
  335.  
  336. Hide.MouseButton1Click:connect(function()
  337. if Main.Visible == true then
  338. Main.Visible = false
  339. Show.Visible = true
  340. end
  341.  
  342. end)
  343.  
  344. mouse.KeyDown:connect(function(key)
  345. if key == 'x' then
  346. if Main.Visible == false then
  347. Main.Visible = true
  348. Show.Visible = false
  349. else
  350. Main.Visible = false
  351. Show.Visible = true
  352. end
  353. end
  354. end)
  355. ------------------------Turn off keybinds [CTRL]
  356.  
  357. uis.InputBegan:connect(function(input, gpe)
  358. if input.KeyCode == Enum.KeyCode.LeftControl then
  359. if keyOff == false then
  360. keyOff = true
  361. callInactive(isOn4)
  362. else
  363. keyOff = false
  364. callActive(isOn4)
  365. end
  366. end
  367. end)
  368.  
  369. ------------------------Find Murderer / Sheriff Function [F and G]
  370.  
  371. function grabGun()
  372. for _, v in pairs(game.Workspace:GetChildren()) do
  373. if v.Name == 'GunDrop' then
  374. print'Found Gun Drop'
  375. v.CFrame = player.Character.Torso.CFrame
  376. end
  377. end
  378. end
  379.  
  380. function checkToolB(tool)
  381. if tool == 'Gun' or tool == 'Revolver' then
  382. grabGun()
  383. end
  384. for i,v in pairs(game.Players:GetChildren()) do
  385. if v:FindFirstChild('Backpack') then
  386. if v.Backpack:FindFirstChild(tool) then
  387. print('Backpack :', tool, ':', v.Name)
  388. if tool == 'Knife' then
  389. mSum.Text = v.Name
  390. mSum.TextColor = v.Character.Torso.BrickColor
  391. wait(1)
  392. fActive = false
  393. elseif tool == 'Gun' or tool == 'Revolver' then
  394. sSum.Text = v.Name
  395. sSum.TextColor = v.Character.Torso.BrickColor
  396. wait(1)
  397. gActive = false
  398. end
  399. else
  400. checkToolC(v, tool)
  401. end
  402. end
  403. end
  404. end
  405. function checkToolC(parent, tool)
  406. if parent.Character then
  407. if parent.Character:FindFirstChild(tool) then
  408. print('Character :', tool, ':', parent.Name)
  409. if tool == 'Knife' then
  410. mSum.Text = parent.Name
  411. mSum.TextColor = parent.Character.Torso.BrickColor
  412. wait(1)
  413. fActive = false
  414. elseif tool == 'Gun' or tool == 'Revolver' then
  415. sSum.Text = parent.Name
  416. sSum.TextColor = parent.Character.Torso.BrickColor
  417. wait(1)
  418. gActive = false
  419. end
  420. end
  421. end
  422. end
  423.  
  424. mouse.KeyDown:connect(function(key)
  425. if key == 'f' and keyOff == false and fActive == false then
  426. fActive = true
  427. print('Beginning Search: Murderer')
  428. repeat
  429. mSum.Text = '_____'
  430. wait(.5)
  431. checkToolB('Knife')
  432. until fActive == false
  433. end
  434. end)
  435.  
  436.  
  437. mouse.KeyDown:connect(function(key)
  438. if key == 'g' and keyOff == false and gActive == false then
  439. gActive = true
  440. print('Beginning Search: Sheriff')
  441. repeat
  442. sSum.Text = '_____'
  443. wait(.5)
  444. checkToolB('Gun'); checkToolB('Revolver')
  445. until gActive == false
  446. end
  447. end)
  448.  
  449. ------------------------Coin Grabber Function [C]
  450.  
  451.  
  452. mouse.KeyDown:connect(function(key)
  453. if key == "c" and coinActive == false and keyOff == false then
  454. coinActive = true
  455. callActive(isOn1)
  456.  
  457. repeat
  458. wait(1.25)
  459. local children = game.Workspace:GetChildren()
  460. for _, child in pairs(children) do
  461. for _, child in pairs(child:GetChildren()) do
  462. table.insert(children, child)
  463. end
  464. if child:IsA("BasePart") and child.Name == "Coin" then
  465. child.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  466. end
  467. end
  468. until coinActive == false
  469. end
  470.  
  471. end)
  472.  
  473.  
  474. mouse.KeyUp:connect(function(key)
  475. if key == "c" and coinActive == true and keyOff == false then
  476. callInactive(isOn1)
  477. coinActive = false
  478. end
  479.  
  480. end)
  481.  
  482. ----------------------Shift to run script [Shift]
  483.  
  484. mouse.KeyDown:connect(function(KeyDown)
  485. if KeyDown == "0" and runActive == false and keyOff == false then
  486. runActive = true
  487. player.Character.Humanoid.WalkSpeed = 32
  488.  
  489. callActive(isOn2)
  490. end
  491. end)
  492.  
  493. mouse.KeyUp:connect(function(KeyUp)
  494. if KeyUp == "0" and runActive == true and keyOff == false then
  495. runActive = false
  496. player.Character.Humanoid.WalkSpeed = 16
  497.  
  498. callInactive(isOn2)
  499. end
  500. end)
  501.  
  502. ----------------------God mode function [R]
  503. mouse.KeyDown:connect(function(key)
  504. if key == 'r' and player.Character and godActive == false and keyOff == false then
  505. if player.Character:FindFirstChild("Humanoid") then
  506. godActive = true
  507. player.Character.Humanoid.Name = "1"
  508. end
  509. callActive(isOn3)
  510.  
  511. local l = player.Character["1"]:Clone()
  512. l.Parent = player.Character
  513. l.Name = "Humanoid"; wait(0.1)
  514. player.Character["1"]:Destroy()
  515. workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
  516. player.Character.Animate.Disabled = true; wait(0.1)
  517. player.Character.Animate.Disabled = false
  518.  
  519. local Debounce = Instance.new("BoolValue")
  520. Debounce.Name = "Debounce"
  521. Debounce.Parent = player.Character
  522. local findDebounce = player.Character:FindFirstChild('Debounce')
  523.  
  524. repeat
  525. player.Character:FindFirstChild('Debounce')
  526. wait(5)
  527. until not player.Character:FindFirstChild('Debounce')
  528.  
  529. callInactive(isOn3)
  530. godActive = false
  531. end
  532. end)
  533.  
  534. --[Made by BUBBLES]--
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top