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: Script Help.

Previous Thread :: Next Thread 
PriorityMethod is not online. PriorityMethod
Joined: 17 Sep 2013
Total Posts: 356
22 Jul 2014 06:26 PM
Hello, Ive been not playing roblox for a while as they patched my DLL. But after watching Hero's, I have decided that a true man shall not give up. As a start im relearning to script. Whats wrong?

while True :
print"Hello World!"
Report Abuse
ScrewDeath is not online. ScrewDeath
Joined: 03 Jun 2012
Total Posts: 2700
22 Jul 2014 06:26 PM
while true do
print"Hello World!"
--should add a wait() somewhere tho
end
Report Abuse
PriorityMethod is not online. PriorityMethod
Joined: 17 Sep 2013
Total Posts: 356
22 Jul 2014 06:27 PM
All that did was make me crash...
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
22 Jul 2014 06:29 PM
you have to add some kinda wait like
wait(0.000001)
Since it is a loop
If a loop doesn't have a wait it crashes bc you are asking it to do infinite amount of things in 0 seconds
Report Abuse
ScrewDeath is not online. ScrewDeath
Joined: 03 Jun 2012
Total Posts: 2700
22 Jul 2014 06:30 PM
Uh, read the comment lol.

Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
22 Jul 2014 06:30 PM
Well, mentioning the name PriorityMethod makes booing come running Ehh...
Report Abuse
ScrewDeath is not online. ScrewDeath
Joined: 03 Jun 2012
Total Posts: 2700
22 Jul 2014 06:31 PM
@otherperson I think the smallest interval for wait() is 0.03.

@op

Can either do:
while true do
wait()
print"Hello world!"
end

or

while wait() do
print"Hello world!"
end
Report Abuse
PriorityMethod is not online. PriorityMethod
Joined: 17 Sep 2013
Total Posts: 356
22 Jul 2014 06:35 PM
Thank you for all your replies, but I'm specifically trying to do this in Python, suggested by my syntax in the first post. Please help me do this. Im not interested in using LUA.
Report Abuse
PriorityMethod is not online. PriorityMethod
Joined: 17 Sep 2013
Total Posts: 356
22 Jul 2014 09:03 PM
Bump.
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
22 Jul 2014 09:08 PM
As you're on the roblox scripting help forum if you wanted help writing python code you should have stated you were looking for help in python and not lua.

Nonetheless, here is what you should be doing:

while True:
str('Hello World!')
Report Abuse
PriorityMethod is not online. PriorityMethod
Joined: 17 Sep 2013
Total Posts: 356
22 Jul 2014 09:10 PM
That gives me a syntax error about the : it seems...
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
22 Jul 2014 09:13 PM
Are you using IDLE? I put that exact script into IDLE and it worked.
Report Abuse
PriorityMethod is not online. PriorityMethod
Joined: 17 Sep 2013
Total Posts: 356
22 Jul 2014 09:16 PM
Yeah, if you haven't noticed, this is on a Roblox forum. I'm talking about Roblox.
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
22 Jul 2014 09:20 PM
As far as I know (which isn't extremely far) there is currently no support for python in roblox although it could be a plugin.

Anyways, you'll probably need to look at the specific plugin's tutorial because the code I wrote works in normal python.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
22 Jul 2014 09:22 PM
@Kod
He is talking about exploiting
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