Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Como Fazer um teleporte? [closed]

Asked by 4 years ago
Edited 4 years ago

Sou muito novo em codigos não sei muito :( meu problema é como fazer um teleporte. Alguem me ajuda???

1
Sorry but this is an English site.... Nguyenlegiahung 1091 — 4y
0
Ingles por favor Feroxidus 83 — 4y
0
I think it's fine that he speaks spanish, as there are some spanish speaking helpers on here. killerbrenden 1537 — 4y
0
Okay, okay guys, I'm going to edit the excuse question. : < luksloks 2 — 4y

Closed as Not Constructive by User#5423

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
1
Answered by 4 years ago
Edited 4 years ago

Hello, this is not a request site but today i will how you make a teleporter script:

script.Parent:Touched:Connect(function(hit) -- function will be fired when it is touched
    if hit.Parent:FindFirstChild("Humanoid") then -- It is a real player !
        hit.Parent.Head.CFrame = CFrame.new(0,0,0) -- teleport player by moving it head to this location
end
end)

Remember to show the script you have tried next time and use English -- Portugal (By gg translate) Hola, este no es un sitio de solicitud, pero hoy explicaré cómo se hace un script de teletransportador:

script.Parent:Touched:Connect(function(hit) --
la función se activará cuando se toque
    if hit.Parent:FindFirstChild("Humanoid") then -- Es un jugador de verdad!
        hit.Parent.Head.CFrame = CFrame.new(0,0,0) -- 
teletransporta al jugador moviéndolo hacia esta ubicación
end
end)

Recuerde mostrar el guión que ha probado la próxima vez

y usa inglés Last word: T H I S I S N O T A R E Q U E S T S I T E

0
thank you brother! luksloks 2 — 4y
Ad