Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you make a "Name that Character" obby?

Asked by 10 years ago

I'm just asking for the code on how to do it.

1 answer

Log in to vote
0
Answered by
Nickoakz 231 Moderation Voter
10 years ago

First of all. Never put random tags onto your question. Your question does not involve animations, cframe, guis, or even the RbxLibrary..

You need a part and a script. Put the script into the part.

function Chat(m)
    if m=="WordHere" then
        script.Parent.CanCollide=false
        script.Parent.Transparency=.5
        wait(4)
        script.Parent.CanCollide=true
        script.Parent.Transparency=0
    end
end
all=game.Players:getChildren()
for a=1,#all do
    all[a].Chatted:connect(Chat)
end
game.Players.PlayerAdded:connect(function(p)
    p.Chatted:connect(Chat)
end)
Ad

Answer this question