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

RocketLauncher won't equip when I press on TextButton?

local plr = game.Players.LocalPlayer
local button = script.Parent.TextButton
local tool = script.Parent.RocketLauncher

button.MouseButton1Click:connect(function()
    tool.Parent = plr.Character
end)

2 comments

0

It's probably because sticking it into the character won't actually equip it. As far as I know, anyway. Try setting it's equipped value or something.

0

I tested it out and it does equip it, his hierarchy probably isn't set up correctly.

1 answer

✓ Accepted answer

1234567890qwertyuiopasdfghjklzxcvbnm

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