title: A placement code is saying that 'attempt to index nil with 'GetMouse'' and I have not got any variable codes after a code that needs it
body: <p>I have already tried the answer to one of my other questions but it didn't work. I'm quite new to Lua so maybe I'm missing something.</p>
  
  <pre><code>local player = game.Players.LocalPlayer
  local Mouse = player.GetMouse()
  local Block = game.ServerStorage.Experimental
  
  Mouse.Button1Down(place)
  
  function place()
      Mouse.Hit.X = PosX
      Mouse.Hit.Y = PosY
      Mouse.Hit.Z = PosZ
  
      PlacedBlock = Block:Clone()
      PlacedBlock.Parent = game.Workspace
      PlacedBlock.Position = Vector3.new(PosX,PosY,PosZ)
  end
  </code></pre>