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

can i set a parent of a gui to a player's character using a local script?

So what i'm doing here is

  1. I have a sword, and if that sword hits somebody, they take damage.
  2. After they take damage, I make a TextLabel and a BillboardGui that shows the local player who hit the other player using the sword how much damage they took using a LocalScript
  3. I need to parent the BillboardGui to "hit", Eg. the person's head, LeftLeg

To do step 3 must i use a server sided script to parent the billboard gui to a descendant of a workspace or use a local script

1 answer

#can i set a parent of a gui to a player's character using a local script?

You can, but other players won't see it. Consider using remote events.

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