So i have a bin when clicked on it would parent the model into the characters model. its not a tool so it wont be seen if im in first person by default, how do I change this? i want to avoid using viewmodels btw. All help appreciated
I think something like this would do the trick
workspace.Part.LocalTransparencyModifier = 0
I tried that using a for _,v in pairs loop since its a model. It says LocalTransparencyModifier isnt a valid property of the part which makes sense since it wasnt the characters initial child
You need to do it after the model is added to the players character pretty sure
Yes, I used a child added function to reference when its been added, again LocalTransparencyModifier was not a valid property of the model’s parts.
for _,v in modelhere:GetChildren() do
if v:IsA("BasePart") then
v.LocalTransparencyModifier = 0
end
end
Keep in mind that this has to be in client.
Still doesnt work late reply lol
weird, it should work if it’s a LocalScript
or Script
with RunContext
set to Client
Yea everything is how it should be im guessing since its not a character child default
maybe doing GetDescendants
will work?
Oh shoot wait no way, if this works imma cry
Didn’t work but I just decided to use this free source: https://create.roblox.com/marketplace/asset/571636661/Smooth-First-Person-Camera-bundle
Im going to learn how it works while using it so i’ll be able to recreate it on my own and know how it works
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.