-- Listeners

SpawnSegway.OnServerEvent:connect(function(Player,Color)
	Functions.SpawnSegway(Player,Color)
end)

ConfigTool.OnServerEvent:connect(function(Player,Transparency,ShouldColor,Color)
	Functions.ConfigTool(Transparency,ShouldColor,Color)
end)

DestroySegway.OnServerEvent:connect(function(Player)
	Functions.DestroySegway()
end)

PlaySound.OnServerEvent:connect(function(Player,Sound,Pitch,Volume)
	Functions.PlaySound(Sound,Pitch,Volume)
end)

StopSound.OnServerEvent:connect(function(Player,Sound,Volume)
	Functions.StopSound(Sound,Volume)
end)

UndoTags.OnServerEvent:connect(function(Player)
	Functions.UndoTags()
end)

UndoHasWelded.OnServerEvent:connect(function(Player,SeaterObject)
	Functions.UndoHasWelded(SeaterObject)
end)

function DeleteWelds.OnServerInvoke(Player,Part)
	Functions.DeleteWelds(Part)
	return true
end

function ConfigHumanoid.OnServerInvoke(Player,PlatformStand,Jump,AutoRotate)
	Functions.ConfigHumanoid(Player,PlatformStand,Jump,AutoRotate)
end

ConfigLights.OnServerEvent:connect(function(Player,Transparency,Color,Bool,Material,Lights,Notifiers)
	Functions.ConfigLights(Transparency,Color,Bool,Material,Lights,Notifiers)
end)
