alvin is litterally the best at doing these tutorials. excactly what i was looking for! thanks so much bro your the best! edit: can you do a tutorial on how to make buttons for your game such as shop, trade ect
A month ago I could not write any logic code but after watching many of your videos I have enough knowledge to start programming on Roblox although I am still a beginner I am really grateful to you and I wish you success in your life
for anyone having issues with restricted place error code don't worry about it. When you make the game public it should work. Also, make sure that third-party teleports are enabled in the world security settings
Thank you your a life saver i barely knew how to make just a regular game and now i can make a story game? Im just so proud of myself thank you very much!
Sometimes you're games don't work for me, but I love how you explain everything so we can really understand what's going on. Instead of just "do what I do" I actually fine you're videos very educational and I learn something new every time. Keep up the great work💖
Thank you so much! Though I'm not making a story games, it was useful to learn a bit more about parts of the script! You explained it perfectly well, thank you!
@@gracexeditsyt It does you just need to learn bug fixing its pretty easy but annoying just open output it tells you what went wrong and what you need to change theres alot more to it like learning what it means but that might help with this tutorial.
You explain very well, I understood clearly what every line of code did. I also have some c++ experience and I think that also helped me but thanks for making these, please continue 👌
I ve seen lots of tutorials so far for creating multi place game and everyone was like create another map into the main game But No I want a whole different place but FINNALLY someone gave me that with such a simple explanation. You are my hero dude 🙏🗿
Wow! Thank you so much AlvinBlox. You earned a sub! This coding is the exact coding I was looking for. Again, Thanks for explaining and saving my life! :)
to be honest this is the 1st tutorial I've stayed through and actually followed, I really enjoyed it but anyways thanks Alvin... But I still don't understand everything ,so this is just a suggestion MAYBE you can start a coding boot camp like to teach people to be developers and how to make game and names for their games and icons for their games etc. But thats all thanks for the tutorial
@@Dogey_Dogger it hasn't come out sadly, but I am still working on it diligently. I've gone through a lot of phases in which I ultimately restarted because I didn't think what I wanted met the expectations I set for myself. I've played a lot of dungeon games, and I want to bring something new to the table, but also incorporates the best parts of other rpg styled games. with the version I am currently working on it seems very promising! Thank you.
how do u do that? and can u change how the truck looks? like instead of a truck u make it to a car instead will it still work the same way the truck does?
I basically learned coding Lua by watching short tutorials and try to understand the code. It took me 2 years to completely learn the code. I think that if watched otherwise AlvinBlox videos I'll take 3 months (sorry English isn't my native language :) )
The Code For The Doors: Script.Parent.Touched:connect(function)(hit) local plr = game.Players:GetPlayerFromCharacter(Hit.parent) if plr then --Find Seat for i, v in pairs(truckSeats) do if not v.Occupant then --Seat The Player In The Seat V:Sit(Plr. Character.Humanoid) plr.Character.Humanoid.JumpPower= 0 game.ReplicatedStorage.ShowExitGUI :FireClient(plr) break end end end end)
I like how he didn't just tell us to copy him and he actually explained it to us so we actually learned something most people just say "copy down this code" this guy actually thought us something
I have wanted to make a story game for sooo long and now I am reddy to learn so I am waching it now.Thanks Alvin so much I was able to make a few games very good games.With ur vids
Having a problem with disabling jumping whilst in the vehicle. Everything else in the DetectorScript works fine and even runs the line of code after the jumpforce one to display the exit ui. My character is still able to jump out of the seat and I have even tried using SetStateEnabled but that doesn't work either
Amazing tutorial! I love the work but my truck won’t come back and it still won’t teleport me. Is there something that you recommend me quadruple-checking to fix it?
I have a question. My truck does move when I play the game in roblox studio, but when I load up the game normally, the truck doesn’t move nor the sign. Is there something wrong with the script? Somebody please help.
My leave truck script isnt working, i have gone over the script over and over again retyping it and checking for errors but its just not working. but honestly, your vids and tutorial are ace! keep up the work
did you put the script in serverscriptservice and type this exactly game.ReplicatedStorage.LeaveTruck.OnServerEvent:Connect(function(player) if player then player:LoadCharacter() end end)
I tried using tweenservice to move the truck (as it seemed really jumpy in the game), but it would only move the Hitbox part (it is listed as the primary part). Does anyone know how to move a model using tweenservice? Update: I ended up finding a script called "TweenModelScript" (by crabbyninja) that did what I needed, in case anyone else ran into this).
I have had the same problem for a while i copied out everything correctly and the truck goes into the darkness and doesn't teleport me and doesn't go back. Anyone got any tips to help me?
Alvin, Thank you for this tutorial but I am having a hard time, when I join I instantly get flinged even tho there is a spawn point, so I am hoping for some tips on how to make spawn point work, Thank you.
Hey Alvin! Thanks for the tutorial. I just have one issue with the script. I copied my script exactly as you did. However, the Output keeps saying HTTP 403 (Forbidden) then it doesnt teleport me to my game. Do you know how to fix this? Thanks!
I am not complaining when I comment this: So, I did everything correctly, and I double checked, but when I click the 'Leave' button, my player wont get out of the seat and respawn. It would let me jump, but as soon as I touched the invisible wall, I got set back.
@@RobIoxianNoob did you put in a script called LeaveTruck and type game.ReplicatedStorage.LeaveTruck.OnServerEvent:Connect(function(player) if player then player:LoadCharacter() end end)
I made it through the teleport without third-party teleports. It gives you the HTTP 403 (Forbidden) because you cant teleport places in Roblox Studio. Once you use Roblox Player, It works fine.
omg thank u so much alvin, i was trying to make a story game and nothing worked and my spawn was trash but now its much easier for me! edit: it doesnt teleport me, even tho i checked alot of times and nothing was wrong, and the trucks wouldnt go back too. oof
This was absolutely amazing as somebody who has never tried to code or make a game before but always wanted to, but when I was done published it and tried to test it, it wouldn’t teleport me to the “story place”
I subscribed because hes not forcing you to subscribe like those other youtubers who are like "OH AND MAKE SURE TO SUB ILL REALLY LIKE IT" Same with patreon trailer so i support you a lot and i hope your vids are sucsessful
thank you alvinblox this has been very helpful to me. you are helping me achieve my dreams. the first creation I did with your videos is a loading screen
I realized you need to add a part. Make that part cover the spawn area. The transperency should be 1 and canCollide = false. Then, put the following script in it: while true do local function onTouch(Player) local LeaveGUI = game.StarterGui.ExitGUI.ExitBtn.Visible LeaveGUI = false end end script.parent.Touched:Connect(onTouch)
ok, but, everytime I got on the left truck, it went into the darkness and then didn't do anything, it didn't even go to the new place. So if you can, I'm kind of confused on how to fix this
PART 2: th-cam.com/video/emT-N_1gkAE/w-d-xo.html
cool im waiting
thx
Yay
@Marker Try debug it
@Whatson i can help you
alvin is litterally the best at doing these tutorials. excactly what i was looking for! thanks so much bro your the best!
edit: can you do a tutorial on how to make buttons for your game such as shop, trade ect
A month ago I could not write any logic code but after watching many of your videos I have enough knowledge to start programming on Roblox although I am still a beginner I am really grateful to you and I wish you success in your life
Bc of his sword fight tutorial I’ve become a lot better at scripting
Im a beginner as well
I learned the same way :)
Smae
After seeing these comments, I decided to learn from AlvinBlox, hope I can make my own One Piece game
@@Quack2128 cool
for anyone having issues with restricted place error code don't worry about it. When you make the game public it should work. Also, make sure that third-party teleports are enabled in the world security settings
it says it cant save
@@CosmicGalaxyYT wdym "save it"
@@blueparagongamer9498 nvm i fixed it
it still doesn't work, I cant believe how incredibly difficult it is to just teleport players from start place to another place within the same game!
I made both places public and third party teleports are on, whay should I do?
It's really generous from you to try help us in this hard time to make a game nice work alvinBlox
Thank you your a life saver i barely knew how to make just a regular game and now i can make a story game? Im just so proud of myself thank you very much!
How did u fix the restricted place error code?
Sometimes you're games don't work for me, but I love how you explain everything so we can really understand what's going on. Instead of just "do what I do" I actually fine you're videos very educational and I learn something new every time. Keep up the great work💖
if the games don't work check the output btw
The only working tut for story games. So happy you made one
Thank you alvinblox! I now know how to teleport people to a server where only they can be in.
This is what I call a W youtuber
Hi, I'm from Russia, and I would like to say, thank you more!! you have the best tutorials all over TH-cam ❤ ❤
Thanks!
@@AlvinBlox I’m a big fan your the reason I try to make roblox games
Я тоже
This thing really helped me out 😲 please continue your work! :)
Thank you so much! Though I'm not making a story games, it was useful to learn a bit more about parts of the script! You explained it perfectly well, thank you!
No it wasn't it didn't work.
@@gracexeditsyt user error
@@gracexeditsyt It does you just need to learn bug fixing its pretty easy but annoying just open output it tells you what went wrong and what you need to change theres alot more to it like learning what it means but that might help with this tutorial.
@@beanbagblast9295 garce i think you did a mistake like not putting some scripts or more
@@Blu31914 *@G A R C E
Hi AlvinBlox, your tutorials really makes me a pro at roblox studio
Thank you so much for this alvin, you have helped me learn to develop and I am really really grateful you are on this platform!
simply a goated creator, its me and my friends first proper roblox game and this is a crazy good tutorial and is very underrated
After only 2 days of watching these amazing videos, I understand a lot of the scripting
Thanks Alvin your the best
you get a sub cuz of the kit, W vid.
You explain very well, I understood clearly what every line of code did. I also have some c++ experience and I think that also helped me but thanks for making these, please continue 👌
yeah he explain a lot, u could understand it even if u don't know any programming language Like me
@@blackshadowsis That's very true
I disagree, I don't understand how to make this game work for me
I ve seen lots of tutorials so far for creating multi place game and everyone was like create another map into the main game But No I want a whole different place but FINNALLY someone gave me that with such a simple explanation. You are my hero dude 🙏🗿
Wow! Thank you so much AlvinBlox. You earned a sub! This coding is the exact coding I was looking for. Again, Thanks for explaining and saving my life!
:)
he is a lifesaver FR
to be honest this is the 1st tutorial I've stayed through and actually followed, I really enjoyed it but anyways thanks Alvin... But I still don't understand everything ,so this is just a suggestion MAYBE you can start a coding boot camp like to teach people to be developers and how to make game and names for their games and icons for their games etc. But thats all thanks for the tutorial
your tutorial is amazing! you are very good at explaining and my game works really good! thanks Alvin.
edit: time thing: 23:00
Thanks for adding the basics for us it really helps :)
ngl best tutorial i have ever seen
Wow, now I can invite everyone to play with my friends, thx so much!
@Raynor was a re-upload I’m pretty sure
Heyy, Explanation is on point!
thank you for this tutorial! i'm making a dungeon game and i needed to use the privateserver teleportscript, thanks!
did it ever come out???
@@Dogey_Dogger it hasn't come out sadly, but I am still working on it diligently. I've gone through a lot of phases in which I ultimately restarted because I didn't think what I wanted met the expectations I set for myself. I've played a lot of dungeon games, and I want to bring something new to the table, but also incorporates the best parts of other rpg styled games.
with the version I am currently working on it seems very promising! Thank you.
THANK YOU SO MUCH THIS GUY DESERVES WAY MORE SUBS. HE SPENT SO MANY TIMES ON THESE TUTORIALS AND ALL OF THEM WORK OMG.
everything worked as it should. thanks for the amazing tutorial. now i will just make the lobby not look boring
how do u do that? and can u change how the truck looks? like instead of a truck u make it to a car instead will it still work the same way the truck does?
@@kaylielena8226 I've got the same question but I think yes if you change the script
yo i have a question do u place spaces before and after =
i think it good why do you need to add more stuff?
Perfect Job at explaining ;)
I basically learned coding Lua by watching short tutorials and try to understand the code. It took me 2 years to completely learn the code.
I think that if watched otherwise AlvinBlox videos I'll take 3 months
(sorry English isn't my native language :) )
i learned code by just doing it
I like alvin, because instead of just explaining what the code says, he explains what the code IS and DOES. It helps us to understand and learn.
thats right!
Unlike other devs out there (*cough cough* coolcapidog *cough cough*
Yeah, I learned a little bit of him... He's cool!
@@avyukth3727 Yeah, kinda...
The Code For The Doors: Script.Parent.Touched:connect(function)(hit)
local plr = game.Players:GetPlayerFromCharacter(Hit.parent)
if plr then
--Find Seat
for i, v in pairs(truckSeats) do
if not v.Occupant then
--Seat The Player In The Seat
V:Sit(Plr. Character.Humanoid)
plr.Character.Humanoid.JumpPower= 0
game.ReplicatedStorage.ShowExitGUI :FireClient(plr)
break
end
end
end
end)
thx
Thx i know im late saying that btw
Very Helpful , I liked and subscribed! :)
I like how he didn't just tell us to copy him and he actually explained it to us so we actually learned something most people just say "copy down this code" this guy actually thought us something
This guy’s tutorials are the best 10/10 would recommend
how did u fix the restricted error code?
Thanks i'am almost done with my game! i tested everything and it works just fine just need to make the lobby look less boring!
ooo I wanna play let me know when its done!!
@@ItsZeebee it isnt done yet lol
@@WhiteEdges0 oh!
This really helped me make my game tysmm subscribed
I like how he doesn't say oh I put this script in so it can work. He actually explains the scripts and what they do line by line
alvin you are the best one moth before i dont now anything of script and i see you and now i can do games professionals
i want those cheap cringe story games tho
@@msimetal but why
But why
@@johnbloxxyt wassuppppp
I think cuz it's hard
your vireo is veui cuul (your video is very cool)
I've always wanted to make a real story game. Thank you, Alvinblox
Thank you for making a kit, it is very helpful. I am really bad at scripting so it is nice to not have to do as much
same
this was so help full keep up the good work
Quick question, how do we prevent the truck from moving backwards?
I love how you dont only develop but also teaches. Love you sir❤
22:32 My favorite part 😂!
ahaha preverse mind
Me to!
I have wanted to make a story game for sooo long and now I am reddy to learn so I am waching it now.Thanks Alvin so much I was able to make a few games very good games.With ur vids
Having a problem with disabling jumping whilst in the vehicle. Everything else in the DetectorScript works fine and even runs the line of code after the jumpforce one to display the exit ui. My character is still able to jump out of the seat and I have even tried using SetStateEnabled but that doesn't work either
Found the issue. In the Game Settings the World was set to use jump height instead of jump force
@Furious Creator I know. I said force because that's what it's listed as in the studio game settings
@@Happyhenzo ohhh
@@Happyhenzo how do I fix it? To go to game settings cus I can still jump
@@Happyhenzo nvm found it
This guy making the best yt teaching making story map ever
Perfect timing, I needed to know how to do this, at this very EXACT moment when roblox is offline. lol
This is what i am looking for. Thank you dude!
Amazing tutorial! I love the work but my truck won’t come back and it still won’t teleport me. Is there something that you recommend me quadruple-checking to fix it?
That's happening to me as well
I have a question. My truck does move when I play the game in roblox studio, but when I load up the game normally, the truck doesn’t move nor the sign. Is there something wrong with the script? Somebody please help.
Thx so much for this you really deserve 1m subs!
My leave truck script isnt working, i have gone over the script over and over again retyping it and checking for errors but its just not working. but honestly, your vids and tutorial are ace! keep up the work
Maybe check if there upper case or lower case
did you put the script in serverscriptservice and type this exactly
game.ReplicatedStorage.LeaveTruck.OnServerEvent:Connect(function(player)
if player then
player:LoadCharacter()
end
end)
thanks for the helpp i thought i need to put . at the if player then @@11fromheaven11
This has worked so well! It came out great, and I am so happy!!
Whats the name of your game?
I tried using tweenservice to move the truck (as it seemed really jumpy in the game), but it would only move the Hitbox part (it is listed as the primary part). Does anyone know how to move a model using tweenservice?
Update: I ended up finding a script called "TweenModelScript" (by crabbyninja) that did what I needed, in case anyone else ran into this).
Even though it's 34 mins, I will never stop watching his amazing work.
Error Attempted to teleport to a place that is restricted. (Error Code: 773)
Publish both games
Yep
Publish them
Publish 2 games and enable studio api and 3 teleports
That’s Because You Need To Publish Both Games
This is so helpful tx I love you video
I have had the same problem for a while i copied out everything correctly and the truck goes into the darkness and doesn't teleport me and doesn't go back. Anyone got any tips to help me?
I am trying to do a Roblox game for 1 year but this is the best tutorial that I wached.
Alvin, Thank you for this tutorial but I am having a hard time, when I join I instantly get flinged even tho there is a spawn point, so I am hoping for some tips on how to make spawn point work, Thank you.
is your spawn point anchoured
Why so much begginers JUST FRICKIN ANCHOR THE BASEPLATE
@@noshinjawad8868 FR
i don’t understand anything because I’m too young to create games but now i know what to do thank you alvin block (I’m new here sorry 😅)
Hey Alvin!
Thanks for the tutorial. I just have one issue with the script. I copied my script exactly as you did. However, the Output keeps saying HTTP 403 (Forbidden) then it doesnt teleport me to my game. Do you know how to fix this? Thanks!
go into game settings and click security and turn on HTTP requests
Game settings in the home tab > security > HTTP requests as Jiffy said. You're welcome!
@@AlvinBlox My truck doesn't come back as it should. and teleport me. Can you help? Thanks!
@@AlvinBlox it still doesn't work... i dont know what to do
@@DW-fz1lm i have the same problem
Wow! You are the best lua teacher!!!
this man started me scripting and now I work for the Adopt Me team thanks alot
We all know thats cap
Thanks Alvin! I’m gonna try to be a successful developer, I’ll start by watching these!
I am not complaining when I comment this: So, I did everything correctly, and I double checked, but when I click the 'Leave' button, my player wont get out of the seat and respawn. It would let me jump, but as soon as I touched the invisible wall, I got set back.
@Midnightplayz same do u know how to fix it?
@@RobIoxianNoob did you put in a script called LeaveTruck and type
game.ReplicatedStorage.LeaveTruck.OnServerEvent:Connect(function(player)
if player then
player:LoadCharacter()
end
end)
Thank you so much man! I've really wanted to make a story game for a while now, and this really helped! Thx
I made it through the teleport without third-party teleports. It gives you the HTTP 403 (Forbidden) because you cant teleport places in Roblox Studio. Once you use Roblox Player, It works fine.
It’s good that your giving everyone a chance to script even me I am grateful for what your doing
THANK YOU HELPPED SO MUCH FOR MY HORROR GAME!!!!!!!
thanks for the explaining im starting to build my own story game maybe it will be populair
Thank you alvin! I honestly think I am going to be a good scripter with your videos, YOUR SO SIMPLE! tysm!
My question is the how did you put the arrow please someone explain I’ve been stuck on the part for days
omg thank u so much alvin, i was trying to make a story game and nothing worked and my spawn was trash but now its much easier for me!
edit: it doesnt teleport me, even tho i checked alot of times and nothing was wrong, and the trucks wouldnt go back too. oof
thankyou so mucch i very liked now im gonna make story game
This was absolutely amazing as somebody who has never tried to code or make a game before but always wanted to, but when I was done published it and tried to test it, it wouldn’t teleport me to the “story place”
Thank you so much for this tutorial! Im trying to make some stuff for my friends and this will help a lot!
This actually worked! Thank you.
Thank you so much for helping us code our own roblox games we all appreciate it
I subscribed because hes not forcing you to subscribe like those other youtubers who are like "OH AND MAKE SURE TO SUB ILL REALLY LIKE IT" Same with patreon trailer so i support you a lot and i hope your vids are sucsessful
cool skills bro!
Thanks, good explanation. Ill try to do something.
thank you alvinblox this has been very helpful to me. you are helping me achieve my dreams. the first creation I did with your videos is a loading screen
Tysm!!Your videos are very helpful!
hhow did u fix the restricted error code?
Cool!
Everyone check that the vehicle script is put in both "truck" !
This does work! Thank you AlvinBlox
I realized you need to add a part. Make that part cover the spawn area. The transperency should be 1 and canCollide = false. Then, put the following script in it:
while true do
local function onTouch(Player)
local LeaveGUI = game.StarterGui.ExitGUI.ExitBtn.Visible
LeaveGUI = false
end
end
script.parent.Touched:Connect(onTouch)
ty-bro!
u-got-a-like
I do not understand?
@@Keesh43 noob
You just changes my life 😅😇
ok, but, everytime I got on the left truck, it went into the darkness and then didn't do anything, it didn't even go to the new place. So if you can, I'm kind of confused on how to fix this
I made games by my self but they were terrible so when I did this it was SO helpful subscribing rn
I just saw this video it is amazing
I love roblox but I don’t know how to code with Lua and I have roblox studio. You have been helping me.
I LOVE your voice-
انا عربي ولاكن انت روعه وتستحق كل شئ I am an Arab, but you are amazing and you deserve everything