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
 

Previous Thread :: Next Thread 
DrewTheGamer is not online. DrewTheGamer
Joined: 12 Apr 2012
Total Posts: 9
12 Mar 2015 05:17 PM
How do I make it so I can only touch the brick every 10 seconds

local boat1 = game.ServerStorage.Boat1
local finder = script.Parent.BoatName
local msg = Instance.new("Message")

function onTouch()
if finder.Value == "Boat1" then
boat1:Clone().Parent = workspace
msg:Clone().Parent = workspace

end
end
script.Parent.Touched:connect(onTouch)
Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
12 Mar 2015 05:20 PM
make a countdown ;-;

if seconds==0 then return end
script.Parent.Active = false
seconds=seconds-1
wait(1)
if seconds==0 then
end
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
12 Mar 2015 05:36 PM
NO LOL ^

local boat1 = game.ServerStorage.Boat1
local finder = script.Parent.BoatName
local msg = Instance.new("Message")
local db = true
local secwait = 10

script.Parent.Touched:connect(function()
if finder.Value == "Boat1" and db then
boat1:Clone().Parent = workspace
msg:Clone().Parent = workspace
db = false
end
wait(10)
db = true
end)
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
12 Mar 2015 05:37 PM
local boat1 = game.ServerStorage.Boat1
local finder = script.Parent.BoatName
local msg = Instance.new("Message")

while true do
script.Parent.Touched:wait()
if finder.Value == "Boat1" then
boat1:Clone().Parent = workspace
msg:Clone().Parent = workspace
wait(10)
end
ebd
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
12 Mar 2015 05:38 PM
o
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
12 Mar 2015 05:39 PM
Seranok, when you get the chance, follow me, please ;)
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
12 Mar 2015 05:40 PM
and accept my fr lol
Report Abuse
Dralian is not online. Dralian
Joined: 21 Mar 2013
Total Posts: 7624
12 Mar 2015 06:24 PM
ogod, seranok response.
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