Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years ago

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

Log in to vote
0
Answered by 3 years ago

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.

Ad

Answer this question