Тёмный

How to make your own CUSTOM JToH Ring Select! [TUTORIAL] 

mFarGamer
Подписаться 1,4 тыс.
Просмотров 8 тыс.
50% 1

ooking to make a JToH ring select but don't know how? Look no further! In this tutorial, we'll show you step-by-step how to make a JToH ring select using scripts, roblox studio, and basic knowledge of building.
This JToH ring select tutorial is perfect for beginners who are looking to get started with making JToH fangames/scripting and want to make their first ring select. We'll walk you through every step of the process, from creating the GUI to scripting its functions. By the end of this tutorial, you'll have a basic JToH ring select ready to use in your JToH Fangame!
40 likes for a part 2
First Part of the script:
-- Do not change anything here
local teleportservice = game:GetService("TeleportService")
local TweenService = game:GetService("TweenService")
local lighting = game:GetService("Lighting")
local RingSelectGUI = script.Parent
local player = game.Players.LocalPlayer
local Character = player.Character or player.CharacterAdded:Wait()
local camera = game.Workspace.CurrentCamera
local menu_music = RingSelectGUI.Music
local clicksoundeffect = RingSelectGUI.Click
local EnterButton = RingSelectGUI.Enter
local Forwards = RingSelectGUI.Left
local Backwards = RingSelectGUI.Right
local desc = RingSelectGUI.Description
local title = RingSelectGUI.Title
local currentring = RingSelectGUI.CurrentRing
local Checkpoints = game.Workspace.Checkpoints
menu_music.SoundId = "rbxassetid://" ---- You can put any music you want by placing its SoundID here
clicksoundeffect.SoundId = "rbxassetid://12221967" --- Optional to change
local RingNames = {
[1] = "Ring 1: Generic Hills", -- You should change these to whatever the names of the rings in your game. You can also add more by duplicating it and increasing the key number
[2] = "Ring 2: Windtop city",
[3] = "Ring 3: Jumping Trees",
}
local Requirements = {
[1] = 0, --- Optional to change, these are your ring requirements
[2] = 5,
[3] = 12,
}
local descriptions = {
[1] = "Requirements: Nothing, Just hope in the game!", --- Feel free to change these aswell and its requirements
[2] = "Requirements: 5 towers beaten, Break zone!",
[3] = "Requirements: 12 towers beaten, Things are getting harder here!",
}
local placeIds = {
[1] = 11394617096, --- PLEASE CHANGE THIS TO YOUR RING PLACE ID
[2] = 0,
[3] = 0.
}
local cameras = { --------- camera positions for each ring, add more if you want
[1] = Checkpoints.RingOne,
[2] = Checkpoints.RingTwo,
[3] = Checkpoints.RingThree,
}
function Update(typeofClick)
clicksoundeffect:Play()
repeat wait()
camera.CameraType = Enum.CameraType.Scriptable
until camera.CameraType == Enum.CameraType.Scriptable
local animation = TweenService:Create(camera, TweenInfo.new(1,Enum.EasingStyle.Sine, Enum.EasingDirection.InOut,0,false,0),{CFrame = cameras[currentring.Value].CFrame})
animation:Play()
end
spawn(Update("Neutral"))
Second Part of the script (make sure it is in the right place):
if currentring.Value (add a greater than sign here bc yt wont allow it) #RingNames then
currentring.Value = #RingNames
end
if currentring.Value (add a less than sign here bc yt wont allow it) 1 then
currentring.Value = 1
end
Third Part of the script:
local Difficulties = { --------- Difficulty bars of each ring
[1] = RingSelectGUI.Ring1Difficulties,
[2] = RingSelectGUI.Ring2Difficulties,
[3] = RingSelectGUI.Ring3Difficulties,
}
print("Current Ring is: "..currentring.Value)
Character:WaitForChild("HumanoidRootPart").Anchored = true
title.Text = RingNames[currentring.Value]
desc.Text = descriptions[currentring.Value]
print(Difficulties[currentring.Value].Name)
Difficulties[currentring.Value].Visible = true
if typeofClick == "positive" then
print("Ring Down")
if currentring.Value (greater than sign) 1 then
Difficulties[currentring.Value - 1].Visible = false
end
end
if typeofClick == "negative" then
print("Ring Up")
if currentring.Value (greater than sign) 1 then
Difficulties[currentring.Value + 1].Visible = false
end
end
Fourth Part of the script:
EnterButton.MouseButton1Down:Connect(function()
local tc = script.Parent.Parent.Parent.leaderstats["Towers Beaten"].Value
print(tc)
if tc (greater than sign)= Requirements[currentring.Value] then
print("success")
teleportservice:Teleport(placeIds[currentring.Value],player)
else
print("fail")
end
end)
spawn(Update("Neutral"))
Tower Counter Script:
while true do
wait(.1)
script.Parent.Text = "Towers Beaten: "..game.Players.LocalPlayer:FindFirstChild("leaderstats"):FindFirstChild("Towers Beaten").Value
end

