Skip to main content
# 💡│doubt-solving4 people

object/pet swap script

A player asks for a script to swap objects/pets in a 'farm game' and receives some high-level advice on implementing a swap function.

  • A player is looking for a script to swap objects or pets for a 'farm game' they are creating, similar to earn energy mechanics.
  • Another player suggests against using 'temporary' scripts and advises making a component for players with a vector 3, setting its value/position on player join, and using a button to teleport to that component's position.
  • The same player further suggests creating a swap function with parameters for item (any type), slot (any type), and player (any type).
  • The helper cautions that their own script uses a basic data list and index-based settings, so it wouldn't be directly useful for the player, and that a 'temporary' script might only work for one player or glitch.
Summarized from recent messages, might be inaccurate

More conversations

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App