My last question was false reported for "spamming" anyways, I need help with this I want to do is when a player touches the brick they'll get a rocket launcher and dynamite here's the script.
script.Parent.Touched:Connect(obj) if not hit.Parent.Humanoid then return end -- checks for humanoid local player = game.Players:GetPlayerFromCharacter(hit.Parent) -- gets the player from their character game.ReplicatedStorage.Rocket launcher:Clone().Parent = player.Backpack -- clones the rocket launcher to the player's backpack end)
Thanks and good luck. Bye!
Marked as Duplicate by User#24403, yHasteeD, and Amiaa16
This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.
Why was this question closed?