How to fix this error?


Picsart_23-10-26_20-05-09-429
Picsart_23-10-26_20-05-26-467

local Spawner = game.Workspace:FindFirstChild("DealershipPart")
Spawner.ProximityPrompt.TriggerEnded:Connect(function()
    script.Parent.Enabled = true
end)```
1 Like

Has it loaded yet? Might be a timing thing.

1 Like

This is because you have StreamingEnabled turned on.
Either disable it (property under workspace) or you can read about how to work with it here: Instance Streaming | Documentation - Roblox Creator Hub

1 Like

try manually giving the player network ownership

1 Like

Thank you so much!!!

1 Like

As @Haydz6 mentioned, it could be your StreamingEnabled option.

If that does not fix the issue, try changing your first line of code like so, changing the FindFIrstChild() to WairForChild() to give it time to load.

local Spawner = game.Workspace:WaitForChild("DealershipPart")
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.