#Car alarm when shooting a car

1 messages · Page 1 of 1 (latest)

queen imp
#

I'm making an FPS game and what I want to do is that when I shoot a car model, it starts to sound an alarm and after 10 seconds it turns off. I don't know much about scripts. Could someone help me?

noble spade
#

man

#

am sorry

#

just learn basics

#

or hire someone

queen imp
#

I only make animations

noble spade
#

learn basics

#

or hire someone

queen imp
# noble spade or hire someone

But you can't tell me what type of script I need to make and based on that I investigate and learn, I don't ask for the complete script to be made for me

calm talon
#

it easy when someone shoot a bullet the bullet touch the car the play sound wait 10 seconds the sounds turn off

noble spade
#

man

#

what type of script

#

wont tell u shit

#

if u dont know that

#

dont start with this and learn basics

#

and if u want to know what type of script

#

it can be either

#

local server module

#

all depends how your shooting is made and how u want it to look

calm talon
#

btw wkizi can u tell me where did u learn the basics i want ur advice cuz i know a lot but i still dont know much needed

queen imp
#

and go fuck yourself

calm talon
#

for example i learn by applyin new things without help, anyways maxi if u wanna the script i can give u similar script but are i sire tjat os wjat i want?

#

why did i made all these mistakes

noble spade
#

ik i spent some time knowing absolutely nothing

#

with very early days of gpt

#

then once realized i know whole docs

#

i just never stopped searching about how everything is made

#

even these days all i do is spend whole day on docs

#

reading how stuff is made and optimized

#

even tho ik whole docs

#

basically

queen imp
calm talon
#

anyways u can be like:

(local bullet = game.replicatedstorage.Bullet:clone()


bullet.touched:Connect(Function(hit)
if hit.parent.Name == "Car" then
hit.parent.carsound:Play()
wait(10)
hit.parent.carsound:Stop()
end
```\
#

u can use task.wait instead of wait() its back to u

#

but what did u ask is really easu

calm talon
# noble spade even tho ik whole docs

i get u i started understand after breaking my fear and trying to really understand it tho i've been scripting for 2-3 years i am still bad at scripting

queen imp
glass folioBOT
#

studio** You are now Level 3! **studio

noble spade
#

i work as programmer now

#

so like

#

i never stopped

#

from when i started

calm talon
#

working will get u experience that is good

noble spade
#

and u dont even technically need yt tutorialks

#

i never worked with series

#

few videos sure just to see how people done certain things

#

but ye yt videos will definetly help u

#

but even without them u can easly start

noble spade
#

or u keep forgetting

calm talon
#

yea i learned so much from yt u should see if u wanna know the idea itself but i still find problem with data saving

noble spade
#

solution

#

profile service

#

👍

calm talon