How To Make An Elevator Game In Roblox Studio (Part 1)

  Рет қаралды 5,243

Unioned Spider

Unioned Spider

Күн бұрын

Пікірлер: 57
@unionedspider
@unionedspider 6 ай бұрын
Because of this error: devforum.roblox.com/t/package-distribution-through-configuration-issue/2997619 I am unable to upload the elevator model to Roblox Instead you will have to download the elevator file from my google drive: drive.google.com/file/d/1cSvrrikR-gJJHzRWsz9LoABek_IfKDBm/view?usp=drive_link with Roblox studio open, drag and drop the elevator file that you downloaded with file explorer into studio and it should insert it into the game.
@Yokedici
@Yokedici 5 ай бұрын
i prefer you pin this
@unionedspider
@unionedspider 5 ай бұрын
@@Yokedici I would if it let me Edit: it let me pin it now
@Yokedici
@Yokedici 5 ай бұрын
@@unionedspider oh ok
@BosusboGambling
@BosusboGambling 2 ай бұрын
Export it and put it in your discord so people can join your server + u can distribute the model!
@xzia_xd
@xzia_xd 2 ай бұрын
THANK YOU! I SUB. I've finished my game just worked until 21 hours!
@Jellytree1278
@Jellytree1278 5 ай бұрын
This is amazing, I've been searching for tutorials but there all usually 2-4 years old so thanks for making a new tutorial! 👍
@MappingGeneral5800
@MappingGeneral5800 6 ай бұрын
Hey, This is actually pretty good! you should keep going, this is very underrated, thank you kind sir.
@unionedspider
@unionedspider 6 ай бұрын
Appreciate it
@darkgabumon
@darkgabumon 5 ай бұрын
really good tutorial, I was trying to make an elevator system but it was too hard coded, the code is a bit complex for me as a beginner but its very useful seeing how other people do it. Thanks boss.
@unionedspider
@unionedspider 4 ай бұрын
If you need any help getting your elevator game to work, or wanna join my community you can join my discord. discord.com/invite/AsgnrmdRCX
@C2r0lin3-m2k
@C2r0lin3-m2k 3 ай бұрын
It's invaild:C Please update the link and post a more recent one
@unionedspider
@unionedspider 3 ай бұрын
@@C2r0lin3-m2k Updated
@C2r0lin3-m2k
@C2r0lin3-m2k 3 ай бұрын
@@unionedspider thanks!
@mysteriousbacon_
@mysteriousbacon_ 2 ай бұрын
My doors wont open. im not sure if i did anything wrong but i used my own model so i probably messed up on that
@TheHazardParadox_YT
@TheHazardParadox_YT 6 ай бұрын
thx this really helped with my new game, please make a part 2
@azureglitchy
@azureglitchy 3 ай бұрын
bro this tutorial is so helpful tysm
@wholetthisguyontheinternet
@wholetthisguyontheinternet Ай бұрын
in case you're lazy like me, heres the whole copy and paste (something MIGHT be wrong tho) -- VARIABLES -- local MainInfo = game.ServerStorage:WaitForChild("Info") local CurrentFloor = MainInfo.CurrentFloor.Value local ServerFloorCount = MainInfo.ServerFloorCount.Value local Elevator = game.Workspace:WaitForChild("Elevator") local MainDoor = Elevator.Door.MainDoor local Door1 = Elevator.Door.RightDoor local Door2 = Elevator.Door.LeftDoor local TweenService = game.GetService("TweenService") local InitialPosition1 = Door1.Position local InitialPosition2 = Door2.Position local TargetPosition1 = InitialPosition1 + Vector3.new(0, 0, -3.2) local TargetPosition2 = InitialPosition2 - Vector3.new(0, 0, -3.2) local Duration = 1.5 local EasingStyle = Enum.EasingStyle.Sine local EasingDirection = Enum.EasingDirection.Out local Tween1 = TweenService:Create( Door1, TweenInfo.new(Duration,EasingStyle,EasingDirection), {Position = TargetPosition1} ) local Tween2 = TweenService:Create( Door2, TweenInfo.new(Duration,EasingStyle,EasingDirection), {Position = TargetPosition2} ) local TweenBack1 = TweenService:Create( Door1, TweenInfo.new(Duration,EasingStyle,EasingDirection), {Position = InitialPosition1Position1} ) local TweenBack2 = TweenService:Create( Door2, TweenInfo.new(Duration,EasingStyle,EasingDirection), {Position = InitialPosition1Position2} ) -- VALUES -- floors = {"Platform"} CountDownTime = 15 items = {} waitlist = {} -- FLOOR SCRIPTS -- local function FloorPlatform() local floor = game.Workspace:WaitForChild("Platform") MainDoor.CanCollide = false wait(15) floor.Part.Transparency = 0.5 wait(15) end -- ELEVATOR SYSTEM -- for i=1, #floors do local item = game.ServerStorage.Floors:FindFirstChild(floors[i] if item ~= nil then item.Parent = nil table.insert(items, item) table.insert(waitlist, item) else print("Error:", floors[i], "was not found.") end end function ChooseFloor() local NewFloor = table.remove(waitlist, 1) table.insert(waitlist, NewFloor) CurrentFloor = NewFloor return NewFloor end while true do local Map = ChooseFloor():clone() wait(CountDownTime) Map.Parent = Game.Workspace ServerFloorCount += 1 MainDoor.Bell:Play() wait(0.5) MainDoor.Open:Play() Tween1:Play() Tween2:Play() if CurrentFloor.Name == "Platform" then FloorPlatform() else end MainDoor.CanCollide = true MainDoor.Open:Play() TweenBack1:Play() TweenBack2:Play() wait(5) Map:Destroy() end
@tomato.69.
@tomato.69. Ай бұрын
tomato (thanks spamton)
@thenyancatcookie
@thenyancatcookie 5 ай бұрын
super helpful tutorial thanks bro
@lautystudiosprod311
@lautystudiosprod311 Ай бұрын
Thanks! Also, no offense but why do you sound like Zach Preciado (from ZAMination) if he smoked weed a thousand times?
@unionedspider
@unionedspider Ай бұрын
No idea but I usually record these tutorials at night so I have to lower my voice a bit so I don't get yelled at and it might make it sound a bit obnoxious
@lautystudiosprod311
@lautystudiosprod311 Ай бұрын
@@unionedspider Oh, okay then.
@swirvn
@swirvn Ай бұрын
I been working on one but its kinda boring to code alone, anyone wanna do it together?
@BMP-3.0
@BMP-3.0 Ай бұрын
I imported the model but it imported with the walls invisible. They're there and they have collisions, but they're not showing. How do I fix this?
@unionedspider
@unionedspider Ай бұрын
@@BMP-3.0 I would relaunch Roblox studio if you haven't already
@Aus1_.
@Aus1_. 3 ай бұрын
Can i customize the elevator?
@unionedspider
@unionedspider 2 ай бұрын
@@Aus1_. Yes
@kohlevs
@kohlevs 5 ай бұрын
For some reason my doors will open but will not close, my script is identical.
@unionedspider
@unionedspider 5 ай бұрын
are you using your own elevator model or mine
@kohlevs
@kohlevs 5 ай бұрын
@@unionedspider My own, but I got it to work, thanks!
@unionedspider
@unionedspider 5 ай бұрын
@@kohlevs Good job
@TheRealTydroid
@TheRealTydroid 5 ай бұрын
uhh so for the tweening service part it breaks my code + i cant acsess the model
@unionedspider
@unionedspider 5 ай бұрын
My bad I'll fix the model soon, what error did you get in the output?
@TheRealTydroid
@TheRealTydroid 5 ай бұрын
@@unionedspider uhh I forgot but It had something to do with the door tweeting also a question for the future parts: will there be a lobby and NPCs tutorial?
@unionedspider
@unionedspider 5 ай бұрын
@@TheRealTydroid Yeah there will I'm gonna upload part 2 soon
@TheRealTydroid
@TheRealTydroid 5 ай бұрын
@@unionedspider uhh when the models avaible should I copy the tween part of the code to see if that works?
@TheRealTydroid
@TheRealTydroid 5 ай бұрын
@@unionedspider I found the error: ServerScriptService.ElevatorScript:48: Expected ')' (to close '(' at line 38), got 'floors' + the Tweens wont work, do i have to use your elevator?
@PotoVR
@PotoVR 5 ай бұрын
can you paste the script down i only have 100 lines and i already gave up
@unionedspider
@unionedspider 5 ай бұрын
I'll probably paste it in the future
@C2r0lin3-m2k
@C2r0lin3-m2k 3 ай бұрын
@@unionedspider when
@wholetthisguyontheinternet
@wholetthisguyontheinternet Ай бұрын
-- VARIABLES -- local MainInfo = game.ServerStorage:WaitForChild("Info") local CurrentFloor = MainInfo.CurrentFloor.Value local ServerFloorCount = MainInfo.ServerFloorCount.Value local Elevator = game.Workspace:WaitForChild("Elevator") local MainDoor = Elevator.Door.MainDoor local Door1 = Elevator.Door.RightDoor local Door2 = Elevator.Door.LeftDoor local TweenService = game.GetService("TweenService") local InitialPosition1 = Door1.Position local InitialPosition2 = Door2.Position local TargetPosition1 = InitialPosition1 + Vector3.new(0, 0, -3.2) local TargetPosition2 = InitialPosition2 - Vector3.new(0, 0, -3.2) local Duration = 1.5 local EasingStyle = Enum.EasingStyle.Sine local EasingDirection = Enum.EasingDirection.Out local Tween1 = TweenService:Create( Door1, TweenInfo.new(Duration,EasingStyle,EasingDirection), {Position = TargetPosition1} ) local Tween2 = TweenService:Create( Door2, TweenInfo.new(Duration,EasingStyle,EasingDirection), {Position = TargetPosition2} ) local TweenBack1 = TweenService:Create( Door1, TweenInfo.new(Duration,EasingStyle,EasingDirection), {Position = InitialPosition1Position1} ) local TweenBack2 = TweenService:Create( Door2, TweenInfo.new(Duration,EasingStyle,EasingDirection), {Position = InitialPosition1Position2} ) -- VALUES -- floors = {"Platform"} CountDownTime = 15 items = {} waitlist = {} -- FLOOR SCRIPTS -- local function FloorPlatform() local floor = game.Workspace:WaitForChild("Platform") MainDoor.CanCollide = false wait(15) floor.Part.Transparency = 0.5 wait(15) end -- ELEVATOR SYSTEM -- for i=1, #floors do local item = game.ServerStorage.Floors:FindFirstChild(floors[i] if item ~= nil then item.Parent = nil table.insert(items, item) table.insert(waitlist, item) else print("Error:", floors[i], "was not found.") end end function ChooseFloor() local NewFloor = table.remove(waitlist, 1) table.insert(waitlist, NewFloor) CurrentFloor = NewFloor return NewFloor end while true do local Map = ChooseFloor():clone() wait(CountDownTime) Map.Parent = Game.Workspace ServerFloorCount += 1 MainDoor.Bell:Play() wait(0.5) MainDoor.Open:Play() Tween1:Play() Tween2:Play() if CurrentFloor.Name == "Platform" then FloorPlatform() else end MainDoor.CanCollide = true MainDoor.Open:Play() TweenBack1:Play() TweenBack2:Play() wait(5) Map:Destroy() end there MIGHT be something wrong in here since my doors didnt open
@theunderhang
@theunderhang 4 ай бұрын
can you paste the script somewhere? i think i’ve made a mistake somewhere and don’t know how to check
@unionedspider
@unionedspider 4 ай бұрын
I'll make all of the scripts public when the tutorial series is over, but if you want you can paste your code in my discord server and I can help
@wholetthisguyontheinternet
@wholetthisguyontheinternet Ай бұрын
-- VARIABLES -- local MainInfo = game.ServerStorage:WaitForChild("Info") local CurrentFloor = MainInfo.CurrentFloor.Value local ServerFloorCount = MainInfo.ServerFloorCount.Value local Elevator = game.Workspace:WaitForChild("Elevator") local MainDoor = Elevator.Door.MainDoor local Door1 = Elevator.Door.RightDoor local Door2 = Elevator.Door.LeftDoor local TweenService = game.GetService("TweenService") local InitialPosition1 = Door1.Position local InitialPosition2 = Door2.Position local TargetPosition1 = InitialPosition1 + Vector3.new(0, 0, -3.2) local TargetPosition2 = InitialPosition2 - Vector3.new(0, 0, -3.2) local Duration = 1.5 local EasingStyle = Enum.EasingStyle.Sine local EasingDirection = Enum.EasingDirection.Out local Tween1 = TweenService:Create( Door1, TweenInfo.new(Duration,EasingStyle,EasingDirection), {Position = TargetPosition1} ) local Tween2 = TweenService:Create( Door2, TweenInfo.new(Duration,EasingStyle,EasingDirection), {Position = TargetPosition2} ) local TweenBack1 = TweenService:Create( Door1, TweenInfo.new(Duration,EasingStyle,EasingDirection), {Position = InitialPosition1Position1} ) local TweenBack2 = TweenService:Create( Door2, TweenInfo.new(Duration,EasingStyle,EasingDirection), {Position = InitialPosition1Position2} ) -- VALUES -- floors = {"Platform"} CountDownTime = 15 items = {} waitlist = {} -- FLOOR SCRIPTS -- local function FloorPlatform() local floor = game.Workspace:WaitForChild("Platform") MainDoor.CanCollide = false wait(15) floor.Part.Transparency = 0.5 wait(15) end -- ELEVATOR SYSTEM -- for i=1, #floors do local item = game.ServerStorage.Floors:FindFirstChild(floors[i] if item ~= nil then item.Parent = nil table.insert(items, item) table.insert(waitlist, item) else print("Error:", floors[i], "was not found.") end end function ChooseFloor() local NewFloor = table.remove(waitlist, 1) table.insert(waitlist, NewFloor) CurrentFloor = NewFloor return NewFloor end while true do local Map = ChooseFloor():clone() wait(CountDownTime) Map.Parent = Game.Workspace ServerFloorCount += 1 MainDoor.Bell:Play() wait(0.5) MainDoor.Open:Play() Tween1:Play() Tween2:Play() if CurrentFloor.Name == "Platform" then FloorPlatform() else end MainDoor.CanCollide = true MainDoor.Open:Play() TweenBack1:Play() TweenBack2:Play() wait(5) Map:Destroy() end there MIGHT be something wrong in here since my elevator door doesnt open
@PotoVR
@PotoVR 5 ай бұрын
regretevator not normal elevator tho
@theunderhang
@theunderhang 4 ай бұрын
you don’t know what normal elevator is?
@PotoVR
@PotoVR 4 ай бұрын
@@theunderhang i do
@RehanPoil2
@RehanPoil2 5 ай бұрын
Hey @unionedspider
@unionedspider
@unionedspider 5 ай бұрын
Hi
@RehanPoil2
@RehanPoil2 5 ай бұрын
Are you going to make a normal elevator part 2 tomorrow
@unionedspider
@unionedspider 5 ай бұрын
​​@@RehanPoil2I'm gonna make it soon 👍
@RehanPoil2
@RehanPoil2 5 ай бұрын
Ok
How To Make An Elevator Game In Roblox Studio (Part 2)
42:37
Unioned Spider
Рет қаралды 2,2 М.
Classic Roblox Games: How Are They Doing?
17:09
Chappy
Рет қаралды 440 М.
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 9 МЛН
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 6 МЛН
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 260 МЛН
I Learned How to SCRIPT in 7 Days | Roblox
11:00
Simjet
Рет қаралды 131 М.
How to make a normal elevator part 1
6:46
ExcitedGamer42
Рет қаралды 3,5 М.
What Is The Best AI For Roblox Studio Scripting?
10:42
RoDev
Рет қаралды 468 М.
Twisted Funny moment
2:29
aviation.guy04
Рет қаралды 10 М.
Roblox Debugging (done efficiently)
19:29
ByteBlox
Рет қаралды 11 М.
Tutorial on how to make an elevator game in Roblox studio
11:48
Top 10 Favourite Epic Minigames 2021
21:53
Baneworth
Рет қаралды 46 М.
How To Make MULTI-TOOL!
16:10
ebola man
Рет қаралды 157 М.
Making Smooth Bézier Curves | Roblox Studio
13:16
Stewiepfing
Рет қаралды 2,2 М.
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33