SpawnSegway.OnServerEvent:connect(function(Z,w,z,A,M,S,I)Functions.SpawnSegway(Z,w,z,A,M,S,I)end)ConfigTool.OnServerEvent:connect(function(Z,w,z,A,M)Functions.ConfigTool(w,z,A,M)end)DestroySegway.OnServerEvent:connect(function(Z,w,z)Functions.DestroySegway(w,z)end)PlaySound.OnServerEvent:connect(function(Z,w,z,A)Functions.PlaySound(w,z,A)end)StopSound.OnServerEvent:connect(function(Z,w,z)Functions.StopSound(w,z)end)AnchorSegway.OnServerEvent:connect(function(Z,w,z)Functions.AnchorPart(w,z)end)UndoTags.OnServerEvent:connect(function(Z,w,z,A,M)Functions.UndoTags(w,z,A,M)end)UndoHasWelded.OnServerEvent:connect(function(Z,w)Functions.UndoHasWelded(w)end)function DeleteWelds.OnServerInvoke(Z,w)Functions.DeleteWelds(w)return true end ConfigHumanoid.OnServerEvent:connect(function(Z,w,z,A,M)Functions.ConfigHumanoid(Z.Character,w,z,A,M)end)ConfigLights.OnServerEvent:connect(function(Z,w,z,A,M,S,I)Functions.ConfigLights(w,z,A,M,S,I)end)
-- Listeners
SpawnSegway.OnServerEvent:connect(function(Player, Character, MaxSpeed, TurnSpeed, Tool, SpawnedSegway, Color)
	Functions.SpawnSegway(Player, Character, MaxSpeed, TurnSpeed, Tool, SpawnedSegway, Color)
end)

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

DestroySegway.OnServerEvent:connect(function(Player, Character, SpawnedSegway)
	Functions.DestroySegway(Character, SpawnedSegway)
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)

AnchorSegway.OnServerEvent:connect(function(Player, PrimaryPart, Anchored)
	Functions.AnchorPart(PrimaryPart, Anchored)
end)

UndoTags.OnServerEvent:connect(function(Player, SegwayObject, WeldObject, Thruster, TiltMotor)
	Functions.UndoTags(SegwayObject, WeldObject, Thruster, TiltMotor)
end)

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

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

ConfigHumanoid.OnServerEvent:connect(function(Player, Humanoid, PlatformStand, Jump, AutoRotate)
	Functions.ConfigHumanoid(Player.Character, Humanoid, PlatformStand, Jump, AutoRotate)
end)

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