so i make a LocalScript and Test game it show
Infinite yield possible on ‘Workspace.FlingPart:WaitForChild(“Humanoid”)’
I think it not a Big deal but does it really make LocalScript Useless? and that why Mutiplayer Can Part Disappear too?
Footage Very Lag Ngl
Script:
local FlingPart = workspace:WaitForChild("FlingPart")
FlingPart.Touched:Connect(function(otherPart)
local character = otherPart.Parent
if character:IsA("Model") and character:FindFirstChild("Humanoid") then
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
if humanoidRootPart then
local oldPosition = humanoidRootPart.Position
FlingPart.Position = Vector3.new(-94.794, -4.237, 407.822)
print(oldPosition)
end
end
end)
now i don’t know how i can Fix it?