
local replicatedStorage = game:GetService("ReplicatedStorage")
local nevermore = require(replicatedStorage:WaitForChild("NevermoreEngine"))

local WaveStation = {}
WaveStation.__index = WaveStation

function WaveStation.new(model)
  local self = setmetatable({}, WaveStation)

  self.Model = model

  return self
end

function WaveStation:InRange(part, distance)
  local primaryPart = self.Model.PrimaryPart
  return (primaryPart.Position - part.Position).magnitude < distance
end

function WaveStation:Interact()
  -- Then I need to either fire an event or have the SkyWave (custom) instance
  -- passed in so I can teleport the player and show the sky wave.
end

return WaveStation


local replicatedStorage = game:GetService("ReplicatedStorage")
local nevermore = require(replicatedStorage:WaitForChild("NevermoreEngine"))

local WaveStation = {}
WaveStation.__index = WaveStation

function WaveStation.new(model)
  local self = setmetatable({}, WaveStation)

  self.Model = model

  return self
end

function WaveStation:InRange(part, distance)
  local primaryPart = self.Model.PrimaryPart
  return (primaryPart.Position - part.Position).magnitude < distance
end

return WaveStation

Remove method that shouldn't have been committed
Remove method that shouldn't have been committed
