Crate Canyon
Cañón de las Cajas
Turn your Star Island game into a canyon run: a chase camera, a spin attack, crates that go SMASH, TNT and rolling boulders. 10 lessons, one star each.
Convierte tu juego de Isla Estrella en una carrera por el cañón: cámara que te persigue, ataque giratorio, cajas que se rompen, TNT y rocas rodantes. 10 lecciones, una estrella cada una.
Nota: la mayoría de los videos están en inglés. En YouTube puedes activar los subtítulos (CC) y traducirlos al español.
-
Build the canyon runConstruye la carrera del cañón
Goal: Build a long, narrow path between rock walls, far from your island, and a magic painting that takes you there.
Meta: Construye un camino largo y angosto entre paredes de roca, lejos de tu isla, y un cuadro mágico que te lleve ahí.
Watch firstMira primero- Build Your First Obby in Roblox Studio! (Step-by-Step for Beginners)kidskod
- How to Make a Teleporter in Roblox StudioSquidingz · 3:34
- Open your Star Island game in Roblox Studio. World 2 lives in the same game, far away from the island.
- Build a straight path about 300 studs long, with tall rock walls on both sides and a few gaps to jump.
- Put a small Part at the start and name it CanyonStart. Put another at the very end and name it CanyonEnd. Anchor both, set Transparency to 1 and turn CanCollide off.
- Add a new magic painting on your island that teleports you to CanyonStart (the same trick as World 1, lesson 8).
- Abre tu juego de Isla Estrella en Roblox Studio. El Mundo 2 vive en el mismo juego, lejos de la isla.
- Construye un camino recto de unos 300 studs de largo, con paredes altas de roca a los lados y algunos huecos para saltar.
- Pon una Part pequeña al inicio y llámala CanyonStart. Pon otra al final y llámala CanyonEnd. Ánclalas (Anchored), pon Transparency en 1 y apaga CanCollide.
- Agrega un cuadro mágico nuevo en tu isla que te teletransporte a CanyonStart (el mismo truco del Mundo 1, lección 8).
Bix tip: The names must be exact: CanyonStart and CanyonEnd, with capital letters. The next scripts look for them.
Consejo de Bix: Los nombres deben ser exactos: CanyonStart y CanyonEnd, con mayúsculas. Los siguientes scripts los buscan.
Not working? Bix's fix-it list¿No funciona? Los arreglos de Bix
- The painting does not take you there? Check the name: CanyonStart, capital C and S, no spaces. The painting must point to that exact Part.
- The path or walls fall when you press Play? Select them and turn on Anchored.
- You land inside a wall or under the floor? Move CanyonStart a few studs up, so it floats just above the path.
- Still stuck? Open View > Output in Studio: the red or orange line says what is wrong.
- ¿El cuadro no te lleva? Revisa el nombre: CanyonStart, con C y S mayúsculas y sin espacios. El cuadro debe apuntar a esa Part exacta.
- ¿El camino o las paredes se caen al presionar Play? Selecciónalos y activa Anchored.
- ¿Apareces dentro de una pared o bajo el piso? Sube CanyonStart unos studs, para que flote justo encima del camino.
- ¿Sigues atorado? Abre View > Output en Studio: la línea roja o naranja dice qué está mal.
-
Chase cameraCámara que te persigue
Goal: Inside the canyon, the camera flies behind you and always looks down the path, like in classic running games.
Meta: Dentro del cañón, la cámara vuela detrás de ti y siempre mira hacia el camino, como en los juegos clásicos de correr.
Watch firstMira primero- How to MANIPULATE the Player's Camera in Roblox StudioRustysillyband
- Roblox Studio How To - First Person and Side-Scrolling CamerasStoryScapes Studios
- In the Explorer, open StarterPlayer, then StarterPlayerScripts.
- Click the + next to StarterPlayerScripts, add a LocalScript and rename it ChaseCamera.
- Delete the line that is already inside, paste the script below and press Play. Jump into your painting!
- En el Explorer abre StarterPlayer y luego StarterPlayerScripts.
- Haz clic en el + junto a StarterPlayerScripts, agrega un LocalScript y llámalo ChaseCamera.
- Borra la línea que ya trae, pega el script de abajo y presiona Play. ¡Salta dentro de tu cuadro!
ChaseCameraLocalScriptLocalScript in StarterPlayer > StarterPlayerScripts
-- LocalScript in StarterPlayer > StarterPlayerScripts -- Inside the canyon, the camera flies behind you and looks toward the end flag. local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local camera = workspace.CurrentCamera local startFlag = workspace:WaitForChild("CanyonStart") local endFlag = workspace:WaitForChild("CanyonEnd") local HEIGHT = 9 -- how high the camera floats local BACK = 16 -- how far behind you it stays local LOOK_AHEAD = 10 -- how far in front of you it looks local WIDTH = 60 -- how wide the canyon is, in studs local inCanyon = false RunService.RenderStepped:Connect(function(dt) local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if not root then return end -- Which way does the canyon go? From the start flag to the end flag. local path = endFlag.Position - startFlag.Position path = Vector3.new(path.X, 0, path.Z) local forward = path.Unit -- Are you between the two flags? local offset = root.Position - startFlag.Position local along = offset:Dot(forward) local side = offset - forward * along local sideDistance = Vector3.new(side.X, 0, side.Z).Magnitude local inside = along > -10 and along < path.Magnitude + 10 and sideDistance < WIDTH if inside then camera.CameraType = Enum.CameraType.Scriptable local cameraSpot = root.Position - forward * BACK + Vector3.new(0, HEIGHT, 0) local lookAt = root.Position + forward * LOOK_AHEAD local goal = CFrame.lookAt(cameraSpot, lookAt) -- Glide smoothly instead of jumping. camera.CFrame = camera.CFrame:Lerp(goal, math.min(1, dt * 8)) inCanyon = true elseif inCanyon then -- Back on the island: normal camera again. camera.CameraType = Enum.CameraType.Custom inCanyon = false end end)ChaseCameraLocalScriptLocalScript en StarterPlayer > StarterPlayerScripts
-- LocalScript en StarterPlayer > StarterPlayerScripts -- Dentro del cañón, la cámara vuela detrás de ti y mira hacia la bandera final. local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local camera = workspace.CurrentCamera local startFlag = workspace:WaitForChild("CanyonStart") local endFlag = workspace:WaitForChild("CanyonEnd") local HEIGHT = 9 -- qué tan alto flota la cámara local BACK = 16 -- qué tan atrás de ti se queda local LOOK_AHEAD = 10 -- qué tan lejos enfrente mira local WIDTH = 60 -- qué tan ancho es el cañón, en studs local inCanyon = false RunService.RenderStepped:Connect(function(dt) local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if not root then return end -- ¿Hacia dónde va el cañón? De la bandera de inicio a la bandera final. local path = endFlag.Position - startFlag.Position path = Vector3.new(path.X, 0, path.Z) local forward = path.Unit -- ¿Estás entre las dos banderas? local offset = root.Position - startFlag.Position local along = offset:Dot(forward) local side = offset - forward * along local sideDistance = Vector3.new(side.X, 0, side.Z).Magnitude local inside = along > -10 and along < path.Magnitude + 10 and sideDistance < WIDTH if inside then camera.CameraType = Enum.CameraType.Scriptable local cameraSpot = root.Position - forward * BACK + Vector3.new(0, HEIGHT, 0) local lookAt = root.Position + forward * LOOK_AHEAD local goal = CFrame.lookAt(cameraSpot, lookAt) -- Se desliza suave en vez de brincar. camera.CFrame = camera.CFrame:Lerp(goal, math.min(1, dt * 8)) inCanyon = true elseif inCanyon then -- De vuelta en la isla: cámara normal otra vez. camera.CameraType = Enum.CameraType.Custom inCanyon = false end end)Bix tip: Try changing HEIGHT and BACK at the top of the script. Small numbers = camera close to you, big numbers = camera far away.
Consejo de Bix: Prueba cambiar HEIGHT y BACK arriba del script. Números chicos = cámara cerca, números grandes = cámara lejos.
Not working? Bix's fix-it list¿No funciona? Los arreglos de Bix
- Nothing changes? Look at the icon: it must be a LocalScript (not a Script), inside StarterPlayer > StarterPlayerScripts.
- Output says Infinite yield possible on CanyonStart or CanyonEnd? Lesson 1's Parts are missing or misspelled.
- The camera goes back to normal halfway? Your path bends or is wider than 60 studs. Make it straight from CanyonStart to CanyonEnd, or make WIDTH bigger.
- Still stuck? Open View > Output in Studio: the red or orange line says what is wrong.
- ¿No cambia nada? Mira el ícono: debe ser un LocalScript (no un Script), dentro de StarterPlayer > StarterPlayerScripts.
- ¿Output dice Infinite yield possible con CanyonStart o CanyonEnd? Faltan las Parts de la lección 1 o tienen otro nombre.
- ¿La cámara vuelve a la normal a la mitad? Tu camino dobla o mide más de 60 studs de ancho. Hazlo recto de CanyonStart a CanyonEnd, o sube WIDTH.
- ¿Sigues atorado? Abre View > Output en Studio: la línea roja o naranja dice qué está mal.
-
Crates that go SMASHCajas que se rompen
Goal: Jump on a wooden crate to smash it, bounce up and win an apple.
Meta: Salta sobre una caja de madera para romperla, rebotar y ganar una manzana.
Watch firstMira primero- How to Make Breakable Parts with Regen!Valor · 3:13
- Touched Event, Leaderstats & Money System Tutorialcrfly
- In ServerScriptService add a Script named CanyonSetup and paste the first script. It makes your Apples counter.
- In StarterPlayer > StarterCharacterScripts add a LocalScript named Bounce and paste the second script.
- In Workspace add a Folder named Crates. Inside it make a 4 × 4 × 4 Part, Anchored, with Material WoodPlanks. That is your crate.
- Add a Script inside the crate and paste the third script. Then press Ctrl+D to copy the crate and spread copies along the canyon.
- En ServerScriptService agrega un Script llamado CanyonSetup y pega el primer script. Crea tu contador de Manzanas (Apples).
- En StarterPlayer > StarterCharacterScripts agrega un LocalScript llamado Bounce y pega el segundo script.
- En Workspace agrega una Folder llamada Crates. Adentro haz una Part de 4 × 4 × 4, anclada (Anchored), con Material WoodPlanks. Esa es tu caja.
- Agrega un Script dentro de la caja y pega el tercer script. Luego presiona Ctrl+D para copiar la caja y reparte copias por el cañón.
CanyonSetupScriptScript in ServerScriptService
-- Script in ServerScriptService -- Gives every player an Apples counter and makes the messages the other scripts use. local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") -- Messages between the game and the players for _, name in { "Bounce", "Spin" } do if not ReplicatedStorage:FindFirstChild(name) then local event = Instance.new("RemoteEvent") event.Name = name event.Parent = ReplicatedStorage end end local function addApples(player) -- Use the leaderstats from World 1 if they are there. local stats = player:WaitForChild("leaderstats", 2) if not stats then stats = Instance.new("Folder") stats.Name = "leaderstats" stats.Parent = player end local apples = Instance.new("IntValue") apples.Name = "Apples" apples.Parent = stats end Players.PlayerAdded:Connect(addApples)CanyonSetupScriptScript en ServerScriptService
-- Script en ServerScriptService -- Le da a cada jugador un contador de Manzanas y crea los mensajes que usan los otros scripts. local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") -- Mensajes entre el juego y los jugadores for _, name in { "Bounce", "Spin" } do if not ReplicatedStorage:FindFirstChild(name) then local event = Instance.new("RemoteEvent") event.Name = name event.Parent = ReplicatedStorage end end local function addApples(player) -- Usa los leaderstats del Mundo 1 si ya existen. local stats = player:WaitForChild("leaderstats", 2) if not stats then stats = Instance.new("Folder") stats.Name = "leaderstats" stats.Parent = player end local apples = Instance.new("IntValue") apples.Name = "Apples" apples.Parent = stats end Players.PlayerAdded:Connect(addApples)BounceLocalScriptLocalScript in StarterPlayer > StarterCharacterScripts
-- LocalScript in StarterPlayer > StarterCharacterScripts -- When you land on a crate or an enemy, you bounce up. Boing! local ReplicatedStorage = game:GetService("ReplicatedStorage") local character = script.Parent local root = character:WaitForChild("HumanoidRootPart") local bounce = ReplicatedStorage:WaitForChild("Bounce") local BOUNCE_POWER = 45 -- bigger = higher bounce bounce.OnClientEvent:Connect(function() local speed = root.AssemblyLinearVelocity root.AssemblyLinearVelocity = Vector3.new(speed.X, BOUNCE_POWER, speed.Z) end)BounceLocalScriptLocalScript en StarterPlayer > StarterCharacterScripts
-- LocalScript en StarterPlayer > StarterCharacterScripts -- Cuando caes sobre una caja o un enemigo, rebotas hacia arriba. ¡Boing! local ReplicatedStorage = game:GetService("ReplicatedStorage") local character = script.Parent local root = character:WaitForChild("HumanoidRootPart") local bounce = ReplicatedStorage:WaitForChild("Bounce") local BOUNCE_POWER = 45 -- más grande = rebote más alto bounce.OnClientEvent:Connect(function() local speed = root.AssemblyLinearVelocity root.AssemblyLinearVelocity = Vector3.new(speed.X, BOUNCE_POWER, speed.Z) end)CrateScriptScript inside the crate Part (in the Crates folder)
-- Script inside each crate (a Part in the Crates folder) -- Jump on the crate to smash it and get an apple. local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Debris = game:GetService("Debris") local crate = script.Parent local bounce = ReplicatedStorage:WaitForChild("Bounce") crate:SetAttribute("Smashable", true) -- the spin attack looks for this local broken = false local function smash(player) if broken then return end broken = true if player then local stats = player:FindFirstChild("leaderstats") local apples = stats and stats:FindFirstChild("Apples") if apples then apples.Value += 1 end end -- Wood pieces fly everywhere! for i = 1, 6 do local piece = Instance.new("Part") piece.Size = crate.Size / 3 piece.Color = crate.Color piece.Material = crate.Material piece.CanCollide = false piece.CFrame = crate.CFrame piece.Parent = workspace piece.AssemblyLinearVelocity = Vector3.new(math.random(-20, 20), math.random(20, 40), math.random(-20, 20)) Debris:AddItem(piece, 1.5) end crate:Destroy() end crate.Touched:Connect(function(hit) local character = hit.Parent local player = Players:GetPlayerFromCharacter(character) local root = character and character:FindFirstChild("HumanoidRootPart") -- Only if you land on TOP of the crate if player and root and root.Position.Y > crate.Position.Y + crate.Size.Y / 2 + 1 then bounce:FireClient(player) smash(player) end end) -- The spin attack (lesson 4) smashes crates too. crate:GetAttributeChangedSignal("SmashedBy"):Connect(function() smash(Players:GetPlayerByUserId(crate:GetAttribute("SmashedBy"))) end)CrateScriptScript dentro de la Part de la caja (en la carpeta Crates)
-- Script dentro de cada caja (una Part en la carpeta Crates) -- Salta sobre la caja para romperla y ganar una manzana. local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Debris = game:GetService("Debris") local crate = script.Parent local bounce = ReplicatedStorage:WaitForChild("Bounce") crate:SetAttribute("Smashable", true) -- el ataque giratorio busca esto local broken = false local function smash(player) if broken then return end broken = true if player then local stats = player:FindFirstChild("leaderstats") local apples = stats and stats:FindFirstChild("Apples") if apples then apples.Value += 1 end end -- ¡Pedazos de madera vuelan por todos lados! for i = 1, 6 do local piece = Instance.new("Part") piece.Size = crate.Size / 3 piece.Color = crate.Color piece.Material = crate.Material piece.CanCollide = false piece.CFrame = crate.CFrame piece.Parent = workspace piece.AssemblyLinearVelocity = Vector3.new(math.random(-20, 20), math.random(20, 40), math.random(-20, 20)) Debris:AddItem(piece, 1.5) end crate:Destroy() end crate.Touched:Connect(function(hit) local character = hit.Parent local player = Players:GetPlayerFromCharacter(character) local root = character and character:FindFirstChild("HumanoidRootPart") -- Solo si caes ARRIBA de la caja if player and root and root.Position.Y > crate.Position.Y + crate.Size.Y / 2 + 1 then bounce:FireClient(player) smash(player) end end) -- El ataque giratorio (lección 4) también rompe cajas. crate:GetAttributeChangedSignal("SmashedBy"):Connect(function() smash(Players:GetPlayerByUserId(crate:GetAttribute("SmashedBy"))) end)Bix tip: Every crate copy carries its own script, so copying is all you need. Keep ALL crates inside the Crates folder: the gem in lesson 9 counts them.
Consejo de Bix: Cada copia de la caja lleva su propio script, así que solo tienes que copiar. Deja TODAS las cajas dentro de la carpeta Crates: la gema de la lección 9 las cuenta.
Not working? Bix's fix-it list¿No funciona? Los arreglos de Bix
- Output says Infinite yield possible on Bounce? The CanyonSetup Script is missing. It must be a Script in ServerScriptService.
- Walking into a crate does nothing? That is how it works: jump and land on top of it (or use the spin in lesson 4).
- The crate falls or rolls away? Select it and turn on Anchored, then copy it again.
- Still stuck? Open View > Output in Studio: the red or orange line says what is wrong.
- ¿Output dice Infinite yield possible con Bounce? Falta el Script CanyonSetup. Debe ser un Script en ServerScriptService.
- ¿Chocar con una caja no hace nada? Así funciona: salta y cae encima de ella (o usa el giro de la lección 4).
- ¿La caja se cae o rueda? Selecciónala, activa Anchored y vuelve a copiarla.
- ¿Sigues atorado? Abre View > Output en Studio: la línea roja o naranja dice qué está mal.
-
Spin attack!¡Ataque giratorio!
Goal: Press E to spin like a tornado and smash the crates and enemies around you. On a phone, a Spin button appears.
Meta: Presiona E para girar como tornado y romper las cajas y enemigos a tu alrededor. En el celular aparece un botón Spin.
Watch firstMira primero- Roblox Studio Tutorial: User Input Servicecrfly
- UserInputService (Touch, Keybinds, Keycodes, etc.)Soyer Nova
- In StarterPlayer > StarterCharacterScripts add a LocalScript named SpinMove and paste the first script.
- In ServerScriptService add a Script named SpinPower and paste the second script.
- Why two scripts? The LocalScript spins you on your screen. The Script runs on the server and breaks things, so everyone sees it.
- Press Play, walk next to a crate and press E.
- En StarterPlayer > StarterCharacterScripts agrega un LocalScript llamado SpinMove y pega el primer script.
- En ServerScriptService agrega un Script llamado SpinPower y pega el segundo script.
- ¿Por qué dos scripts? El LocalScript te hace girar en tu pantalla. El Script corre en el servidor y rompe las cosas, para que todos lo vean.
- Presiona Play, camina junto a una caja y presiona E.
SpinMoveLocalScriptLocalScript in StarterPlayer > StarterCharacterScripts
-- LocalScript in StarterPlayer > StarterCharacterScripts -- Press E (or the Spin button on a phone) to spin like a tornado. local ContextActionService = game:GetService("ContextActionService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local character = script.Parent local root = character:WaitForChild("HumanoidRootPart") local humanoid = character:WaitForChild("Humanoid") local spinEvent = ReplicatedStorage:WaitForChild("Spin") local spinning = false local function spin(actionName, inputState) if inputState ~= Enum.UserInputState.Begin or spinning then return end spinning = true spinEvent:FireServer() -- tell the game: I am spinning! humanoid.AutoRotate = false for i = 1, 12 do root.CFrame = root.CFrame * CFrame.Angles(0, math.rad(60), 0) task.wait(0.03) end humanoid.AutoRotate = true task.wait(0.3) -- a short rest before the next spin spinning = false end ContextActionService:BindAction("Spin", spin, true, Enum.KeyCode.E, Enum.KeyCode.ButtonX) ContextActionService:SetTitle("Spin", "Spin")SpinMoveLocalScriptLocalScript en StarterPlayer > StarterCharacterScripts
-- LocalScript en StarterPlayer > StarterCharacterScripts -- Presiona E (o el botón Spin en el celular) para girar como tornado. local ContextActionService = game:GetService("ContextActionService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local character = script.Parent local root = character:WaitForChild("HumanoidRootPart") local humanoid = character:WaitForChild("Humanoid") local spinEvent = ReplicatedStorage:WaitForChild("Spin") local spinning = false local function spin(actionName, inputState) if inputState ~= Enum.UserInputState.Begin or spinning then return end spinning = true spinEvent:FireServer() -- avísale al juego: ¡estoy girando! humanoid.AutoRotate = false for i = 1, 12 do root.CFrame = root.CFrame * CFrame.Angles(0, math.rad(60), 0) task.wait(0.03) end humanoid.AutoRotate = true task.wait(0.3) -- un descanso cortito antes del siguiente giro spinning = false end ContextActionService:BindAction("Spin", spin, true, Enum.KeyCode.E, Enum.KeyCode.ButtonX) ContextActionService:SetTitle("Spin", "Spin")SpinPowerScriptScript in ServerScriptService
-- Script in ServerScriptService -- When you spin, everything close to you gets hit: crates break and enemies fall. local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local spinEvent = ReplicatedStorage:WaitForChild("Spin") local RANGE = 7 -- how far the spin reaches, in studs local lastSpin = {} spinEvent.OnServerEvent:Connect(function(player) -- No super-fast spamming local now = os.clock() if lastSpin[player] and now - lastSpin[player] < 0.5 then return end lastSpin[player] = now local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if not root then return end local params = OverlapParams.new() params.FilterType = Enum.RaycastFilterType.Exclude params.FilterDescendantsInstances = { character } local alreadyHit = {} for _, part in workspace:GetPartBoundsInRadius(root.Position, RANGE, params) do -- Crates and TNT if part:GetAttribute("Smashable") then part:SetAttribute("SmashedBy", player.UserId) end -- Enemies (anything with a Humanoid that is not a player) local model = part:FindFirstAncestorOfClass("Model") local enemy = model and model:FindFirstChildOfClass("Humanoid") if enemy and not Players:GetPlayerFromCharacter(model) and not alreadyHit[enemy] then alreadyHit[enemy] = true enemy:TakeDamage(100) end end end) Players.PlayerRemoving:Connect(function(player) lastSpin[player] = nil end)SpinPowerScriptScript en ServerScriptService
-- Script en ServerScriptService -- Cuando giras, todo lo que está cerca recibe el golpe: las cajas se rompen y los enemigos caen. local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local spinEvent = ReplicatedStorage:WaitForChild("Spin") local RANGE = 7 -- qué tan lejos llega el giro, en studs local lastSpin = {} spinEvent.OnServerEvent:Connect(function(player) -- Sin presionar mil veces seguidas local now = os.clock() if lastSpin[player] and now - lastSpin[player] < 0.5 then return end lastSpin[player] = now local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if not root then return end local params = OverlapParams.new() params.FilterType = Enum.RaycastFilterType.Exclude params.FilterDescendantsInstances = { character } local alreadyHit = {} for _, part in workspace:GetPartBoundsInRadius(root.Position, RANGE, params) do -- Cajas y TNT if part:GetAttribute("Smashable") then part:SetAttribute("SmashedBy", player.UserId) end -- Enemigos (todo lo que tiene Humanoid y no es jugador) local model = part:FindFirstAncestorOfClass("Model") local enemy = model and model:FindFirstChildOfClass("Humanoid") if enemy and not Players:GetPlayerFromCharacter(model) and not alreadyHit[enemy] then alreadyHit[enemy] = true enemy:TakeDamage(100) end end end) Players.PlayerRemoving:Connect(function(player) lastSpin[player] = nil end)Bix tip: If E already does something in your game, change Enum.KeyCode.E to Enum.KeyCode.F in SpinMove.
Consejo de Bix: Si la E ya hace algo en tu juego, cambia Enum.KeyCode.E por Enum.KeyCode.F en SpinMove.
Not working? Bix's fix-it list¿No funciona? Los arreglos de Bix
- You spin but crates do not break? SpinPower is missing from ServerScriptService. Spinning and breaking are two different scripts.
- Pressing E does nothing? SpinMove must be a LocalScript in StarterPlayer > StarterCharacterScripts (not StarterPlayerScripts).
- The spin misses? Stand closer: it reaches 7 studs. Make RANGE bigger in SpinPower.
- Still stuck? Open View > Output in Studio: the red or orange line says what is wrong.
- ¿Giras pero las cajas no se rompen? Falta SpinPower en ServerScriptService. Girar y romper son dos scripts distintos.
- ¿Presionar E no hace nada? SpinMove debe ser un LocalScript en StarterPlayer > StarterCharacterScripts (no StarterPlayerScripts).
- ¿El giro no alcanza? Acércate: llega a 7 studs. Sube RANGE en SpinPower.
- ¿Sigues atorado? Abre View > Output en Studio: la línea roja o naranja dice qué está mal.
-
Jump on enemiesSalta sobre los enemigos
Goal: Put enemies in the canyon. Land on an enemy's head to beat it and bounce away.
Meta: Pon enemigos en el cañón. Cae sobre la cabeza de un enemigo para vencerlo y rebotar.
Watch firstMira primero Then build itLuego constrúyelo- Copy an enemy from your island (or make a new one with the video) and put it in the canyon.
- Add a Script inside the enemy model, next to its Humanoid, and paste the script below.
- Copy the enemy with Ctrl+D. Every copy already has the script.
- Copia un enemigo de tu isla (o haz uno nuevo con el video) y ponlo en el cañón.
- Agrega un Script dentro del modelo del enemigo, junto a su Humanoid, y pega el script de abajo.
- Copia el enemigo con Ctrl+D. Cada copia ya trae el script.
StompScriptScript inside the enemy model
-- Script inside your enemy model (next to its Humanoid) -- Land on the enemy's head to beat it, then bounce away. local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local enemy = script.Parent local humanoid = enemy:WaitForChild("Humanoid") local head = enemy:FindFirstChild("Head") or enemy.PrimaryPart local bounce = ReplicatedStorage:WaitForChild("Bounce") local stomped = false head.Touched:Connect(function(hit) if stomped then return end local character = hit.Parent local player = Players:GetPlayerFromCharacter(character) local root = character and character:FindFirstChild("HumanoidRootPart") -- You must be ABOVE the head if player and root and root.Position.Y > head.Position.Y + 1 then stomped = true bounce:FireClient(player) humanoid.Health = 0 task.wait(1) enemy:Destroy() end end)StompScriptScript dentro del modelo del enemigo
-- Script dentro del modelo de tu enemigo (junto a su Humanoid) -- Cae sobre la cabeza del enemigo para vencerlo y luego rebota. local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local enemy = script.Parent local humanoid = enemy:WaitForChild("Humanoid") local head = enemy:FindFirstChild("Head") or enemy.PrimaryPart local bounce = ReplicatedStorage:WaitForChild("Bounce") local stomped = false head.Touched:Connect(function(hit) if stomped then return end local character = hit.Parent local player = Players:GetPlayerFromCharacter(character) local root = character and character:FindFirstChild("HumanoidRootPart") -- Tienes que estar ARRIBA de la cabeza if player and root and root.Position.Y > head.Position.Y + 1 then stomped = true bounce:FireClient(player) humanoid.Health = 0 task.wait(1) enemy:Destroy() end end)Bix tip: This finishes the bonus challenge from World 1, lesson 7. You can put the same script in your island enemies too!
Consejo de Bix: Esto completa el reto extra del Mundo 1, lección 7. ¡También puedes poner el mismo script en los enemigos de tu isla!
Not working? Bix's fix-it list¿No funciona? Los arreglos de Bix
- Output says Infinite yield possible on Humanoid? The script is in the wrong place. Put it in the enemy model, next to its Humanoid, not inside the Head.
- You get hurt instead? Fall onto the head from above: walking into the enemy does not count.
- The enemy never goes away? Its model needs a Humanoid and a Part named Head.
- Still stuck? Open View > Output in Studio: the red or orange line says what is wrong.
- ¿Output dice Infinite yield possible con Humanoid? El script está en el lugar equivocado. Ponlo en el modelo del enemigo, junto a su Humanoid, no dentro de Head.
- ¿Te lastimas tú? Cae sobre la cabeza desde arriba: chocar de frente no cuenta.
- ¿El enemigo nunca desaparece? Su modelo necesita un Humanoid y una Part llamada Head.
- ¿Sigues atorado? Abre View > Output en Studio: la línea roja o naranja dice qué está mal.
-
TNT cratesCajas de TNT
Goal: A red crate that counts 3, 2, 1 when you land on it, then goes BOOM and breaks the crates around it.
Meta: Una caja roja que cuenta 3, 2, 1 cuando caes encima, luego hace ¡BUM! y rompe las cajas cercanas.
Watch firstMira primero- How to Make a Bomb with a Timer on TopTech with Mike
- Roblox Studio Tutorial: How to Make an Exploding PartTech with Mike
- Cómo Crear un Bloque Explosivo en Roblox StudioCyo
- Copy one crate inside the Crates folder, rename it TNT and paint it red.
- Delete the crate script inside it, add a new Script and paste the TNT script.
- Jump on it and run! Then try spinning into it.
- Copia una caja dentro de la carpeta Crates, llámala TNT y píntala de rojo.
- Borra el script de caja que trae, agrega un Script nuevo y pega el script de TNT.
- ¡Salta encima y corre! Luego intenta girar contra ella.
TNTScriptScript inside the TNT Part (in the Crates folder)
-- Script inside a TNT crate (a red Part in the Crates folder) -- Jump on it: 3... 2... 1... BOOM! Spin it: BOOM right away. local Players = game:GetService("Players") local Debris = game:GetService("Debris") local ReplicatedStorage = game:GetService("ReplicatedStorage") local tnt = script.Parent local bounce = ReplicatedStorage:WaitForChild("Bounce") tnt:SetAttribute("Smashable", true) local counting = false local exploded = false -- A big number that floats above the TNT local sign = Instance.new("BillboardGui") sign.Size = UDim2.fromScale(4, 4) sign.StudsOffset = Vector3.new(0, 4, 0) sign.AlwaysOnTop = true sign.Parent = tnt local number = Instance.new("TextLabel") number.Size = UDim2.fromScale(1, 1) number.BackgroundTransparency = 1 number.TextScaled = true number.Font = Enum.Font.FredokaOne number.TextColor3 = Color3.new(1, 1, 1) number.TextStrokeTransparency = 0 number.Text = "" number.Parent = sign local function boom() if exploded then return end exploded = true local explosion = Instance.new("Explosion") explosion.Position = tnt.Position explosion.BlastRadius = 10 explosion.BlastPressure = 0 -- no flying across the map explosion.DestroyJointRadiusPercent = 0 local hurt = {} explosion.Hit:Connect(function(part) -- Hurt players and enemies (once each) local humanoid = part.Parent and part.Parent:FindFirstChildOfClass("Humanoid") if humanoid and not hurt[humanoid] then hurt[humanoid] = true humanoid:TakeDamage(100) end -- Chain reaction: nearby crates and TNT go too! if part ~= tnt and part:GetAttribute("Smashable") then part:SetAttribute("SmashedBy", 0) end end) explosion.Parent = workspace -- Hide the TNT, then remove it a moment later sign:Destroy() tnt.Transparency = 1 tnt.CanCollide = false tnt.CanTouch = false Debris:AddItem(tnt, 1) end local function countdown() if counting or exploded then return end counting = true for n = 3, 1, -1 do number.Text = tostring(n) task.wait(1) if exploded then return end end boom() end tnt.Touched:Connect(function(hit) local character = hit.Parent local player = Players:GetPlayerFromCharacter(character) local root = character and character:FindFirstChild("HumanoidRootPart") if player and root and root.Position.Y > tnt.Position.Y + tnt.Size.Y / 2 + 1 then bounce:FireClient(player) countdown() end end) -- Spin attack or another explosion: BOOM right away tnt:GetAttributeChangedSignal("SmashedBy"):Connect(boom)TNTScriptScript dentro de la Part TNT (en la carpeta Crates)
-- Script dentro de una caja TNT (una Part roja en la carpeta Crates) -- Salta encima: 3... 2... 1... ¡BUM! Gíralo: ¡BUM al instante! local Players = game:GetService("Players") local Debris = game:GetService("Debris") local ReplicatedStorage = game:GetService("ReplicatedStorage") local tnt = script.Parent local bounce = ReplicatedStorage:WaitForChild("Bounce") tnt:SetAttribute("Smashable", true) local counting = false local exploded = false -- Un número grande que flota arriba del TNT local sign = Instance.new("BillboardGui") sign.Size = UDim2.fromScale(4, 4) sign.StudsOffset = Vector3.new(0, 4, 0) sign.AlwaysOnTop = true sign.Parent = tnt local number = Instance.new("TextLabel") number.Size = UDim2.fromScale(1, 1) number.BackgroundTransparency = 1 number.TextScaled = true number.Font = Enum.Font.FredokaOne number.TextColor3 = Color3.new(1, 1, 1) number.TextStrokeTransparency = 0 number.Text = "" number.Parent = sign local function boom() if exploded then return end exploded = true local explosion = Instance.new("Explosion") explosion.Position = tnt.Position explosion.BlastRadius = 10 explosion.BlastPressure = 0 -- nadie sale volando por el mapa explosion.DestroyJointRadiusPercent = 0 local hurt = {} explosion.Hit:Connect(function(part) -- Lastima a jugadores y enemigos (una vez a cada uno) local humanoid = part.Parent and part.Parent:FindFirstChildOfClass("Humanoid") if humanoid and not hurt[humanoid] then hurt[humanoid] = true humanoid:TakeDamage(100) end -- Reacción en cadena: ¡las cajas y TNT cercanos también! if part ~= tnt and part:GetAttribute("Smashable") then part:SetAttribute("SmashedBy", 0) end end) explosion.Parent = workspace -- Esconde el TNT y lo quita un momento después sign:Destroy() tnt.Transparency = 1 tnt.CanCollide = false tnt.CanTouch = false Debris:AddItem(tnt, 1) end local function countdown() if counting or exploded then return end counting = true for n = 3, 1, -1 do number.Text = tostring(n) task.wait(1) if exploded then return end end boom() end tnt.Touched:Connect(function(hit) local character = hit.Parent local player = Players:GetPlayerFromCharacter(character) local root = character and character:FindFirstChild("HumanoidRootPart") if player and root and root.Position.Y > tnt.Position.Y + tnt.Size.Y / 2 + 1 then bounce:FireClient(player) countdown() end end) -- Ataque giratorio u otra explosión: ¡BUM al instante! tnt:GetAttributeChangedSignal("SmashedBy"):Connect(boom)Bix tip: The explosion hurts, but it does not throw you across the map (BlastPressure is 0). Put TNT next to normal crates for a chain reaction!
Consejo de Bix: La explosión lastima, pero no te avienta por todo el mapa (BlastPressure está en 0). ¡Pon TNT junto a cajas normales para una reacción en cadena!
Not working? Bix's fix-it list¿No funciona? Los arreglos de Bix
- The TNT breaks like a normal crate, with no 3, 2, 1? The old crate script is still inside. Delete it, so only the TNT script is left.
- No countdown when you land on it? Check the TNT is Anchored and that you land on top.
- Nearby crates do not break? They must be within 10 studs of the TNT and have the lesson 3 crate script.
- Still stuck? Open View > Output in Studio: the red or orange line says what is wrong.
- ¿La TNT se rompe como una caja normal, sin 3, 2, 1? Todavía tiene el script viejo de la caja. Bórralo, para que solo quede el script de TNT.
- ¿No hay cuenta regresiva al caer encima? Revisa que la TNT tenga Anchored y que caigas arriba.
- ¿No se rompen las cajas cercanas? Deben estar a menos de 10 studs de la TNT y tener el script de caja de la lección 3.
- ¿Sigues atorado? Abre View > Output en Studio: la línea roja o naranja dice qué está mal.
-
Checkpoint cratesCajas de control
Goal: A crate with a big C. Break it, and when you fall you come back there instead of at the start.
Meta: Una caja con una C grande. Rómpela y, cuando te caigas, regresas ahí en vez de al inicio.
Watch firstMira primero- How To Make an Obby CHECKPOINT SystemZyonic · 5:07
- Cómo hacer checkpoints sencillos en Roblox StudioJuguemos Videojuegos
- In ServerScriptService add a Script named CanyonCheckpoints and paste the first script.
- In the Crates folder copy a crate, rename it Checkpoint, paint it light blue and swap its script for the second script.
- Put one in the middle of the canyon. Break it, then fall into a gap to test it.
- En ServerScriptService agrega un Script llamado CanyonCheckpoints y pega el primer script.
- En la carpeta Crates copia una caja, llámala Checkpoint, píntala de azul claro y cambia su script por el segundo script.
- Pon una a la mitad del cañón. Rómpela y luego cáete en un hueco para probarla.
CanyonCheckpointsScriptScript in ServerScriptService
-- Script in ServerScriptService -- When you respawn, it puts you back at the last checkpoint crate you broke. local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) local spot = player:GetAttribute("CanyonCheckpoint") if spot then character:WaitForChild("HumanoidRootPart") task.wait(0.1) character:PivotTo(CFrame.new(spot)) end end) end)CanyonCheckpointsScriptScript en ServerScriptService
-- Script en ServerScriptService -- Cuando reapareces, te pone en la última caja de control que rompiste. local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) local spot = player:GetAttribute("CanyonCheckpoint") if spot then character:WaitForChild("HumanoidRootPart") task.wait(0.1) character:PivotTo(CFrame.new(spot)) end end) end)CheckpointCrateScriptScript inside the Checkpoint Part (in the Crates folder)
-- Script inside a checkpoint crate (a Part in the Crates folder) -- Break it and you come back here instead of the start. local Players = game:GetService("Players") local crate = script.Parent crate:SetAttribute("Smashable", true) local broken = false -- Put a big C on the top and the sides for _, face in { Enum.NormalId.Top, Enum.NormalId.Front, Enum.NormalId.Back, Enum.NormalId.Left, Enum.NormalId.Right } do local gui = Instance.new("SurfaceGui") gui.Face = face gui.Parent = crate local letter = Instance.new("TextLabel") letter.Size = UDim2.fromScale(1, 1) letter.BackgroundTransparency = 1 letter.TextScaled = true letter.Font = Enum.Font.FredokaOne letter.Text = "C" letter.TextColor3 = Color3.new(1, 1, 1) letter.Parent = gui end local function save(player) if broken or not player then return end broken = true player:SetAttribute("CanyonCheckpoint", crate.Position + Vector3.new(0, 4, 0)) crate:Destroy() end -- Touch it from any side crate.Touched:Connect(function(hit) save(Players:GetPlayerFromCharacter(hit.Parent)) end) crate:GetAttributeChangedSignal("SmashedBy"):Connect(function() save(Players:GetPlayerByUserId(crate:GetAttribute("SmashedBy"))) end)CheckpointCrateScriptScript dentro de la Part Checkpoint (en la carpeta Crates)
-- Script dentro de una caja de control (una Part en la carpeta Crates) -- Rómpela y regresas aquí en vez de al inicio. local Players = game:GetService("Players") local crate = script.Parent crate:SetAttribute("Smashable", true) local broken = false -- Pon una C grande arriba y a los lados for _, face in { Enum.NormalId.Top, Enum.NormalId.Front, Enum.NormalId.Back, Enum.NormalId.Left, Enum.NormalId.Right } do local gui = Instance.new("SurfaceGui") gui.Face = face gui.Parent = crate local letter = Instance.new("TextLabel") letter.Size = UDim2.fromScale(1, 1) letter.BackgroundTransparency = 1 letter.TextScaled = true letter.Font = Enum.Font.FredokaOne letter.Text = "C" letter.TextColor3 = Color3.new(1, 1, 1) letter.Parent = gui end local function save(player) if broken or not player then return end broken = true player:SetAttribute("CanyonCheckpoint", crate.Position + Vector3.new(0, 4, 0)) crate:Destroy() end -- Tócala por cualquier lado crate.Touched:Connect(function(hit) save(Players:GetPlayerFromCharacter(hit.Parent)) end) crate:GetAttributeChangedSignal("SmashedBy"):Connect(function() save(Players:GetPlayerByUserId(crate:GetAttribute("SmashedBy"))) end)Bix tip: The videos show the classic way with SpawnLocations. Our crate does the same job, but it breaks like the other crates.
Consejo de Bix: Los videos muestran la forma clásica con SpawnLocations. Nuestra caja hace lo mismo, pero se rompe como las demás cajas.
Not working? Bix's fix-it list¿No funciona? Los arreglos de Bix
- You still start at the beginning after falling? CanyonCheckpoints must be a Script in ServerScriptService. Break the checkpoint crate before you fall.
- The checkpoint crate gives Apples or counts down? You did not swap its script: delete the old one and paste CheckpointCrate.
- The checkpoint is gone after Stop and Play? That is normal: it only lasts while you play. Getting the gem also clears it.
- Still stuck? Open View > Output in Studio: the red or orange line says what is wrong.
- ¿Sigues apareciendo al principio después de caer? CanyonCheckpoints debe ser un Script en ServerScriptService. Rompe la caja de control antes de caer.
- ¿La caja de control da Manzanas o hace cuenta regresiva? No cambiaste su script: borra el viejo y pega CheckpointCrate.
- ¿El punto de control desaparece al detener y volver a jugar? Es normal: solo dura mientras juegas. Conseguir la gema también lo borra.
- ¿Sigues atorado? Abre View > Output en Studio: la línea roja o naranja dice qué está mal.
-
Rolling bouldersRocas rodantes
Goal: Giant boulders roll down a slope toward you. Jump over them or hide!
Meta: Rocas gigantes ruedan por una rampa hacia ti. ¡Sáltalas o escóndete!
Watch firstMira primero Then build itLuego constrúyelo- Build a slope in the canyon that goes DOWN toward the player.
- At the top of the slope add a Part named BoulderMaker and put a Script inside it with the code below.
- Leave little hiding spots in the walls, so the run is hard but fair.
- Construye una rampa en el cañón que baje HACIA el jugador.
- Arriba de la rampa agrega una Part llamada BoulderMaker y ponle adentro un Script con el código de abajo.
- Deja escondites pequeños en las paredes, para que la carrera sea difícil pero justa.
BoulderMakerScriptScript inside the BoulderMaker Part
-- Script inside a Part at the TOP of a slope (the boulder maker) -- Every few seconds a giant boulder rolls down. Jump over it or hide! local Debris = game:GetService("Debris") local maker = script.Parent maker.Anchored = true maker.Transparency = 1 maker.CanCollide = false local SIZE = 8 -- boulder size local EVERY = 4 -- seconds between boulders while true do local boulder = Instance.new("Part") boulder.Shape = Enum.PartType.Ball boulder.Size = Vector3.new(SIZE, SIZE, SIZE) boulder.Material = Enum.Material.Slate boulder.Color = Color3.fromRGB(120, 100, 80) boulder.Position = maker.Position boulder.Parent = workspace boulder.Touched:Connect(function(hit) local humanoid = hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.Health = 0 end end) Debris:AddItem(boulder, 12) -- clean up old boulders task.wait(EVERY) endBoulderMakerScriptScript dentro de la Part BoulderMaker
-- Script dentro de una Part ARRIBA de una rampa (la fábrica de rocas) -- Cada pocos segundos una roca gigante rueda hacia abajo. ¡Brínquela o escóndete! local Debris = game:GetService("Debris") local maker = script.Parent maker.Anchored = true maker.Transparency = 1 maker.CanCollide = false local SIZE = 8 -- tamaño de la roca local EVERY = 4 -- segundos entre rocas while true do local boulder = Instance.new("Part") boulder.Shape = Enum.PartType.Ball boulder.Size = Vector3.new(SIZE, SIZE, SIZE) boulder.Material = Enum.Material.Slate boulder.Color = Color3.fromRGB(120, 100, 80) boulder.Position = maker.Position boulder.Parent = workspace boulder.Touched:Connect(function(hit) local humanoid = hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.Health = 0 end end) Debris:AddItem(boulder, 12) -- limpia las rocas viejas task.wait(EVERY) endBix tip: Boulders roll by themselves because of gravity: a steeper slope makes them faster. Change EVERY to get more or fewer boulders.
Consejo de Bix: Las rocas ruedan solas por la gravedad: una rampa más inclinada las hace más rápidas. Cambia EVERY para que salgan más o menos rocas.
Not working? Bix's fix-it list¿No funciona? Los arreglos de Bix
- No boulders? The Script must be inside the BoulderMaker Part, and boulders only appear when you press Play.
- Boulders just sit there? Make the slope steeper, and put BoulderMaker just above the slope, not inside it.
- Boulders roll the wrong way? The slope must go DOWN toward the player, starting where BoulderMaker is.
- Still stuck? Open View > Output in Studio: the red or orange line says what is wrong.
- ¿No salen rocas? El Script debe estar dentro de la Part BoulderMaker, y las rocas solo aparecen al presionar Play.
- ¿Las rocas no se mueven? Haz la pendiente más empinada y pon BoulderMaker justo encima de ella, no adentro.
- ¿Las rocas ruedan al revés? La pendiente debe BAJAR hacia el jugador, empezando donde está BoulderMaker.
- ¿Sigues atorado? Abre View > Output en Studio: la línea roja o naranja dice qué está mal.
-
The crate gemLa gema de las cajas
Goal: At the end of the canyon a gem appears, but only when every crate is broken. A sign shows how many you smashed.
Meta: Al final del cañón aparece una gema, pero solo cuando rompes todas las cajas. Un letrero muestra cuántas llevas.
Watch firstMira primero Then build itLuego constrúyelo- Near CanyonEnd add a Part named CanyonGem. Make it small, shiny and purple (Material: Glass or Neon).
- Add a Script inside the gem and paste the code below.
- Play the whole canyon. Did you find every crate?
- Cerca de CanyonEnd agrega una Part llamada CanyonGem. Hazla pequeña, brillante y morada (Material: Glass o Neon).
- Agrega un Script dentro de la gema y pega el código de abajo.
- Juega todo el cañón. ¿Encontraste todas las cajas?
CanyonGemScriptScript inside the CanyonGem Part
-- Script inside the gem (a Part at the end of the canyon) -- The gem only appears when every box in the Crates folder is broken. local Players = game:GetService("Players") local gem = script.Parent local crates = workspace:WaitForChild("Crates") local total = #crates:GetChildren() local winners = {} gem.Anchored = true gem.CanCollide = false -- A sign that counts the crates local sign = Instance.new("BillboardGui") sign.Size = UDim2.fromScale(10, 3) sign.StudsOffset = Vector3.new(0, 5, 0) sign.Parent = gem local label = Instance.new("TextLabel") label.Size = UDim2.fromScale(1, 1) label.BackgroundTransparency = 1 label.TextScaled = true label.Font = Enum.Font.FredokaOne label.TextColor3 = Color3.new(1, 1, 1) label.TextStrokeTransparency = 0 label.Parent = sign local function update() local left = #crates:GetChildren() if left == 0 then gem.Transparency = 0 gem.CanTouch = true label.Text = "GEM!" else gem.Transparency = 0.85 gem.CanTouch = false label.Text = "Crates " .. (total - left) .. " / " .. total end end crates.ChildRemoved:Connect(update) update() gem.Touched:Connect(function(hit) local player = Players:GetPlayerFromCharacter(hit.Parent) if not player or winners[player] then return end winners[player] = true local stats = player:FindFirstChild("leaderstats") if stats then local gems = stats:FindFirstChild("Gems") if not gems then gems = Instance.new("IntValue") gems.Name = "Gems" gems.Parent = stats end gems.Value += 1 end player:SetAttribute("CanyonCheckpoint", nil) -- level done: start fresh next time label.Text = player.DisplayName .. " got the gem!" end) -- Spin the gem slowly so it shines while gem.Parent do gem.CFrame = gem.CFrame * CFrame.Angles(0, math.rad(2), 0) task.wait(0.03) endCanyonGemScriptScript dentro de la Part CanyonGem
-- Script dentro de la gema (una Part al final del cañón) -- La gema solo aparece cuando rompes todas las cajas de la carpeta Crates. local Players = game:GetService("Players") local gem = script.Parent local crates = workspace:WaitForChild("Crates") local total = #crates:GetChildren() local winners = {} gem.Anchored = true gem.CanCollide = false -- Un letrero que cuenta las cajas local sign = Instance.new("BillboardGui") sign.Size = UDim2.fromScale(10, 3) sign.StudsOffset = Vector3.new(0, 5, 0) sign.Parent = gem local label = Instance.new("TextLabel") label.Size = UDim2.fromScale(1, 1) label.BackgroundTransparency = 1 label.TextScaled = true label.Font = Enum.Font.FredokaOne label.TextColor3 = Color3.new(1, 1, 1) label.TextStrokeTransparency = 0 label.Parent = sign local function update() local left = #crates:GetChildren() if left == 0 then gem.Transparency = 0 gem.CanTouch = true label.Text = "GEM!" else gem.Transparency = 0.85 gem.CanTouch = false label.Text = "Crates " .. (total - left) .. " / " .. total end end crates.ChildRemoved:Connect(update) update() gem.Touched:Connect(function(hit) local player = Players:GetPlayerFromCharacter(hit.Parent) if not player or winners[player] then return end winners[player] = true local stats = player:FindFirstChild("leaderstats") if stats then local gems = stats:FindFirstChild("Gems") if not gems then gems = Instance.new("IntValue") gems.Name = "Gems" gems.Parent = stats end gems.Value += 1 end player:SetAttribute("CanyonCheckpoint", nil) -- nivel terminado: la próxima vez empiezas de nuevo label.Text = player.DisplayName .. " got the gem!" end) -- Haz girar la gema despacio para que brille while gem.Parent do gem.CFrame = gem.CFrame * CFrame.Angles(0, math.rad(2), 0) task.wait(0.03) endBix tip: Hide a crate or two behind the walls: players love finding secrets. The video shows how to put your Apples on the screen too.
Consejo de Bix: Esconde una o dos cajas detrás de las paredes: a los jugadores les encanta encontrar secretos. El video enseña cómo poner tus Manzanas en la pantalla.
Not working? Bix's fix-it list¿No funciona? Los arreglos de Bix
- The gem never appears? Something in the Crates folder cannot be broken (a decoration, a model, a crate with no script). Only crates go in that folder.
- The sign says Crates 0 / 0? The folder must be called Crates, with a capital C, right inside Workspace.
- You touch the gem and nothing happens? It works once per player each game. Look for Gems next to Apples on the board.
- Still stuck? Open View > Output in Studio: the red or orange line says what is wrong.
- ¿La gema nunca aparece? Hay algo en la carpeta Crates que no se puede romper (un adorno, un modelo, una caja sin script). En esa carpeta solo van cajas.
- ¿El letrero dice Crates 0 / 0? La carpeta debe llamarse Crates, con C mayúscula, directo dentro de Workspace.
- ¿Tocas la gema y no pasa nada? Funciona una vez por jugador en cada partida. Busca Gems junto a Apples en el marcador.
- ¿Sigues atorado? Abre View > Output en Studio: la línea roja o naranja dice qué está mal.
-
Update your gameActualiza tu juego
Goal: Publish the new version and play World 2 with your family.
Meta: Publica la versión nueva y juega el Mundo 2 con tu familia.
Watch firstMira primero- How To Update Your Roblox Game in Studio (2026 Step-by-Step)Tutorial Toolbox · 1:15
- How to UPDATE/PUBLISH a Roblox GamePrizeCP Roblox
- Click File > Publish to Roblox. Your game keeps the same link as World 1.
- Ask a grown-up to play it with you. Watch where they get stuck, then fix one thing.
- Haz clic en File > Publish to Roblox. Tu juego conserva el mismo enlace del Mundo 1.
- Pide a un adulto que lo juegue contigo. Mira dónde se atora y arregla una cosa.
Bix tip: Always ask a grown-up before you make your game public.
Consejo de Bix: Siempre pide permiso a un adulto antes de hacer público tu juego.
Parent corner
- Preview first. We checked every video was online on Oct 17, 2026, but did not review each one in full. Please watch before your child does.
- The scripts are ours. They were written for this manual, are short, and only use Roblox's built-in services. We checked them against the Roblox API, but please test in Studio with your child. If something does not work, the reason shows up in View > Output.
- Build original. Kids can copy the style of classic running games, but not their characters, names or music.
- Careful with free models. Items from Roblox's Toolbox made by strangers can hide unwanted scripts. Stick to what your child builds.
- Crates are shared. In a game with several players, a crate one player breaks stays broken for everyone until the server restarts.
- Friends under 16. Since May 2026, players under 16 can only join games that meet Roblox's new publishing rules, which a brand-new game usually does not. A friend's parent can allow your child's game in Roblox Parental Controls (Approved Experience). You don't need to pay, subscribe or verify ID for your child to play their own game.
- Stars are saved only in this browser. We only count anonymous visits: no cookies, nothing personal.
Rincón para papás
- Revisa primero. Comprobamos que cada video estaba en línea el 17 de octubre de 2026, pero no los vimos completos. Por favor míralos antes que su hijo.
- Los scripts son nuestros. Los escribimos para este manual, son cortos y solo usan servicios propios de Roblox. Los revisamos contra la API de Roblox, pero pruébenlos en Studio con su hijo. Si algo no funciona, la razón aparece en View > Output.
- Crea algo original. Los niños pueden copiar el estilo de los juegos clásicos de correr, pero no sus personajes, nombres ni música.
- Cuidado con los modelos gratis. Los objetos del Toolbox de Roblox hechos por desconocidos pueden esconder scripts no deseados. Usen lo que construya su hijo.
- Las cajas se comparten. En un juego con varios jugadores, una caja que rompe un jugador queda rota para todos hasta que el servidor se reinicia.
- Amigos menores de 16. Desde mayo de 2026, los jugadores menores de 16 solo pueden entrar a juegos que cumplen las nuevas reglas de publicación de Roblox, y un juego recién hecho casi nunca las cumple. Los papás de un amigo pueden permitir el juego de su hijo en los Controles parentales de Roblox (experiencia aprobada). No necesitan pagar, suscribirse ni verificar identidad para que su hijo juegue su propio juego.
- Las estrellas se guardan solo en este navegador. Solo contamos visitas anónimas: sin cookies, nada personal.