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

Parts sent flying?

I have this model being moved by a body velocity, but it's in a really weird shape, and whenever I step on it, it flies off the baseplate and gets destroyed. I tried using :SetNetworkOwner() for nil and player, but it didn't help. I was thinking of doing something like this:

if game.Workspace.WeirdLookingModel.PrimaryPart.Position.Y > 50 then
	game.Workspace.WeirdLookingModel:SetPrimaryPartCFrame(CFrame.new())--but then how do i get the position i need.
end

So yea, what do I do?

1 comment

0

your goal then is to disable it and then teleport it back to its original position and reenable it, before it reaches the furthest x value of the map. Or you could simply clone it and replace it after it has been destroyed.

1 answer

If you're trying to prevent the part from being movable by anything other than a script, you can just set the Anchored property to true.

However, if this is not your solution, please elaborate below on what exactly is the problem.

9 comments

0

It's being moved by a body velocity, and the model contains meshed parts which is causing the issue, and i can't get rid of the meshes

0

Do you have an answer for this or no?

0

Welds?

0

They are welded, the parts a meshed and rotated oddly, and they glitch under my feet.

0

I'm pretty sure that's all I got, especially considering that I don't even know what the "model" looks like. I may go check it out if you put it in a server.

0

http://s8.postimg.org/ralb8m5r9/EKG.png is shown next to the default part

0

Do you have anything or no?

0

You're sure that all the parts have welds or Motor6ds?

0

One of the parts has all the welds inside of it. All of them are welded to that part

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