|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|