Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is there anyway to create something at the players hand without a tool?

I am trying to make a script that clones something and sets the CFrame for it on the right hand. The problem is from what iv'e seen the right hand does not have a CFrame and i'm getting the error "CFrame is not a valid member of Model" is there anyway to do this?

2 comments

0

that errors because Model doesn’t have a cframe property

0

set the PrimaryPart of a mode to some part in your mode and use Model:SetPrimaryPartCFrame()

1 answer

✓ Accepted answer

Hi Waffle,

What do you mean the Right Hand doesn't have a CFrame? It sure as heck does! Here, this is how you can make a part appear at the right hand:

local part = Instance.new("Part");
part.CanCollide = false;
part.Anchored = true;
-- Properties 
part.Parent = workspace;
part.CFrame = workspace.KingLoneCat.RightHand.CFrame;

###As you can see, that sets the part's CFrame to the Character's RightHand's CFrame.

##Hope I helped and have a wonderful day/night.

Thanks,

Best regards,

~~ KingLoneCat

3 comments

0

what's with the semi collins?

0

Thanks so much its finally working

0

The semicolons are a habit that I've developed because other languages use it. No problem, glad to help Waffle.

This discussion is preserved as it was. New answers, comments, and votes are closed.