#gun is on the floor but hand and gun animation is playing
70 messages · Page 1 of 1 (latest)
may not be visible but the bolt of the gun is moving as well as part of the animation
those remotes probably not necessary, put them in a server script in the tool and connect to the tool's equipped/unequipped events
sorry but i didnt understand can u be more specific
pardon for my lack of knowledge i followed these scripts from a youtuber and changed some things as im a begineer and cant do things myself
is this the first thing you've worked on in studio?
for scripting, yes
what else have you worked on?
im an animater and was just making animation for months
untill i decided to script guns
basically
i have 2 scripts
in the game
local script which is in the tool
and a normal script in the serverscriptservice
the first one is the normal script
and the 2nd one is the local script
in a nutshell this is probably going to be way out of your league
welp 😭
i would expect your script to pretty much work as-is because of the motor6d, so i must assume your gun model isn't configured properly
yes i used motor6D
but by configured you mean like not rigged?
like not welded
i welded it correctly
i tried this same thing a 2nd time
same result
for animatable parts i did new motor6d
and for non animatable parts i just did new weld
all attached to a "bodyattach"
i suggest looking through it in explorer in play mode and see how things are looking
most important thing you need to understand about code is basically all it does is copy what you can do manually in the explorer while the game is running, just automated and very fast
k
so if you're ever stuck like this, figure out what it takes to make it work in a single session, then put what you did into the code
aight
lets say the welding turns different in the explorer while playing
how should i fix it
well you'd want to figure out where and how the welds aren't right
i suggest you be asking questions when you have studio open
gtg
** You are now Level 8! **
kinda pointless doing this now when you're theorizing only
aight
@sleek root
update
im in roblox studio
and i re did everything
and the hand animation plays
but the gun just falls off from the place it was animated before
i checked welding and nothing wrong
why cant this ever work 😭
HELp
@sleek root
I FIND THE PROBLEM
basically
whenever we play the game i have to manually make a motor 6d on the torso of the player
so how do i make it so that everyone who spawns always has a motor 6d with those parts
like part0 and part1
so what is the code?
to make one spawn with it