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