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: Help With :h Bar!

Previous Thread :: Next Thread 
Nitroade100 is not online. Nitroade100
Joined: 16 Sep 2012
Total Posts: 1004
20 Jun 2014 06:52 PM
How would I make different writings ( like :h in kohls admin ) appear every like 20 seconds with this script?

local h = game.Workspace:FindFirstChild("Hint")

if h == nil then
local h = Instance.new("Hint")
h.Name = "Hint"
h.Parent = game.Workspace
h.Text = "Welcome to Ultimate Sword Fighting by Nitroade100"
end

Thanks!

http://www.roblox.com/Motivation-To-Keep-Helping-item?id=151566014 <--- If I helped you, or made you happy, or something else, please return the favor. Thanks!
Report Abuse
EncodedLua is not online. EncodedLua
Joined: 02 May 2012
Total Posts: 1555
20 Jun 2014 06:53 PM
while wait(20) do
--stuff
end

Or you can do:

while true do
wait(20)
--stuff
end

I prefer the first way better, that's just me!
Report Abuse
Nitroade100 is not online. Nitroade100
Joined: 16 Sep 2012
Total Posts: 1004
20 Jun 2014 06:55 PM
Thank you so much!

I'm a brand new scripter and trying to learn the basics to scripting :)

http://www.roblox.com/Motivation-To-Keep-Helping-item?id=151566014 <--- If I helped you, or made you happy, or something else, please return the favor. Thanks!
Report Abuse
Nitroade100 is not online. Nitroade100
Joined: 16 Sep 2012
Total Posts: 1004
20 Jun 2014 07:03 PM
One more question;
If I am doing multiple things in the overbar, would I do it like,

while wait(20) do
local h = game.Workspace:FindFirstChild("Hint")
if h == nil then
local h = Instance.new("Hint")
h.Name = "Hint"
h.Parent = game.Workspace
h.Text = "Welcome to Ultimate Sword Fighting by Nitroade100"
end

while wait(20) do
local h = game.Workspace:FindFirstChild("Hint")
if h == nil then
local h = Instance.new("Hint")
h.Name = "Hint"
h.Parent = game.Workspace
h.Text = "Please Leave a Like or Favorite if you Enjoyed!"
end

while wait(20) do
local h = game.Workspace:FindFirstChild("Hint")
if h == nil then
local h = Instance.new("Hint")
h.Name = "Hint"
h.Parent = game.Workspace
h.Text = "Found an Exploiter? PM Nitroade100 the FULL USERNAME!"
end

while wait(20) do
local h = game.Workspace:FindFirstChild("Hint")
if h == nil then
local h = Instance.new("Hint")
h.Name = "Hint"
h.Parent = game.Workspace
h.Text = "Thanks for playing!"
end

Or would I only do "while wait(20) do" once for all of them?

Sorry if I'm trouble, I'm trying my best to learn to script in hopes of being able to use DevEx!

http://www.roblox.com/Motivation-To-Keep-Helping-item?id=151566014 <--- If I helped you, or made you happy, or something else, please return the favor. Thanks!
Report Abuse
Nitroade100 is not online. Nitroade100
Joined: 16 Sep 2012
Total Posts: 1004
20 Jun 2014 07:30 PM
Here's what I've done
http://www.roblox.com/Ples-help-me-item?id=162379952

Also, I need some more help please! :)

http://www.roblox.com/Motivation-To-Keep-Helping-item?id=151566014 <--- If I helped you, or made you happy, or something else, please return the favor. Thanks!
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