Problem with script

This Problem was fixed. Thanks.

1 Like

You forgot to close ‘chatted’ with a close bracket.

game.Players.PlayerAdded:Connect(function(player)
	player.Chatted:Connect(function(message)
		if message == mess and player.Character.Humanoid.TransformInfo.Value == "Tecna" then
			
			local char = player.Character

			local humanoid = char.Humanoid

			humanoid.TransformInfo:Destroy()

			char.HumanoidRootPart.Anchored = true
			humanoid.WalkSpeed = 0
			humanoid.JumpHeight = 0

-- rest script
		end
	end)
end)

Try this.

2 Likes

No errors show in the output unfortunately.

1 Like

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