|
| 29 Oct 2012 09:44 PM |
T = game.workspace.text
While true do Wait(5) X = Game.Instance.new(Message,game.workspace) X.T print = "hello robloxians welcome" Wait(5) X:remove Wait(.1) T:remove End |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 29 Oct 2012 09:46 PM |
T = game.workspace.text
while true do wait(5) local X = Game.Instance.new("Message",game.workspace) X.Text = "hello robloxians welcome" wait(5) X:Destroy() wait(.1) end |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 09:46 PM |
Get rid of half of the caps.
while true do wait(5) X = Instance.new(Message,game.workspace) wait(5) X:Destroy() wait(.1) T:Destroy() end
You also never stated what T was. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 09:47 PM |
| Sorry for caps I'm on my iPad |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 09:49 PM |
Lua is case sensitive. All reserved words are lowercase. Instance is not a child of game. Instance is a table that is defined in each and every script by default. When calling Instance.new, you supply a className as a string as the first argument. The new object's parent is the second argument. game.Workspace, not game.workspace
You set a value of a data field (MESSAGE.Text) using the = operator. When you call a method, you use parenthesis. You cannot remove a nil value.
FIX:
while true do Wait(5) X = Instance.new("Message",game.Workspace) X.Text = "hello robloxians welcome" Wait(5) X:Remove() end |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 09:49 PM |
End
SHOULD BE end.
But y would u want something like that in a loop anyway?
Please Open View>Output. The error message should be staring u right in the face. (There r probaly errors before that.)
Gl, Brian
PS. Like Wait should be wait. Please Open Output. You don't need an actual Human to correct spelling?!
|
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 09:53 PM |
" Like Wait should be wait."
Wait is a valid function. |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 09:58 PM |
| I can't help it, my iPad forces me to uppercase it |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 10:08 PM |
> game.Workspace, not game.workspace
Either is acceptable.
¤¤ †KMXD† ¤¤ |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 10:12 PM |
You can use game.workspace? :o HAX |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 10:14 PM |
Yup, I implemented it myself. You're all welcome.
¤¤ †KMXD† ¤¤ |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 10:18 PM |
@Agent
local workspacecopy = game.Workspace:clone() workspacecopy.Name = "workspace' workspacecopy.Parent = game
~ Moo logic = logical logic ~ |
|
|
| Report Abuse |
|
|
| |
|
iAdobe
|
  |
| Joined: 22 May 2011 |
| Total Posts: 367 |
|
|
| 29 Oct 2012 10:31 PM |
| I know 18, he is my troll buddy... |
|
|
| Report Abuse |
|
|
|
| 29 Oct 2012 11:02 PM |
I know him too.
¤¤ †KMXD† ¤¤ |
|
|
| Report Abuse |
|
|