Advertisement
ERROR_CODE

SpeedRun

Aug 2nd, 2023 (edited)
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.57 KB | None | 0 0
  1. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  2. local Tropic = Instance.new("Sky")
  3. Tropic.Name = "Tropic"
  4. Tropic.SkyboxUp = "http://www.roblox.com/asset/?id=169210149"
  5. Tropic.SkyboxLf = "http://www.roblox.com/asset/?id=169210133"
  6. Tropic.SkyboxBk = "http://www.roblox.com/asset/?id=169210090"
  7. Tropic.SkyboxFt = "http://www.roblox.com/asset/?id=169210121"
  8. Tropic.StarCount = 100
  9. Tropic.SkyboxDn = "http://www.roblox.com/asset/?id=169210108"
  10. Tropic.SkyboxRt = "http://www.roblox.com/asset/?id=169210143"
  11. Tropic.Parent = game.Lighting
  12. local L = game:GetService("Lighting") L.ClockTime = 12
  13. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-620.141, 1309.025, 1168.212)
  14. for i = 1,1 do
  15. local part1 = Instance.new("Part")
  16. part1.Parent = workspace
  17. part1.Anchored = true
  18. part1.Size = Vector3.new(0.001, 500, 2048)
  19. part1.CanCollide = true
  20. part1.Position = Vector3.new(-318.191, 1555, 145.989)
  21. part1.BrickColor = BrickColor.new("CGA brown")
  22. part1.Transparency = 1
  23. end
  24.    
  25. for i = 1,1 do
  26. local part2 = Instance.new("Part")
  27. part2.Parent = workspace
  28. part2.Anchored = true
  29. part2.Size = Vector3.new(0.001, 500, 2048 )
  30. part2.CanCollide = true
  31. part2.Position = Vector3.new(-873.191, 1555, 145.989)
  32. part2.BrickColor = BrickColor.new("CGA brown")
  33. part2.Transparency = 1
  34. end
  35.    
  36.   for i = 1,1 do
  37. local part3 = Instance.new("Part")
  38. part3.Parent = workspace
  39. part3.Anchored = true
  40. part3.Size = Vector3.new(0.001, 614, 2048)
  41. part3.CanCollide = true
  42. part3.Position = Vector3.new(-569.191, 1306, 145.989)
  43. part3.Rotation = Vector3.new(0, 0, -90)
  44. part3.BrickColor = BrickColor.new("CGA brown")
  45. end
  46.    
  47. for i = 1,1 do
  48. local part4 = Instance.new("Part")
  49. part4.Parent = workspace
  50. part4.Anchored = true
  51. part4.Size = Vector3.new(611, 500, 0.001)
  52. part4.CanCollide = true
  53. part4.Position = Vector3.new(-568.972, 1555.525, 1169.731)
  54. part4.BrickColor = BrickColor.new("CGA brown")
  55. end
  56.  
  57. for i = 1,1 do
  58. local part5 = Instance.new("Part")
  59. part5.Parent = workspace
  60. part5.Anchored = true
  61. part5.Size = Vector3.new(0.001, 500, 2048)
  62. part5.CanCollide = true
  63. part5.Position = Vector3.new(-318.191, 1555, -1883.011)
  64. part5.BrickColor = BrickColor.new("CGA brown")
  65. part5.Transparency = 1
  66. end
  67.    
  68. for i = 1,1 do
  69. local part6 = Instance.new("Part")
  70. part6.Parent = workspace
  71. part6.Anchored = true
  72. part6.Size = Vector3.new(0.001, 500, 2048)
  73. part6.CanCollide = true
  74. part6.Position = Vector3.new(-873.191, 1555, -1902.011)
  75. part6.BrickColor = BrickColor.new("CGA brown")
  76. part6.Transparency = 1
  77. end
  78.  
  79. for i = 1,1 do
  80. local part7 = Instance.new("Part")
  81. part7.Parent = workspace
  82. part7.Anchored = true
  83. part7.Size = Vector3.new(0.001, 614, 2048)
  84. part7.CanCollide = true
  85. part7.Position = Vector3.new(-569.191, 1306, -1885.011)
  86. part7.Rotation = Vector3.new(0,0,-90)
  87. part7.BrickColor = BrickColor.new("CGA brown")
  88. end
  89.  
  90. for i = 1,1 do
  91. local part8 = Instance.new("Part")
  92. part8.Parent = workspace
  93. part8.Anchored = true
  94. part8.Size = Vector3.new(559, 499, 271)
  95. part8.CanCollide = true
  96. part8.Position = Vector3.new(-597.716, 1555.519, -2906.194)
  97. part8.BrickColor = BrickColor.new("CGA brown")
  98. end
  99. local Part = Instance.new("Part", workspace)
  100. Part.Size = Vector3.new(559, 499, 271)
  101. Part.Locked = true
  102. Part.Anchored = true
  103. Part.CFrame = CFrame.new(-597.716, 1555.519, -2906.194)
  104.  
  105.  
  106. Touched = false
  107. Part.Touched:connect(function(player)
  108. if Touched == false then
  109. Touched = true
  110. if player.Parent.ClassName == "Model" then
  111. loadstring(game:HttpGet("https://pastebin.com/raw/ENcSuYbf"))("Made By ERROR_CODE")
  112. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-620.141, 1309.025, 1168.212)
  113.     if player.Parent.Name ~= game.Players.LocalPlayer.Name then
  114.         player.Parent.Humanoid.HipHeight = 0/0
  115.         wait(3)
  116.         player.Parent:Destroy()
  117.     end
  118. end
  119. Touched = false
  120. end
  121. end)
  122. local S1 = Instance.new("Part")
  123. S1.Parent = workspace
  124. S1.Anchored = true
  125. S1.Size = Vector3.new(661, 500, 0.001)
  126. S1.CanCollide = false
  127. S1.Position = Vector3.new(-567.191, 1556, -49.01)
  128. S1.Rotation = Vector3.new(0,-180,0)
  129. S1.Transparency = 1
  130. local S1Text = Instance.new("SurfaceGui", S1)
  131. S1Text.Adornee = S1
  132. local S1Text = Instance.new("TextLabel", S1Text)
  133. S1Text.Size = UDim2.new(1, 1, 1, 1)
  134. S1Text.TextScaled = true
  135. S1Text.Text = "1\nStage"
  136. S1Text.Font = "Code"
  137. Touched = false
  138. S1.Touched:connect(function(player)
  139. if Touched == false then
  140. Touched = true
  141. if player.Parent.ClassName == "Model" then
  142. local Sound = Instance.new("Sound")
  143. local Id = "1584394759"
  144. Sound.Parent = game.Workspace
  145. Sound.SoundId = "rbxassetid://"..Id
  146. Sound.Playing = true
  147. Sound.Looped = false
  148. Sound.Volume = 1
  149.     if player.Parent.Name ~= game.Players.LocalPlayer.Name then
  150.         player.Parent.Humanoid.HipHeight = 0/0
  151.         wait(3)
  152.         player.Parent:Destroy()
  153.     end
  154. end
  155. Touched = false
  156. end
  157. end)
  158. local S1 = Instance.new("Part")
  159. S1.Parent = workspace
  160. S1.Anchored = true
  161. S1.Size = Vector3.new(661, 500, 0.001)
  162. S1.CanCollide = false
  163. S1.Position = Vector3.new(-573.191, 1556, -635.011)
  164. S1.Rotation = Vector3.new(0,-180,0)
  165. S1.Transparency = 1
  166. local S1Text = Instance.new("SurfaceGui", S1)
  167. S1Text.Adornee = S1
  168. local S1Text = Instance.new("TextLabel", S1Text)
  169. S1Text.Size = UDim2.new(1, 1, 1, 1)
  170. S1Text.TextScaled = true
  171. S1Text.Text = "2\nStage"
  172. S1Text.Font = "Code"
  173. Touched = false
  174. S1.Touched:connect(function(player)
  175. if Touched == false then
  176. Touched = true
  177. if player.Parent.ClassName == "Model" then
  178. local Sound = Instance.new("Sound")
  179. local Id = "1584394759"
  180. Sound.Parent = game.Workspace
  181. Sound.SoundId = "rbxassetid://"..Id
  182. Sound.Playing = true
  183. Sound.Looped = false
  184. Sound.Volume = 1
  185.     if player.Parent.Name ~= game.Players.LocalPlayer.Name then
  186.         player.Parent.Humanoid.HipHeight = 0/0
  187.         wait(3)
  188.         player.Parent:Destroy()
  189.     end
  190. end
  191. Touched = false
  192. end
  193. end)
  194. local S1 = Instance.new("Part")
  195. S1.Parent = workspace
  196. S1.Anchored = true
  197. S1.Size = Vector3.new(661, 500, 0.001)
  198. S1.CanCollide = false
  199. S1.Position = Vector3.new(-570.191, 1556, -1113.011)
  200. S1.Rotation = Vector3.new(0,-180,0)
  201. S1.Transparency = 1
  202. local S1Text = Instance.new("SurfaceGui", S1)
  203. S1Text.Adornee = S1
  204. local S1Text = Instance.new("TextLabel", S1Text)
  205. S1Text.Size = UDim2.new(1, 1, 1, 1)
  206. S1Text.TextScaled = true
  207. S1Text.Text = "3\nStage"
  208. S1Text.Font = "Code"
  209. Touched = false
  210. S1.Touched:connect(function(player)
  211. if Touched == false then
  212. Touched = true
  213. if player.Parent.ClassName == "Model" then
  214. local Sound = Instance.new("Sound")
  215. local Id = "1584394759"
  216. Sound.Parent = game.Workspace
  217. Sound.SoundId = "rbxassetid://"..Id
  218. Sound.Playing = true
  219. Sound.Looped = false
  220. Sound.Volume = 1
  221.     if player.Parent.Name ~= game.Players.LocalPlayer.Name then
  222.         player.Parent.Humanoid.HipHeight = 0/0
  223.         wait(3)
  224.         player.Parent:Destroy()
  225.     end
  226. end
  227. Touched = false
  228. end
  229. end)
  230. local S1 = Instance.new("Part")
  231. S1.Parent = workspace
  232. S1.Anchored = true
  233. S1.Size = Vector3.new(661, 500, 0.001)
  234. S1.CanCollide = false
  235. S1.Position = Vector3.new(-566.191, 1556, -1964.011)
  236. S1.Rotation = Vector3.new(0,-180,0)
  237. S1.Transparency = 1
  238. local S1Text = Instance.new("SurfaceGui", S1)
  239. S1Text.Adornee = S1
  240. local S1Text = Instance.new("TextLabel", S1Text)
  241. S1Text.Size = UDim2.new(1, 1, 1, 1)
  242. S1Text.TextScaled = true
  243. S1Text.Text = "4\nStage"
  244. S1Text.Font = "Code"
  245. Touched = false
  246. S1.Touched:connect(function(player)
  247. if Touched == false then
  248. Touched = true
  249. if player.Parent.ClassName == "Model" then
  250. local Sound = Instance.new("Sound")
  251. local Id = "1584394759"
  252. Sound.Parent = game.Workspace
  253. Sound.SoundId = "rbxassetid://"..Id
  254. Sound.Playing = true
  255. Sound.Looped = false
  256. Sound.Volume = 1
  257.     if player.Parent.Name ~= game.Players.LocalPlayer.Name then
  258.         player.Parent.Humanoid.HipHeight = 0/0
  259.         wait(3)
  260.         player.Parent:Destroy()
  261.     end
  262. end
  263. Touched = false
  264. end
  265. end)
  266. local ScreenGui = Instance.new("ScreenGui")
  267. local PlayFrame = Instance.new("Frame")
  268. local Play = Instance.new("TextButton")
  269. ScreenGui.Parent = game.CoreGui
  270. PlayFrame.Name = "PlayFrame"
  271. PlayFrame.Parent = ScreenGui
  272. PlayFrame.BackgroundColor3 = Color3.new(255, 255, 255)
  273. PlayFrame.BackgroundTransparency = 1
  274. PlayFrame.Position = UDim2.new(0.105540894, 0, 0.778873265, 0)
  275. PlayFrame.Size = UDim2.new(0, 100, 0, 100)
  276. Play.Name = "Play"
  277. Play.Parent = PlayFrame
  278. Play.BackgroundColor3 = Color3.new(255, 255, 255)
  279. Play.BorderSizePixel = 0
  280. Play.Draggable = false
  281. Play.Position = UDim2.new(0.5, 0, 0, 0)
  282. Play.Size = UDim2.new(0, 700, 0, 95)
  283. Play.Font = Enum.Font.Code
  284. Play.FontSize = Enum.FontSize.Size48
  285. Play.Text = "Start SpeedRun!"
  286. Play.TextColor3 = Color3.new(0, 0, 0)
  287. Play.TextSize = 100
  288. Play.MouseButton1Click:connect(function()
  289. Play:Destroy()
  290. localaction = math.random(1,10)
  291. if localaction == 1 then
  292. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 500
  293. local plr = game.Players.LocalPlayer
  294. local gui = Instance.new("ScreenGui")
  295. gui.Parent = plr.PlayerGui
  296. gui.ResetOnSpawn = false
  297. local Prev = Instance.new("TextLabel")
  298. Prev.Parent = gui
  299. Prev.BackgroundTransparency = 1
  300. Prev.Size = UDim2.new(2, 0, 2, 0)
  301. Prev.Position = UDim2.new(-0.5, 0, 0 ,-255)
  302. Prev.TextXAlignment = Enum.TextXAlignment.Center
  303. Prev.TextScaled = true
  304. Prev.Text = "Your Speed is 500"
  305. Prev.TextColor3 = Color3.new(255, 255, 255)
  306. Prev.Font = Enum.Font.IndieFlower
  307. wait(2)
  308. Prev:Destroy()
  309. end
  310. if localaction == 2 then
  311. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 1
  312. local plr = game.Players.LocalPlayer
  313. local gui = Instance.new("ScreenGui")
  314. gui.Parent = plr.PlayerGui
  315. gui.ResetOnSpawn = false
  316. local Prev = Instance.new("TextLabel")
  317. Prev.Parent = gui
  318. Prev.BackgroundTransparency = 1
  319. Prev.Size = UDim2.new(2, 0, 2, 0)
  320. Prev.Position = UDim2.new(-0.5, 0, 0 ,-255)
  321. Prev.TextXAlignment = Enum.TextXAlignment.Center
  322. Prev.TextScaled = true
  323. Prev.Text = "Your Speed is 1"
  324. Prev.TextColor3 = Color3.new(255, 255, 255)
  325. Prev.Font = Enum.Font.IndieFlower
  326. wait(2)
  327. Prev:Destroy()
  328. end
  329. if localaction == 3 then
  330. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 999
  331. local plr = game.Players.LocalPlayer
  332. local gui = Instance.new("ScreenGui")
  333. gui.Parent = plr.PlayerGui
  334. gui.ResetOnSpawn = false
  335. local Prev = Instance.new("TextLabel")
  336. Prev.Parent = gui
  337. Prev.BackgroundTransparency = 1
  338. Prev.Size = UDim2.new(2, 0, 2, 0)
  339. Prev.Position = UDim2.new(-0.5, 0, 0 ,-255)
  340. Prev.TextXAlignment = Enum.TextXAlignment.Center
  341. Prev.TextScaled = true
  342. Prev.Text = "Your Speed is 999"
  343. Prev.TextColor3 = Color3.new(255, 255, 255)
  344. Prev.Font = Enum.Font.IndieFlower
  345. wait(2)
  346. Prev:Destroy()
  347. end
  348. if localaction == 4 then
  349. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  350. local plr = game.Players.LocalPlayer
  351. local gui = Instance.new("ScreenGui")
  352. gui.Parent = plr.PlayerGui
  353. gui.ResetOnSpawn = false
  354. local Prev = Instance.new("TextLabel")
  355. Prev.Parent = gui
  356. Prev.BackgroundTransparency = 1
  357. Prev.Size = UDim2.new(2, 0, 2, 0)
  358. Prev.Position = UDim2.new(-0.5, 0, 0 ,-255)
  359. Prev.TextXAlignment = Enum.TextXAlignment.Center
  360. Prev.TextScaled = true
  361. Prev.Text = "Your Speed is 16"
  362. Prev.TextColor3 = Color3.new(255, 255, 255)
  363. Prev.Font = Enum.Font.IndieFlower
  364. wait(2)
  365. Prev:Destroy()
  366. end
  367. if localaction == 5 then
  368. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 200
  369. local plr = game.Players.LocalPlayer
  370. local gui = Instance.new("ScreenGui")
  371. gui.Parent = plr.PlayerGui
  372. gui.ResetOnSpawn = false
  373. local Prev = Instance.new("TextLabel")
  374. Prev.Parent = gui
  375. Prev.BackgroundTransparency = 1
  376. Prev.Size = UDim2.new(2, 0, 2, 0)
  377. Prev.Position = UDim2.new(-0.5, 0, 0 ,-255)
  378. Prev.TextXAlignment = Enum.TextXAlignment.Center
  379. Prev.TextScaled = true
  380. Prev.Text = "Your Speed is 200"
  381. Prev.TextColor3 = Color3.new(255, 255, 255)
  382. Prev.Font = Enum.Font.IndieFlower
  383. wait(2)
  384. Prev:Destroy()
  385. end
  386. if localaction == 6 then
  387. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
  388. local plr = game.Players.LocalPlayer
  389. local gui = Instance.new("ScreenGui")
  390. gui.Parent = plr.PlayerGui
  391. gui.ResetOnSpawn = false
  392. local Prev = Instance.new("TextLabel")
  393. Prev.Parent = gui
  394. Prev.BackgroundTransparency = 1
  395. Prev.Size = UDim2.new(2, 0, 2, 0)
  396. Prev.Position = UDim2.new(-0.5, 0, 0 ,-255)
  397. Prev.TextXAlignment = Enum.TextXAlignment.Center
  398. Prev.TextScaled = true
  399. Prev.Text = "Your Speed is 100"
  400. Prev.TextColor3 = Color3.new(255, 255, 255)
  401. Prev.Font = Enum.Font.IndieFlower
  402. wait(2)
  403. Prev:Destroy()
  404. end
  405. if localaction == 7 then
  406. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 300
  407. local plr = game.Players.LocalPlayer
  408. local gui = Instance.new("ScreenGui")
  409. gui.Parent = plr.PlayerGui
  410. gui.ResetOnSpawn = false
  411. local Prev = Instance.new("TextLabel")
  412. Prev.Parent = gui
  413. Prev.BackgroundTransparency = 1
  414. Prev.Size = UDim2.new(2, 0, 2, 0)
  415. Prev.Position = UDim2.new(-0.5, 0, 0 ,-255)
  416. Prev.TextXAlignment = Enum.TextXAlignment.Center
  417. Prev.TextScaled = true
  418. Prev.Text = "Your Speed is 300"
  419. Prev.TextColor3 = Color3.new(255, 255, 255)
  420. Prev.Font = Enum.Font.IndieFlower
  421. wait(2)
  422. Prev:Destroy()
  423. end
  424. if localaction == 8 then
  425. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 666
  426. local plr = game.Players.LocalPlayer
  427. local gui = Instance.new("ScreenGui")
  428. gui.Parent = plr.PlayerGui
  429. gui.ResetOnSpawn = false
  430. local Prev = Instance.new("TextLabel")
  431. Prev.Parent = gui
  432. Prev.BackgroundTransparency = 1
  433. Prev.Size = UDim2.new(2, 0, 2, 0)
  434. Prev.Position = UDim2.new(-0.5, 0, 0 ,-255)
  435. Prev.TextXAlignment = Enum.TextXAlignment.Center
  436. Prev.TextScaled = true
  437. Prev.Text = "Your Speed is 666"
  438. Prev.TextColor3 = Color3.new(255, 255, 255)
  439. Prev.Font = Enum.Font.IndieFlower
  440. wait(2)
  441. Prev:Destroy()
  442. end
  443. if localaction == 9 then
  444. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 555
  445. local plr = game.Players.LocalPlayer
  446. local gui = Instance.new("ScreenGui")
  447. gui.Parent = plr.PlayerGui
  448. gui.ResetOnSpawn = false
  449. local Prev = Instance.new("TextLabel")
  450. Prev.Parent = gui
  451. Prev.BackgroundTransparency = 1
  452. Prev.Size = UDim2.new(2, 0, 2, 0)
  453. Prev.Position = UDim2.new(-0.5, 0, 0 ,-255)
  454. Prev.TextXAlignment = Enum.TextXAlignment.Center
  455. Prev.TextScaled = true
  456. Prev.Text = "Your Speed is 555"
  457. Prev.TextColor3 = Color3.new(255, 255, 255)
  458. Prev.Font = Enum.Font.IndieFlower
  459. wait(2)
  460. Prev:Destroy()
  461. end
  462. if localaction == 10 then
  463. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 777
  464. local plr = game.Players.LocalPlayer
  465. local gui = Instance.new("ScreenGui")
  466. gui.Parent = plr.PlayerGui
  467. gui.ResetOnSpawn = false
  468. local Prev = Instance.new("TextLabel")
  469. Prev.Parent = gui
  470. Prev.BackgroundTransparency = 1
  471. Prev.Size = UDim2.new(2, 0, 2, 0)
  472. Prev.Position = UDim2.new(-0.5, 0, 0 ,-255)
  473. Prev.TextXAlignment = Enum.TextXAlignment.Center
  474. Prev.TextScaled = true
  475. Prev.Text = "Your Speed is 777"
  476. Prev.TextColor3 = Color3.new(255, 255, 255)
  477. Prev.Font = Enum.Font.IndieFlower
  478. wait(2)
  479. Prev:Destroy()
  480. end
  481. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement