Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I am not sure if this works?

I am unsure if I did this script right;

Note: Script edited from another user, credit to user

admin={"TheeDeathCaster"}

Game.Players.PlayerAdded:connect(function(Player)
if Player~=0 then
for i=1,#admin do
if string.lower(Player.Name)==string.lower(admin[i])then
Player.Chatted:connect(function(msg)
if string.sub(string.lower(1,5),msg) == "kill/" then
findplayer=game:FindService("Players"):FindFirstChild(string.lower(msg,5))
findplayer.Character:BreakJoints()
end end)end end end end)

1 comment

0

CRINGE!!!

1 answer

It looks about right to me but, the best way to see if it works is to run the game and try for your self.

This discussion is preserved as it was. New answers, comments, and votes are closed.