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 » Scripting Helpers
Home Search
 

Re: Wait 10 minutes, then do the following

Previous Thread :: Next Thread 
juanse71 is not online. juanse71
Joined: 12 Jan 2009
Total Posts: 6784
13 Aug 2013 12:47 AM
I only know the basics of scripting

Like, If a person sits

wait(600)


Then maxspeed

It goes from

70.000
60.000
50.000
40.000
30.000
20.000
10.000
00.000

------------

It's a gas seat..

I do not listen to hate posts
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
13 Aug 2013 12:59 AM
I made it, but it is "Breaking The Rules"
Report Abuse
juanse71 is not online. juanse71
Joined: 12 Jan 2009
Total Posts: 6784
13 Aug 2013 01:02 AM
Breaking the rules??

I do not listen to hate posts
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
13 Aug 2013 01:05 AM
IDK?!
I try posting some scripts sometimes and its 'breaking the rules'
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
13 Aug 2013 01:30 AM
Person:
scriptstuff
more script stuff
scriptstuff ########
scriptstuff
variable = #############

Roblox:
OHNO HE`S TRYING TO ENTER A PHONE NUMBER, QUICK BLOCK IT!
Report Abuse
Soquick is not online. Soquick
Joined: 01 Nov 2012
Total Posts: 1497
13 Aug 2013 01:47 AM
^
Report Abuse
soaprocks2 is not online. soaprocks2
Joined: 22 Nov 2008
Total Posts: 237
13 Aug 2013 03:37 AM
xD
Report Abuse
davisky2 is not online. davisky2
Joined: 04 Mar 2012
Total Posts: 4710
13 Aug 2013 04:38 AM
lolz
Report Abuse
juanse71 is not online. juanse71
Joined: 12 Jan 2009
Total Posts: 6784
13 Aug 2013 10:52 AM
:P

I do not listen to hate posts
Report Abuse
johnhugh is not online. johnhugh
Joined: 26 Mar 2009
Total Posts: 1971
13 Aug 2013 10:56 AM
Post it and censor your numbers :0
Lots of things can derp the filters.
Report Abuse
juanse71 is not online. juanse71
Joined: 12 Jan 2009
Total Posts: 6784
13 Aug 2013 11:02 AM
bump..true

I do not listen to hate posts
Report Abuse
juanse71 is not online. juanse71
Joined: 12 Jan 2009
Total Posts: 6784
13 Aug 2013 11:34 AM
poop

I do not listen to hate posts
Report Abuse
davisky2 is not online. davisky2
Joined: 04 Mar 2012
Total Posts: 4710
13 Aug 2013 11:58 AM
You can do following for car seat(VehicleSeat)

while true do
(Tab)
(Tab)wait(1)
(Tab)script.Parent.MaxSpeed = 40 -- Script is inside the seat
(Tab)wait(1)
(Tab)script.Parent.MaxSpeed = 30 -- and so on
(Tab)end


It works :P
and if you want to script would be in Workspace then:

while true do
(Tab)
(Tab)wait(1)
(Tab)Seat = game.Workspace.VehicleSeat
(Tab)Seat.MaxSpeed = 40 -- Script is inside the seat
(Tab)wait(1)
(Tab)Seat.MaxSpeed = 30 -- and so on
(Tab)end

:P
Report Abuse
davisky2 is not online. davisky2
Joined: 04 Mar 2012
Total Posts: 4710
13 Aug 2013 12:08 PM
But... if person sits then(well if person sits and starts to drive):

if
(Tab)script.Parent.(I dont remember how was called what the car's speed is but put in here) == 1 then
(Tab)wait(600)
(Tab)for s = 1,5 do -- Did it was with the "=" or not? and it will take maxspeed of car 5 times - 10 :P
(Tab)(Tab)print(s)
(Tab)(Tab)script.Parent.MaxSpeed = MaxSpeed - 10 -- script is inside the VehicleSeat :P
(Tab)(Tab)end
(Tab)end -- all ended :D


If in this script something is wrong then retype it (how its NOT wrong!).Thanks
Report Abuse
johnhugh is not online. johnhugh
Joined: 26 Mar 2009
Total Posts: 1971
13 Aug 2013 12:21 PM
Stop with the (Tab) please ._. Tabs are not needed for the script to function properly.
Report Abuse
juanse71 is not online. juanse71
Joined: 12 Jan 2009
Total Posts: 6784
13 Aug 2013 12:39 PM
Is tab nesessary

I do not listen to hate posts
Report Abuse
PsudeoPlayer is not online. PsudeoPlayer
Joined: 19 Jul 2013
Total Posts: 306
13 Aug 2013 12:43 PM
No it is not.

This is still valid Lua code:

while true do
print((1==1 and "yay") or "aw")
end
Report Abuse
davisky2 is not online. davisky2
Joined: 04 Mar 2012
Total Posts: 4710
13 Aug 2013 02:02 PM
Oh sry abut Tabs then :)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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