This would help you.
coroutine.resume(coroutine.create(function()
while wait() do
...
end
end))
Caster.LengthChanged:Connect(OnRayUpdated)
Caster.RayHit:Connect(OnRayHit)
This would help you.
coroutine.resume(coroutine.create(function()
while wait() do
...
end
end))
Caster.LengthChanged:Connect(OnRayUpdated)
Caster.RayHit:Connect(OnRayHit)