Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Basic Tool Script Not Working, possible roblox studio glitch?

I made a basic tool with a basic script that does this:

The player equips the tool, it prints 'hello' to the console, the tool consist of this:

1: Tool in starterpack 2: serverscript inside tool

this is the code

local tool = script.Parent

tool.Activated:Connect(function()
	print('YEET')
end)

I think I must have done something so stupid or roblox is legit broken right now, do you know?

1 answer

✓ Accepted answer
script.Parent.Activated:Connect(function()
print("Working")
end)

I've tested it myself too. It's most likely roblox, assuming that you've done it similar to this:

Script in tool: https://gyazo.com/8f663eac1fec05807bbcc002ecec7e24

Console Print: https://gyazo.com/5f29fdb08d0b1c7fb510a51b3da87edb

1 comment

0

I found out the main reason, the tool I had, well, had no handle, It seems that the tool needs a handle to inicate equipping, activating, and unequipping, thats from my research on it.

This discussion is preserved as it was. New answers, comments, and votes are closed.