SpawnSegway.OnServerEvent:connect(function(G,R)Functions.SpawnSegway(G,R)end)ConfigTool.OnServerEvent:connect(function(G,R,d,q)Functions.ConfigTool(R,d,q)end)DestroySegway.OnServerEvent:connect(function(G)Functions.DestroySegway()end)PlaySound.OnServerEvent:connect(function(G,R,d,q)Functions.PlaySound(R,d,q)end)StopSound.OnServerEvent:connect(function(G,R,d)Functions.StopSound(R,d)end)UndoTags.OnServerEvent:connect(function(G)Functions.UndoTags()end)UndoHasWelded.OnServerEvent:connect(function(G,R)Functions.UndoHasWelded(R)end)function DeleteWelds.OnServerInvoke(G,R)Functions.DeleteWelds(R)return true end function ConfigHumanoid.OnServerInvoke(G,R,d,q)Functions.ConfigHumanoid(G,R,d,q)end ConfigLights.OnServerEvent:connect(function(G,R,d,q,E,A,c)Functions.ConfigLights(R,d,q,E,A,c)end)
-- 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)
