Why is my block disappearing

Why does my block keep disappearing

link to the problem for some reason i cant add a video and a picture wont work

Try setting the LocalTransparencyModifier property of it to 0 every RenderStep.

game:GetService("RunService").RenderStepped:Connect(function()
	if YourBallPart:IsA("BasePart") then
		YourBallPart.LocalTransparencyModifier = 0
	end
end

You said that the ball was parented to the character, so I am assuming that the game is making it transparent when you go into first person.

When you zoom into first person, Roblox will automatically set the LocalTransparencyModifier of any BasePart in the character to 1, making the part locally invisible. Assuming the white ball is parented under the character, this means that this applies to the ball as well.

@PolyLacticSugarcane’s solution will work. Just wanted to explain why.

1 Like

Thank you I would have never figured that out

1 Like

Putting it in RenderStepped is unnecessary and shouldn’t be done for this… The simplest fix is having it parented OUTSIDE the character so you don’t take up unnecessary time from frames being rendered. Of course, this would technically be seen as micro-optimization but, It all comes down to how you’re actually moving around your block. If you’re already using RenderStepped to update the block, it could be seen as fine however, you’re still setting a property that wouldn’t need to be set, prior to each frame being rendered, if it were parented outside of the player’s character. Mainly preference and wanted to pitch in my two cents.

new issue i found

I’m not very familiar with ropes and the other things you mentioned in the video, so I would just create a new post and let people who are smarter than me help you.

i never thought about using ropes thanks lol that would work

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.