How might one go about fixing this palcement script?

gæm no work, help
robloxapp-20240707-1813300.wmv (1.4 MB)

The local script is in StarterPlayerScripts and there’s an event inside of it which is called by another local script in StarterGUI.

2 Likes

what is the problem :skull: we cant fix anything if we dont know what the problem is

1 Like

What’s happening here is that your mouse is constantly touching the model (per se), causing it to get closer to the camera every frame as it overlaps itself.

A method to fix this is using a Filter, such as Target Filter

'Tis all in the video, my friend

1 Like

mouse.TargetFilter = obj

filter must be applied on every single part on your model

ah right… i shall try that now…

1 Like

okay, lmk if it does :+1:

(stuffff)

Yeah, it worked… I didn’t realise I could select a whole model as the targetfilter and instead, I was trying to do - mouse.targetfilter = object:GetChildren() . Cheers!

1 Like

nope, just use the model

happy developing

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