Hi
Some time ago I solved the UNIVERSAL GIVER script.
But now I turn to the more experienced scripters…
How to block the UNIVERSAL GIVER script, while the player is holding the tool?
My problems you can this video
Hi
Some time ago I solved the UNIVERSAL GIVER script.
But now I turn to the more experienced scripters…
How to block the UNIVERSAL GIVER script, while the player is holding the tool?
My problems you can this video
You can check if a player is holding a tool by doing:
Character:FindFirstChildWhichIsA("Tool")
Thank you for your reply.
Instead of FindFirstChildWhichIsA can I make a shorter version of it like: FFCW
Local FFCW = FindFirstChildWhichIsA
You can’t do that since FindFirstChildWhichIsA is a function of the instance class. You would have to do something like.
function FFWC(instance, typeString)
return instance:FindFirstChildWhichIsA(typeString)
end
local typeCheck = FFWC(Character, "Tool")
It would be better just to use FindFirstChildWhichIsA though.
Thanks.
I think FindFirstChildWhichIsA will be better then.