SansjustSans2

Fighting Minigames roblox script

Aug 5th, 2020 (edited)
361
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --oringinal script by Keonesan but edited by lol094
  2. --imported to pastebin by YAH10010
  3. --idk why it keeps breaking if you guys have a fixed version tell me
  4. while true do --This makes sure it keeps going and doesn't die out on us
  5. wait(5) --This is how long until the games are started. Recomended that you keep to 5
  6. local m = math.random(1,5) --This randomly selects a game. The five shows how many games there are
  7. local player = game.Players:GetChildren()
  8. for i = 1, #player do --This checks for players and gets them
  9. msg = Instance.new("Message") --This make the annoying messages that appear on you screen
  10. msg.Parent = nil --This identifies the game
  11. if m == 1 then
  12. msg.Parent = game.Workspace --This makes sure it says and appears in the workspace
  13. msg.Text = "Choosing Minigame..." --A bunch of messages to tell you that the game is starting which you can change if desired
  14. wait(4)
  15. msg.Text = "Game chosen!"
  16. wait(3)
  17. msg.Text = "Sword fight!"
  18. wait(3)
  19. msg.Text = "Grab a sword and..."
  20. wait(3)
  21. msg.Text = "BLOXX AWAY!!!"
  22. wait(3)
  23. player[i].Character:MoveTo(Vector3.new(-120, 15, -19)) --this teleports the player were you want them to be teleported! read the wiki for help
  24. player[i].Character:MoveTo(Vector3.new(-150, 15, -19))
  25. player[i].Character:MoveTo(Vector3.new(-139, 15, -10))
  26. player[i].Character:MoveTo(Vector3.new(-139, 15, -5))
  27. player[i].Character:MoveTo(Vector3.new(-139, 15, -25))
  28. player[i].Character:MoveTo(Vector3.new(-145, 15, -19))
  29. player[i].Character:MoveTo(Vector3.new(-150, 15, -15))
  30. player[i].Character:MoveTo(Vector3.new(-139, 15, -19))
  31. msg:remove() --This removes the annoying messages Don't mess with!
  32. game.Lighting.Minigame1:clone().Parent = game.Workspace -- make a minigame thhen name it just like this: Minigame1 once it is named that put it in the position on the map were you want it to go then put the model in lighting
  33. game.Lighting.Sword:clone().Parent = player[i].Backpack --This puts it in the player's nifty backpack
  34. wait(60) --How long the game lasts
  35. msg.Parent = game.Workspace
  36. msg.Text = "Winner(s)!"
  37. wait(3)
  38. msg:remove()
  39. game.Workspace.Minigame1:Remove() --Removes the brick so all players die (except spectators) and removes the brick so a new game can start (recommended games aren't over 5 minutes so spectators aren't bored)
  40. end
  41. if m == 2 then --New minigame You get the point. Remember these do not follow in order and are randomly selected!
  42. msg.Parent = game.Workspace
  43. msg.Text = "Choosing Minigame..."
  44. wait(4)
  45. msg.Text = "Game chosen!"
  46. wait(3)
  47. msg.Text = "Insta gib"
  48. wait(3)
  49. msg.Text = "You have a one hit KO rifle"
  50. wait(3)
  51. msg.Text = "In a feild with obsticals"
  52. wait(3)
  53. msg.Text = "Ready? FIGHT!"
  54. wait(3)
  55. player[i].Character:MoveTo(Vector3.new(-120, 15, -19)) --this teleports the player were you want them to be teleported! read the wiki for help
  56. player[i].Character:MoveTo(Vector3.new(-150, 15, -19))
  57. player[i].Character:MoveTo(Vector3.new(-139, 15, -10))
  58. player[i].Character:MoveTo(Vector3.new(-139, 15, -5))
  59. player[i].Character:MoveTo(Vector3.new(-139, 15, -25))
  60. player[i].Character:MoveTo(Vector3.new(-145, 15, -19))
  61. player[i].Character:MoveTo(Vector3.new(-150, 15, -15))
  62. player[i].Character:MoveTo(Vector3.new(-139, 15, -19))--Same old same old
  63. msg:remove()
  64. game.Lighting.Minigame2:clone().Parent = game.Workspace
  65. game.Lighting.Rifle:clone().Parent = player[i].Backpack
  66. wait(60)
  67. msg.Parent = game.Workspace
  68. msg.Text = "Winner(s)!"
  69. wait(3)
  70. msg:remove() --How long the game lasts
  71. game.Workspace.Minigame2:Remove() --Ends the game
  72. end
  73. if m == 3 then --If you want more just copy and past a minigame and set the number higher than the one before it and increase the number of games at the top
  74. msg.Parent = game.Workspace
  75. msg.Text = "Choosing Minigame..."
  76. wait(5)
  77. msg.Text = "Game chosen!"
  78. wait(3)
  79. msg.Text = "WAR!!!"
  80. wait(3)
  81. msg.Text = "A classic all out war."
  82. wait(3)
  83. msg.Text = "Begin!"
  84. wait(3)
  85. player[i].Character:MoveTo(Vector3.new(-120, 15, -19)) --this teleports the player were you want them to be teleported! read the wiki for help
  86. player[i].Character:MoveTo(Vector3.new(-150, 15, -19))
  87. player[i].Character:MoveTo(Vector3.new(-139, 15, -10))
  88. player[i].Character:MoveTo(Vector3.new(-139, 15, -5))
  89. player[i].Character:MoveTo(Vector3.new(-139, 15, -25))
  90. player[i].Character:MoveTo(Vector3.new(-145, 15, -19))
  91. player[i].Character:MoveTo(Vector3.new(-150, 15, -15))
  92. player[i].Character:MoveTo(Vector3.new(-139, 15, -19))
  93. msg:remove()
  94. game.Lighting.Minigame3:clone().Parent = game.Workspace
  95. game.Lighting.Sword:clone().Parent = player[i].Backpack
  96. game.Lighting.Trowel:clone().Parent = player[i].Backpack
  97. game.Lighting.Rocket:clone().Parent = player[i].Backpack
  98. game.Lighting.Slingshot:clone().Parent = player[i].Backpack
  99. game.Lighting.Timebomb:clone().Parent = player[i].Backpack
  100. game.Lighting.Superball:clone().Parent = player[i].Backpack
  101. wait(60)
  102. msg.Parent = game.Workspace
  103. msg.Text = "Winner(s)!"
  104. wait(3)
  105. msg:remove()
  106. game.Workspace.Minigame3:Remove()
  107. end
  108. if m == 4 then --Fourth game!
  109. msg.Parent = game.Workspace
  110. msg.Text = "Choosing Minigame..."
  111. wait(4)
  112. msg.Text = "Game chosen!"
  113. wait(3)
  114. msg.Text = "Mini paintball"
  115. wait(3)
  116. msg.Text = "Fight with a paintball gun!"
  117. wait(3)
  118. msg.Text = "Begin!"
  119. wait(3)
  120. player[i].Character:MoveTo(Vector3.new(-120, 15, -19)) --this teleports the player were you want them to be teleported! read the wiki for help
  121. player[i].Character:MoveTo(Vector3.new(-150, 15, -19))
  122. player[i].Character:MoveTo(Vector3.new(-139, 15, -10))
  123. player[i].Character:MoveTo(Vector3.new(-139, 15, -5))
  124. player[i].Character:MoveTo(Vector3.new(-139, 15, -25))
  125. player[i].Character:MoveTo(Vector3.new(-145, 15, -19))
  126. player[i].Character:MoveTo(Vector3.new(-150, 15, -15))
  127. player[i].Character:MoveTo(Vector3.new(-139, 15, -19))
  128. msg:remove()
  129. game.Lighting.Minigame4:clone().Parent = game.Workspace
  130. game.Lighting.PaintballGun:clone().Parent = player[i].Backpack
  131. wait(60)
  132. msg.Parent = game.Workspace
  133. msg.Text = "Winner(s)"
  134. wait(3)
  135. msg:remove()
  136. game.Workspace.Minigame4:Remove()
  137. end
  138. if m == 5 then --Fifth game!
  139. msg.Parent = game.Workspace
  140. msg.Text = "Choosing Minigame..."
  141. wait(4)
  142. msg.Text = "Game chosen"
  143. wait(3)
  144. msg.Text = "Sniper War!"
  145. wait(3)
  146. msg.Text = "Begin!"
  147. wait(3)
  148. player[i].Character:MoveTo(Vector3.new(-139, 110, -19))
  149. player[i].Character:MoveTo(Vector3.new(-139, 110, -19))
  150. player[i].Character:MoveTo(Vector3.new(-139, 110, -19))
  151. player[i].Character:MoveTo(Vector3.new(-139, 110, -19))
  152. player[i].Character:MoveTo(Vector3.new(-139, 110, -19))
  153. player[i].Character:MoveTo(Vector3.new(-139, 110, -19))
  154. player[i].Character:MoveTo(Vector3.new(-139, 110, -19))
  155. player[i].Character:MoveTo(Vector3.new(-139, 110, -19))
  156. msg:remove()
  157. game.Lighting.Minigame5:clone().Parent = game.Workspace
  158. game.Lighting.Sniper:clone().Parent = player[i].Backpack
  159. wait(60)
  160. msg.Parent = game.Workspace
  161. msg.Text = "Winner(s)!"
  162. wait(3)
  163. msg:remove()
  164. game.Workspace.Minigame5:Remove()
  165. end
  166. end
  167. end
  168.  
  169. --Thanks for using Minigame Script Lesson 1 for moderate scripters! pm Keonesan, me, if any problems occur or if you have a question. ---Plz credit me if used in your games!
  170. --said the man who scripted this
RAW Paste Data