Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

RocketLauncher won't equip when I press on TextButton?

Asked by 8 years ago
local plr = game.Players.LocalPlayer
local button = script.Parent.TextButton
local tool = script.Parent.RocketLauncher

button.MouseButton1Click:connect(function()
    tool.Parent = plr.Character
end)
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. TheDeadlyPanther 2460 — 8y
0
I tested it out and it does equip it, his hierarchy probably isn't set up correctly. Pyrondon 2089 — 8y

1 answer

Log in to vote
1
Answered by 8 years ago

1234567890qwertyuiopasdfghjklzxcvbnm

Ad

Answer this question