Parts randomly dissapearing

hi, im having an issue where my parts are randomly deleting when i join and im trying to make it so you teleport when you click a gui, but it says infinite yield possible on: etc…

Folder before joining:

image

Folder after joining:

image

Thing is, it was fine earlier…

5 Likes

Could you show an example from your code?

3 Likes

check their anchor status and cancollide status, maybe this is your solution

2 Likes
local plr = game:GetService("Players").LocalPlayer
local char = plr.Character or  plr.CharacterAdded:Wait()
local leaderstats = plr:WaitForChild("leaderstats")
local collectedFile = plr.BillysCollected
local char = plr.Character or  plr.CharacterAdded:Wait()
local plrGui = plr:WaitForChild("PlayerGui")
local TS = game:GetService('TweenService')

local RS = game:GetService("ReplicatedStorage")
local Debounce = false
local Toggle = script.Parent.Parent.Parent.Toggle

script.Parent.MouseButton1Up:Connect(function()
	if Debounce == false then
		Debounce = true
		char:MoveTo(workspace.Spawns:WaitForChild("SpaceWorldSpawn").Position + Vector3.new(0,5,0))
		script.Parent.Parent.Parent:TweenSize(UDim2.new(0,0,0,0),"Out","Back",.35,true)
		wait(0.35)
		script.Parent.Parent.Parent.Visible = false
		Toggle = false
		wait(0.5)
		Debounce = false
	end
end)

Here is one of them

3 Likes

the missing parts are both anchored = true and cancollide = false

2 Likes

interesting, check your scripts that deletes these parts from game.
and don’t take any script from toolbox y’know what I mean.

1 Like

all the scripts aren’t from the toolbox so it cant be that

2 Likes

probably a mistake on your script, just check your scripts and read it again.

1 Like

i’ll make sure to check again, thanks

2 Likes

Can you show all the properties of the workspace object?

1 Like

1 Like

That’s a part object I mean like workspace. I just want to check the fallen part destruction height

ooooh, my bad

Just click on streaming aswell

image

That might be why as Streaming Enabled temporarily deletes parts until your close to them. So just turn that off and try

1 Like

yeah, it works, but im scared that the game will take long to load

It shouldn’t as long as you don’t have like 200 different parts everywhere

1 Like

streamingenabled for gain fps? like when you far from a part but it is doesn’t rendering on your screen, I’m right?

1 Like

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