generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Map vote script

Previous Thread :: Next Thread 
drc3 is not online. drc3
Joined: 14 Aug 2009
Total Posts: 1284
24 Jun 2016 12:22 AM
Hello, this is a piece of my hide and seek script that randomly picks a map. I wanted to add a part to it that says it will allow players to pick the map instead of the random function for a set amount of coins if they step on a brick in workspace. That brick will then subtract the cash and then teleport the player to a map room with bricks that have clickable map pictures.

Basically, I need someone to edit this script so that it will allow a map chooser to choose the map instead of a random map function (like an 'else or' function), and I also need another script made to place into the brick with the map picture so that it selects the map the player clicks.

I will pay anyone who can do this whatever they feel is negotiable.

Here is the script. Thanks!


function Choose_Level()
local pM = maps[math.random(1, #maps)]
pickedMap = pM:clone()--If map picked the it clones() the map
pickedMap.Parent = game.Workspace
info.Value = "Map Chosen: "..pickedMap.Name--Makes a message saying map chosen with the maps name in the front
wait(6)
local time = 5
for i = 1, time do
info.Value = "Choosing 'It' in "..time--Chooses the IT/tagges character in a certain amount of time being CountDownTime
time = time - 1
wait(1)
end
Choose_It()--Starts the Function to choose it
end
Report Abuse
Borsy is online. Borsy
Joined: 31 Jul 2014
Total Posts: 15111
24 Jun 2016 12:28 AM
repeat until never

try this put on top of script it fix all problems please pay me 5000 robux at your earliest convenience


Report Abuse
drc3 is not online. drc3
Joined: 14 Aug 2009
Total Posts: 1284
24 Jun 2016 01:01 AM
lol
Report Abuse
fear2213 is not online. fear2213
Joined: 20 Mar 2011
Total Posts: 235
24 Jun 2016 01:13 AM
If you scripted that you should be able to add what your talking about?

Make the "clickable map pictures" a bunch of imagebuttons named after the maps and do a little something like this,

chosemap = false
for _,Button in pairs (imagebuttons) do
for i = 1,#maps do
if maps[i] == Button.Name then
Button.MouseButton1Down:connect(function()
if not chosemap then
chosemap = true
maps[i]:Clone().Parent = game.Workspace
Player:LoadCharacter() -- so they don't pick more than one map
end
end
end
end
end


Clans Admin > https://www.roblox.com/Clan-Admin-V1-6-Update-6-1-2016-item?id=419845359 < Clans Admin
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image