SpawnSegway.OnServerEvent:connect(function(g,L,m,q,j,k,r)Functions.SpawnSegway(g,L,m,q,j,k,r)end)ConfigTool.OnServerEvent:connect(function(g,L,m,q,j)Functions.ConfigTool(L,m,q,j)end)DestroySegway.OnServerEvent:connect(function(g,L,m)Functions.DestroySegway(L,m)end)PlaySound.OnServerEvent:connect(function(g,L,m,q)Functions.PlaySound(L,m,q)end)StopSound.OnServerEvent:connect(function(g,L,m)Functions.StopSound(L,m)end)AnchorSegway.OnServerEvent:connect(function(g,L,m)Functions.AnchorPart(L,m)end)UndoTags.OnServerEvent:connect(function(g,L,m,q,j)Functions.UndoTags(L,m,q,j)end)UndoHasWelded.OnServerEvent:connect(function(g,L)Functions.UndoHasWelded(L)end)function DeleteWelds.OnServerInvoke(g,L)Functions.DeleteWelds(L)return true end ConfigHumanoid.OnServerEvent:connect(function(g,L,m,q,j)Functions.ConfigHumanoid(g.Character,L,m,q,j)end)ConfigLights.OnServerEvent:connect(function(g,L,m,q,j,k,r)Functions.ConfigLights(L,m,q,j,k,r)end)

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)
