I have a script which locates the primary part of a area, but it doesn’t seem to work?
repeat wait() until script.Parent.Boss
repeat wait() until game.Players
repeat wait() until script.Parent.Config.TimeAlive
local WaitTime = 1
local TimeAlive = script.Parent.Config.TimeAlive.Value
local mag = 4000
local judgementHallCFrame = game.Workspace.JudgementHall.PrimaryPart.CFrame
local Phase = 0
Well there’s nothing but PrimaryPart should be defined as near as the entire thing or center of it no? And PrimaryPart is still being defined even though it’s not a child of it since it’s the basepart of the model. That’s why I dont know why it doesn’t work