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

Where are tools in the game?

Asked by
Mystdar 352 Moderation Voter
10 years ago

Are they in the character or are they in the workspace if in character, please give the route to them. Locally.

2 answers

Log in to vote
1
Answered by
Ekkoh 635 Moderation Voter
10 years ago

When equipped, tools are located under the character. When stored, they're located under the player's backpack.

Eqipped: Game.Workspace.PlayerName.Tool

Unequipped: Game.Players.PlayerName.Backpack.Tool

0
Would Playername be fine? Or would I have to know the players name? Is there a way to do that? Mystdar 352 — 10y
0
No. The dot use a string, so you'd literally be finding the player named "PlayerName". You can use brackets to index by a variable, a la `Workspace["Blue" .. "Taslem"]` BlueTaslem 18071 — 10y
0
You don't necessarily need to know the player's name. You just need a method of finding the player, i.e. PlayerAdded Ekkoh 635 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

If by tools, as in you mean models the player starts with, that would be under the StarterPack

Answer this question