#thing exists in server but not in client??

1 messages · Page 1 of 1 (latest)

willow roost
#

part exists in server but when i go back to client it gets deleted?
this script gets the part but only works in server. in the client it says infiniteyield possible on CameraPart

#

(its not cuz of networkowner)

subtle wolf
#

Is it anchored

#

Cus it may fell and get deleted

#

Happens a lor tbh

celest whale
willow roost
#

it is anchored

eager ermine
#

do u have streaming enabled

willow roost
#

but it isnt even appearing in explorer

eager ermine
#

if yes then what Dar said

eager ermine
willow roost
eager ermine
#

not rendered

#

if too far

celest whale
jade cryptBOT
#

studio** You are now Level 9! **studio

eager ermine
willow roost
#

yea

#

its enabled

eager ermine
#

so yea like Dar said

#

too far isnt loaded

willow roost
#

but it has to be far

eager ermine
#

then either disable streaming enabled

#

or like teleport person to load it idk

#

i forgot how it works

willow roost
#

o ye

willow roost
#

i tried teleporting but the teleport didnt work

#

its a local script in starterplayerscripts

#
local part = workspace:WaitForChild("CameraPart")
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local menu = player:WaitForChild("PlayerGui"):WaitForChild("Menu")
local startButton = menu:WaitForChild("PlayButton")

repeat wait() until player.Character
camera.CameraType = Enum.CameraType.Scriptable

local connection

connection = RunService.RenderStepped:Connect(function()
    local position = part.Position + Vector3.new(0, 2, 0)
    local lookAt = position + part.CFrame.LookVector
    camera.CFrame = CFrame.new(position, lookAt)
end)

local function teleportPlayer(x, y, z)
    if player.Character and player.Character:WaitForChild("HumanoidRootPart") then
        player.Character.HumanoidRootPart.CFrame = CFrame.new(x, y, z)
    end
end

teleportPlayer(-1233.687, 87.718, 262.2)

startButton.MouseButton1Click:Connect(function()
    if connection then
        connection:Disconnect()
    end

    camera.CameraType = Enum.CameraType.Custom
    camera.CameraSubject = player.Character:FindFirstChild("Humanoid")

    teleportPlayer(-56.303, 107.5, 10.278)
end)```
low mulch
#

idk