reav85

Hero Academia: Final Ember darkshadow

Jan 28th, 2020
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local HRP = player.Character.HumanoidRootPart
  3. local mastery = player.Data.QuirkMastery.Value
  4. game:GetService('RunService').Stepped:connect(function()
  5. player.Character.Humanoid:ChangeState(11)
  6. end)
  7. while wait() do
  8. if player.Character.QuirkRelated.DarkShadowModel.Eyes.Transparency == 1 then
  9. game:GetService("ReplicatedStorage").Remotes.QuirkMoves:FireServer(player.Character, "z", player.Data.Quirk.Value, 0)
  10. else
  11. for i,v in pairs(workspace.Mobs:GetChildren()) do
  12. if v.ClassName == "Model" and v:FindFirstChild("HumanoidRootPart") then
  13. HRP.CFrame=v.HumanoidRootPart.CFrame+Vector3.new(0,-15,0)
  14. game:GetService("ReplicatedStorage").Remotes.Combat:FireServer(player, player.Character, v.HumanoidRootPart, Vector3.new(v.HumanoidRootPart.Position), 15, 0.40000000596046, player.Data.Quirk.Value)
  15. if mastery <= 25 and mastery > 49 then
  16. game:GetService("ReplicatedStorage").Remotes.Damage:FireServer(player.Data.Quirk.Value, "x", player, player.Character, v.HumanoidRootPart, Vector3.new(v.HumanoidRootPart.Position))
  17. end
  18. if mastery <= 50 and mastery > 99 then
  19. game:GetService("ReplicatedStorage").Remotes.Damage:FireServer(player.Data.Quirk.Value, "x", player, player.Character, v.HumanoidRootPart, Vector3.new(v.HumanoidRootPart.Position))
  20. game:GetService("ReplicatedStorage").Remotes.Damage:FireServer(player.Data.Quirk.Value, "c", player, player.Character, v.HumanoidRootPart, Vector3.new(v.HumanoidRootPart.Position), "CF")
  21. end
  22. if mastery == 100 then
  23. game:GetService("ReplicatedStorage").Remotes.Damage:FireServer(player.Data.Quirk.Value, "x", player, player.Character, v.HumanoidRootPart, Vector3.new(v.HumanoidRootPart.Position))
  24. game:GetService("ReplicatedStorage").Remotes.Damage:FireServer(player.Data.Quirk.Value, "c", player, player.Character, v.HumanoidRootPart, Vector3.new(v.HumanoidRootPart.Position), "CF")
  25. game:GetService("ReplicatedStorage").Remotes.Damage:FireServer(player.Data.Quirk.Value, "v", player, player.Character, v.HumanoidRootPart, Vector3.new(v.HumanoidRootPart.Position))
  26. end
  27. end
  28. end
  29. end
  30. end
Add Comment
Please, Sign In to add comment