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!

15 comments

0

You're really trying to get suspended aren't you.

0

For? i'm not asking the same question.

0

You are creating questions, people are responding and you copy the scripts from them no even editing.

0

Just stop bugging me and go on with your life i'm trying to get this script done. So I can be finish with my game.

0

yHasteeD I told you the script didn't work.

0

You ask a question, get code, "it doesn't work", ask a question about the new code you got, and it repeats. Please try fixing it.

0

^

0

i'm trying to get help if you don't want to help then leave me alone. If you want to help then please be my guest.

0

Try to fix it! How hard is that!

0

I DON'T KNOW HOW TO SCRIPT OK I KINDA DO I JUST WANT TO GET THIS DONNEE PLEASE BE A GOOD PERSON AND HELP ME FOR ONCE INSTEAD OF BEING RUDE TO ME AND JUDGING ME FOR FREE MODELING :(

0

Im not being rude, lol. You're letting yourself get these comments. Just stop what you are doing. Try to do it yourself. Try to fix it. That is all

0

I just want to be done please be a good person and help me

0

just please if you help me i'll stop spamming i'll leave you alone.

0

no

0

why