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: adding wait in the right place

Previous Thread :: Next Thread 
edenDeden is not online. edenDeden
Joined: 29 Jul 2016
Total Posts: 370
14 Jan 2017 02:28 PM
ok so i have this script in starterGui(idk why) its a local script and i have a intvalue in workspace and i have brick called Pick in workspace and in pick i have a surface guiand a textbox named votes. i want to let the player click only once and the map value will go +1 but no mather where i add the wait() it doesnt wait so any help?

local player = game.Players.LocalPlayer
local Mouse = player:GetMouse()
local map = game.Workspace.Map
local votes = game.Workspace.Pick.Gui.Votes

Mouse.Button1Down:connect(function()
if Mouse.Target ~= nil and Mouse.Target.Name == 'Pick' then
map.Value = map.Value + 1
votes.Text = map.Value

end

end)



Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
14 Jan 2017 02:36 PM
first of all, if you are piking a map, use a gui interface to show the maps, not bricks. thats just awful


Report Abuse
edenDeden is not online. edenDeden
Joined: 29 Jul 2016
Total Posts: 370
14 Jan 2017 02:45 PM
i just trying to c if i can make the script then ill add all rn i have nothing but the part and a script


Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
14 Jan 2017 02:47 PM
whats the wait() for?


Report Abuse
edenDeden is not online. edenDeden
Joined: 29 Jul 2016
Total Posts: 370
14 Jan 2017 03:01 PM
i need it to wait till the round end so they can click it again


Report Abuse
j1my3p1x is not online. j1my3p1x
Joined: 16 Jan 2010
Total Posts: 978
14 Jan 2017 03:06 PM
this is so so so wrong
Report Abuse
edenDeden is not online. edenDeden
Joined: 29 Jul 2016
Total Posts: 370
14 Jan 2017 03:14 PM
doesnt help that u say that its wrong -_- any help?



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