happens at line 7
script.Parent.Event.OnServerEvent:connect(function(Player)
local Mag = (script.Parent.Center.Position-Player.Character.HumanoidRootPart.Position).magnitude
if Mag <= script.Parent.Range.Value then
local hose = Instance.new(“RopeConstraint”)
hose.Parent = script.Parent.Center
line 7 > hose.Attachment0 = game.Workspace.Doors.Model.Center
hose.Attachment1 = Player.Character.RightHand
hose.Color = BrickColor.DarkGray()
hose.Length = 35
end
end)