generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: 'CFrame is not a valid member of Model'

Previous Thread :: Next Thread 
xboxvsgunfanboy is not online. xboxvsgunfanboy
Joined: 23 May 2015
Total Posts: 466
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
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
21 Apr 2016 06:02 PM
[ Content Sorcus'd ]
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
21 Apr 2016 06:09 PM
you cant cframe a model

"You idiot the dogs gonna die soon"



r+://393244197r+://393244224r+://393244262
Report Abuse
xboxvsgunfanboy is not online. xboxvsgunfanboy
Joined: 23 May 2015
Total Posts: 466
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
PickleMasterJohn is not online. PickleMasterJohn
Joined: 13 Dec 2011
Total Posts: 204
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
Lord_Narwhal is not online. Lord_Narwhal
Joined: 05 May 2012
Total Posts: 3242
21 Apr 2016 06:55 PM
model:SetPrimaryPartCFrame


#Code print("Add 13,000 posts")
Report Abuse
TimeTicks is not online. 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
xboxvsgunfanboy is not online. xboxvsgunfanboy
Joined: 23 May 2015
Total Posts: 466
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
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
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
PickleMasterJohn is not online. PickleMasterJohn
Joined: 13 Dec 2011
Total Posts: 204
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
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
21 Apr 2016 07:17 PM
ya u have character.CFrame y'd u ignore the other dude
Report Abuse
xboxvsgunfanboy is not online. xboxvsgunfanboy
Joined: 23 May 2015
Total Posts: 466
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
xboxvsgunfanboy is not online. xboxvsgunfanboy
Joined: 23 May 2015
Total Posts: 466
21 Apr 2016 07:18 PM
Also, you guy's really bum rushed that post, didn't y'all


[ Content Sorcus'd ]
Report Abuse
PickleMasterJohn is not online. PickleMasterJohn
Joined: 13 Dec 2011
Total Posts: 204
21 Apr 2016 07:21 PM
We're only partially sorry, mainly because some of us are also very tired...
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image