ibi567
|
  |
| Joined: 17 May 2013 |
| Total Posts: 100 |
|
|
| 13 Aug 2016 04:31 PM |
Hello, I am a script kiddie so please do not expect my script to be good. This is my first script, and I want to know how to repair it. Here is how it goes:
wait 28 then print 'Time's up!' then wait for Child (Sasha) then repeat
Sasha is: localscript if Player child = Humanoid then game.Workspace.remove(Torso, Head) end
Could you tell me how to make these 2 work? |
|
|
| Report Abuse |
|
|
davisky2
|
  |
| Joined: 04 Mar 2012 |
| Total Posts: 4710 |
|
|
| 13 Aug 2016 05:02 PM |
I hope i understood it correctly...
while wait(28) do print("Time's up!") script.Parent:WaitForChild("Sasha") --I guess Sasha is in same place where script is? end
In Sasha: plr = game.Players.LocalPlayer if plr.Character then hum = plr.Character:FindFirstChild("Humanoid") if hum then game.Workspace.Torso:remove() game.Workspace.Head:remove() end end
|
|
|
| Report Abuse |
|
|
ibi567
|
  |
| Joined: 17 May 2013 |
| Total Posts: 100 |
|
|
| 13 Aug 2016 06:09 PM |
| Thanks alot, much appreciated. |
|
|
| Report Abuse |
|
|