#Need help with startercharacterscripts
1 messages · Page 1 of 1 (latest)
So i've made a little character selector (using a tutorial) and i couldnt figure out how to make each character have custom startercharacterscript stuff
and its a real issue for the game we're making
and i tried to figure it out with the documentation shit but im struggling
and i need someone super cool to help me with it 💔
like someone tried to teach me about modules and i think my brain melted
i save stats animations and accessories into a module script
i can show you in a sc
yes please
i tried to DM you about it but it wouldnt let me 💔
because the person helping me sent a like
roblox documentation thing and
i dont get it
its too much for me
i can show you what ive done if it'd help
and i feel like if i cant work this out it'd be a waste for all my friends time
local RACE_CONFIG = {
Orc = {
health = 200,
damage = 20,
walkSpeed = 15,
color = "Sea green",
Teamcolour = "Sea green",
accessories = {
HatAccessory = "105935564631213",
Shirt = "",
Pants = "6326002102"
}
},
Mage = {
health = 150,
walkSpeed = 25,
color = "Nougat",
Teamcolour = "Magenta",
accessories = {
HatAccessory = "17187331785",
FaceAccessory = "461493477",
BackAccessory = "9502826262"
}
},
Warrior = {
health = 175,
damage = 20,
walkSpeed = 20,
color = "Nougat",
Teamcolour = "Crimson",
accessories = {
HatAccessory = "16995713333",
BackAccessory = "13873632036"
}
}
}
so this is my constructer it saves the stats and the names
very generic rpg
the numbers ofc are IDs
all you need to do is use a module script
local Race = {}
race config
this is the constructer
function Race.new(health, damage, walkSpeed)
return {
Health = health,
Damage = damage,
WalkSpeed = walkSpeed
}
end
``` n
then i have 2 functions
1 which just sets the style of the races since i change body colour and accessories i use
GetAppliedDescription
so hold on
but now to talk to the client youll need to learn about remote events and remote functions
is there a way i can make it so i can just
jam all my scripts i need IN there
and work it out
these ones
so all your normal scripts and module scripts go in there
(ignore hd admin i pressed a wrong button)
those are local scripts
they go where you put them
client vs server is very specific
so what would i do with them
if they are supposed to be client leave them there, your module script can work with them
thats where remote events come in
thing is i dont think i could have them there because of what im using them for
im trying to give multiple different characters DIFFERENT animations
but having the animate script in there doesnt allow that.
or can i like
is there a way around that
or have i done a stupid idiot thing here
the only stupid idiot thing i see happening here is you biting off more than you can chew and trying to make things you don't know enough to make, but hey it's not about the results, it's about what you learn along the way 
mgulps..
i came too far to go back so im stuck begging for help now 💔
so many lost hours of my life
begging for help (and probably ai) is how you got here to start with 
this is not the last step in your roblox game. this is probably the first or second. why do you think it's your last? what was the second to last step you took?
last as in struggles for getting it to work
once i fix this i can like
actually make the game
and make it good
what was the second to last step you took? do you actually have any working characters to begin with?
ive only got one working for now because i cant get different animations on the others
but once i sort out THAT its all set up for more
and the last thing i did wasss
learn blender because i was struggling with weapons
do you have a map built?
two of them
yea this aint your last step lol
they're not pretty but they work
this is your second.
yeah checks out
maybe third if you already have weapons. but it is very far from the last step.
i meant more well
last struggle
for now atleast
only major roadblock from what ive seen so far IS this
MrStrength already went over modulescripts you should continue practicing them. start simple. or maybe just hire a scripter #💵︱hiring
you don't need to jump into the deep end, start with the simplest and build up.
good luck 
thank you sir
dont need to hire lol look into module scripts
client vs server
remote events and remote functions
you will figure out what should be server or client as you go
image a football game where you handeld the player kicking the ball and it moving on the client
awful because it would only move for that player that kicked it
server everyone
it gets complicated when you start to see that each player see's it's own version of the world because you can mix the server's everyone-stuff with the clients client-only-stuff. 
so imagine you make a localscript
you make it so when a player touches a door it opens
( a parts transparency goes to 1 and cancollide to false)
say you walked up and touched the door
for you the door opens
for me it doesnt
for me its closed unless i go touch it
its only been opened on your client
but if you did the same logic with the door on the server
(dont do touch events on the server)
you would then see the door open if anyone opened it
i dont want to info dump on you but the correct method is handeling player inputs
Touched
Keybinds
on the client
then sending that information via RemoteEvent
to the server
good luck on your game
have some patience 🙏