Hi!Can anyone tell me how can ı recreate these effects?
I searched too much things and found fake interious but I couldn’t understand how can I use it.Can anyone please tell me how can I do them?
Note: I switched it to remaking the hunt portal effect on 31 May 2024.
3 Likes
don’t mind i’ve made it and I understand it’s logic.It’s too easy, I thought that I was not able to make it.In case anyone want to have it’s source, here’s the Portal enter effect and portal appearance effect:
Note:It have bugs, I’ll fix it.
Place1.rbxl (77.1 KB)
Umm…Can anyone help?I’m stuck in camerasubject.Here’s the code:
local TweenService = game:GetService("TweenService")
local portal = script.Parent
local target = workspace:FindFirstChild("PortalInterior").CharacterPositions.Position1
local target2 = target.Parent.Position2
local camtarget = target.Parent.Parent.CameraPositions.Position1
local camtarget2 = camtarget.Parent.Position2
local camera = game.Workspace.Camera
local tpservice = game:GetService("TeleportService")
script.Parent.Touched:Connect(function(hit, player)
local character = hit.Parent
if character:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(character)
if player then
camera.CameraType = Enum.CameraType.Attach
camera.CameraSubject = camtarget
camera.CFrame = CFrame.new(camtarget.Position + Vector3.new(10, 5, 0))
character:SetPrimaryPartCFrame(target.CFrame)
character.PrimaryPart.Anchored = true
wait(2)
local tweenInfo = TweenInfo.new(
5,
Enum.EasingStyle.Linear,
Enum.EasingDirection.Out,
0,
false,
0
)
local goal = {}
goal.CFrame = target2.CFrame
local tween = TweenService:Create(character.PrimaryPart, tweenInfo, goal)
tween:Play()
tween.Completed:Connect(function()
character.PrimaryPart.Anchored = false
camera.CameraType = Enum.CameraType.Custom
tpservice:Teleport(000000, player)
end)
end
end
end)
Please help
when you say stuck, is there errors, or what is the issue?
Does it show the error in your previous .rbxl post?
I mean I want to make player’s camera’s camerasubject to Position1 so player’s camera will be there and player will watch it from the Position1.But now, player is not watching from the Position1 and player can move his camera.Please help
I’ve made it!Updated place:
Place1.rbxl (77.2 KB)
Note:I think camera positions is not too good, if you want to change them change the duration of waiting in the script in StarterPlayer>StarterCharacterScripts>Localscript
.
I added the portal Gui too!Updated place:
Place1.rbxl (78.0 KB)
Note:It’s not too good.Because im not a GUI designer.Thanks for your understanding.
1 Like
Did u figure out your issue?
Or what is the current status of your place1.rbxl ?