|
| 17 Jun 2014 11:58 AM |
Hey There!
Im trying to kill the Players inside a Specific Model. But when the script should do it, nothing happends. Im trying to do this:
local Vandeath = game.Workspace.Vanishing local Surdeath = game.Workspace.Players wait(1) Vandeath:BreakJoints() wait(0.1) Surdeath:BreakJoints()
Help D:?
THX! Planesoldier |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 11:59 AM |
local Vandeath = game.Workspace.Vanishing local Surdeath = game.Workspace.Players
bj = function(parent) parent:BreakJoints() for I,v in pairs(parent:GetChildren()) do bj(v) end end wait(1) bj(Vandeath) wait(0.1) bj(Surdeath) |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 12:13 PM |
Error:
BreakJoints is not a valid model of SpecialMesh |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 12:14 PM |
if parent:IsA"Model" then parent:BreakJoints() end |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 12:18 PM |
| You can put player model's in another model? |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Jun 2014 12:19 PM |
| I cant, they HAVE to die. And that one above you didnt work either. |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 12:20 PM |
for i,v in pairs(model:GetChildren()) do if game:GetPlayerFromCharacter(v) then v:BreakJoints() end end |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 12:26 PM |
Above,
19:26:08.212 - GetPlayerFromCharacter is not a valid member of DataModel |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Jun 2014 12:34 PM |
| Where should i put game.Players? |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 12:35 PM |
| if game.Players:GetPlayerFromCharacter(v) then |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 12:35 PM |
he said if game:GetPlayerFromCharacter
DUH
game.Players:GetPlayerFromCharacvter
ETC
geez man, it doesn't take a expert scripter to have common sence! |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Jun 2014 12:39 PM |
sorry, but anytime someone tells u something obvious
your like
where do I put that
like WHAT?
someone posts
game:Getservice("Workspace").ChildAdded
or something
and then says
woops
GetService*
and your like "where do I put that?" |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 01:38 PM |
| well sorry for not being a scripting pro. and when i see only game in the script and someone says woops, game.players. I dont know if i should put it there or not. game might be good. so stfu |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Jun 2014 01:42 PM |
| And this is the only time i had that. On my previous help things they said "Make a caurantaine or this or that". And if i dont know what it is, or how i have to make it i ask how to do it. |
|
|
| Report Abuse |
|
|
|
| 17 Jun 2014 01:50 PM |
| if it does not work then there are no players in the model. |
|
|
| Report Abuse |
|
|