|
| 30 May 2017 06:51 AM |
So I made a Custom Character but I keep on respawning its says on the log that: >Model:SetPrimaryCFrame() failed because no PrimaryPart has been set, or the PrimaryPart no longer exists. Please set Model.PrimaryPart before using this. i dunno how to fix it |
|
|
| Report Abuse |
|
|
| |
|
| |
|
austinfl
|
  |
| Joined: 14 Sep 2013 |
| Total Posts: 191 |
|
|
| 30 May 2017 07:05 AM |
I just looked it up, seems to be part of the model.
It's the part that all other objects in the model base on for positioning (basically they move with the part) |
|
|
| Report Abuse |
|
|
|
| 30 May 2017 07:06 AM |
Do you have a thing I can't think of right now, aka humanoid invisible box thingy that actually controls your player,
HumanoidRootPart! lol |
|
|
| Report Abuse |
|
|
| |
|
austinfl
|
  |
| Joined: 14 Sep 2013 |
| Total Posts: 191 |
|
|
| 30 May 2017 07:11 AM |
| Yes... awhile back the rob-lox animation plug-in has had the update of making more than just human models to animate, but ### ### note is that all animated models need a base to work on. That should be your primary part for the model @Octopus and Dude : Did everyone just sleep on the wrong side of the #### I've been reading mean comments left and right. |
|
|
| Report Abuse |
|
|
|
| 30 May 2017 07:12 AM |
do local b local function a(char)b=true;char.PrimaryPart=char:WaitForChild('Head',0.4)end Game:service'Players'.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(a)delay(0.7,function()if not b then b=true;a(plr.Character)end;end) end)end |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 30 May 2017 07:19 AM |
| Click your model and then click the property 'PrimaryPart' And then your cursor will change. Click 'HumanoidRootPart' |
|
|
| Report Abuse |
|
|
|
| 30 May 2017 07:25 AM |
But um it didnt work
if you want to take a look this is the link to the game https://www.roblox.com/games/843558168/Bobington |
|
|
| Report Abuse |
|
|
|
| 30 May 2017 07:26 AM |
| Put it in a new Script in ServerScriptService/Workspace |
|
|
| Report Abuse |
|
|
|
| 30 May 2017 07:31 AM |
| "PrimaryPart is not valid member of part" new problem \;-;/ |
|
|
| Report Abuse |
|
|
|
| 30 May 2017 07:39 AM |
| .. You have a model called say 'NPC' and you click the model, not the parts ####### ### click the mode, click the empty box next too 'PrimaryPart' and then your cursor will change and you click the part 'HumanoidRootPart' inside the model! IT CAN'T GET ANY SIMPLER!! |
|
|
| Report Abuse |
|
|
|
| 30 May 2017 07:45 AM |
Firstly I do Basic scripting NOT ADVANCED Secondly I did that But Why do you have to be agressive
|
|
|
| Report Abuse |
|
|
|
| 30 May 2017 07:54 AM |
Firstly I do Basic scripting NOT ADVANCED Secondly I did that But Why do you have to be agressive
|
|
|
| Report Abuse |
|
|
|
| 30 May 2017 08:01 AM |
Last I check putting a part inside a model isn't considered scripting.
If you are a "basic" scripter, then I suggest a smaller project such as creating a light switch and a desk lamp. |
|
|
| Report Abuse |
|
|
|
| 30 May 2017 08:23 AM |
| One, it's not scripting, you say you're not advanced but I'm pretty sure CFraming is not beginners. Also what is 'model' variable set to? And finally, IT'S NOT ADVANCED IT'S LITERALLY 3 CLICKS! |
|
|
| Report Abuse |
|
|
|
| 30 May 2017 09:11 PM |
| Actually, CFrameing is pretty basic stuff. I guess it depends on what you're doing with CFraming. |
|
|
| Report Abuse |
|
|