So I have a script where if you click a button a RemoteEvent fires and an object is summoned to Workspace. Everything works except the "if bert.Parent == workspace". The object is cloned to workspace but the script does not detect when it enters workspace. Help?
local bert = game.ReplicatedStorage:WaitForChild("bigcat",math.huge) local BertIsComing = game.ReplicatedStorage.TheBertisComing local tweenService = game:GetService("TweenService") local goal = {} goal.Position = Vector3.new(-35.828,595.983,-14.649) local tweenInfo = TweenInfo.new(1) local tween = tweenService:Create(bert, tweenInfo, goal) if bert.Parent == workspace then print("Bert has entered workspace") BertIsComing:Play() wait(5) msg = Instance.new("Message",workspace) msg.Text = "Bert has been summoned, the world is doomed" tween:Play() print("OUR LORD AND SAVIOR, BERT HAS BEEN SUMMONED, ALL HAIL BERT") tween.Completed:Connect(function() for i,v in pairs(game:GetService("Players"):GetPlayers()) do v:Kick("Nothing remains in this world") end end) end