local Players = game:GetService("Players")
local function PlayerAdded(Player)
local debouce = Instance.new("BoolValue")
debouce = false
debouce.Name = "Debounce"
debouce.Parent = Player
end
Players.PlayerAdded:Connect(PlayerAdded)
I am not sure why I am getting this error. This has never happened to me before. Anything helps!
local Players = game:GetService("Players")
local function PlayerAdded(Player)
local debouce = Instance.new("BoolValue")
debouce.Value = false -- I guess you were missing .Value
debouce.Name = "Debounce"
debouce.Parent = Player
end
Players.PlayerAdded:Connect(PlayerAdded)