Please help me, whats wrong with this script?
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
mouse.KeyDown:connect(function(key)
if key == "z" then
game.ReplicatedStorage.OpeOpe.Barrier1:Clone().Parent = game.Workspace[player.Name.. "Skills"]
game.Workspace[player.Name.. "Skills"].Barrier1.CFrame = CFrame.new(player.Character.HumanoidRootPart.Position.X,player.Character.HumanoidRootPart.Position.Y,player.Character.HumanoidRootPart.Position.Z)
wait(5)
end
end)
