kakbroek1
|
  |
| Joined: 16 Dec 2013 |
| Total Posts: 136 |
|
|
| 01 Jan 2016 05:12 AM |
local String = script.Parent.Text local Command = string.sub(String, 1, 5) if string.sub(String, 1, 5) == ":kill" then local PlayerName = string.sub(String, 7) local Length = PlayerName:len() for i, v in ipairs(game.Players:GetChildren()) do local Player = v.Name:sub(1, Length) if PlayerName == Player then HERE end end end
What do you have to write instead of "HERE" to kill the player? |
|
|
| Report Abuse |
|
kakbroek1
|
  |
| Joined: 16 Dec 2013 |
| Total Posts: 136 |
|
|
| 01 Jan 2016 06:02 AM |
| bump pls help this is actually a simple question (I think) |
|
|
| Report Abuse |
|
tyzone
|
  |
| Joined: 16 Aug 2008 |
| Total Posts: 1726 |
|
|
| 01 Jan 2016 06:08 AM |
if v.Character then v.Character:BreakJoints() end
I guess
eww no pink shaggy |
|
|
| Report Abuse |
|