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

How do I make a chat regen script?

Asked by 11 years ago

I need a chat regen scrip.That I don't know how to make. Can one tell me how do I it.

2 answers

Log in to vote
3
Answered by
c0des 207 Moderation Voter
11 years ago

I'll answer it for you, one second, let me get on a PC to write it. Here you go:

01model = game.Workspace.Thing --Change "Thing" to the model name you want respawned.
02backup = model:clone()
03 
04function onChatted(msg, recipient, speaker)
05 
06local source = string.lower(speaker.Name)
07msg = string.lower(msg)
08 
09if (msg == "thing") then --Change "thing" to the keyword you want to respawn the model with.
10model = backup:clone()
11model.Parent = game.Workspace
12model:makeJoints()
13end
14 
15end
View all 21 lines...
0
ok mrpoliceman2004 20 — 11y
0
Thumbs my answer up, please. Glad I could help. :) c0des 207 — 11y
Ad
Log in to vote
-1
Answered by 11 years ago

I do not understand the question. Do you mean it clears the chat log?

Answer this question