Advertisement
rotemgamer

autostats

May 4th, 2020
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. if Stat == "Health Max" then
  2. event:FireServer(workspace.Live:WaitForChild(plr.Name).Stats:FindFirstChild("Health-Max"))
  3. elseif _G.Stat == "Ki Max" then
  4. event:FireServer(workspace.Live:WaitForChild(plr.Name).Stats:FindFirstChild("Ki-Max"))
  5. elseif _G.STAT == "Melee Damage" then
  6. event:FireServer(workspace.Live:WaitForChild(plr.Name).Stats:FindFirstChild("Phys-Damage"))
  7. elseif _G.Stat == "Ki Damage" then
  8. event:FireServer(workspace.Live:WaitForChild(plr.Name).Stats:FindFirstChild("Ki-Damage"))
  9. elseif _G.Stat == "Melee Resistance" then
  10. event:FireServer(workspace.Live:WaitForChild(plr.Name).Stats:FindFirstChild("Melee-Resistance"))
  11. elseif _G.Stat == "Ki Resistance" then
  12. event:FireServer(workspace.Live:WaitForChild(plr.Name).Stats:FindFirstChild("Ki-Resistance"))
  13. end
  14. end
  15. end
  16. end
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement