Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to resize a part when a player is touching it?

Asked by 9 years ago

I'm using Vector3.new and when a player touches it the part moves out of the way and teleports to the nearest place where it can stay without a part in the way. I don't need to post the script because its pretty useless because it works right besides when a player touches it. So basicly I need a method I can resize a part and when it hits a player it keeps resizing at its current position.

1 answer

Log in to vote
0
Answered by
RedCombee 585 Moderation Voter
9 years ago

I either suggest making the brick's CanCollide false, or anchoring it so it can't move.

0
Doesn't work still moves the part if I touch it thanks for trying though. GetSporked 5 — 9y
0
Oh, I forgot about that. Even with CanCollide? RedCombee 585 — 9y
0
I have a new solution. Change the CFrame each time the block is resized. That should work. RedCombee 585 — 9y
Ad

Answer this question