How to make a Car Spawner GUI (ROBLOX STUDIO) Tutorial 2022
ฝัง
- เผยแพร่เมื่อ 16 ก.ค. 2024
- Hello! Today I'll teach you how to make a car spawner!!
GET THE CAR SPAWNER HERE!!!
/ discord
Video Timestamps -
0:00 - Making the spawn pad
2:10 - Making the GUI
3:00 - Scripting the GUI
17:28 - Testing the car spawner
18:41 - Adding a second team + Fixing ELS
23:25 - How to add a team lock
25:54 - How to get the car spawner - เกม
If you guys want the car spawner join the discord and look in the files channel where you will find instructions on how to set it up!
But which channel that I can see it
@@HYPE-mn5dl yeah
I wonder if there is any way to make a close button or something?
hey why do you not show the script?
@@Arxz.Cinematic it's the one next to plug-ins at the bottom
@@Macnificcarin1012 yes the script is script.Parent.MouseButton1Click:Connect(function() don’t add this but the press enter an say script .Parent.Parent.MouseButton1Click.Visible = false
Thank you so much! You really helped me. I can not say what I did when you were not here!
PS: Greetings from Germany
How did you get it work For me i only get the Error ''Screen'' is not a Valid model of Workspace.Vehicle_Spawner
sheesh dude this spawner is so cool i Coldnt do it without you >3
How did you get it work For me i only get the Error ''Screen'' is not a Valid model of Workspace.Vehicle_Spawner
C’mon dude don’t be lazy and paste the script in description
thats ironic
@@Rayzyungreal
@@Rayzyung ikr
How would you make the cars spawn in random locations?
Like say I had a whole parking lot and 3 cars but I dont want them to spawn in the same parking space every single time
hey, a very nice tutorial! I have a question if you would create a gui for the team, but so that the team could give each and eg a butterfly only people added in the script, e.g. nickname or id. Yours sincerely, Skarloks
Thank you for the tutorial, It's very useful for my game:) I don't know if you can see this but are you able to make a game pass only car? If u try to spawn it in the GUI but don't have the game pass, it won't spawn
Bro this video is so underrated this tutorial was, easy to follow, Very helpful. it was pretty long but it was worth the time! 9.5/10
Liked and Subscribed!
How did you get it work For me i only get the Error ''Screen'' is not a Valid model of Workspace.Vehicle_Spawner
HOLY, THANK YOU SO MUCH
How did you get it work For me i only get the Error ''Screen'' is not a Valid model of Workspace.Vehicle_Spawner
I decided this is a good tutorial then you said for other teams like oh heck ya, I was gonna search that next. Then you said how to lock it and man. Best tutorial included code I’ve ever seen.
How did you get it work For me i only get the Error ''Screen'' is not a Valid model of Workspace.Vehicle_Spawner
@@JustLeo94 I forgot to delete, I didn’t get it to work.
i have a problem, i did all the things and my spawner worked, but if i want the spawer to be on 8 different types off places, but then the gui doesnt open at all at 7 off them, the one i didnt copy only works, can u plsss help me
you earn a subscriber
Still works today. So rn I’m making a game with 3 ppl we just needed a car spawner and now to finish half are city and farms
How did you get it work For me i only get the Error ''Screen'' is not a Valid model of Workspace.Vehicle_Spawner
I did the whole thing and it didn't work but it think I messed something up
Found a bug , if u click the gui to spawn a car , you can click multiple times and it will spawn multiple cars , like a spam bug . How to fix ?
Nice! Ty Im maked Popular game 1M Vists Tysm For Help
OH MY GHSHNESS IT WORKD!11!1!1!!! TYSM
Yo
How did you get it work For me i only get the Error ''Screen'' is not a Valid model of Workspace.Vehicle_Spawner
How did you get it work For me i only get the Error ''Screen'' is not a Valid model of Workspace.Vehicle_Spawner@@virxuis2686
Tysm lol
How did you get it work For me i only get the Error ''Screen'' is not a Valid model of Workspace.Vehicle_Spawner
Nice video
Thank you so much i was confused at first because i clicked the x to close the scripts i didn't realis i delete all of them i need to redo this but that alright
i feel so stupid for doing that lol
Hey I just went to test it and the interact button isnt popping up can someone help me?
How to get into discord, when I click link it just sends me there not put me in a server (btw I’m on mobile)
THIS IS CLEAR AND IT ONLY HAS 3K VIEWS BRUH
THX!!
How did you get it work For me i only get the Error ''Screen'' is not a Valid model of Workspace.Vehicle_Spawner
10/10
The UIListLayout won't let me move the frame to the place that I want how do I fix that?
am i doing something wrong? because the gui doesnt pop up when i command it to
How do i get the menu up on the bottom left to edit the proximity
how do you add vehicle remover gui once you spawn the vehicle
long time no see virxuis!
What’s up!
anyone know how to fix when the gui wont close if you pick a vehicle
I can't get my button to work. To open the gui
how do i describe that feeling when this script that i just COPY PASTE step by step from the video
and nothin works
i downloaded i put every file in places and it dosent work i tried with mine is not can you help me
Can u do a tutorial that i have to buy the cars befor i can drive them and when i buyed it 1 time its allways free
the setup you have is different from mine. which one is that?
Dude sorry to say but this thing doesnt work, I build the spawner in an external RBS game and then I just uploaded it as a model in my inventory to transfer it to the other game, and I saved the game and went to test it out and it doesnt work. It worked perfectly fine in the other building game but when I saved and moved to my actual game now it doesnt work, please help...
@@nashclrk I literally copied every single thing that was there and just transferred it might be a model in the other game but I did virus removals and stuff nothings working 😭
why u can make it small and me there is a limit?....i mean its work but for scale its not the same..
I love you. Heart and soul
📮 sus
What is the backround music name?
my gui dosnt close and i dosnt let me ro open the spawner i need help
Tryed it with a Plane didnt work....
can you make a ani collide car script for this spawner?
I put the spawner in (From the discord server) did what it said and it didn't work
when i press frame i cant cstom it
The proximity prompt didn't show up for me.
Nvm I got it Thanks
when i click run it falls on the floor
i dont have e press to interact pls help
i tried via discord the spawner and the cars doesnt spawn
When i test it -, it doesnt works. Help me pls
question, why not just have the file on the TH-cam video description 💀 not everyone wants discord.
why did you assume I could customize a gui when i just learnt how to even make one, next time go through how to customize it and not just speed it up since i was having to go through the video and figure it out
Fun fact : it's still 2021 now
Fun fact : is 2022 and I’m watching l_.
@@futuredream1005 uh
2023
2023
2024
Can you make a video on how to make a car lock and no one can get in it
tried via discord doesnt work when i press E
Can you make it group only spawner?
Is it only me or the Discord link doesn't work?
i wish you could just give the code instead of watching pausing watching pausing over and over
Can you leave a new discord link? The other one doesn’t work.
how i cna add an another car?
Can you make a new Link? Its Invalid
the discord link is not working
I did the same but it don't works
my cars are not spawning
What about if you want 4 spawners because I got multiple teams
same, I also got multiple teams and I tried using the police spawner for my other teams but it won't work.
Repeat steps at 18:41 but instead of naming it to “PoliceVehicles” make a NEW folder with whatever name and make a NEW script with everything the same except the folder name inside the script , basically just do step 18:41 again but this time with all your other team’s information
Love your vids really help me out , I have been working on a realistic game for couple of months now, and I realized how much I still have to do and I am trying to find someone to help me , if you could please tell me how much you would charge.thank you.
What is it called? I would love to play it
How did you get it work For me i only get the Error ''Screen'' is not a Valid model of Workspace.Vehicle_Spawner
Make one with an button to open it and the button is on the screen and the player can use it everywhere
Im having issues with the ProximityPrompt not prompting in the proximity. Lol but actually its not appearing as a button to press.
Same
there isnt a offset or scale setting
Can some give me the model? Please and TYSM
To those trying to fix the issue of the GUI not disappearing there are two solutions;
1. (Guaranteed)
Step 1: Add a new TextButton as a child of "Frame"
Step 2: Make the background transparent and make the text "X".
Step 3: Add a LocalScript as a child of that newly created TextButton and paste the following;
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent:TweenPosition(UDim2.new(0.259, 0, 0, -5000, 0))
end)
Step 4: No matter how big your GUI is it will make it go poof, if you wanna tweak the number (-5000) to something lower to increase the smoothness you need to do so by trial and error.
Solution 2.
Step 1: Open all of your vehicle spawn button's LocalScripts
*Find* local CarName = script.Parent.Name
local SpawnCarEvent = game.ReplicatedStorage.Spawn_Events.SpawnCar
local DeleteCarEvent = game.ReplicatedStorage.Spawn_Events.DeleteCar
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
local CurrentCar = game.Workspace:FindFirstChild(player.Name .. 'sCar')
if not CurrentCar then
SpawnCarEvent :FireServer(CarName)
else
if player.Character.Humanoid.SeatPart ~= nil and player.Character.Humanoid.SeatPart:IsA("VehicleSeat") then
player.Character.Humanoid.Sit = false
end
wait(0.1)
DeleteCarEvent:FireServer(CurrentCar)
SpawnCarEvent:FireServer(CarName)
script.Parent.Parent.Parent.Parent:TweenPosition(UDim2.new(0.259, 0, 0, -1, 0))
end
end)
*Change to:*
local CarName = script.Parent.Name
local SpawnCarEvent = game.ReplicatedStorage.Spawn_Events.SpawnCar
local DeleteCarEvent = game.ReplicatedStorage.Spawn_Events.DeleteCar
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
local CurrentCar = game.Workspace:FindFirstChild(player.Name .. 'sCar')
if not CurrentCar then
SpawnCarEvent :FireServer(CarName)
else
if player.Character.Humanoid.SeatPart ~= nil and player.Character.Humanoid.SeatPart:IsA("VehicleSeat") then
player.Character.Humanoid.Sit = false
end
wait(0.1)
DeleteCarEvent:FireServer(CurrentCar)
SpawnCarEvent:FireServer(CarName)
script.Parent.Parent.Parent.Parent:TweenPosition(UDim2.new(0.259, 0, 0, -1000, 0))
end
end)
Step 2: Save changes and repeat to all of the vehicles.
Didnt work...
thank you
how to add car
Can you make an invisible wall for cars, but players can still walk through it?
An invisible wall?
@@virxuis2686 yes that only players can walk through but cars cant go through.
@@virxuis2686 i think he means like for a dealership Cant drive your car through the door but you can walk through it
put a NoCollision part in there watch a tutorial idk how to use it either and its done
@@mixmixton a NoCollision part?
Is there any way to make a button with which the window can be closed? since after a car appears the gui is not removed
happened to me too, at the last line under the car button spawn instead of ;
script.Parent.Parent.Parent.Parent:TweenPosition, do
script.Parent.Parent:TweenPosition...
(Only two parents)
Add a new TextButton as a child of "Frame" , Make the background transparent and make the text "X". Then Add a LocalScript as a child of that newly created TextButton and paste the following;
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent:TweenPosition(UDim2.new(0.259, 0, 0, -5000, 0))
end)
No matter how big your GUI is it will make it go poof, if you wanna tweak the number (-5000) to something lower to increase the smoothness you need to do so by trial and error.
@@Bobbyct good explanation 👍
@@Bobbyct Thanks for the answer, in fact if it is the way to fix the "error" although I had already found the way to do that a long time ago, I thank you bro, this can be of help to other people.
@@Macnificcarin1012 Yea mainly just put it for any new people coming to see this video
My spawner doenst stand still when i hit play pls help
You need to anchor it
Hey vir how do we make it for multiple team car spawners? I am confused
Repeat step 18:41 instead add your own cars, buttons, etc.
Thanks
@@virxuis2686 thanks also one one question when you join diff teams if other people have spawned a car in like pd team and I in civ does it despawn my car when they spawn theirs?
what if you want two civilian spawners ?
duplicate the entire video but with different names
Hey vir why does it despawn other cars in diff teams I want it to not despawn other peoples car when I spawn mine
Only your car will despawn
@@virxuis2686 oh
bro ion understand why u didnt let us copy the script its over 10 minutes worth of scripting? plus pausing and then typing
on 12:28 u misspelled character
Fun fact: its sti 2022 now
2023 now
Lmao erlc models nice
Update the discord link please
can i get the sky
20:07 bro just rewrote the same script
it didnt work :(
IM getting pissed off this bull crap does NOT work Please fix ive done anything the gui does not turn on
I SERIOUSLY DO NOT LIKE IT WHEN PEOPLE PURPOSELY DO THE WRONG THING AT ALL MAYBE TELL US WHEN YOUR DOING SOMRTHING
I COULD NOT EVEN KEAP UP WITH MAKING IT| F YOU MAKE A NEW ONE AND DONT SPEED IT UP
Can u make an video on how to make an Locker GUI?
Sure! I’ll try to record it today
@@virxuis2686 Thanks!
@@seckaaaaaaaaaaaaaaaaa a locker gui like Blythe chp? Where cadets have there uniform and officers have there’s?
@@Arkansas.Boxing some like that yes
Could you please put the model in the description I suck at copying
Read the description on how to get it
@@virxuis2686 oh yeah now I know
Its not working
doesn't work
Thanks bro just Released my new game DOJ:Sandy Shores Fine RP and i was useing freemodel car spawners and i need a gui u helped me our so much
Subbed and liked😀
Glad I could help
No way i play that game its really good
How did you get it work For me i only get the Error ''Screen'' is not a Valid model of Workspace.Vehicle_Spawner
how do you make a new part from a part 0:56
CTRL + D which duplicates a part
This was an amazing tutorial, but the most annoying thing... I made a mistake SOMEWHERE so when I try open the GUI as shown at 17:31, it doesn't open. The trigger to open it shows, but the actual GUI doesn't pop up.
same
He does respond to help us
It happend to me too
didnt work
that so fast i can t look
the GUI doesnt spawn when i click E
same
@@luukfunny959 dont try this one i used a kit i will give you the link and the video if i find it back
@@maximilien_dem ok thx
@@luukfunny959 follow this tutorial and i think he says how to change the cars: th-cam.com/video/RvnhAv2I9ns/w-d-xo.html