Hi, I’m inspired by the portals in the Hunt and the Classic and I want to make something similar. I don’t know how to make one, so show me. It should be like the one in the attached image and should include:
Don’t ask people for scripts. You have to learn with the help of the dev forum, it’s like copying and pasting code without learning from it.
But what I would suggest is probably use teleport service to teleport the player, and maybe some scripts for the camera movement and things like that.
maybe something like this?
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local targetPlaceId = -- replace with the ID of the place you want to teleport to
local function onTouch(otherPart)
local character = otherPart.Parent
local humanoid = character:FindFirstChildWhichIsA("Humanoid")
if humanoid then
game:GetService("TeleportService"):Teleport(targetPlaceId)
end
end
local Part = script.Parent
Part.Touched:Connect(onTouch)
If you’re trying to recreate the portal effect (Like when you walk into the portal and teleport to another game), I don’t know. I don’t mean to self advertise, but if you’re looking to recreate the portal model, I’ve made some semi-close duplicates of all the event portals since The Hunt event.