in my game we need to drag a key to unlock a door and i wanted to make it so the key cant collide with the player which the local script works wonderfully in studio
but my problem is whenever i test it ingame the key doesnt collide to anything in the game like if the script went from being client sided to server sided somehow?
ive searched through so many posts for this but cant find anything that helps
Right there is your issue, the key is unanchored meaning the player probably has network ownership of it. Try making a script that sets the keys network owner to nil (the server)