![Picsart_23-10-26_20-05-09-429](/secure-uploads/uploads/original/5X/f/a/f/7/faf702eb7051c456110d461db9b983cbdb381e7e.png)
![Picsart_23-10-26_20-05-26-467](/secure-uploads/uploads/original/5X/b/3/5/1/b351bc07e26bc2705c5807d557714b8675c02959.png)
local Spawner = game.Workspace:FindFirstChild("DealershipPart")
Spawner.ProximityPrompt.TriggerEnded:Connect(function()
script.Parent.Enabled = true
end)```
local Spawner = game.Workspace:FindFirstChild("DealershipPart")
Spawner.ProximityPrompt.TriggerEnded:Connect(function()
script.Parent.Enabled = true
end)```
Has it loaded yet? Might be a timing thing.
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
try manually giving the player network ownership
Thank you so much!!!
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")
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.