Patched tools getting stuck in SFoTH IV.

This commit is contained in:
CloneTrooper1019 2019-11-16 15:59:14 -06:00
parent 96905234b4
commit 993276d2ed
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,17 @@
local character = script.Parent
local function onChildAdded(child)
if child:IsA("Tool") and child.RequiresHandle then
local handle = child:FindFirstChild("Handle")
if handle and handle:IsGrounded() then
workspace:UnjoinFromOutsiders{character}
end
end
end
for _,child in pairs(character:GetChildren()) do
onChildAdded(child)
end
character.ChildAdded:Connect(onChildAdded)

View File

@ -22,12 +22,16 @@
"ReplicatedStorage":
{
"$ignoreUnknownInstances": true,
"$className": "ReplicatedStorage",
"$path": "Shared"
},
"ServerStorage":
{
"$ignoreUnknownInstances": true,
"$className": "ServerStorage",
"$path": "Server/Resources",
@ -54,6 +58,7 @@
"ServerScriptService":
{
"$ignoreUnknownInstances": true,
"$className": "ServerScriptService",
"$path": "Server/Scripts"
},
@ -64,7 +69,6 @@
"$properties":
{
"DevComputerMovementMode": "KeyboardMouse",
"DevTouchCameraMovementMode": "Classic",
"LoadCharacterAppearance": false,
@ -73,12 +77,14 @@
"StarterCharacterScripts":
{
"$ignoreUnknownInstances": true,
"$className": "StarterCharacterScripts",
"$path": "Player"
},
"StarterPlayerScripts":
{
"$ignoreUnknownInstances": true,
"$className": "StarterPlayerScripts",
"$path": "Client"
}