@@Jappley Fr same goes with modeling I made a whole humanoid character but I'm over here struggling to make a star?? A STAR?? And I've been scripting for like a year but couldn't do this
If you do not want to write all of the script i have script 1 here: local Status = game.ReplicatedStorage:WaitForChild("Status") local Label = script.Parent:WaitForChild("TextLabel") Status:GetPropertyChangedSignal("Value"):Connect(function() Label.Text = Status.Value end) And Script here: -- Variables local Lobby = game.Workspace.Lobby local Maps = game.ReplicatedStorage.Maps:GetChildren() local Status = game.ReplicatedStorage.Status -- Game Loop while true do
--Intermission
for i = 10, 0, -1 do Status.Value = "Intermission: "..i task.wait(1) end -- Map Selecter local ChosenMap = Maps[math.random(1, #Maps)] local ClonedMap = ChosenMap:Clone() ClonedMap.Parent = game.Workspace Status.Value = "Map: "..ClonedMap.Name
task.wait(1)
-- Teleport to map
for i, Player in pairs(game.Players:GetPlayers()) do
local Character = Player.Character
if Character then
local HumanoidRootPart = Character.HumanoidRootPart
HumanoidRootPart.CFrame = ClonedMap.TeleportPoint.CFrame end end
-- Game Time
for i = 10, 0, -1 do Status.Value = "Game: "..i task.Wait(1) end
for i, Player in pairs(game.Players:GetPlayers()) do local Character = Player.Character if Character then local HumanoidRootPart = Character.HumanoidRootPart HumanoidRootPart.CFrame = Lobby.TeleportPoint.CFrame
This tutorial was very short and it worked! Usually the scripts I watch do not work so I was very happy and thankful! Thank you for a short and simple video that works very well!
The people that are struggling, this script DOES WORK. The problem with this video is that he does not talk about ALL components. For example, there are some properties that must be ENABLED for this script to work. SOME OF THESE PROPERTIES ARE NOT MENTIONED (but displayed on the screen) THROUGH THE VIDEO. PAY ATTENTION TO EVERY SINGLE DETAIL ON HIS SCREEN. When he zooms in on properties MAKE SURE EVERYTHING IS RIGHT! When I first tried this I just skipped to the important parts and copied the script. DO NOT DO THAT. Watch the whole video and verify that everything is right. he may have enabled some properties that he didn't mention that are useful to making this.
first script: local Status = game.ReplicatedStorage:WaitForChild("Status") local label = script.Parent:WaitForChild("TextLabel") Status:GetPropertyChangedSignal("Value"):Connect(function() Label.Text = Status.Value end)
Dude, your content is so underrated. the way you explain things is really easy to follow and I can genuinely apply advice you give me to real games. keep doing great stuff
hey m8 you just saved me. I just wanted to quit roblox development because i just could do the round system. Then i found ur vid and it saved my carrer
I am so glad I found this video because it worked perfectly. But there is just one thing. See my game is a combat game that switches maps but idk to know how to make a script (or add on to this one) that makes it so when there is one person left, they win right away, and not only that, have a way to know who won (like a celebration or something)
I am making a Fashion game and i am making the round system and this helped me so much making it i diddnt find any tutorial to make a fashion game so i am using your tutorials and it worked me :)!
this tutorial Really helped me! I'm making a zombie survival game where zombies randomly spawn in, and your goal is to survive for 420 seconds, I think that's 7 minutes. But yeah this tutorial was helpful :)
I feel like I'm stupid. I try to figure this out for so long and I see your tutorial and its just so simple. I really don't get why I can't think of this in my brain.
Honestly 'M8' thx alot, school is honestly annoying so after i come back i watch your tutorials and honestly this tutorial rlly helped me with my game! Thank you!
if you guys want to change the game time then all you have to do if find where he motioned the 10 second's until the game starts juts change that in the script!! if it docent work let me know, but id rather let gamerm8 help y'all.
@@GamerM8 Hey Gamer M8, This was a really nice tutorial but I'm missing a crucial part which is to make the round end after all players have died how could I do this?
Omg thank you I needed this for my game but how do you make it so the lobby destroys when the game starts and then clones when the game ends because I used this for my zombie game and when I died I spawn in the lobby in the game time so can you fix this?
Un-enabling the spawn point in the lobby using a script, Just use parent and scan if the thing is on replicated storage or server storage then un-enable it, Also just put another spawnpoint into the map that everyone spawns to. You can just clone the lobby and destroy the lobby, and the new lobby is gonna go to server storage and then add a wait time using a local script or something, Just move it to workspace, If this is kinda annoying to read then ask someone else lol, Im bad at giving help.
Holy shit, It actually works!! Thank you so much man, I was looking for a video on this or i woukd have to pay $20 to get it done so thank you! (i will sub and like too)
Script 1 local Status = game.ReplicatedStorage:WaitForChild("Status") local Label = script.Parent:WaitForChild("TextLabel") Status:GetPropertyChangedSignal("Value"):Connect(function() Label.Text = Status.Value end) Script 2 --variables local Lobby = game.Workspace.Lobby local Maps = game.ReplicatedStorage.Maps:GetChildren() local Status = game.ReplicatedStorage.Status --Game Loop while true do
--Intermission
for i = 10, 0, -1 do Status.Value = "Intermission: "..i task.wait(1) end
--Map Selector
local ChosenMap = Maps[math.random(1, #Maps)] local ClonedMaps = ChosenMap:Clone()
hey so I did everything correct but it only joins me to the one map even though i have three maps and then when im in that map and the timer is out it doesn't teleport me back. Can u help?
if the round script isn't working try this one, I polished it: local Lobby = game.Workspace.Lobby local Maps = game.ReplicatedStorage.Maps:GetChildren() local Status = game.ReplicatedStorage.Status while true do for i = 20, 0, -1 do Status.Value = "Intermission: " .. i task.wait(1) end local ChosenMap = Maps[math.random(1, #Maps)] local ClonedMap = ChosenMap:Clone() ClonedMap.Parent = game.Workspace Status.Value = "Map: " .. ClonedMap.Name task.wait(3) for _, Player in pairs(game.Players:GetPlayers()) do local Character = Player.Character if Character then local HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart") if HumanoidRootPart then HumanoidRootPart.CFrame = ClonedMap.TeleportPoint.CFrame end end end for i = 20, 0, -1 do Status.Value = "Game: " .. i task.wait(1) end for _, Player in pairs(game.Players:GetPlayers()) do local Character = Player.Character if Character then local HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart") if HumanoidRootPart then HumanoidRootPart.CFrame = Lobby.TeleportPoint.CFrame end end end ClonedMap:Destroy() end
Hey m8 , idk if this is a problem in my script or if it is a general problem but i realised that if a player leaves the game while the map is spawned the whole script breaks and the map doesn't despawn , any help would be greatly appreciated!
if anyone is having this problem with the line HumanoidRootPart.CFrame = Lobby.TeleportPoint.CFrame encase it with this if statement if HumanoidRootPart ~= nil then HumanoidRootPart.CFrame = Lobby.TeleportPoint.CFrame end it checks that the humanoid root part is still actually there
Hello Gamer M8 I like your videos and I would like to know how to make a character selector, for example: A wizard with a cat head and a Viking astronaut and that each character has different objects Example the Wizcat has a cane and the Astroviking an axe
--variebles local Lobby = game.Workspace.Lobby local Maps = game.ReplicatedStorage.Maps:GetChildren() local Status = game.replicatedStorage.Status -- Game Loop while true do
--Intermission
for i = 10, 0, -1 do Status.Value = "intermission: "..i task.wait(1) end
--Map Selector
local chosenmap = Maps[math.random(1, #Maps)] local chosenmap = ChosenMap:Clone()
this code is correct local Status = game.ReplicatedStorage:WaitForChild("Status") local Label = script.Parent:WaitForChild("TextLabel") Status:GetPropertyChangedSignal("Value"):Connect(function() Label.Text = Status.Value end) -- Variables local Lobby = game.Workspace.Lobby local Maps = game.ReplicatedStorage.Maps:GetChildren() local Status = game.ReplicatedStorage.Status -- Game Loop while true do -- Intermission for i = 10, 0, -1 do Status.Value = "Intermission: " .. i task.wait(1) end -- Map Selector local ChosenMap = Maps[math.random(1, #Maps)] local ClonedMap = ChosenMap:Clone() ClonedMap.Parent = game.Workspace Status.Value = "Map: " .. ClonedMap.Name task.wait(1) -- Teleport to map for _, Player in pairs(game.Players:GetPlayers()) do local Character = Player.Character if Character then local HumanoidRootPart = Character.HumanoidRootPart HumanoidRootPart.CFrame = ClonedMap.TeleportPoint.CFrame end end -- Game Time for i = 10, 0, -1 do Status.Value = "Game: " .. i task.wait(1) end for _, Player in pairs(game.Players:GetPlayers()) do local Character = Player.Character if Character then local HumanoidRootPart = Character.HumanoidRootPart HumanoidRootPart.CFrame = Lobby.TeleportPoint.CFrame end end -- Destroys Map ClonedMap:Destroy() end
@@Bloxxxed hi i have a question about it.When i play the game everything works fine but when the game timer ends nothing happens is there any way to fix that?
Bro I could make whole game from your tutorials
I pretty much did lol
Same
Nah
Fun fact:
I did
no shit people…
Hey m8. I am not actually a beginner but still needed this tutorial 😅 You are really good at explaining and make very entertaining videos.
I get u bro. I'm not a beginner and I've made more complicated things than this, but for some reason I couldn't do it.
same ive been scripting for 7 months@@Jappley
@@Jappley Fr same goes with modeling I made a whole humanoid character but I'm over here struggling to make a star?? A STAR?? And I've been scripting for like a year but couldn't do this
If you do not want to write all of the script i have script 1 here:
local Status = game.ReplicatedStorage:WaitForChild("Status")
local Label = script.Parent:WaitForChild("TextLabel")
Status:GetPropertyChangedSignal("Value"):Connect(function()
Label.Text = Status.Value
end)
And Script here:
-- Variables
local Lobby = game.Workspace.Lobby
local Maps = game.ReplicatedStorage.Maps:GetChildren()
local Status = game.ReplicatedStorage.Status
-- Game Loop
while true do
--Intermission
for i = 10, 0, -1 do
Status.Value = "Intermission: "..i
task.wait(1)
end
-- Map Selecter
local ChosenMap = Maps[math.random(1, #Maps)]
local ClonedMap = ChosenMap:Clone()
ClonedMap.Parent = game.Workspace
Status.Value = "Map: "..ClonedMap.Name
task.wait(1)
-- Teleport to map
for i, Player in pairs(game.Players:GetPlayers()) do
local Character = Player.Character
if Character then
local HumanoidRootPart = Character.HumanoidRootPart
HumanoidRootPart.CFrame = ClonedMap.TeleportPoint.CFrame
end
end
-- Game Time
for i = 10, 0, -1 do
Status.Value = "Game: "..i
task.Wait(1)
end
for i, Player in pairs(game.Players:GetPlayers()) do
local Character = Player.Character
if Character then
local HumanoidRootPart = Character.HumanoidRootPart
HumanoidRootPart.CFrame = Lobby.TeleportPoint.CFrame
end
end
-- Destroys Map
ClonedMap:Clone()
end
Thanks bro
Thank you, but the game timer doesn't work, is there a reason why?
@@rachellalonde4632 idk check if there is errors or any problems
@@TheREALdesistation.tteditz theres 5 of these: UnknownGlobal: (71,2) Unknown global 'clonedMap and they all are warnings
@@rachellalonde4632 just watch the video instead im not as good as him
Being a noob at scripting I am ever so thankful for this tutorial, you have earned yourself a new subscriber.
This tutorial was very short and it worked! Usually the scripts I watch do not work so I was very happy and thankful! Thank you for a short and simple video that works very well!
very short?
@Crispy112 yes 7 mins is short
@ lmao was js joking, great tutorial tho :D
I'm starting to learn Lua, so explaining what scripts do is amazing for me! +new sub
I highly appreciate you going out of your way for us, Thans m8!
Hey! thanks a lot you make things so easy. I always experience bugs but watching your vids motivate me to keep going! thanks alot!
Yo thanks you so much for this awesome tutorial 👍
This really helped! Thanks a lot mate
Hi XtremeBlox
TYSM bro, it worked! i will definently follow u for more tutorials! subbed
The people that are struggling, this script DOES WORK. The problem with this video is that he does not talk about ALL components. For example, there are some properties that must be ENABLED for this script to work. SOME OF THESE PROPERTIES ARE NOT MENTIONED (but displayed on the screen) THROUGH THE VIDEO. PAY ATTENTION TO EVERY SINGLE DETAIL ON HIS SCREEN. When he zooms in on properties MAKE SURE EVERYTHING IS RIGHT! When I first tried this I just skipped to the important parts and copied the script. DO NOT DO THAT. Watch the whole video and verify that everything is right. he may have enabled some properties that he didn't mention that are useful to making this.
What is it then I’m too lazy to
@@MOVED-83Then maybe u shouldn’t be a game dev.
@@Marz-l9utrue
I'm always happy when i see new vid from Gamer M8! It makes me happy!
I love your vids
Like the story game
Thanks, I'm glad you love them!
thanks
i ment np lol
first script:
local Status = game.ReplicatedStorage:WaitForChild("Status")
local label = script.Parent:WaitForChild("TextLabel")
Status:GetPropertyChangedSignal("Value"):Connect(function()
Label.Text = Status.Value
end)
Thank you for the script! It saved me time on my game.
I love how you showed how to add your own maps unlike a lot of tutorials
Dude, your content is so underrated. the way you explain things is really easy to follow and I can genuinely apply advice you give me to real games. keep doing great stuff
Game M8 you rly are the best dev yt I have ever seen.
hey m8 you just saved me. I just wanted to quit roblox development because i just could do the round system. Then i found ur vid and it saved my carrer
Thank YOU i needed this RIGHT NOW for a tds game
Because of your tutorials, I made a game
cool, what game did you make?
@@GamerM8 a zombie game using your round system!
I am so glad I found this video because it worked perfectly. But there is just one thing. See my game is a combat game that switches maps but idk to know how to make a script (or add on to this one) that makes it so when there is one person left, they win right away, and not only that, have a way to know who won (like a celebration or something)
i know scripting but if im having difficulties your videos always help me out thanks!
Yo, love your videos mate. Keep up the amazing work!
I am making a Fashion game and i am making the round system and this helped me so much making it i diddnt find any tutorial to make a fashion game so i am using your tutorials and it worked me :)!
finally I've been waiting on this round system and you finally made :D
this tutorial Really helped me! I'm making a zombie survival game where zombies randomly spawn in, and your goal is to survive for 420 seconds, I think that's 7 minutes. But yeah this tutorial was helpful :)
You just earned a new sub!
Hey Gamer M8! This video actually helped me make a sword fight game, where it picks a random map. This video was very helpful! :)
THANK YOU THANK YOU SOMUCH I WAS SEARCHING FOR A GOOOD ROUND SYSTEM TUTORIAL AND YOU SAVED THE DAY!!!!!!!!!
WITH SOME CHANGES I MANAGED TO MAKE IT WORK THANKS YOU SO MUCH!!
im glad you were able to make it work
This Tutorial raleally helped, Thanks M8
I'm glad it helped!
Thanks for making this tutorial now i know how to make a intermission for my round system
This was a really clear and well explained tutorial thanks
I feel like I'm stupid. I try to figure this out for so long and I see your tutorial and its just so simple. I really don't get why I can't think of this in my brain.
bro same
there hasnt been 1 single tutorial that worked for me
Omg? Did you read my mind? I literally need this when I was doing my murder game! THX!
Your too good at this keep up the great work 😀
TYSM I’ve been looking for one that worked and this one works keep up the good work
hi can u help
how to fix:
local ClonedMap = ChosenMap:Clone()
chosenMap is not working
@@nikitspa3199 what does your chosen map equal?
Honestly 'M8' thx alot, school is honestly annoying so after i come back i watch your tutorials and honestly this tutorial rlly helped me with my game! Thank you!
HERE I LIKE THE VIDEO BTW KEEP UP THE GOOD JOB :)
if you guys want to change the game time then all you have to do if find where he motioned the 10 second's until the game starts juts change that in the script!! if it docent work let me know, but id rather let gamerm8 help y'all.
my time doesnt count down. do you maybe know why?
@ ???
i just watched like 5 tutorials and they weren't working, after i watched this too, it worked!
worked thank you so much!
You're welcome!
OMG TY SO MUCH!!!
Can you make a FPS game series
amazing tutorial! This will help with my Roblox game a lot! Thanks!
Thanks, I'm glad I could help
@@GamerM8 Bro's replying to everyone saying thanks but not the people who need help. you became an L tbh.
This video was very helpful. But it would be cool if you make a round system, but the round ends if the killer kills all innocents kind of game!
btw! NICE VIDEO! i like this video it helped me in my sword game
One of the only lua videos on youtube I understood!
omg thank you so much for this tutorial really helped me earned a like!
i love you so much for doing this omgggggggggg
no problem!
@@GamerM8 the script isn't working!
Cool video
Thanks!
@@GamerM8 you're welcome
tutorial is well made but only thing im missing is winning system so if all players got defeated by some person how to make it giving winner a win?
Thank you nice upload! 😁
Thanks, I hope it helps!
This is very useful for my game. Thank you!
No problem, I'm glad I'm able to help!
@@GamerM8 How do you make it so when you die in the round you respawn in the round until the round is over?
@@GamerM8 Hey Gamer M8, This was a really nice tutorial but I'm missing a crucial part which is to make the round end after all players have died how could I do this?
TYSM I had no bugs coding this
i sadly did
Omg thank you this make me have an idea how I gonna make my game!!!
TYSM!!!
Omg thank you I needed this for my game but how do you make it so the lobby destroys when the game starts and then clones when the game ends because I used this for my zombie game and when I died I spawn in the lobby in the game time so can you fix this?
Un-enabling the spawn point in the lobby using a script, Just use parent and scan if the thing is on replicated storage or server storage then un-enable it, Also just put another spawnpoint into the map that everyone spawns to. You can just clone the lobby and destroy the lobby, and the new lobby is gonna go to server storage and then add a wait time using a local script or something, Just move it to workspace, If this is kinda annoying to read then ask someone else lol, Im bad at giving help.
@@StupidPieceofcrap idk how
You just can make wall
@@Aw3s0me_cool ?
Hey Gamer M8! Can you make a tut where you can also show who won in that round?
Holy shit, It actually works!! Thank you so much man, I was looking for a video on this or i woukd have to pay $20 to get it done so thank you! (i will sub and like too)
bro don't swear
@@OmarXplayZ 🤓👆
I can't get this to work. Every time I click start it says: TeleportPoint is not a valid member of Model "Workspace.Industrial"
Did you anchor the teleport point?
Same with me :(
lol you wrote it wrong
Put the teleport point inside of the industrial
My game has 421k visits bc of u!
i love how the scripts just pop out of nowhere
Looks helpful and looks working i should try this
Script 1
local Status = game.ReplicatedStorage:WaitForChild("Status")
local Label = script.Parent:WaitForChild("TextLabel")
Status:GetPropertyChangedSignal("Value"):Connect(function()
Label.Text = Status.Value
end)
Script 2
--variables
local Lobby = game.Workspace.Lobby
local Maps = game.ReplicatedStorage.Maps:GetChildren()
local Status = game.ReplicatedStorage.Status
--Game Loop
while true do
--Intermission
for i = 10, 0, -1 do
Status.Value = "Intermission: "..i
task.wait(1)
end
--Map Selector
local ChosenMap = Maps[math.random(1, #Maps)]
local ClonedMaps = ChosenMap:Clone()
ClonedMap.Parent = game.Workspace
Status.Value = "map: "..ClonedMap.Name
task.wait(3)
--Teleports To Map
for i, player in pairs(game.Players:GetPlayers()) do
local Chracter = player.Character
if Chracter then
local HumanoidRootPart = Chracter.HumanoidRootPart
HumanoidRootPart.CFrame = ClonedMaps.TeleportPoint.CFrame
end
end
--Game Time
for i = 10, 0, -1 do --Change 10 for change gametime
Status.Value = "Game: "..i
task.wait(1)
end
--Teleports To Lobby
for i, player in pairs(game.Players:GetPlayers())do
local Chracter = player.Character
if Chracter then
local HumanoidRootPart = Chracter.HumanoidRootPart
HumanoidRootPart.CFrame = Lobby.TeleportPoint.CFrame
end
end
--Destroys Map
ClonedMaps:Destroy()
end
ur welcome ;]
ty
can you make x2 cash or kills gamepass, that would really help my game thanks for the awesome video as well!
OMG THANK YOU I GOT ANGRY CUZ IT WOULD NOT WORK BUT I FORGOT TO PUT S TO SOMETHING THANK YOUU
No problem, I'm glad you were able to find and fix the problem too!
Yo M8 I was doing all that but then when i play it all of a suddon makes the map disappear after about 3 seconds and dosnt teleport me back
hey so I did everything correct but it only joins me to the one map even though i have three maps and then when im in that map and the timer is out it doesn't teleport me back. Can u help?
Hi nice vid
YO HI
yo, how do I make it so there are multiple spawn points on each map and one player spawns on each of them, kind of like horrific housing
Wow thx! It works now!
How do you get the teleport block thingy?
Thank you so much for the tutorial! Love your videos, Oh and can you make an npc if you die to, it copies your avatar or someone's avatar?
Bruh he literally just uploaded💀
@@capcakeyt5399 I literally was here instantly when it uploaded
@@beyourself182 that doesnt mean you watched the whole vid
@@capcakeyt5399 its Literally easy wym
Hello M8, i need your help... If i have one map did i need to do the map selector ? And also i need the round to end when all players are dead
Idea: Make a tutorial on how to make like rising lava only happen when a certain map is chosen! I want to do that but I do not know how
hello gamer m8 my game timer doesnt count down and that means my game round never ends can u tell me why?
TYSMMMMMMMMMMMMMMMMMMMMMMMMMMM
I did all of it and only the intermission timer works
hey, when is next story game tutorial?
@@Happy55547 how do you know?
make sure your stuff is anchored otherwise itll fall out of the map and youll get an error code saying it doesnt exist
Keep up the good work.👍
Thanks, I will do! 👍
I struggle to make my character spawn in the lobby when I test the game
if the round script isn't working try this one, I polished it:
local Lobby = game.Workspace.Lobby
local Maps = game.ReplicatedStorage.Maps:GetChildren()
local Status = game.ReplicatedStorage.Status
while true do
for i = 20, 0, -1 do
Status.Value = "Intermission: " .. i
task.wait(1)
end
local ChosenMap = Maps[math.random(1, #Maps)]
local ClonedMap = ChosenMap:Clone()
ClonedMap.Parent = game.Workspace
Status.Value = "Map: " .. ClonedMap.Name
task.wait(3)
for _, Player in pairs(game.Players:GetPlayers()) do
local Character = Player.Character
if Character then
local HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart")
if HumanoidRootPart then
HumanoidRootPart.CFrame = ClonedMap.TeleportPoint.CFrame
end
end
end
for i = 20, 0, -1 do
Status.Value = "Game: " .. i
task.wait(1)
end
for _, Player in pairs(game.Players:GetPlayers()) do
local Character = Player.Character
if Character then
local HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart")
if HumanoidRootPart then
HumanoidRootPart.CFrame = Lobby.TeleportPoint.CFrame
end
end
end
ClonedMap:Destroy()
end
Holy smokes dude! Gotta say thank you very much!
dang this works, I just cant get it to teleport me...
oh my god you saved me
How do I make it a certain time where players get swords so they can fight and there’s a winner
Thank you bro so much you gain a like
Hey m8, i love this tutorial it works really well, but can you teach us how to make a winner in the round system?
Worked well except the teleport to map and teleport back to lobby
Idea:
Can you make a bandage system?
You helped me.
i just watch these for fun
You should make a military border game tutorial series Love your videos btw.
Hey m8 , idk if this is a problem in my script or if it is a general problem but i realised that if a player leaves the game while the map is spawned the whole script breaks and the map doesn't despawn , any help would be greatly appreciated!
I have this same problem.
if anyone is having this problem
with the line
HumanoidRootPart.CFrame = Lobby.TeleportPoint.CFrame
encase it with this if statement
if HumanoidRootPart ~= nil then
HumanoidRootPart.CFrame = Lobby.TeleportPoint.CFrame
end
it checks that the humanoid root part is still actually there
Hello Gamer M8 I like your videos and I would like to know how to make a character selector, for example: A wizard with a cat head and a Viking astronaut and that each character has different objects Example the Wizcat has a cane and the Astroviking an axe
Repeat coment
how do i get the teleport point? you never stated how
it's just a regular part that's been renamed
@@GamerM8 oh ok, thanks
--variebles
local Lobby = game.Workspace.Lobby
local Maps = game.ReplicatedStorage.Maps:GetChildren()
local Status = game.replicatedStorage.Status
-- Game Loop
while true do
--Intermission
for i = 10, 0, -1 do
Status.Value = "intermission: "..i
task.wait(1)
end
--Map Selector
local chosenmap = Maps[math.random(1, #Maps)]
local chosenmap = ChosenMap:Clone()
Clonedmap.Parent = game.Workspace
Status.Value = "Map: "..ClonedMap.Name
task.Wait(3)
--Teleports to Map
for i, Player in pairs(game.Players:getPlayers()) do
local Character = Player.Character
if Character then
local HumanoidRootPart = Character.HumanoidRootPart
HumanoidRootPart.CFrame = Clonedmap.TeleportPoint>CFrame
end
end
-- Game Time
for i = 10, 0, -1 do
Status.Value = "Game: "..i
task.Wait(1)
end
-- Teleports to Lobby
for i, Player in pairs(game.Players:GetPlayers()) do
local Character = Player.Character
if Character then
local HumanoidRootPart = Character.HumanoidRootPart
HumanoidRootPart.CFrame = Lobby.TeleportPoint.CFrame
end
end
-- Destroys Map
clonedMap:Destroy()
end
whats wrong with it i cant tell
@@TonyPrints idk too
Kind of a late answer, but you did some mistakes copying the script, capital letters matter and you have some missing, this script wont work like this
this code is correct
local Status = game.ReplicatedStorage:WaitForChild("Status")
local Label = script.Parent:WaitForChild("TextLabel")
Status:GetPropertyChangedSignal("Value"):Connect(function()
Label.Text = Status.Value
end)
-- Variables
local Lobby = game.Workspace.Lobby
local Maps = game.ReplicatedStorage.Maps:GetChildren()
local Status = game.ReplicatedStorage.Status
-- Game Loop
while true do
-- Intermission
for i = 10, 0, -1 do
Status.Value = "Intermission: " .. i
task.wait(1)
end
-- Map Selector
local ChosenMap = Maps[math.random(1, #Maps)]
local ClonedMap = ChosenMap:Clone()
ClonedMap.Parent = game.Workspace
Status.Value = "Map: " .. ClonedMap.Name
task.wait(1)
-- Teleport to map
for _, Player in pairs(game.Players:GetPlayers()) do
local Character = Player.Character
if Character then
local HumanoidRootPart = Character.HumanoidRootPart
HumanoidRootPart.CFrame = ClonedMap.TeleportPoint.CFrame
end
end
-- Game Time
for i = 10, 0, -1 do
Status.Value = "Game: " .. i
task.wait(1)
end
for _, Player in pairs(game.Players:GetPlayers()) do
local Character = Player.Character
if Character then
local HumanoidRootPart = Character.HumanoidRootPart
HumanoidRootPart.CFrame = Lobby.TeleportPoint.CFrame
end
end
-- Destroys Map
ClonedMap:Destroy()
end
@@Bloxxxed hi i have a question about it.When i play the game everything works fine but when the game timer ends nothing happens is there any way to fix that?
Can you teach us how to make sprite sheets work on roblox studio?
YO YOU ARE THE BEST TYSMMMM!!!11111111111
Your video are so easy to follow