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

Why is this not letting me explode my friends... it only explodes me?

Asked by 2 years ago

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)
0
idk if your intent is a rpg jeremqpmfpi 41 — 2y
0
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 jeremqpmfpi 41 — 2y

Answer this question