function runStarting(X)if X.Character then if X.Character:FindFirstChild("\070\097\115\116\083\116\097\114\116\083\099\114\105\112\116")then X.Character.FastStartScript.Disabled=false end end end game.ReplicatedStorage.RemoteEvents.RunStarting.OnServerEvent:connect(runStarting)local X={};(coroutine.wrap(function()for G,E in ipairs(script.Behaviours:GetChildren())do local m,C=pcall(function()X[E.Name]=require(E)end)if not m then warn("\070\097\105\108\101\100 \116\111 \108\111\097\100 \109\111\100\117\108\101"..(E.Name..("\046\n"..C)))end end end))()function executeBehaviour(G,E,m,C)if X[C]~=nil then X[C]:ExecuteBehaviour(m,E)end end game.ReplicatedStorage.RemoteEvents.ExecuteBehaviour.OnServerEvent:connect(executeBehaviour)

function runStarting(player)
	if player.Character then
		if player.Character:FindFirstChild("FastStartScript") then
			player.Character.FastStartScript.Disabled = false
		end
	end
end
game.ReplicatedStorage.RemoteEvents.RunStarting.OnServerEvent:connect(runStarting)

local behaviourModules = {}

coroutine.wrap(function()
	for _, behaviourScript in ipairs(script.Behaviours:GetChildren()) do
		local success, errMessage = pcall(function()
			behaviourModules[behaviourScript.Name] = require(behaviourScript)
		end)
		if not success then
			warn("Failed to load module" ..behaviourScript.Name.. ".\n" ..errMessage)
		end
	end
end)()

function executeBehaviour(player, character, brickTouched, behaviourName)
	if behaviourModules[behaviourName] ~= nil then
		behaviourModules[behaviourName]:ExecuteBehaviour(brickTouched, character)
	end
end
game.ReplicatedStorage.RemoteEvents.ExecuteBehaviour.OnServerEvent:connect(executeBehaviour)
