#automatically pickup Basketball when walked near/over

1 messages · Page 1 of 1 (latest)

kind portal
#

Everytime I walk over my basketball in my game it doesnt work, im very lost and confused and new to scripting, ANY help on how to make a basketball game would be great considering there's no tutorials.

hazy wyvern
#

why not make it a tool

gilded zephyr
#

player is nil or nonexistent

exotic mural
#

Could you paste all the code here

marsh patio
#

you are using services meant for local scripts in a server script

brazen frost
#

we all start somewhere

thorny arrow
#

Try new script in starter character

kind portal
kind portal
kind portal
hazy wyvern
#

you're using userinputservice in a server script but it can only be used on client

still kindle
#

If you ever wanted to learn something you could atleast try and look for anwsers by yourself, check Roblox docs about services you use, and for example UserInputService that works only on client

#

Instead you Ask people about code that is meant to be on the client. Its obivously that you copied this code because new people like you often check every 2 lines of code if it works inside of a game. And you notcied that its not working after like 50 lines of code

#

And on logic, where do you use service that reads your input? in SCRIPT that is recieved and read by a server or LOCALSCRIPT that is recieved and read by your client, machine

#

Like bro