PiggyGaming2020

Roblox Marble Mania Quest Script

Apr 20th, 2021 (edited)
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.82 KB | None | 0 0
  1. --Variables
  2. local questdelay = 1 --How many seconds between quests. 1 is default.
  3. local marble = game.Players.LocalPlayer.Character.Marble
  4.  
  5. --Puts the script in PlayerScripts so it does not reset when you die
  6. script.Parent = game.Players.LocalPlayer.PlayerScripts
  7.  
  8. --Quests that don't have a specific quest part, for example: Zoomies
  9.  
  10. --Zoomies
  11. marble.Position = Vector3.new(2963.02, 248.139, 1453.22)
  12. wait(questdelay)
  13. --We are the rats
  14. marble.Position = Vector3.new(2994.3, 111.509, 1535.16)
  15. wait(questdelay)
  16.  
  17. marble.Parent.Head:Destroy()
  18. wait(1)
  19. local marble = game.Players.LocalPlayer.Character.Marble
  20.  
  21. --This for loop does most quests.
  22. for i, quest in ipairs(game.workspace.achievementParts:GetChildren()) do
  23.     game.Players.LocalPlayer.Character.Marble.Position = quest.Part.Position
  24.     wait(questdelay)
  25. end
Add Comment
Please, Sign In to add comment