DBZ Combat Script Localscript

“I notice it still hasn’t hit, hurt, or stunned them, dummy. Is this part of the script or not?”

repeat wait() until game.Players.LocalPlayer
wait(2)
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
local char = Player.Character
local hum = Player.Character:WaitForChild(“Humanoid”)
hum.AutoRotate = true

local SwordEquipped = false
local MouseLock = false
local userinput = game:GetService(“UserInputService”)
local ServerStuff = script.CombatServer
local CombatEvent = ServerStuff.Combat
local EvadeEvent = ServerStuff.Evade
local BlockEvent = ServerStuff.Block
local KiBlastEvent = ServerStuff.KiBlast
local RushEvent = ServerStuff.Rush
local debounce = true
local ButtonDown = false
local Rushdebounce = false

Mouse.Button1Down:connect(function()
if char:FindFirstChildOfClass(“Tool”) and char:FindFirstChildOfClass(“Tool”):FindFirstChild(“Weapon”) == nil then return end
CombatEvent:FireServer(“M1”)
end)

Mouse.Button2Down:connect(function()
if char:FindFirstChildOfClass(“Tool”) and char:FindFirstChildOfClass(“Tool”):FindFirstChild(“Weapon”) == nil then return end
CombatEvent:FireServer(“M2”)
end)

local HOLD = false
Mouse.KeyDown:connect(function(key)
if key == “f” and debounce == true then

	debounce = false
	ButtonDown = true
	
	BlockEvent:FireServer(true)
	
	while ButtonDown == true and not char:FindFirstChild("Stun") and not char:FindFirstChild("MicroStun") and char.Info.Stamina.Value > 0 do
		wait(.15)
	end		

	BlockEvent:FireServer(false)
	ButtonDown = false
	
	wait(1)
	debounce = true
elseif key == "r" and ButtonDown ~= true then
	EvadeEvent:FireServer()
	
elseif key == "e" and ButtonDown ~= true then
	KiBlastEvent:FireServer(Mouse.Hit.Position)
	
elseif key == "t" and ButtonDown ~= true and Rushdebounce == false then
	RushEvent:FireServer()

	spawn(function()
		Rushdebounce = true
		wait(6)
		Rushdebounce = false
	end)
end

end)
Mouse.KeyUp:connect(function(key)
if key == “f” then
ButtonDown = false
end
end)