conanssam
conanssam
비공개
Sign In

로블록스 게임 만들기

https://chatgpt.com/
로블록스 게임을 만들꺼야. 
내 설명을 듣고 게임을 만들 수 있게 도와줘.

###설명
- 점프맵
- 난이도가 점점 올라감
- 타워식으로 위로 올라감
https://www.perplexity.ai/
https://www.perplexity.ai/
perplexity.ai
랜덤 블록 생성 코드
ServerScriptService 안에 script 파일 생성하고 복사 - 붙여넣기 하기
local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")

local COOLDOWN_TIME = 2 -- 파트 생성 간 대기 시간 (초)
local MAX_PARTS = 10 -- 최대 생성 가능한 파트 수
local HEIGHT_INCREASE = 2 -- 각 파트마다 올라가는 높이

local function createPart(position)
	local part = Instance.new("Part")
	part.Size = Vector3.new(4, 1, 4)
	part.Position = position
	part.Anchored = true
	part.Parent = Workspace
	return part
end

local function getRandomOffset()
	local angle = math.random() * 2 * math.pi
	return Vector3.new(math.cos(angle) * 10, HEIGHT_INCREASE, math.sin(angle) * 10)
end

local function onCharacterAdded(character)
	local humanoid = character:WaitForChild("Humanoid")
	local rootPart = character:WaitForChild("HumanoidRootPart")
	local lastPart = nil
	local partCount = 0
	local lastPartCreationTime = 0

	local function createNewPart()
		if os.time() - lastPartCreationTime < COOLDOWN_TIME then
			return -- 쿨다운 시간이 지나지 않았으면 생성하지 않음
		end

		if partCount >= MAX_PARTS then
			if lastPart and lastPart.Parent then
				lastPart:Destroy() -- 최대 개수 도달 시 가장 오래된 파트 제거
				partCount = partCount - 1
			end
		end

		local newPosition = lastPart and (lastPart.Position + getRandomOffset()) or (rootPart.Position - Vector3.new(0, 3, 0))
		lastPart = createPart(newPosition)
		partCount = partCount + 1
		lastPartCreationTime = os.time()

		lastPart.Touched:Connect(function(hit)
			if hit.Parent == character then
				createNewPart()
			end
		end)
	end

	humanoid.StateChanged:Connect(function(_, newState)
		if newState == Enum.HumanoidStateType.Jumping then
			wait(0.5) -- 점프 후 잠시 대기
			createNewPart()
		end
	end)
end

Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(onCharacterAdded)
end)

for _, player in Players:GetPlayers() do
	if player.Character then
		onCharacterAdded(player.Character)
	end
end
GUI만들기

투표

제일 재미있게 보는 유튜브 채널 소개하기

Question

탈모는 못깨는 타워
탈모는 못깨는 타워
Check out 탈모는 못깨는 타워. It’s one of the millions of unique, user-generated 3D experiences created on Roblox.
roblox.com
못깰수 없는 점프맵
탈모는 못깨는 타워
Check out 탈모는 못깨는 타워. It’s one of the millions of unique, user-generated 3D experiences created on Roblox.
roblox.com
불가능한 타워
불가능한타워
Check out 불가능한타워. It’s one of the millions of unique, user-generated 3D experiences created on Roblox.
roblox.com
샤랄라 멋진 무지개 타워
샤랄라 예쁜 무지개 타워(아주 재미있고 아주 예뻐요)
Check out 샤랄라 예쁜 무지개 타워(아주 재미있고 아주 예뻐요). It’s one of the millions of unique, user-generated 3D experiences created on Roblox.
roblox.com
아무도 못깨는 타워
아무도 못깨는 타워
Check out 아무도 못깨는 타워. It’s one of the millions of unique, user-generated 3D experiences created on Roblox. (아,못,타)고수들은 깰지도?ㅋㅋㅋㅋㅋㅋㅋㅋㅋ
roblox.com
응애오비
응애오비
Check out 응애오비. It’s one of the millions of unique, user-generated 3D experiences created on Roblox. 아기가만든 응애-오비
roblox.com
제작자만 못깨는 타워
제작자만 못 깨는 타워
Check out 제작자만 못 깨는 타워. It’s one of the millions of unique, user-generated 3D experiences created on Roblox.
roblox.com
Made with Slashpage