|
| 21 Apr 2016 05:59 PM |
The error in the title comes from the following script:
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character) wait(2) local childs = game.ReplicatedStorage.EruptionBlades.WingL:GetChildren() for c = 1,#childs do if childs[c].ClassName == "Part" then childs[c].CFrame = character.CFrame childs[c].Parent = character.Torso
end end end) end)
The structure is https://gyazo.com/ec71410c84711220a8c3f2e570faf82e
The error is produced despite what I'm trying to apply to CFrame to is a part, not a model. Is there anything I'm doing wrong?
[ Content Sorcus'd ] |
|
|
| Report Abuse |
|
|
| |
|
|
| 21 Apr 2016 06:09 PM |
you cant cframe a model
"You idiot the dogs gonna die soon"
r+://393244197r+://393244224r+://393244262 |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2016 06:20 PM |
"I'm trying to apply to CFrame to is a part" I'M NOT APPLYING THE CFRAME TO THE MODEL.
[ Content Sorcus'd ] |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2016 06:54 PM |
-- I'm not guaranteeing this will work, but try this...
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character) wait(2) local childs = game.ReplicatedStorage.EruptionBlades.WingL:GetChildren() for c = 1,#childs do if childs[c].ClassName == "Part" then childs[c].CFrame = character.Humanoid.Status.CFrame childs[c].Parent = character.Torso
end end
end) end) |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2016 06:55 PM |
model:SetPrimaryPartCFrame
#Code print("Add 13,000 posts") |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 21 Apr 2016 06:57 PM |
"I'M NOT APPLYING THE CFRAME TO THE MODEL."
"character.CFrame"
You idiot.
|
|
|
| Report Abuse |
|
|
|
| 21 Apr 2016 07:15 PM |
At what point do I mention "character.CFrame"?
I'm pretty sure "childs[c].CFrame " is referencing the part.
[ Content Sorcus'd ] |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2016 07:16 PM |
there's no way u get that error without cframing a model
so u must be cframing a model or roblox is incredibly stupid |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2016 07:16 PM |
-- I have made it in all CAPS
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character) wait(2) local childs = game.ReplicatedStorage.EruptionBlades.WingL:GetChildren() for c = 1,#childs do if childs[c].ClassName == "Part" then CHILDS[C].CFRAME = CHARACTER.CFRAME childs[c].Parent = character.Torso
end end end) end) |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2016 07:17 PM |
| ya u have character.CFrame y'd u ignore the other dude |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2016 07:17 PM |
Actaully, nvm. I'm stupid, relitively salty currently and it's 1am in my timezone.
[ Content Sorcus'd ] |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2016 07:18 PM |
Also, you guy's really bum rushed that post, didn't y'all
[ Content Sorcus'd ] |
|
|
| Report Abuse |
|
|
|
| 21 Apr 2016 07:21 PM |
| We're only partially sorry, mainly because some of us are also very tired... |
|
|
| Report Abuse |
|
|