So i am trying to make a simple tool that prints “hello”, and even that doesnt work, what i wanted to do was make a potion tool, but one day it was working and a few hours later and now NO tools work or are even usable, ive searched through the forums and the tool properties, player, game settings, everything to try to fix this but nothing has worked does anyone know why this is happening? or have a fix?
making a tool is as simple as doing:
script.Parent.Activated:Connect(function()
print("Hello")
end)
may we see your code?
My script is
script.Parent.Activated:Connect(function()
print("printed")
end)
and the script is in the tool with the part, i know how to make the tool activate and everything its just not working and i have no idea why
if there isn’t a handle in the part, make sure the property named RequiresHandle
is unchecked
The tool has a handle, and the property is enabled
may i see a screenshot of your explorer?
Uncheck Tool.RequiresHandle in the properties because you want it to activate without a Handle.
But i have ahandle in the part, ive tried doing it with that property enabled as well as tried it disabled, none has worked
odd, i recreated your hierarchy and it worked perfectly fine for me. not too sure what the issue is without a place file
see if any of your scripts interfere with tools or something, never had tools not work no reason before
Use local script. Not a script
Tool.Activated
can run on a server script perfectly fine
would you like me to send the place file? if it helps
Yeah weird I don’t usually see people using it in a server script.
yes that would be helpful
charssss limit aaaaaaa
Works fine when I put it in StarterPack.
Also, you could have gave us an empty Baseplate with the tool not the whole game.
whaaaaaat the heckkkk
should i try reinstalling studio to see if that fixes whatever is going on?
-
Tool Placement: Make sure your tool is correctly placed in either the
StarterPack
or the player’sBackpack
. -
Handle Part: Ensure your tool has a part named “Handle.” This part is necessary for the tool to function correctly.
-
Tool Properties: Check the properties of the Tool to ensure it’s enabled and the
RequiresHandle
property is set correctly. -
Local Script: If you’re using a LocalScript to handle tool events, make sure the script is in the correct location (
StarterPack
,StarterCharacterScripts
, etc.). -
Server Script: Ensure any server-side scripts are placed correctly in
ServerScriptService
,Workspace
, or directly under the tool if needed. -
Event Connections: Make sure your event connections are set up correctly.
this script should help you verify if the basic setup is correct:
Tool Script (LocalScript)
Place this script inside the Tool.
local tool = script.Parent
tool.Activated:Connect(function()
print("hello")
end)