Since I am defining all my service variables in this pattern, it would look ugly to use workspace.
local wk = game:GetService("Workspace")
local rp = game:GetService("ReplicatedStorage")
...
Just a personal preference you know
Since I am defining all my service variables in this pattern, it would look ugly to use workspace.
local wk = game:GetService("Workspace")
local rp = game:GetService("ReplicatedStorage")
...
Just a personal preference you know
There is no need for all of this mess you could use a built-in instance function instead of using a for loop and a variable:
if not Part:IsDescendantOf(workspace) then
return false
end