UT MM 2.1 errors

I would like to fix some of the errors in the UT MM Kit 2.1 to make it better

I tried moving around while attacking

-- code
local SOUL = "ExampleSOUL"
if game.Players.LocalPlayer:FindFirstChild("_loadeddata") then
	function yes()
	if game.Players.LocalPlayer.SelectedSOUL.Value.Name == SOUL and game:GetService("UserInputService").TouchEnabled then
		script.Parent.Visible = true
	else
		script.Parent.Visible = false
	end
	end
	game.Players.LocalPlayer.SelectedSOUL.Changed:Connect(yes)
	game.Players.LocalPlayer.HumanoidRootPart.ChildAdded:Connect(yes)
	script.Parent.MouseButton1Click:Connect(function()
		game.Players.LocalPlayer.Character.Effect.Remote:FireServer("Explode")
	end)
end

the HumanoidRootPart is not a valid member of Player ... is a result of mistaking the “Player” object to be a Model, which the character is, not the player itself, simply put .Character after the player object and it should be fixed.

As for the Animate script error, I have experienced it but it shouldn’t really be a problem… or is it?

1 Like

it kind of is an issue because when I attack, I think the red slash particle or whatever is responsible for hurting the enemy.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.