Hi guys im doing a script for the player that will turn him into a ball after touching a part, but one of the functions Inside a local script that works after an event is received doesnt work, and I really want to fix this because I have been working on this game over a month now, so any help would be nice tbh!
#Function If statement might not work
1 messages · Page 1 of 1 (latest)
also
?
instead of using force = force + blah
u can use
force += blah balh
u wont have to add the extra force
and
dont add .Unit
i believe lookvector and rightvector are units already
yes millions of times
and i put interruptions but nothing shows up i think
It means that it doesnt show the error, or im too dumb to notice the error
the "isball" value is false, and the "currrentball" value is "Nil"
hm ok
what is keysPressed
like
a tabl
table
value
etc
and whats in the table
they are all set to false
```lua
local keysPressed = {
W = false,
S = false,
A = false,
D = false
}
--like that
ye ye
see
that means force will always be Vector3.new(0, 0, 0)
which mean
means
no force will be added
yeah..
if u want
i can check this in studio
so
i can make it so
it will actually detect whether the keys will be pressed
I dont know how to pass you the whole script, as it's too big
** You are now Level 4! **
no u can just invite me to studio
ohhh ok
could you wait half an hour or no? Cuz i gotta do somethin' real quick
sure