#FPS template kill sound
1 messages · Page 1 of 1 (latest)
Im pretty sure, a lot people know how to script that, but as the rules say:
https://create.roblox.com/docs/reference/engine/classes/Humanoid#Died
https://create.roblox.com/docs/reference/engine/classes/Sound
An object that emits sound. This object can be placed within a
Class.BasePart or Class.Attachment to emit a sound from a particular
position within a place or world, or it can be attached elsewhere to play the
sound at a constant volume throughout the entire place.
No but for some reason the, find killer script won’t type thing won’t work, I’ve tried countless tutorials, I’m not asking for scripts, but instead asking for someone to help me do it, maybe show a tutorial
There is a lot different way you can do approch, SetAttribute of the Protjectile (The gun that shoot and if recgonzie if hit a Player) then check if it killed, then fire the sounds to the player, of the name of projectile.
the point of the templates is to give you something to work with, so you can play with it and figure out how to add to it. you're just not trying hard enough.
"help" is not a 1:1 tutorial saying precisely step-by-step what exactly to do. that's not help. that's free labor and spoonfeeding and i don't think you need it. what you need is to put in more effort. i belief you can figure this out, that's the point of the roblox templates 
and to be fair, if you can't figure out how to add a kill sound to a gun on your own with 99.9% of the work already done for you, how will you possibly manage to make anything else for that matter?
Wat
in the code, start where your blaster detects mouse1 input, and follow the code all the way to the deal damage part. that's what you're expected to do here.
could be uis, could be tool.activated, could be cas. i haven't checked the roblox weapon system lately but that's how it's done. the rest is up to you 
waat
** You are now Level 1! **
50% of scripting is reading code. 48% is reading documentation. 1% of scripting is actually writing the scripts, and the final 1% is throwing out half of what you just wrote 
coz sound:play() is one line, that's easy. figuring out where to put it.. that's what most of scripting work actually is 
if you can't do that, you're missing 98% of what it takes to be a scripter