I'm learning from Youtube Vid And I copied all of the script why isn't it Printing the Passed Time
local Player = game:GetService("Players").LocalPlayer
local rp = game:GetService("ReplicatedStorage")
local Combat = rp:WaitForChild("RemoteCombat")
local UIS = game:GetService("UserInputService")
local Debounce = false
local cd = .25
local CurrTime = 0
local PrevTime = 0
UIS.InputBegan:Connect(function(input,isTyping)
if isTyping then
return
elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
if Debounce == false then
--Debounce = true
CurrTime = tick()
local PassedTime = CurrTime - PrevTime
print(PassedTime)
end
end
end)
