of     1   

Spencerwon
#2777643Saturday, September 13, 2008 3:48 PM GMT

how do i make a message brick say the name of the person who touched the brick?
scripto
#2777907Saturday, September 13, 2008 4:02 PM GMT

here the code : function onTouched(part) if part.Parent:findFirstChild("Humanoid") ~= nil then local msg = Instance.new("Message") msg.Parent = game.Players:playerFromCharacter(part.Parent) msg.Text = "Hello : " ..part.Parent.Name wait(3) msg:remove() end end script.Parent.Touched:connect(onTouched)

    of     1