Xegic
|
  |
| Joined: 29 Jan 2016 |
| Total Posts: 2105 |
|
|
| 19 Mar 2017 12:59 PM |
I want a script that makes this script happen
for i,v in pairs(game.Players:GetPlayers()) do game.Players[v.Name]:LoadCharacter() end
Once you type :end
I also want it to do this
for i,v in pairs(game.Players:GetPlayers()) do if v:FindFirstChild("KOs") and v:FindFirstChild("Wipeouts") then v.KOs.Value =0 v.Wipeouts.Value=0 end end
So it respawns the player and resets their KOs and WOs.
Appreciated! :D
|
|
|
| Report Abuse |
|
|
Xegic
|
  |
| Joined: 29 Jan 2016 |
| Total Posts: 2105 |
|
|
| 19 Mar 2017 01:00 PM |
Title could've been typed up better. My bad.
|
|
|
| Report Abuse |
|
|
vexieh
|
  |
| Joined: 22 Oct 2009 |
| Total Posts: 3468 |
|
|
| 19 Mar 2017 01:06 PM |
basically you just use the chatted event, you can make it slightly more advanced with some string manipulation
game.Players.PlayerAdded:Connect(function(Player) Player.Chatted:Connect(function(Message) if(Message == ":end")then print("do stuff") end end) end)
|
|
|
| Report Abuse |
|
|
Xegic
|
  |
| Joined: 29 Jan 2016 |
| Total Posts: 2105 |
|
|
| 19 Mar 2017 01:25 PM |
How would I embed the stuff that I wanted in?
|
|
|
| Report Abuse |
|
|