Игры

Опубликовано:

 

6 ноя 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 107   
@mfargamer
@mfargamer Год назад
www.roblox.com/games/11394615345/RIng-Select-Tutorial THIS GAME IS NOW UNCOPYLOCKED GO USE IT IF YOU ARE STUCK!
@iweyo1425
@iweyo1425 Год назад
Camera isnt working
@mfargamer
@mfargamer Год назад
@@iweyo1425 I'll investigate the problem tomorrow
@mfargamer
@mfargamer Год назад
@@iweyo1425 it seems like it works for me, can you explain the problem a bit more
@highroller5972
@highroller5972 Год назад
@@mfargamer camera wont work for me even tho i put the script in and everything (including the right area )
@Over0w0MeAmTheHotel
@Over0w0MeAmTheHotel Год назад
@@mfargamer are you making part 2?
@promoter9257
@promoter9257 Год назад
thanks to this video me, and my 3 friends are starting to make a JToH fangame!
@Over0w0MeAmTheHotel
@Over0w0MeAmTheHotel Год назад
Thanks for helping me with the ring select, I wish there was a part 2 of this
@Rsl-lthylpinsgad
@Rsl-lthylpinsgad Год назад
Thank you so much! I already made a fangame, and created a couple towers in the first ring, I was originally just planning to use portals or something lol
@FunniAndDumbJToHPlayer
@FunniAndDumbJToHPlayer Год назад
What is the fan game called
@Rsl-lthylpinsgad
@Rsl-lthylpinsgad Год назад
@@FunniAndDumbJToHPlayer Indie's Towers of Simplicity (its very bad tho)
@ExoticCheeseDev
@ExoticCheeseDev 10 месяцев назад
@@Rsl-lthylpinsgad whats the link cause i cant find it in search
@BebPlays
@BebPlays Год назад
I am indeed 1st, but I am not flexing. I am going to comment something related to the video. This is a tutorial we need.
@imanoobsoyeahanyways4996
@imanoobsoyeahanyways4996 Год назад
Yay! I’ve always wanted to make a fangame!
@krodite3690
@krodite3690 Год назад
If you want the difficulty bar to change when going BACK to ring 1 from any other ring, go to line 83 then change [if currentring.Value > 1 then] to if currentring.Value >= 1 then, hope this helped
@christianepps3584
@christianepps3584 Год назад
Thank you so much dude!!!
@jacksonnuffer6450
@jacksonnuffer6450 Год назад
get this man to 100 likes
@SoapheadPog
@SoapheadPog Год назад
I will not use this tutorial soon, but if my towers get rejected, I will make a game just for my rejected towers and use this tutorial
@anvekh
@anvekh 6 месяцев назад
when i click "enter" it doesnt tp me to my ring 1 place even tho i entered the id correctly, its published, and its public.
@help-ky8bq
@help-ky8bq Месяц назад
thank yoy
@theotherquantum
@theotherquantum 5 месяцев назад
teleport doesnt work for me for some reason, i changed the place id to the one i want to teleport to but it seems that when i click enter nothing happens
@BB_Bulletss
@BB_Bulletss 4 месяца назад
Can you tell me why it wont teleport me to the place i created? I put the id in the script and it wont teleport me. It wont do anything.
@exocrown2512
@exocrown2512 Год назад
I used my placeid and it said that it was restricted when I hit enter. Its on public, so why can't I join?
@Over0w0MeAmTheHotel
@Over0w0MeAmTheHotel Год назад
I still can't thank you enough for this video, but since the video hit 91 likes, when will we get part 2 of this?
@highroller5972
@highroller5972 Год назад
how do you make the ring 2 without seeing it on ring 1
@matylin
@matylin Год назад
my currentring value doesnt work i type in “1” but not working
@suprmthesupreme
@suprmthesupreme 3 месяца назад
can yuo make tutorial how make worlds?
@Gumdrop-N0t
@Gumdrop-N0t 3 месяца назад
when i try to join my game it says error 769 yes i put my game id in there
@uglychiphead
@uglychiphead Год назад
am i able to name the object things like "RegionOne" or do i have to call them "RingOne"
@RonickMC1
@RonickMC1 Год назад
you can but then youll have to change the localscript
@gearssssssssssssssssssssssssss
@gearssssssssssssssssssssssssss 5 месяцев назад
what about subrealms
@mxejmc4409
@mxejmc4409 Год назад
can you do the tower counter tutorial?
@krodite3690
@krodite3690 Год назад
give the players a badge for each tower, count the badges once the player loads and give the player the amount of towers according to the amount of badges they own
@WT_FT
@WT_FT Год назад
i already have a game with 1.7k visits and its just a game with alot of towers sould i add ring select in there
@mfargamer
@mfargamer Год назад
yeah
@WT_FT
@WT_FT Год назад
@@mfargamer alr
@omegabob88
@omegabob88 Год назад
mine isn't working or maybe i made something wrong
@frenspz
@frenspz 5 месяцев назад
I followed the tutorial, and when I first copied and pasted the LocalScript (The one where after you put it in, you show that now the cameras work and change CurrentRing to 1) for me, the cameras do NOT work? at all? even when i change CurrentRing to 1, like you said, still i don’t have a camera view and the buttons do NOTHING
@Its_me_just_normalman
@Its_me_just_normalman Месяц назад
yeah me too
@inthelimit7377
@inthelimit7377 Месяц назад
@@Its_me_just_normalman hey i fixed the code i think
@Its_me_just_normalman
@Its_me_just_normalman Месяц назад
@@inthelimit7377 oh
@seymourshepard8376
@seymourshepard8376 Год назад
The script says that typeofclick is unknown
@matheusatico446
@matheusatico446 Год назад
part 2? with how of make the towers beaten work
@matheusatico446
@matheusatico446 10 месяцев назад
with badges, i forgot to say...
@Dr-Phoenix
@Dr-Phoenix Год назад
My camera doesn't move when I click the buttons, the parts are in the folder and they are named correctly, any fixes??
@benu6045
@benu6045 Год назад
There is a part of the script that is not in the description that you need to write with hands. It beggins with "backward.mousebutton1down" try copying that cuz that was the same problem for me
@Dr-Phoenix
@Dr-Phoenix Год назад
@@benu6045 ok Thanks!
@BlindingNebula
@BlindingNebula Год назад
the camera doesnt work for me :/ ?
@xixily530
@xixily530 Год назад
where do i put the second part of the script
@ac720_music
@ac720_music 3 месяца назад
it's in the video, you can see him doing it
@tumppi08
@tumppi08 23 дня назад
Ah yes 3 easy steeples in a ring with 2 medium towers
@matylin
@matylin Год назад
Camera not works؟🤷🏿‍♀️
@cozmecs5051
@cozmecs5051 Год назад
... if currentring.Value > 1 then Difficulties[currentring.Value - 1].Visible = false end end if typeofClick == "negative" then print("Ring Up") if currentring.Value > 1 then Difficulties[currentring.Value + 1].Visible = false end I added an = sign to the "if currentring.Value > 1 then" string because when I came back to my Ring 1 from another ring further in the game, it would show the Ring 2 difficulties. ... if currentring.Value >= 1 then Difficulties[currentring.Value - 1].Visible = false end end if typeofClick == "negative" then print("Ring Up") if currentring.Value >= 1 then Difficulties[currentring.Value + 1].Visible = false end thank me later ;)
@cozmecs5051
@cozmecs5051 Год назад
Also, I found that the IntValue that stores the currentring.Value can go to numbers you don't want, like negative numbers or 10 (9 is my highest ring). For this, just copy: if currentring.Value == 0 then currentring.Value = 1 end if currentring.Value == [Your last ring value + 1] then currentring.Value = [Your last ring value] end Make sure you put this right after: local Difficulties = { --------- Difficulty bars of each ring [1] = RingSelectGUI.Ring1Difficulties, [2] = RingSelectGUI.Ring2Difficulties, [3] = RingSelectGUI.Ring3Difficulties, [4] = RingSelectGUI.Ring4Difficulties, [5] = RingSelectGUI.Ring5Difficulties, [6] = RingSelectGUI.Ring6Difficulties, [7] = RingSelectGUI.Ring7Difficulties, [8] = RingSelectGUI.Ring8Difficulties, [9] = RingSelectGUI.Ring9Difficulties, } function Update(typeofClick) clicksoundeffect:Play() print("Current Ring is: "..currentring.Value) You're welcome.
@MoonWas_Here
@MoonWas_Here 10 месяцев назад
is there a way to add more rings?
@mfargamer
@mfargamer 10 месяцев назад
yes you can add another element in each table for a new ring e.g. local RingNames = { [1] = "Ring 1: Generic Hills", [2] = "Ring 2: Windtop city", [3] = "Ring 3: Jumping Trees", [4] = "Ring 4: Insert Name", } also add another camera and difficulty bar as well
@gearssssssssssssssssssssssssss
@gearssssssssssssssssssssssssss 5 месяцев назад
@@mfargamer what about subrealms
@Oc3anRoblox
@Oc3anRoblox Год назад
I’m doing this on an apple device does this change some things bc I tried it and the camera won’t work. 🤷‍♂️
@Oc3anRoblox
@Oc3anRoblox Год назад
Great now the camera works but my character still somehow spawns in 😒
@Oc3anRoblox
@Oc3anRoblox Год назад
Ok sry to be annoying but when you access it from Roblox should nothing appear bc that’s what happening with me
@jesushodar9622
@jesushodar9622 26 дней назад
when i searched this the first video i got was an gen Z video in portugese brookhaven roblox yeah i totally don't like that type of videos edit: its actually gen alpha, gen Z and gen alpha does confuse me
@monoc120
@monoc120 11 месяцев назад
the 'spawn(Update("Neutral"))' part is broken
@inthelimit7377
@inthelimit7377 Месяц назад
TRY spawn(function() Update("Neutral") -- Call the Update function with "Neutral" as the argument end)
@inthelimit7377
@inthelimit7377 Месяц назад
it should work cause when i used it it worked
@sand3496
@sand3496 6 месяцев назад
yo so I did the script as I was instructed but for some reason it spawns in my character and doesnt lock on to the camera can someone help
@buble582
@buble582 2 месяца назад
the same thing happend to me
@jakeofficialjtoh
@jakeofficialjtoh 12 часов назад
maybe try anchoring your camera parts as they might get deleted when unanchored
@Cheese45542
@Cheese45542 5 дней назад
the script is different than what i have at 9:22
@Cheese45542
@Cheese45542 5 дней назад
it doesnt work the camera wont move
@priscillasmith5142
@priscillasmith5142 4 месяца назад
My camera wasn't working at 8:40
@priscillasmith5142
@priscillasmith5142 4 месяца назад
If you're wondering how, it just spawns my character in and doesn't even go to one of the blocks or in the air.
@NegativeScripting
@NegativeScripting Год назад
bruh my auto quality was 480p lol
@Over0w0MeAmTheHotel
@Over0w0MeAmTheHotel Год назад
Where’s part 2? It reached over 100 likes at this point.
@mfargamer
@mfargamer 10 месяцев назад
it is coming tomorrow!
@Over0w0MeAmTheHotel
@Over0w0MeAmTheHotel 10 месяцев назад
@@mfargamer holy crap and i was losing hope
@AceXShowcase1654
@AceXShowcase1654 Год назад
The cameras dont work for me please help
@mfargamer
@mfargamer 10 месяцев назад
sorry for late reply In what why does your camera not work
@mfargamer
@mfargamer Год назад
www.roblox.com/library/1496745047/AutoScale-Lite USE THIS TO HELP YOU
@okumonotheknight8558
@okumonotheknight8558 11 месяцев назад
why did you make it so complicated just put the entire script as it is supposed to be in the description
@mfargamer
@mfargamer 10 месяцев назад
because some people may be completely new to roblox studio so this video gives a soft start to those who are willing to make a JToH fangame without any prior experience
@matylin
@matylin Год назад
Script doesnt work
@Its_me_just_normalman
@Its_me_just_normalman Месяц назад
help pls camera didnt work
@crazycorgigamer2648
@crazycorgigamer2648 26 дней назад
copy the uncopy locked version and just steal the script
@WT_FT
@WT_FT Год назад
not working
@JustAGuy1298
@JustAGuy1298 10 месяцев назад
The camera won't work guess it is time to go back to obby creator
@mfargamer
@mfargamer 10 месяцев назад
can you explain how it does not work?
@emoemoemo111
@emoemoemo111 10 месяцев назад
PLS MODEL
@mfargamer
@mfargamer 10 месяцев назад
maybe in part 2
@Virepon
@Virepon Год назад
teleport dont working
@Virepon
@Virepon Год назад
sorry working, forgor about change leaderstats. Thanks for tutorial and copy
@cubegaming8805
@cubegaming8805 Год назад
camera wont work :(
@emerald5567
@emerald5567 Год назад
Did you add the the camera parts in checkpoints folder?
@cubegaming8805
@cubegaming8805 Год назад
@@emerald5567 yes
@emerald5567
@emerald5567 Год назад
That wierd maybe theres incorrect names
@cubegaming8805
@cubegaming8805 Год назад
@@emerald5567 nope did it right still broken tho
@emerald5567
@emerald5567 Год назад
You could use the copyable game
@test10565
@test10565 Год назад
DOWN!!!!!!!!!!YOU
@test10565
@test10565 Год назад
THIS GAME WONT ME PLAY
@realjtobbynoway
@realjtobbynoway Год назад
When i load in the game i see my character
@emerald5567
@emerald5567 Год назад
Everything works accept for the music is there any fix and yes the audio id is correct Forgot to say that its roblox music Edit 2 how do you get it to work properly on mobile the guis are very big and messed up Edit 3 i figured out how to make music work
@mfargamer
@mfargamer Год назад
you could set all UI position/size to scale rather than offset so it fits all screens
@emerald5567
@emerald5567 Год назад
@@mfargamer thank you i didnt even think of that
@LioPrime
@LioPrime 9 месяцев назад
thanks, this is amazing, i will start in a couple hours 🟩🟨🟧🟫🟥⬛🟪 wow look emoji difficulty chart
Далее
JToH: Winners and Losers PART 2
12:22
Просмотров 11 тыс.
How I made a JTOH FANGAME in ONE HOUR
5:47
Просмотров 23 тыс.
FOUND MONEY 😱 #shorts
00:31
Просмотров 3,8 млн
🎙Пою Вживую!
3:12:58
Просмотров 1,6 млн
JToH: Best and Worst things about Every SC Tower!
9:03
Probability Comparisons: JToH
3:07
Просмотров 94 тыс.
Citadel of Difficulty Chart (CoDC) - Jtoh XL Ring 2
28:37
I Tested Terrible Roblox Game Ideas
17:16
Просмотров 211 тыс.
Making 25 JToH builders create something in 1 hour
13:27
I Played Unintentionally BAD Jtoh Fangames...
14:34
Просмотров 11 тыс.
Winners and Losers: JToH Towers (PART 1)
7:54
Просмотров 12 тыс.
Free 30r in Duo Op Tactic
0:55
Просмотров 627 тыс.