How To Make A Piggy Game In Roblox - Piggy / Granny Tutorial - Ep 2
Тәжірибелік нұсқаулар және стиль
[Ep 2] Learn how to make a Piggy Game in Roblox with this tutorial. You’ll learn how to make a Roblox game like Piggy or Granny with working doors, Piggy avatar skin, crouching, working keys and tools such as a hammer and bat.
Piggy Tutorial Help Section / Frequently Asked Questions on my Website: www.alvinblox.com/how-to-make...
Next part: • How To Make A Piggy Ga...
Piggy Kit Model Link (Please Like and Favourite the model so others can find it): www.roblox.com/library/493396...
(Piggy Kit is not finished project, you need to watch along to learn how to use and script it!)
BECOME A PREMIUM CHANNEL MEMBER TO GET THE COMPLETED PROJECT FILE :
Click the Join button next to Subscribe or go to www.alvinblox.com/join
ToMS function: pastebin.com/Bq7GXcz8
Download Roblox Studio: www.roblox.com/create
Become a Channel Member: www.alvinblox.com/join
Piggy Tutorial Sub-Videos (How to create the Kit)
- Coming soon, please check back in the future!
Other Videos Mentioned In This One To Help You:
Status Bar Tutorial: • Video
Functions / Arguments Tutorial: • Function Parameters / ...
Tables Tutorial: • Tables (table.remove /...
Remote Events Tutorial: • Remote Events ~ Filter...
It is also useful to watch my full beginner Roblox Studio Scripting Series if you are not confident in your coding abilities, or if you just need a refresher:
Recently, the game ‘Piggy’ has been taking the Roblox world by storm. After launching itself onto the front page, the game, developed by MiniToon, has already achieved 1 billion visits, becoming the fastest Roblox game to do so.
The game is simple. Players are spawned into a map where they are locked inside - an escape room. Not only do you have to try and escape in under 10 minutes, but you’re also being hunted down by a monster wielding a baseball bat who wants to kill you - the Piggy.
Although a Piggy is usually not thought to be evil and sinister, in this game the Piggy is the enemy. Do not get caught by the Piggy at any cost, because as soon as you’re killed, you’re out of the round.
The players who are trying to escape have to work together as a team to find keys that unlock other doors containing other useful items to help aid your escape. Only one tool or key can be equipped at once though - so you need to communicate with the others in the game to know who has what items.
#Piggy #Granny #Roblox
Become a Member today for exclusive perks and to support my channel!
► / @alvinblox
Subscribe to my KZread channel for more scripting videos:
►kzread.info?sub...
► Watch my full beginner scripting series: goo.gl/k3erz2
Got video suggestions or feedback? Contact me via my website
►www.alvinblox.com/
Roblox username: Alvin_Blox
The music in this video is licensed from Epidemic Sound
www.epidemicsound.com
Пікірлер: 2 900
FREQUENTLY ASKED QUESTIONS / HELP GUIDE FOR IF YOU'RE STUCK ON MY WEBSITE: www.alvinblox.com/how-to-make-a-piggy-game-on-roblox/#statusbarnotworking Next part coming tomorrow!
@Sayfside
4 жыл бұрын
when the series is done can u make everything in a model that we can get? EDIT: and add a script that says what to do for example for the animation part1
@AlvinBlox
4 жыл бұрын
Channel Members get access to the full project file but you can watch along to learn how. Animations will also get covered.
@bat-
4 жыл бұрын
Just subscribed btw
@Sayfside
4 жыл бұрын
@@AlvinBlox ohh I dont have 5 dollars
@MrDoggoRoblox
4 жыл бұрын
I still don't know why my game stops at 0 seconds then nothing happens Alvin can you help me please? And I checked my script but I still can't find what's wrong any advice and it says that it's correct?
We all know that AlvinBlox has secretly made every single game on roblox and that's why he can show us how to do it
@RattyCharles
4 жыл бұрын
Yeah he made adopt it's so cool
@inferno1257
4 жыл бұрын
So true mate.
@dangraphx2231
4 жыл бұрын
Exposedddd
@fabbe432
4 жыл бұрын
Das True i swear, i have been subscribed for like 3 years to this dude
@nicolaadams618
4 жыл бұрын
True
So what I learned today : 1. How to let someone equip a tool right away instead of going to backpack first. 2. How to randomize where you spawn in the map 3. Puttings tags is helpful as it will recognize which is which, even though it's not visible at the front screen, still optimizes script manner. 4. How to countdown to minutes instead of just seconds.
*lmao Studio quit unexpectedly and saved my code but deleted my chapters and the status value. Now I need to restart, major respects to you Alvin for doing this for us for free because this is A LOT of code*
gg on the first vid. I'm excited to dive in to the next one!
"I wonder what I can make of this idea, what I can add on..." Every developer should always think of this
@grantanimationstudios6067
4 жыл бұрын
Tomanator07 no u
Me: ooh the second part Parent: You only have 1 hour of screen time Me: Looks at video length = 52:15 :(
@shortanimationsvids1660
4 жыл бұрын
:(
@kaytea42
4 жыл бұрын
Luckily I don’t live with my parents no more
@soul5440
4 жыл бұрын
why is second part so hard?? I lost my timer in this episode. Gone Forever and it's none of the common bugs.
@robloxpro947
4 жыл бұрын
Me: *iT Is edUCatiONaL mOm* that actually worked no joke
@SilverScripter
3 жыл бұрын
It’s only 52:14 not 52:15 lol
Alvinblox OMG, you have done it again. I cant find the words to explain how awesome this tutorial was. It is simply amazing. It was a huge help. Thank you so so much.
Amazing stuff! So helpful
your amazing Alvin I waited for this all day
@fortnitemethods
4 жыл бұрын
Yea me too
@fortnitemethods
4 жыл бұрын
If possible Alvin could you upload the parts daily????
@mr.toasty263
4 жыл бұрын
Same
Kinda early! I used to watch you ages ago and was always stuck! I’ve recently been watching your new vids and you seem very good and more experienced, hope you see this! I’m also British lol 🇬🇧
@homesick2413
4 жыл бұрын
Thanks for the heart! I love building in roblox studio!
@theminingmonke738
3 жыл бұрын
i am also british ☕☕☕☕☕☕☕☕
You’re channel is the best. It’s pretty awesome helping me making Roblox games.
I CANNOT EXPRESS HOW HELPFUL THIS IS TYSM ALVINBLOX :)
Wow! I was not expecting it so soon! Thank you so much!
@AlvinBlox
4 жыл бұрын
You're welcome!!
@LavaCreeper
4 жыл бұрын
@@AlvinBlox please answer my comment before part 3 releases
@Azh_Tiel
3 жыл бұрын
wait what was the question?
Alvin, you seriously have some skill, like bruh. Wow...
@pony2540
2 жыл бұрын
Remember me
and yo alvin i didnt give up any of your videos when i was little i watched your channel and it didnt work but now they work i watched this tutorial like 5 times because it didnt work some trys and ye i want to thank you alvin for making all these tutorials for everyone :)
you earned a new sub! you spent so much work to help us acheive our dreams of being a developer!
I really like your videos, you help many people, I wish you continued success. :)
@AlvinBlox
4 жыл бұрын
Thank you very much!
Your channel is so underrated! Thanks so much for helping me
@eternallfrost
2 жыл бұрын
No it's not..?
Great Video I think youll get to 1 mill soon
I like how AlvinBlox puts in nice supportive messages throughout his videos
Thank you, I've been learning scripting for 2 years now. before episode 1 came out I decided to make a game related to flamingo called flimflam. But I was struggling alot since scripting is difficult to learn. but then I found your video and It helped so much! thank you! Edit: are you able to make intro cutscenes and endings?
@acex1212
4 жыл бұрын
mrslurpfart it’s coming in future parts prob
2st Very very nice alvin blox it's cool video
@AlvinBlox
4 жыл бұрын
I'm glad you like it
Man, you are like Minitoon!!! Well done dude, really good!!!
AI GOT IT THANKYOU SO MUCH ALVINBLOX YOUR THE BEST MAN!!!!!
Hello Alvin! I would like a tutorial on inverse kinematics
Love this, my son and husband are making it together absolutely ecstatic
Thank yolu for this tutorials I subscribed and leaved a like
YOU ARE THE BEST! like seriously
I’m following A long thanks for making this
@AlvinBlox
4 жыл бұрын
Glad to hear it!
@Selling29
4 жыл бұрын
AlvinBlox it’s not impossible cause we saw you’re video I’m trying to be a dev like u
this is cool! im making a piggy fangame called "Freddy" and im working a little bit on it every day
@tehn5678
4 жыл бұрын
Im making one called kermit
@marlosuper
4 жыл бұрын
I'm working on one called "sand underman", as you can tell Piggy is Sans from Undertale.
@tacidus
4 жыл бұрын
I’m making one called steve
@cool_meme3303
4 жыл бұрын
LilBoiGameplay mine is called contagion
@torak_34
4 жыл бұрын
mines called "Hunted"
thanks so much for the piggy kit its a lot better since you did that thanks so much
Thank you! i've always wanted to make a piggy game thank you for making this!
I’m the first comment and thanks for everything I know how to build because of you know I can make a piggy game
@Rayhero
4 жыл бұрын
@Millo sonic And games You’re not the first comment
@tfc_legend6651
4 жыл бұрын
Sorry to say you are not girst
@tfc_legend6651
4 жыл бұрын
*first
Reactions: 8 Yt: no
@undertaleultra2223
4 жыл бұрын
I don’t get it.
@dag2128
4 жыл бұрын
?
You've earned yourself a sub : )
u are the best i am getting new to making games on roblox thx sooooo much
For everyone having problems with the teleportation pig part, a quick fix that worked for me is to copy all the code, remove it from the script, and then paste it back. Currently, Roblox has a Unicode error and this is one way to fix it! Hope this helped
@itzseconds2620
3 жыл бұрын
it didn't help for me :/
@brawlbang2092
3 жыл бұрын
how i dont understand
@TalkySteak
3 жыл бұрын
If the fix suggested above did not work for you, ensure that you have updated the parameters for StartRound in your Game Logic script. You need to pass the time, piggy, and map.
@shootthecow69
2 жыл бұрын
how do i copy the code if he keeps going down and making it so i cant
@KeepUpFast
2 жыл бұрын
I just added a print function to show who was selected to be the chosenPiggy and it works now. Btw the print function was print(chosenPiggy.Name)
11:17 Don't mind me, I just wanted to put in the comments where I left off.
@hebenus6915
3 жыл бұрын
L00kItZf0X _ hope that’s not still where you left off o-o
@sairanaveed1509
3 жыл бұрын
L00kItZf0X _ lol
@flapyjacky4451
3 жыл бұрын
i'm commenting to know where i left off 5:04
@flapyjacky4451
3 жыл бұрын
52:14
@63donni
3 жыл бұрын
@@hebenus6915 ... hes just putting in the comments where he left off. There doesnt need to be any replies.
Thank you for these videos! Have always wandered how to create a nice survival game! ALSO! How do you change the piggy character to your own model you have made ? Or a prebuilt model ?
@stanfordisgoated
3 жыл бұрын
Just replace all the body part models with your own. Put the Piggy model in workspace. (The model is in Server Storage)
@Eumboard
2 жыл бұрын
@@stanfordisgoated thx
I had a problem where it in the Starter GUI > Main GUI > Intro > Logo. It had "GAME NAME" instead of "Piggy" as you have. And the text style was not Garamond which you have as the Play and Shop buttons. But as you probably can see I found the problem and fixed it. And for anyone who maybe has the same problem just do as I said. Thank you for dedicating so much time into teaching us Lua for FREE! :3
@inquisitive240
Жыл бұрын
...
@DemonMachine12
Жыл бұрын
You have to change it
Me: Calls 911 911: Yes? Me:The youtuber "AlvinBlox" hasn't hit 1m+ Subs! 911:Hangs up Me:Worth a shot....
@nathananimations7328
4 жыл бұрын
he should tho...
@litton440
4 жыл бұрын
JulianPlayzRB lol
@weirddoggo4595
4 жыл бұрын
LOL
@MightyCole1
4 жыл бұрын
hahahahaha. nice.
@MerlucinYT
4 жыл бұрын
@Creeper charlie it doesnt work
Do we need to pay for the custom piggy skin tutorial or is there some kind of link because I can't find it
This is great! I love this series. My dad is a programmer so he is helping me build and program this Piggy game. But we have a small problem. When I test play and get chosen as Piggy, I only have one arm and a grey hand, the left arm is missing... Maybe you know why, but please help with this bug. Thank you, love your videos and tutorials! :)
Thanks dude this has been my dream to make a piggy style game
Hi guys, just some quick advice here: When I tried to play the game at first my piggy wouldn’t teleport to the waiting room. If the same has happened to you, try making sure that you have spelled ‘WalkSpeed’ with a capital ‘S’ in the middle (that was the problem for me). Other than that just turn on ‘Output’ while you play the game to find out exactly which parts of the script are creating the problem so you can check over that section.
@joegriffin1825
4 жыл бұрын
Oml thank you
@obviouslymikecrypto7787
3 жыл бұрын
It worked but my character got out of the map instead in the house
@lightLM
2 жыл бұрын
OMG thank you so much i have checked like everything and was like "WHAT IS ITTTt" thank you so much
@LaysRyum
2 жыл бұрын
THANK YOU SO MUCH I WAS ABOUT TO GIVE UP
@goldenfirster
Жыл бұрын
i had the same problem too! thanks!
AlvinBlox Could You Tell Me Where The Episode Of Making Your Own Characters For Your Custom Piggy Game Is At?
Shout out to Alvin for these tutorials. Have been struggling with the teleportplayers function and after many trial and errors it turned out that some blank lines in between the function calls in the Game Logic script was causing it. So for those who have that same issue, try it out and remove white spaces and blank lines.
This is awesome.
Alvin can you heart this comment please ive never been hearted by anyone famous
@GasBLOX-The-Spy-Crab
4 жыл бұрын
Yay
@christysepulvado2077
4 жыл бұрын
um
@mehmeterdogan1706
4 жыл бұрын
Second heart xd
@foreverhd9396
4 жыл бұрын
me neither :(
@AbsnormalCoolest
4 жыл бұрын
GasBLOX heart me too AlvinBlox
He is the uncopylocked master , and im.guessing that he is probably the nephew of Roblox or something
@robloxpro947
4 жыл бұрын
nah he sounds british. Roblox was made in the US
@viisiondev4485
4 жыл бұрын
Nah he is the dad of roblox
for some reason the way you said this made me laugh 4:21 (btw fantastic series! :))
this was helpful :D
is it ok because when the timer ends it dont teleport me and i look i dont see whats wrong so i just moved the box the box where you spussed to spawn in when your piggy i just moved that where you fall out of the map when your piggy can i just do that???
I get it thank alvin!!
for those who are having trouble in spawning as Piggy and all spelling are correct in the Game Logic and RoundModule script. try to run your game and see if the InMenu under the player is still there... and you might want to check your EventHandling script if misspelled the "MenuPlay" to "Menuplay"... it works for me, now am spawning as a Piggy.
The dislikes are from the 5 year olds that didn't know it wasn't already set up for them
@gammadosnahtan884
4 жыл бұрын
What if you are a 6 year old?
@votreamie
4 жыл бұрын
But how would they know about alvinblox tho? Isn't Roblox too old for 5 year olds?
@Springlolbit
4 жыл бұрын
Gaming with Friday no it’s for kids
@ferriscool8764
4 жыл бұрын
@@Springlolbit Its sarcasm bruh
@mystxshuni
4 жыл бұрын
Yeah, when they figure out that it isn’t set out on a platter, they get their panties in a bunch. Reminder: this is mainly for LEARNING purposes
Hello Alvin! Thank you very much for these videos, I have a bit of a problem so could you possibly help me solve it? I have done all the scripts (so far) on the Game Logic and RoundModule about the Dress.Piggy though when I test the game, the timer gets to 0 and nothing happens. Any help is appreciated. Thank you again.
@alapdo
4 жыл бұрын
Hey, can you help me with an error I have with character.Name = Piggy.Name? I get this error: ServerScriptService.GameLogic.RoundModule32
Great tutorial!
Your so good at explaining the script
I can’t spawn in as piggy. It stays stuck on the “Next Round in 0 seconds”. In the output it says KeyModule is not a valid member of Script and also ServerScriptService.GameLogic.RoundModule:32: attempt to index nil with ‘Name’. Could you help please?
@smasherty9163
4 жыл бұрын
Same
@darkness-lc2sg
4 жыл бұрын
i got the same error as well
@CharcoolDev
4 жыл бұрын
Yeah same
@teamRBX2923
4 жыл бұрын
same (o.o)
@deploydeployment212
4 жыл бұрын
Same with me
can someone give script on "items tweaning" that I can only have one thing in eq | that I can only have one item in my inventory, and when I click another, I won't have 2 in my inventory, just what I clicked, and the old one will replace the new one 1
thank you so much!
Alvin you are a legend
FOR PEOPLE WHO DON'T TELEPORT TO PIGGY WAITING ROOM Make sure that in Game Logic script you have exact same code: Round.TeleportPiggy(chosenPiggy) I accidentally wrote "ChosenChapter" and I was quite confused, but when I found the answer to the problem I was like "Oh well, I guess I'm not paying as much attention-"
Hey Alvin, can you help me? I was doing the part where it makes piggy spawn in the box, on lines 40-50 in the Round Module script, but it isn't working, can you do paste a bin on lines 40-15 so i can fix it, k thx!
@sbfshadoe9918
2 жыл бұрын
did you make the S capital in the walkspeed? thats how i fixed it
OMG , These Tutorial Rock ! To Be Honest , You ARE The Best KZreadr Who Does These Amazing Scripting Tutorials
Dude this guy is amazing it took me to days to fix this thing I thought you were a fake but I found what I did wrong PLayer
41:22 ( just a marking of how the doors work )
EVERYONE IF UR HAVING ANY SCRIPT PROBLEMS GO TO VIEW THEN OUTPUT AND THEN PLAY THE GAME AFTER THAT CLICK THE RED LINES AND IT WILL BRING YOU TO THE PART WHERE U MADE AN ERROR AND JUST GO BACK TO THE PART OF THE VID WHERE HE SHOWS IT! HOPE THAT HELP
@kravataf
3 жыл бұрын
thx bro
38:10
Thank you so much you gave helped me thank you
When you do "function module.choosePiggy" If I wanted to change it to like the actual "morph" I was going to use for example it says piggy and i'm using a chicken would I put chicken there or keep it piggy?
@antiscammersquad2547
4 жыл бұрын
I've called it the name of my game instead of piggy and it works perfectly for me
@upsidedownsmileyface4302
4 жыл бұрын
You can do either but it would be easier to keep them as piggy but chance the piggy model to be whatever model you want to use
@pabcp8116
4 жыл бұрын
I dont think you actually have to put piggy for example if you change everywhere it says piggy to chicken it wont effect it. Idk im not a coding pro but i think thats it
@iSkyy6000
Жыл бұрын
Yeah i'm using an rat it worked for me with every that of those its called it and the model of the chicken is called chicken
Does someone else doesn’t have the ‘Next round starts is...’ thingy after like 40:00? And if you do, how do I get it back?
@TheruleroftheSkaters
4 жыл бұрын
me too
@LuaTech
4 жыл бұрын
Try reading all errors to see where it went wrong
@LuaTech
4 жыл бұрын
I lost mine at 30:00
@alicia-id4nu
3 жыл бұрын
same but no one seems to know how to get it back ;/
@alicia-id4nu
3 жыл бұрын
Try This: On the wbsite it says to capitalize, which I think confused some people. *Do not capatalize the S in status value* instead, you should *write it like:* *status.Value with the V capitalized*
Hey i just wanna ask do we have to remake all the scripts we already did when we make a new chapter
25:05 Where i left because I'm tired. Good game btw alvin keep it up : )
Hey AlvinBlox, I noticed that when you are Piggy, you have to click to kill a player. Is there a way to just kill a player by just getting close to them?
@appledoesrandomstuff
4 жыл бұрын
awesomegamer1000 idk
@bubbletea695
2 жыл бұрын
You can give the Piggy a hitbox as well so when the piggy hitbox collides with the players one it kills the player
I litteraly had to set the intermission to 150 seconds to test because my computer took over 2 minutes to load the server test lol 😆
@sairanaveed1509
3 жыл бұрын
Tyler F lol 😅😅😅😅 can you teleport the player into the map? if u can plz told me what u write for the scripts. (copy and paste it)
@al3x1sfru1ty
3 жыл бұрын
XD
@kbpromotions
3 жыл бұрын
lol 150 seconds lol. btw 2 minutes it 120 seconds so yeah good thinking.
@romarkgaming2009
3 жыл бұрын
even more potato laptop/pc then me ;-;
This vid really help me
im becomming a member now
Yea But how do we make a cutscene like how when a piggy chapter starts it has a cutscene?
@dddddd9225
4 жыл бұрын
just add a cut scene part
@bluegamer3980
4 жыл бұрын
maybe cutscenes editor when button click or custom scene
@MichelisGerasimos
4 жыл бұрын
Yes i agree wtih you
@MichelisGerasimos
4 жыл бұрын
Maybe alvin will make that in part 5 or something
@fusionburstofficial
4 жыл бұрын
yes thats i a thing i wanna know
Hey Alvin! Thank you for doing this, also i dont know why I’m saying this but my roblox username is “extsion” thank you for doing the how to make a piggy game, also I really like the channel and I hope to become a good scripter like you I’m a bad scripter and builder
@elliottjewell5898
4 жыл бұрын
HEY! WHAT HAPPENED TO YOUR GAME WANTED TO CHECK OUT WHAT BECAME OF IT BUT IT WASNT THERE
Alvin is way better than my professor trying to explain a codes to the class.
That Explains alots.
5:06 just ignore this im putting a marker where I left off
The problem I have is when I am playing I wont spawn in and theres no piggy which is choosen can you help me or maybe copy paste the scripts bc its not working 😐
@squaredcube6018
4 жыл бұрын
maybe you need two peaple?????
@relaxingsooth7148
4 жыл бұрын
same
THANKSS BROOO
you are the best roblox tutorial youtube channel - -pls make video to make gamepass and it should be working like 2x speed gamepass- -
@markmule2533
3 жыл бұрын
sorry for the cut in the comment
@markmule2533
3 жыл бұрын
it is pls make video to make gamepass and it should be working like 2x speed gamepass
when the timer reaches 9m 41 seconds it stops and also on the output (when it reaches 9m 41secs) it says attempt to index nit with playerspawns? pls help
@noahfunnyguy
3 жыл бұрын
getting the same problem here. any luck on fixing it?
@itzseconds2620
3 жыл бұрын
@@noahfunnyguy same :/
@t2mptedd517
3 жыл бұрын
Same here
@DarkShadic9632
3 жыл бұрын
Same here. I hope somebody brings up how to fix this...
@kbpromotions
3 жыл бұрын
the script never works for me. this what i wrote in round module: local status = game.ReplicatedStorage:WaitForChild("Status") function module.Intermsition(length) for i = length,0, -1 do status.Value = "Next round starts in "..i.." seconds." wait(1) end end function module.SelectChapter() local rand = Random.new() local chapters = game.ReplicatedStorage.Chapters:GetChildren() local chosenChapter = chapters[rand:NextInteger(1, #chapters)] return chosenChapter end function module.ChooseNoob(players) local rand = Random.new() local chosenNoob = players[rand:NextInteger(1, #players)] return chosenNoob end function module.DressNoob(noob) local character = game.ServerStorage.OOFER:Clone() character.Name = noob.Name noob.Character = character character.Parent = game.Workspace end function module.TeleportNoob(player) if player.Character then player.Character.Humanoid.WalkSpeed = 14 if player.Character:FindFirstChild("HumanoidRootPart") then player.Character.HumanoidRootPart.CFrame = game.Workspace.WaitingRoom.PiggyWaitingSpawn.CFrame + Vector3(0,5,0) end end end function module.TeleportPlayers(players, mapSpawns) local rand = Random.new() for i, player in pairs(players) do if player.Character then local character = player.Character if character:FindFirstChild("HumanoidRootPart") then player.Character.Humanoid.WalkSpeed = 16 player.Character.HumanoidRootPart.CFrame = mapSpawns[rand:NextInteger(1, mapSpawns)].CFrame + Vector3(0,10,0) end end end end function module.InsertTag(contestants,tagName) for i, player in pairs(contestants) do local Tag = Instance.new("BoolValue") Tag.Name = tagName Tag.Parent = player end end local function toMS(s) return ("%02i:%02i"):format(s/60%60, s/%60) end function module.StartRound(length,noob,chosenMap) for i = length, 0, -1 do status.Value = toMS(i) wait(1) end end This What I Wrote For Game Logic Script: local Round = require(script.RoundModule) local Door = require(script.DoorModule) Round.Intermsition(30) local chosenChapter = Round.SelectChapter() local clonedChapter = chosenChapter:Clone() clonedChapter.Name = "Map" clonedChapter.Parent = game.Workspace local contestants = {} for i,v in pairs(game.Players:GetPlayers()) do if not v:FindFirstChild("InMenu") then table.insert(contestants,v) end end local chosenNoob = Round.ChooseNoob(contestants) for i, v in pairs(contestants) do if v == chosenNoob then table.remove(contestants,i) else game.ReplicatedStorage.ToggleTrap:FireClient(v,true) end end Round.DressNoob(chosenNoob) Round.TeleportNoob(chosenNoob) if clonedChapter:FindFirstChild("PlayerSpawns") then Round.TeleportPlayers(contestants, clonedChapter.PlayerSpawns:GetChildren()) else warn("Fatal Error: You Forgot To Add A Player Spawns Folder Into Your Map.") end Round.InsertTag(contestants, "Contestant") Round.InsertTag({chosenNoob},"OOFER") Round.StartRound(600,chosenNoob,clonedChapter)
alvin i have a problem when the timer says 0 second im not transformed into piggy? :(
@kenny3345
4 жыл бұрын
Bruhwhosjustin • Same for me I’m not teleport either
@miraa__
4 жыл бұрын
AniMattz Don’t Give Up! (even if you were kidding)
@miraa__
4 жыл бұрын
I was once making a game, and I had a problem in the output. I tried everything, but nothing worked. After who knows long of trying, I got back on, look at the line that the error was on, and realized I had a spelling mistake. You’ll find your problem if you try and believe! Don’t just immediately give up or give up 10 minutes after you tried fixing the problem.
without alvinblox i would be stuck doing nothing but alvinblox is the best and seriously he makes the best tutorials and im making a game like piggy called Slendy a slenderman version of piggy
@_Iseah
3 жыл бұрын
i used notepad and also looked at the screen to make sure i did it right and copy paste it and its fun to make a piggy game thanks to alvinblox
@alvinBlox is there a reason that when the player on the lefts cursor is invisible but the piggys isnt
Would like some help and advises: Here's my problem, When I test out using the roblox studio, one player got chosen as piggy but the contestant didn't get teleported to the map when using the "test" function in Roblox Studio and sometimes i also come with the problem that both the piggy and the Players didn't get teleported. Any help would be useful, thank you!
@whiteleaf7031
4 жыл бұрын
happening too please if you find fix tell me
@F1re_
4 жыл бұрын
For me it did not work because of the humanoid.walkspeed so i replaced that with just --Alvin blox stuff lol it teleported and worked
@squidzillathefish2579
4 жыл бұрын
That is mu problem too! Im sure Alvin has a solution!
@squidzillathefish2579
4 жыл бұрын
My problem’s fixed now! How silly of me, I spelt HumanoidRootPart with “Rot” It’s so easy to make little mistakes
@squidzillathefish2579
4 жыл бұрын
Lol, I tested and it still doesn’t work
what is the weird letter in the time of the video called 35:58 i dont understand
@aspyn0015
4 жыл бұрын
is a percent sign hold down shift and press five to do it it looks weird in studio %
@cringeyzed
4 жыл бұрын
its a percent(%)
Thanks for teaching me how to convert to Minutes and seconds
Hey Alvin, I was just wondering if I can changes those decals (The parts where there were decals of showing what the hammer uses and the wrench) and add a BillboardGui, will that affect anything if I delete it?
The spawns didn't work.. I would love it if you could type out the script.. I have no money so I cant become a member :c totally would tho..
@GamingwithMusa
4 жыл бұрын
The normal players spawns didn't work for me. :(
@GamingwithMusa
4 жыл бұрын
it was my mistake
@LMJPDN
4 жыл бұрын
yeah it dident work anyone know why
@danielpashley3323
4 жыл бұрын
Doesn’t work for me either
5:12 Ignore this. I’m just picking up where I left off
THANKS
great