|
I need this because a stupid Gui keep getting stuck on my screen after I die. |
|
|
You would use a Chatted event to connect to a function, that connects to another function with the arguments of what the person chatted, and the person themselves, since I don't trust the instance recipient.
Then, if the person chatted a certain thing. then you would go into their PlayerGui and delete something.
Before you ask, no, we will not make this for you. |
|
|
Please the name of the Gui is intro? |
|
|
|
Well I can make it if you want. |
|
zeke505Join Date: 2008-05-26 Post Count: 15765 |
@fredfredburger
No, you can't. You can't even make a simple for loop. |
|
|
Ok since I dont have any robux on me how about I will visit your place.
Or I can give you 4 robux and a place visit for doing this lol. |
|
|
If you did that for me fred, I would do anything that doesnt involve donating more then 4 robux. lol
Im poor right now. :3
If I do get some bux I promise to pay the guy who did this script for me when I get it. |
|
|
1) *facepalm*
2) fredfredburger can't do this for you. he is a bad scripter.
3) We don't make you scripts. Now go away. |
|
|
|
|
i would help you and send you a pm but your messaging is disabled for me so i cant help u. |
|
|
Ok I made private messaging to all users. :D
I only took it off because someone was spamming me. |
|
bloob827Join Date: 2010-08-01 Post Count: 6867 |
game.Players.ChildAdded:connect(function(newPlayer)
newPlayer.Chatted:connect(function(msg) onChatted(msg,speaker) end)
end)
--stuff |
|
|
Thank you but how could I do this by saying "Remove"? |
|
|
It doesnt mention in the script about removing the Gui either. |
|
|
|
|
3lex33Join Date: 2008-10-08 Post Count: 5220 |
All you need, is onChatted function, basic knowledge of scripting commands and basic knowledge of GUIs placing. |
|
|
I have very little scripting knowledge but I will try. |
|
arundelJoin Date: 2008-04-21 Post Count: 5762 |
game.Players.ChildAdded:connect(function(newPlayer)
newPlayer.Chatted:connect(function(msg,speaker)
if newPlayer ~= nil then
if msg == "Whatever" then
if speaker.PlayerGui:findFirstChild("ScreenGuiName"):findFirstChild("GuiName") ~= nil then
speaker.PlayerGui:findFirstChild("ScreenGuiName"):findFirstChild("GuiName"):remove()
end
end
end
end)
end)
|
|