I am making a soccer game. I want to make a ball that if people touch it they have the ball. If someone touches the ball from them they have the ball.
COMMUNITY QUESTION
How do I make a ball that people can grab?
1 answer
I made a simple example tell me if it's working
put the script in to a part and name the part Handle then put the handle inside a tool and put the tool inside the workspace
script.Parent.Touched:Connect(function(p)
if game.Players:GetPlayerFromCharacter(p.Parent) then
print("p")
script.Parent.Parent.Parent = p.Parent
end
end)
also use the tool grip editor plugin to put the handle(the ball) between the legs web.roblox.com/library/153352998/Tool-grip-editor
2 comments
0
I don't want to make it a tool. I want to make it so it is infront of their legs.
0
Please don’t just hand him the script. It’s a script helping site, not a request one.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
like between their legs?
or the ball will get in the inventory
between legs