|
| 07 Mar 2017 11:27 PM |
for i,v in ipairs(char:GetChildren()) do if (string.find(v.Name,"Squad")) then if v.Name == "Squading" then else xxyy = v.Name end end end if humanoid.Parent:FindFirstChild(xxyy) then else
So this is in a raycasting damage function which re-loads every time it hits something differently, but the issue is this: If the player leaves the squad and hit someone who was in it, it doesn't affect them even though it clearly states that its grabbing the value from the caster (char). humanoid.parent is the enemy. Why's this occuring, how do i stop it?
|
|
|
| Report Abuse |
|
|
| 07 Mar 2017 11:28 PM |
| Huge issue, can't do anything else on my game until I fix this |
|
|
| Report Abuse |
|
| |
| |