
Jona
チャンネル登録者数 572人
1万 回視聴 ・ 404いいね ・ 2025/01/06
Como hacer un Sistema de Combate En Roblox Studio [TUTORIAL PASO A PASO]
Capitulos:
00:00 Servicio de Entrada
2:00 Animaciones
3:10 Publicar
3:40 Conectar Animaciones
6:55 Sistema de Combo
9:40 Cooldown
11:35 Body Velocity
13:20 Swing Sound
14:30 Hitbox Jona
16:40 Conectar VFX
20:26 Hit Sound
Discord Si tienes dudas en los comentarios
Hitbox Jona junto con el Server Combat:
game.ReplicatedStorage.MainEvent.OnServerEvent:Connect(function(plr)
spawn(function()
plr.Character.Humanoid.WalkSpeed = 7
task.wait(0.8)
plr.Character.Humanoid.WalkSpeed = 16
task.wait(.25)
end)
local hitbox = Instance.new("Part")
hitbox.Parent = workspace
hitbox.CanCollide = false
hitbox.Anchored = true
hitbox.Size = Vector3.new(10,10,10)
hitbox.BrickColor = BrickColor.new("Really red")
hitbox.Transparency = 1
hitbox.CFrame = plr.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -5)
game.Debris:AddItem(hitbox, 1)
local hitboxcooldown = false
hitbox.Touched:Connect(function(hit)
if hit.Parent.Name ~= plr.Name and hit.Parent:FindFirstChild("Humanoid") then
if hitboxcooldown == true then return end
hitboxcooldown = true
hit.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
local vfx = game.ReplicatedStorage.VFX.Main:Clone()
vfx.Parent = hit.Parent.HumanoidRootPart
local Sound = script.Punch:Clone()
Sound.Parent = hit.Parent.HumanoidRootPart
Sound:Play()
game.Debris:AddItem(Sound, 2)
spawn(function()
for i, v in vfx:GetChildren() do
if v:IsA("ParticleEmitter") then
v:Emit(v:GetAttribute("EmitCount"))
end
end
end)
game.Debris:AddItem(vfx, 0.8)
task.wait(0.8)
hitboxcooldown = false
end
end)
end)
si tienes una duda no dudes en preguntarme, este video lo hice para que gente que no sabe hacer este tipo de combate y no le entiendes a los videos extranjeros lo hiciera junto conmigo que otro puedo traer al canal?💥
#roblox #robloxstudio #system #robloxdev #howtomake #animeroblox
コメントを取得中...