#hopefully you know what im trying to get at here
1 messages · Page 1 of 1 (latest)
i dont rlly understand what you want to do
do you want to check if a player has a tool and then apply the attributes?
yeah
so it finds all the tools in the game
in findalltools()
then down below
im trying to check if the player has one of those tools
then match the properties for it in toolpropertytable
well i might do that in toolpropertytable but i want to get this finished first then i will
if player.Backpack:FindFirstChild(tool) or player.Character:FindFirstChild(tool) then
ima see if this works lowk
also thank you for giving me a straight answer
someone people did the quite opposite
im getting this, is it because im using a module script and getting the player or
** You are now Level 7! **
you can only use LocalPlayer in a LocalScript
Sorry if this is in the wrong section Hey Devs, I’m a little new to scripting and I just realized that I don’t know the difference from a local script and a server script. I want to know where you can put them and what areas they will work in. Ex can a local script work inside a part in the workspace? Anyway any knowledge that you guys kno...
for _, player in game.Players:GetPlayers() do or whatever u want really
many ways to get a player
Ohh ok
Do you know any other way?
whats the best thing to do in that situation
i wanna find all the tools in the game then set each table in toolpropertytable to that designated tool that was found
but how?
for i, v in game.Players:Getplayers() do v.Backpack:FindFirstChild(ur tool) Ig
Nvm seems like u wanna get all tools