Fish_2651

2 player obby script made by Fish#2651

Apr 13th, 2021 (edited)
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.92 KB | None | 0 0
  1. --game link https://www.roblox.com/games/25525428/Two-Player-Obby
  2.  
  3.  
  4. -- Gui to Lua
  5. -- Version: 3.2
  6.  
  7. -- Instances:
  8.  
  9. local _2playerobbyscriptmadebyFish2651 = Instance.new("ScreenGui")
  10. local Title = Instance.new("Frame")
  11. local Frame = Instance.new("Frame")
  12. local Frame_2 = Instance.new("Frame")
  13. local Stage1 = Instance.new("TextButton")
  14. local Stage2 = Instance.new("TextButton")
  15. local Stage3 = Instance.new("TextButton")
  16. local Stage4 = Instance.new("TextButton")
  17. local Stage5 = Instance.new("TextButton")
  18. local Stage6 = Instance.new("TextButton")
  19. local Stage7 = Instance.new("TextButton")
  20. local Stage8 = Instance.new("TextButton")
  21. local Stage9 = Instance.new("TextButton")
  22. local Stage10 = Instance.new("TextButton")
  23. local Stage11 = Instance.new("TextButton")
  24. local Stage12 = Instance.new("TextButton")
  25. local Stage13 = Instance.new("TextButton")
  26. local Stage14 = Instance.new("TextButton")
  27. local Stage15 = Instance.new("TextButton")
  28. local TextLabel = Instance.new("TextLabel")
  29.  
  30. --Properties:
  31.  
  32. _2playerobbyscriptmadebyFish2651.Name = "2 player obby script made by Fish#2651"
  33. _2playerobbyscriptmadebyFish2651.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  34. _2playerobbyscriptmadebyFish2651.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  35.  
  36. Title.Name = "Title"
  37. Title.Parent = _2playerobbyscriptmadebyFish2651
  38. Title.BackgroundColor3 = Color3.fromRGB(75, 75, 75)
  39. Title.Position = UDim2.new(0.0910891071, 0, 0.189979121, 0)
  40. Title.Size = UDim2.new(0, 179, 0, 21)
  41.  
  42. Frame.Parent = Title
  43. Frame.BackgroundColor3 = Color3.fromRGB(49, 49, 49)
  44. Frame.Position = UDim2.new(-0.00388297811, 0, 0.995724618, 0)
  45. Frame.Size = UDim2.new(0, 179, 0, 329)
  46.  
  47. Frame_2.Parent = Title
  48. Frame_2.BackgroundColor3 = Color3.fromRGB(75, 75, 75)
  49. Frame_2.Position = UDim2.new(0.0487306044, 0, 1.72880042, 0)
  50. Frame_2.Size = UDim2.new(0, 160, 0, 304)
  51.  
  52. Stage1.Name = "Stage1"
  53. Stage1.Parent = Frame_2
  54. Stage1.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  55. Stage1.Size = UDim2.new(0, 160, 0, 20)
  56. Stage1.Font = Enum.Font.SourceSans
  57. Stage1.Text = "Stage1"
  58. Stage1.TextColor3 = Color3.fromRGB(0, 0, 0)
  59. Stage1.TextScaled = true
  60. Stage1.TextSize = 14.000
  61. Stage1.TextWrapped = true
  62.  
  63. Stage2.Name = "Stage2"
  64. Stage2.Parent = Frame_2
  65. Stage2.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  66. Stage2.Position = UDim2.new(0, 0, 0.0687285215, 0)
  67. Stage2.Size = UDim2.new(0, 160, 0, 20)
  68. Stage2.Font = Enum.Font.SourceSans
  69. Stage2.Text = "Stage2"
  70. Stage2.TextColor3 = Color3.fromRGB(0, 0, 0)
  71. Stage2.TextScaled = true
  72. Stage2.TextSize = 14.000
  73. Stage2.TextWrapped = true
  74.  
  75. Stage3.Name = "Stage3"
  76. Stage3.Parent = Frame_2
  77. Stage3.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  78. Stage3.Position = UDim2.new(0, 0, 0.137457043, 0)
  79. Stage3.Size = UDim2.new(0, 160, 0, 20)
  80. Stage3.Font = Enum.Font.SourceSans
  81. Stage3.Text = "Stage3"
  82. Stage3.TextColor3 = Color3.fromRGB(0, 0, 0)
  83. Stage3.TextScaled = true
  84. Stage3.TextSize = 14.000
  85. Stage3.TextWrapped = true
  86.  
  87. Stage4.Name = "Stage4"
  88. Stage4.Parent = Frame_2
  89. Stage4.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  90. Stage4.Position = UDim2.new(0, 0, 0.206185564, 0)
  91. Stage4.Size = UDim2.new(0, 160, 0, 20)
  92. Stage4.Font = Enum.Font.SourceSans
  93. Stage4.Text = "Stage4"
  94. Stage4.TextColor3 = Color3.fromRGB(0, 0, 0)
  95. Stage4.TextScaled = true
  96. Stage4.TextSize = 14.000
  97. Stage4.TextWrapped = true
  98.  
  99. Stage5.Name = "Stage5"
  100. Stage5.Parent = Frame_2
  101. Stage5.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  102. Stage5.Position = UDim2.new(0, 0, 0.274914086, 0)
  103. Stage5.Size = UDim2.new(0, 160, 0, 20)
  104. Stage5.Font = Enum.Font.SourceSans
  105. Stage5.Text = "Stage5"
  106. Stage5.TextColor3 = Color3.fromRGB(0, 0, 0)
  107. Stage5.TextScaled = true
  108. Stage5.TextSize = 14.000
  109. Stage5.TextWrapped = true
  110.  
  111. Stage6.Name = "Stage6"
  112. Stage6.Parent = Frame_2
  113. Stage6.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  114. Stage6.Position = UDim2.new(0, 0, 0.343642592, 0)
  115. Stage6.Size = UDim2.new(0, 160, 0, 20)
  116. Stage6.Font = Enum.Font.SourceSans
  117. Stage6.Text = "Stage6"
  118. Stage6.TextColor3 = Color3.fromRGB(0, 0, 0)
  119. Stage6.TextScaled = true
  120. Stage6.TextSize = 14.000
  121. Stage6.TextWrapped = true
  122.  
  123. Stage7.Name = "Stage7"
  124. Stage7.Parent = Frame_2
  125. Stage7.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  126. Stage7.Position = UDim2.new(0, 0, 0.412371099, 0)
  127. Stage7.Size = UDim2.new(0, 160, 0, 20)
  128. Stage7.Font = Enum.Font.SourceSans
  129. Stage7.Text = "Stage7"
  130. Stage7.TextColor3 = Color3.fromRGB(0, 0, 0)
  131. Stage7.TextScaled = true
  132. Stage7.TextSize = 14.000
  133. Stage7.TextWrapped = true
  134.  
  135. Stage8.Name = "Stage8"
  136. Stage8.Parent = Frame_2
  137. Stage8.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  138. Stage8.Position = UDim2.new(0, 0, 0.481099606, 0)
  139. Stage8.Size = UDim2.new(0, 160, 0, 20)
  140. Stage8.Font = Enum.Font.SourceSans
  141. Stage8.Text = "Stage8"
  142. Stage8.TextColor3 = Color3.fromRGB(0, 0, 0)
  143. Stage8.TextScaled = true
  144. Stage8.TextSize = 14.000
  145. Stage8.TextWrapped = true
  146.  
  147. Stage9.Name = "Stage9"
  148. Stage9.Parent = Frame_2
  149. Stage9.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  150. Stage9.Position = UDim2.new(0, 0, 0.549828112, 0)
  151. Stage9.Size = UDim2.new(0, 160, 0, 20)
  152. Stage9.Font = Enum.Font.SourceSans
  153. Stage9.Text = "Stage9"
  154. Stage9.TextColor3 = Color3.fromRGB(0, 0, 0)
  155. Stage9.TextScaled = true
  156. Stage9.TextSize = 14.000
  157. Stage9.TextWrapped = true
  158.  
  159. Stage10.Name = "Stage10"
  160. Stage10.Parent = Frame_2
  161. Stage10.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  162. Stage10.Position = UDim2.new(0, 0, 0.618556619, 0)
  163. Stage10.Size = UDim2.new(0, 160, 0, 20)
  164. Stage10.Font = Enum.Font.SourceSans
  165. Stage10.Text = "Stage10"
  166. Stage10.TextColor3 = Color3.fromRGB(0, 0, 0)
  167. Stage10.TextScaled = true
  168. Stage10.TextSize = 14.000
  169. Stage10.TextWrapped = true
  170.  
  171. Stage11.Name = "Stage11"
  172. Stage11.Parent = Frame_2
  173. Stage11.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  174. Stage11.Position = UDim2.new(0, 0, 0.687285125, 0)
  175. Stage11.Size = UDim2.new(0, 160, 0, 20)
  176. Stage11.Font = Enum.Font.SourceSans
  177. Stage11.Text = "Stage11"
  178. Stage11.TextColor3 = Color3.fromRGB(0, 0, 0)
  179. Stage11.TextScaled = true
  180. Stage11.TextSize = 14.000
  181. Stage11.TextWrapped = true
  182.  
  183. Stage12.Name = "Stage12"
  184. Stage12.Parent = Frame_2
  185. Stage12.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  186. Stage12.Position = UDim2.new(0, 0, 0.756013632, 0)
  187. Stage12.Size = UDim2.new(0, 160, 0, 20)
  188. Stage12.Font = Enum.Font.SourceSans
  189. Stage12.Text = "Stage12"
  190. Stage12.TextColor3 = Color3.fromRGB(0, 0, 0)
  191. Stage12.TextScaled = true
  192. Stage12.TextSize = 14.000
  193. Stage12.TextWrapped = true
  194.  
  195. Stage13.Name = "Stage13"
  196. Stage13.Parent = Frame_2
  197. Stage13.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  198. Stage13.Position = UDim2.new(0, 0, 0.824742138, 0)
  199. Stage13.Size = UDim2.new(0, 160, 0, 20)
  200. Stage13.Font = Enum.Font.SourceSans
  201. Stage13.Text = "Stage13"
  202. Stage13.TextColor3 = Color3.fromRGB(0, 0, 0)
  203. Stage13.TextScaled = true
  204. Stage13.TextSize = 14.000
  205. Stage13.TextWrapped = true
  206.  
  207. Stage14.Name = "Stage14"
  208. Stage14.Parent = Frame_2
  209. Stage14.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  210. Stage14.Position = UDim2.new(0, 0, 0.893470645, 0)
  211. Stage14.Size = UDim2.new(0, 160, 0, 20)
  212. Stage14.Font = Enum.Font.SourceSans
  213. Stage14.Text = "Stage14"
  214. Stage14.TextColor3 = Color3.fromRGB(0, 0, 0)
  215. Stage14.TextScaled = true
  216. Stage14.TextSize = 14.000
  217. Stage14.TextWrapped = true
  218.  
  219. Stage15.Name = "Stage15"
  220. Stage15.Parent = Frame_2
  221. Stage15.BackgroundColor3 = Color3.fromRGB(57, 57, 57)
  222. Stage15.Position = UDim2.new(0, 0, 0.962549627, 0)
  223. Stage15.Size = UDim2.new(0, 160, 0, 11)
  224. Stage15.Font = Enum.Font.SourceSans
  225. Stage15.Text = "Stage15"
  226. Stage15.TextColor3 = Color3.fromRGB(0, 0, 0)
  227. Stage15.TextScaled = true
  228. Stage15.TextSize = 14.000
  229. Stage15.TextWrapped = true
  230.  
  231. TextLabel.Parent = Title
  232. TextLabel.BackgroundColor3 = Color3.fromRGB(75, 75, 75)
  233. TextLabel.Position = UDim2.new(0.0487306044, 0, 0, 0)
  234. TextLabel.Size = UDim2.new(0, 160, 0, 20)
  235. TextLabel.Font = Enum.Font.SourceSans
  236. TextLabel.Text = "No firends b y Fish#2651"
  237. TextLabel.TextColor3 = Color3.fromRGB(255, 85, 255)
  238. TextLabel.TextScaled = true
  239. TextLabel.TextSize = 14.000
  240. TextLabel.TextWrapped = true
  241.  
  242. -- Scripts:
  243.  
  244. local function SYJXKYB_fake_script() -- Stage1.LocalScript
  245. local script = Instance.new('LocalScript', Stage1)
  246.  
  247. local Plr = game.Players.LocalPlayer
  248. local char = Plr.Character
  249.  
  250. script.Parent.MouseButton1Click:Connect(function()
  251. char.HumanoidRootPart.CFrame = CFrame.new(-226.126, 4.57397, -248.501)--add number here\
  252.  
  253. end)
  254.  
  255. end
  256. coroutine.wrap(SYJXKYB_fake_script)()
  257. local function EKAV_fake_script() -- Stage2.LocalScript
  258. local script = Instance.new('LocalScript', Stage2)
  259.  
  260. local Plr = game.Players.LocalPlayer
  261. local char = Plr.Character
  262.  
  263. script.Parent.MouseButton1Click:Connect(function()
  264. char.HumanoidRootPart.CFrame = CFrame.new(-134.557, 17.9967, -162.685)--add number here\
  265.  
  266. end)
  267.  
  268. end
  269. coroutine.wrap(EKAV_fake_script)()
  270. local function DLCZV_fake_script() -- Stage3.LocalScript
  271. local script = Instance.new('LocalScript', Stage3)
  272.  
  273. local Plr = game.Players.LocalPlayer
  274. local char = Plr.Character
  275.  
  276. script.Parent.MouseButton1Click:Connect(function()
  277. char.HumanoidRootPart.CFrame = CFrame.new(-124, 18.974, -396)--add number here\
  278.  
  279. end)
  280.  
  281. end
  282. coroutine.wrap(DLCZV_fake_script)()
  283. local function ASGM_fake_script() -- Stage4.LocalScript
  284. local script = Instance.new('LocalScript', Stage4)
  285.  
  286. local Plr = game.Players.LocalPlayer
  287. local char = Plr.Character
  288.  
  289. script.Parent.MouseButton1Click:Connect(function()
  290. char.HumanoidRootPart.CFrame = CFrame.new(-56.8628, 5.77397, -242.103)--add number here\
  291.  
  292. end)
  293.  
  294. end
  295. coroutine.wrap(ASGM_fake_script)()
  296. local function TRCQ_fake_script() -- Stage5.LocalScript
  297. local script = Instance.new('LocalScript', Stage5)
  298.  
  299. local Plr = game.Players.LocalPlayer
  300. local char = Plr.Character
  301.  
  302. script.Parent.MouseButton1Click:Connect(function()
  303. char.HumanoidRootPart.CFrame = CFrame.new(-68.9195, 5.77397, -151.121)--add number here\
  304.  
  305. end)
  306.  
  307. end
  308. coroutine.wrap(TRCQ_fake_script)()
  309. local function LFXW_fake_script() -- Stage6.LocalScript
  310. local script = Instance.new('LocalScript', Stage6)
  311.  
  312. local Plr = game.Players.LocalPlayer
  313. local char = Plr.Character
  314.  
  315. script.Parent.MouseButton1Click:Connect(function()
  316. char.HumanoidRootPart.CFrame = CFrame.new(-60.078, 6.97397, -67.9083)--add number here\
  317.  
  318. end)
  319.  
  320. end
  321. coroutine.wrap(LFXW_fake_script)()
  322. local function ZUPA_fake_script() -- Stage7.LocalScript
  323. local script = Instance.new('LocalScript', Stage7)
  324.  
  325. local Plr = game.Players.LocalPlayer
  326. local char = Plr.Character
  327.  
  328. script.Parent.MouseButton1Click:Connect(function()
  329. char.HumanoidRootPart.CFrame = CFrame.new(-246.243, 6.97397, 82.3373)--add number here\
  330.  
  331. end)
  332.  
  333. end
  334. coroutine.wrap(ZUPA_fake_script)()
  335. local function WTKIIZX_fake_script() -- Stage8.LocalScript
  336. local script = Instance.new('LocalScript', Stage8)
  337.  
  338. local Plr = game.Players.LocalPlayer
  339. local char = Plr.Character
  340.  
  341. script.Parent.MouseButton1Click:Connect(function()
  342. char.HumanoidRootPart.CFrame = CFrame.new(-26.3771, 6.97397, 148.56)--add number here\
  343.  
  344. end)
  345.  
  346. end
  347. coroutine.wrap(WTKIIZX_fake_script)()
  348. local function IPAA_fake_script() -- Stage9.LocalScript
  349. local script = Instance.new('LocalScript', Stage9)
  350.  
  351. local Plr = game.Players.LocalPlayer
  352. local char = Plr.Character
  353.  
  354. script.Parent.MouseButton1Click:Connect(function()
  355. char.HumanoidRootPart.CFrame = CFrame.new(2.33295, 6.97397, 242.566)--add number here\
  356.  
  357. end)
  358.  
  359. end
  360. coroutine.wrap(IPAA_fake_script)()
  361. local function UTTYWCA_fake_script() -- Stage10.LocalScript
  362. local script = Instance.new('LocalScript', Stage10)
  363.  
  364. local Plr = game.Players.LocalPlayer
  365. local char = Plr.Character
  366.  
  367. script.Parent.MouseButton1Click:Connect(function()
  368. char.HumanoidRootPart.CFrame = CFrame.new(44.8781, 4.57397, 100.742)--add number here\
  369.  
  370. end)
  371.  
  372. end
  373. coroutine.wrap(UTTYWCA_fake_script)()
  374. local function IYZUY_fake_script() -- Stage11.LocalScript
  375. local script = Instance.new('LocalScript', Stage11)
  376.  
  377. local Plr = game.Players.LocalPlayer
  378. local char = Plr.Character
  379.  
  380. script.Parent.MouseButton1Click:Connect(function()
  381. char.HumanoidRootPart.CFrame = CFrame.new(42.3582, 6.97397, 205.636)--add number here\
  382.  
  383. end)
  384.  
  385. end
  386. coroutine.wrap(IYZUY_fake_script)()
  387. local function VLAZXK_fake_script() -- Stage12.LocalScript
  388. local script = Instance.new('LocalScript', Stage12)
  389.  
  390. local Plr = game.Players.LocalPlayer
  391. local char = Plr.Character
  392.  
  393. script.Parent.MouseButton1Click:Connect(function()
  394. char.HumanoidRootPart.CFrame = CFrame.new(228.719, 6.97397, 185.123)--add number here\
  395.  
  396. end)
  397.  
  398. end
  399. coroutine.wrap(VLAZXK_fake_script)()
  400. local function UYFT_fake_script() -- Stage13.LocalScript
  401. local script = Instance.new('LocalScript', Stage13)
  402.  
  403. local Plr = game.Players.LocalPlayer
  404. local char = Plr.Character
  405.  
  406. script.Parent.MouseButton1Click:Connect(function()
  407. char.HumanoidRootPart.CFrame = CFrame.new(124.058, 9.37397, 48.6076)--add number here\
  408.  
  409. end)
  410.  
  411. end
  412. coroutine.wrap(UYFT_fake_script)()
  413. local function WGVQP_fake_script() -- Stage14.LocalScript
  414. local script = Instance.new('LocalScript', Stage14)
  415.  
  416. local Plr = game.Players.LocalPlayer
  417. local char = Plr.Character
  418.  
  419. script.Parent.MouseButton1Click:Connect(function()
  420. char.HumanoidRootPart.CFrame = CFrame.new(85.741, 6.97397, -235.594)--add number here\
  421.  
  422. end)
  423.  
  424. end
  425. coroutine.wrap(WGVQP_fake_script)()
  426. local function FYZMK_fake_script() -- Stage15.LocalScript
  427. local script = Instance.new('LocalScript', Stage15)
  428.  
  429. local Plr = game.Players.LocalPlayer
  430. local char = Plr.Character
  431.  
  432. script.Parent.MouseButton1Click:Connect(function()
  433. char.HumanoidRootPart.CFrame = CFrame.new(244.396, 4.57397, -171.545)--add number here\
  434.  
  435. end)
  436.  
  437. end
  438. coroutine.wrap(FYZMK_fake_script)()
  439. local function IDVOG_fake_script() -- Title.LocalScript
  440. local script = Instance.new('LocalScript', Title)
  441.  
  442. local Plr = game.Players.LocalPlayer
  443.  
  444. Plr:GetMouse().KeyDown:Connect(function(K)
  445. if K == "e" then
  446. script.Parent.Visible = true
  447. end
  448. end)
  449.  
  450. local Plr = game.Players.LocalPlayer
  451.  
  452. Plr:GetMouse().KeyDown:Connect(function(K)
  453. if K == "r" then
  454. script.Parent.Visible = false
  455. end
  456. end)
  457. end
  458. coroutine.wrap(IDVOG_fake_script)()
  459.  
Add Comment
Please, Sign In to add comment