of     1   

maplestick
#141160549Tuesday, July 22, 2014 1:22 PM GMT

I ordered a book online featuring roblox tutorials and scripts. It's not that old. 2012 i believe. Yet i can't even finish the EASIEST tutorial in the world. ------------------------------------- Script: local Message = Instance.new("Message") Message.text = "Hello World" Message.Parent = game.Workspace wait(5) Message.Remove () ------------------------------------- Expectations: * A message appears at the beginning of a game * The message disappears after 5 seconds Reality: Nothing Notes: * The script is located in game.workspace.terrain * I play in solo mode * The book said that to make a new script you need to follow: Insert.Object.Script Due to the updated GUI i followed: Insert.Advanced_Objects.Script Any help would be highly appreciated.
UncleTaz
#141160619Tuesday, July 22, 2014 1:23 PM GMT

That code is right. Just make sure ".Remove()" is ":Remove()"
UncleTaz
#141160644Tuesday, July 22, 2014 1:24 PM GMT

I mean ":remove()" lowercase
maplestick
#141160718Tuesday, July 22, 2014 1:26 PM GMT

I double checked and you're right! The book said the same, i just misread it by accident.
Notunknown99
#141160842Tuesday, July 22, 2014 1:29 PM GMT

@UncleTaz: You should not use the camelCase methods (findFirstChild, children, remove, destroy) and instead stick to the CamelCase methods (FindFirstChild, GetChildren, Remove, Destroy)
UncleTaz
#141160891Tuesday, July 22, 2014 1:30 PM GMT

I use non of them. I use nil 90% of the time.
Notunknown99
#141160943Tuesday, July 22, 2014 1:31 PM GMT

Oh, and maplestick, never use Remove, always use Destroy (You might want to use a for loop and Destroy instead of ClearAllChildren, too)
maplestick
#141161095Tuesday, July 22, 2014 1:35 PM GMT

Thanks, i'll keep that in mind.
damin3000
#141162304Tuesday, July 22, 2014 2:00 PM GMT

m = Instance.New("Message",game.Workspace) m.Text = "Hello World" wait(5) m:Destroy() ( ͡° ͜ʖ ͡°) damin3000 ( ͡° ͜ʖ ͡°)
UgOsMiLy
#141163887Tuesday, July 22, 2014 2:30 PM GMT

text needs capital T
damin3000
#141166919Tuesday, July 22, 2014 3:17 PM GMT

local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "Hello World" wait(5) m:Destroy()

    of     1