Everytime I change the Text in this Text Box, it just doesn't work.
Here is the code:
local activaty = script.Parent.Parent.Activaty
script.Parent.MouseButton1Click:Connect(function()
local boomy = Instance.new("Explosion", workspace)
boomy.Position = workspace[activaty.Text].Torso.Position
end)

2 comments
idk if your intent is a rpg
usually i would have an invisible part at the front of the gun/weapon then when the tool is being used it will use a body thrust to shoot it at the player in front