Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local HRP = player.Character.HumanoidRootPart
- local mastery = player.Data.QuirkMastery.Value
- game:GetService('RunService').Stepped:connect(function()
- player.Character.Humanoid:ChangeState(11)
- end)
- while wait() do
- if player.Character.QuirkRelated.DarkShadowModel.Eyes.Transparency == 1 then
- game:GetService("ReplicatedStorage").Remotes.QuirkMoves:FireServer(player.Character, "z", player.Data.Quirk.Value, 0)
- else
- for i,v in pairs(workspace.Mobs:GetChildren()) do
- if v.ClassName == "Model" and v:FindFirstChild("HumanoidRootPart") then
- HRP.CFrame=v.HumanoidRootPart.CFrame+Vector3.new(0,-15,0)
- game:GetService("ReplicatedStorage").Remotes.Combat:FireServer(player, player.Character, v.HumanoidRootPart, Vector3.new(v.HumanoidRootPart.Position), 15, 0.40000000596046, player.Data.Quirk.Value)
- if mastery <= 25 and mastery > 49 then
- game:GetService("ReplicatedStorage").Remotes.Damage:FireServer(player.Data.Quirk.Value, "x", player, player.Character, v.HumanoidRootPart, Vector3.new(v.HumanoidRootPart.Position))
- end
- if mastery <= 50 and mastery > 99 then
- game:GetService("ReplicatedStorage").Remotes.Damage:FireServer(player.Data.Quirk.Value, "x", player, player.Character, v.HumanoidRootPart, Vector3.new(v.HumanoidRootPart.Position))
- game:GetService("ReplicatedStorage").Remotes.Damage:FireServer(player.Data.Quirk.Value, "c", player, player.Character, v.HumanoidRootPart, Vector3.new(v.HumanoidRootPart.Position), "CF")
- end
- if mastery == 100 then
- game:GetService("ReplicatedStorage").Remotes.Damage:FireServer(player.Data.Quirk.Value, "x", player, player.Character, v.HumanoidRootPart, Vector3.new(v.HumanoidRootPart.Position))
- game:GetService("ReplicatedStorage").Remotes.Damage:FireServer(player.Data.Quirk.Value, "c", player, player.Character, v.HumanoidRootPart, Vector3.new(v.HumanoidRootPart.Position), "CF")
- game:GetService("ReplicatedStorage").Remotes.Damage:FireServer(player.Data.Quirk.Value, "v", player, player.Character, v.HumanoidRootPart, Vector3.new(v.HumanoidRootPart.Position))
- end
- end
- end
- end
- end
Add Comment
Please, Sign In to add comment