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

Equipping an item I made teleports me to where the item is located, how can I fix this?

I'm trying to make a railgun but I keep encountering one problem that I can not solve. Whenever I spawn in to test the railgun It teleports me to a specific point, this only happens when it is anchored, the entire thing other than the handle disappears when it is unanchored, I have never had this problem before, my character is R6 and there are no scripts that would mess this up.

I am wondering if I am missing something or if there is a script I can use to fix this

1 comment

0

its anchored dude

3 answers

Any parts in a tool can't be set as anchored otherwise the character will just teleport to the relative position in workspace, if you want parts to stay together you can use welds.

Tools are not supposed to be anchored. You will need to weld all of the parts on your gun to the handle, and then unanchor it. This will allow them to move freely without falling apart.

1 comment

0

I realized that right after I asked

Tools are not supposed to be anchored. If they are anchored they stay in one position and will teleport the player to the position of the tool.

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