Here is the script that isnt working: (ps everything else works)
script.Parent.MiniGunEvent.OnServerEvent:Connect(function(Player, MouseTarget)
MouseTarget.Parent.Humanoid:TakeDamage(5)
Player:WaitForChild("leaderstats").Coins.Value += 1 * Player:WaitForChild("leaderstats").Multiplier.Value * Player:WaitForChild("leaderstats").Rebirths.Value
local Attacker = MouseTarget.Parent.AttackerPos
Attacker.Value = Player.Character.HumanoidRootPart.Position
end)

4 comments
Is there some sort of error? Please tell me.
can u help me make a game? 21x3Q#8501 add me on discord
sorry i dont have discord
also i just realised my rebirths was 0